Debugging Tools for Windows |
The WriteMsr method writes a value to the specified Model-Specific Register (MSR).
HRESULT
IDebugDataSpaces::WriteMsr(
IN ULONG Msr,
IN ULONG64 Value
);
This method can also return error values. See Return Values for more details.
WriteMsr is available in all versions of IDebugDataSpaces.
This method is only available in kernel-mode debugging.
For details on the addresses and values of MSRs, see the processor documentation.
Headers: Defined in Dbgeng.h. Include Dbgeng.h.