__readeflags

 

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 __readeflags.

Reads the program status and control (EFLAGS) register.

unsigned     int __readeflags(void);  
unsigned __int64 __readeflags(void);  

The value of the EFLAGS register. The return value is 32 bits long on a 32-bit platform and 64 bits long on a 64-bit platform.

These routines are available only as intrinsics.

IntrinsicArchitecture
__readeflagsx86, x64

Header file <intrin.h>

Compiler Intrinsics
__writeeflags

Show: