PsRequestReadIo

Assigns the PsReadIo Pulse API function to the request.

Syntax

PULSE_STATUS PsRequestReadIo(
 [in] PPS_REQUEST pRequest
 [in] uint16_t Port
 [in] uint16_t AccessSize
 [in] void *pBuffer
 [in] uint32_t cbToRead
 [out, optional] uint64_t *pcbRead
);

Parameters

Please refer to the PsReadIo Pulse API function for details.

Return value

If the function succeeds, the return value is PULSE_STATUS_SUCCESS.

If it fails, it returns one of the PULSE_STATUS values. Possible return codes include, but are not limited to, the following:

PULSE_STATUS_INVALID_PARAMETER
0xC0000010
The pRequest parameter is NULL.

Remarks

Cancels any pending Pulse API call assigned to this request.