Rdmsr

This function executes "RDMSR" (Opcode : 0F 32) instruction.

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

Syntax

BOOL Rdmsr(
    DWORD index,
    PDWORD eax,
    PDWORD edx
);

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