__readfsbyte, __readfsdword, __readfsqword, __readfsword

 

For the latest documentation on Visual Studio 2017, see Visual Studio 2017 Documentation.

For the latest documentation on Visual Studio 2017, see __readfsbyte, __readfsdword, __readfsqword, __readfsword on docs.microsoft.com. Microsoft Specific

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   
);  

Parameters

[in] 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 FS:[``Offset``].

IntrinsicArchitecture
__readfsbytex86
__readfsdwordx86
__readfsqwordx86
__readfswordx86

Header file <intrin.h>

These routines are available only as intrinsics.

__writefsbyte, __writefsdword, __writefsqword, __writefsword
Compiler Intrinsics

Show: