__writefsbyte, __writefsdword, __writefsqword, __writefsword

 

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 __writefsbyte, __writefsdword, __writefsqword, __writefsword.

Microsoft Specific**

Write memory to a location specified by an offset relative to the beginning of the FS segment.

void __writefsbyte(   
   unsigned long Offset,   
   unsigned char Data   
);  
void __writefsword(   
   unsigned long Offset,   
   unsigned short Data   
);  
void __writefsdword(   
   unsigned long Offset,   
   unsigned long Data   
);  
void __writefsqword(   
   unsigned long Offset,   
   unsigned __int64 Data   
);  

Parameters

[in] Offset
The offset from the beginning of FS to write to.

[in] Data
The value to write.

IntrinsicArchitecture
__writefsbytex86
__writefswordx86
__writefsdwordx86
__writefsqwordx86

Header file <intrin.h>

These routines are available only as intrinsics.

__readfsbyte, __readfsdword, __readfsqword, __readfsword
Compiler Intrinsics

Show: