Compartilhar via


__writefsbyte, __writefsdword, __writefsqword, __writefsword

 

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.

Syntax

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.

Requirements

Intrinsic Architecture
__writefsbyte x86
__writefsword x86
__writefsdword x86
__writefsqword x86

Header file <intrin.h>

Remarks

These routines are available only as intrinsics.

END Microsoft Specific

See Also

__readfsbyte, __readfsdword, __readfsqword, __readfsword
Compiler Intrinsics