Skip to content

Latest commit

 

History

History
88 lines (71 loc) · 2.64 KB

nf-dbgeng-idebugdataspaces4-writemsr.md

File metadata and controls

88 lines (71 loc) · 2.64 KB
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
IDebugDataSpaces4::WriteMsr
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
IDebugDataSpaces4::WriteMsr
dbgeng/IDebugDataSpaces4::WriteMsr
APIRef
kbSyntax
COM
Dbgeng.h
IDebugDataSpaces4::WriteMsr

IDebugDataSpaces4::WriteMsr

-description

The WriteMsr method writes a value to the specified Model-Specific Register (MSR).

-parameters

-param Msr

Specifies the MSR address.

-param Value

Specifies the value to write to the MSR.

-returns

Return code Description
S_OK
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.