IDebugDataSpaces4::WriteMsr method (dbgeng.h)
The WriteMsr method writes a value to the specified Model-Specific Register (MSR).
Syntax
HRESULT WriteMsr(
ULONG Msr,
ULONG64 Value
);
Parameters
Msr
Specifies the MSR address.
Value
Specifies the value to write to 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) |
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for