ReadMsr - NtDoc

Native API online documentation, based on the System Informer (formerly Process Hacker) phnt headers
// wdbgexts.h

VOID ReadMsr(
  ULONG     MsrReg,
  ULONGLONG *MsrValue
);
View the official Windows Driver Kit DDI reference

NtDoc

No description available.

Windows Driver Kit DDI reference (nf-wdbgexts-readmsr)

ReadMsr function

Description

The ReadMsr function reads the contents of a Model-Specific Register (MSR).

Parameters

MsrReg

Specifies the ID number of the MSR.

MsrValue

Receives the value of the MSR.

Remarks

If you are writing a WdbgExts extension, include wdbgexts.h. If you are writing a DbgEng extension that calls this function, include wdbgexts.h before dbgeng.h (see Writing DbgEng Extension Code for details).