RdmsrPx

This function executes "RDMSR" (Opcode : 0F 32) instruction with process affinity mask.

"RDMSR" : Loads the contents of a 64-bit model specific register (MSR) specified in an index register into registers EDX:EAX.

Syntax

BOOL RdmsrPx(
    DWORD index,
    PDWORD eax,
    PDWORD edx,
    DWORD_PTR processAffinityMask
);

Parameters

Return Values

If the function succeeds, the return value is TRUE.

If the function fails, the return value is FALSE.

Remarks

You can check whether "RDMSR" instruction is supported on your system with IsMsr.

Requirements