IDebugDataSpaces2::ReadMsr method (dbgeng.h)
The ReadMsr method reads a specified Model-Specific Register (MSR).
Syntax
HRESULT ReadMsr(
[in] ULONG Msr,
[out] PULONG64 Value
);
Parameters
[in] Msr
Specifies the MSR address.
[out] Value
Receives the value of the MSR.
Return value
Return code | Description |
---|---|
|
The method was successful. |
This method can also return error values. See Return Values for more details.
Remarks
This method is only available in kernel-mode debugging.
For details on the addresses and values of MSRs, see the processor documentation.
Requirements
Requirement | Value |
---|---|
Target Platform | Desktop |
Header | dbgeng.h (include Dbgeng.h) |