UID | title | description | old-location | tech.root | ms.date | keywords | ms.keywords | req.header | req.include-header | req.target-type | req.target-min-winverclnt | req.target-min-winversvr | req.kmdf-ver | req.umdf-ver | req.ddi-compliance | req.unicode-ansi | req.idl | req.max-support | req.namespace | req.assembly | req.type-library | req.lib | req.dll | req.irql | targetos | req.typenames | f1_keywords | topic_type | api_type | api_location | api_name | ||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
NF:dbgeng.IDebugDataSpaces4.WriteMsr |
IDebugDataSpaces4::WriteMsr (dbgeng.h) |
The WriteMsr method writes a value to the specified Model-Specific Register (MSR). This method belongs to the IDebugDataSpaces4 interface. |
debugger\writemsr2.htm |
debugger |
05/03/2018 |
|
IDebugDataSpaces interface [Windows Debugging],WriteMsr method, IDebugDataSpaces2 interface [Windows Debugging],WriteMsr method, IDebugDataSpaces2::WriteMsr, IDebugDataSpaces3 interface [Windows Debugging],WriteMsr method, IDebugDataSpaces3::WriteMsr, IDebugDataSpaces4 interface [Windows Debugging],WriteMsr method, IDebugDataSpaces4.WriteMsr, IDebugDataSpaces4::WriteMsr, IDebugDataSpaces::WriteMsr, IDebugDataSpaces_b0b0220e-66d2-4d96-b4bf-3016b0ed677c.xml, WriteMsr, WriteMsr method [Windows Debugging], WriteMsr method [Windows Debugging],IDebugDataSpaces interface, WriteMsr method [Windows Debugging],IDebugDataSpaces2 interface, WriteMsr method [Windows Debugging],IDebugDataSpaces3 interface, WriteMsr method [Windows Debugging],IDebugDataSpaces4 interface, dbgeng/IDebugDataSpaces2::WriteMsr, dbgeng/IDebugDataSpaces3::WriteMsr, dbgeng/IDebugDataSpaces4::WriteMsr, dbgeng/IDebugDataSpaces::WriteMsr, debugger.writemsr2 |
dbgeng.h |
Dbgeng.h |
Desktop |
Windows |
|
|
|
|
|
The WriteMsr method writes a value to the specified Model-Specific Register (MSR).
Specifies the MSR address.
Specifies the value to write to the MSR.
Return code | Description |
---|---|
|
The method was successful. |
This method can also return error values. See Return Values for more details.
This method is only available in kernel-mode debugging.
For details on the addresses and values of MSRs, see the processor documentation.