The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at __writeeflags.

Writes the specified value to the program status and control (EFLAGS) register.


void __writeeflags(unsigned Value);  
void __writeeflags(unsigned __int64 Value);  


Parameter Description
[in] Value The value to write to the EFLAGS register. The Value parameter is 32 bits long for a 32-bit platform and 64 bits long for a 64-bit platform.


These routines are available only as intrinsics.


Intrinsic Architecture
__writeeflags x86, x64

Header file <intrin.h>

END Microsoft Specific

See Also

Compiler Intrinsics