Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

__writemsr

Microsoft Specific

Generates the Write to Model Specific Register (wrmsr) instruction.

void __writemsr( 
   unsigned long Register, 
   unsigned __int64 Value 
);
[in] Register

The model specific register.

[in] Value

The value to write.

Intrinsic

Architecture

__writemsr

x86, x64

Header file <intrin.h>

This function may only be used in kernel mode, and this routine is only available as an intrinsic.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.