PsRequestWriteMsr

Assigns the PsWriteMsr Pulse API function to the request.

Syntax

PULSE_STATUS PsRequestWriteMsr(
 [in] PPS_REQUEST pRequest
 [in] uint32_t MsrNumber
 [in] uint64_t MsrValue
);

Parameters

Please refer to the PsWriteMsr 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.