__readfsbyte, __readfsdword, __readfsqword, __readfsword
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 __readfsbyte, __readfsdword, __readfsqword, __readfsword.
Read memory from a location specified by an offset relative to the beginning of the FS segment.
unsigned char __readfsbyte( unsigned long Offset ); unsigned short __readfsword( unsigned long Offset ); unsigned long __readfsdword( unsigned long Offset ); unsigned __int64 __readfsqword( unsigned long Offset );
The offset from the beginning of
FS to read from.
The memory contents of the byte, word, doubleword, or quadword (as indicated by the name of the function called) at the location
Header file <intrin.h>
These routines are available only as intrinsics.