// wdbgexts.h
VOID ReadMsr(
ULONG MsrReg,
ULONGLONG *MsrValue
);
View the official Windows Driver Kit DDI referenceNo description available.
The ReadMsr function reads the contents of a Model-Specific Register (MSR).
MsrRegSpecifies the ID number of the MSR.
MsrValueReceives the value of the MSR.
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).