Export (0) Print
Expand All
Expand Minimize

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

Intrinsic Architecture

__writefsbyte

x86

__writefsword

x86

__writefsdword

x86

__writefsqword

x86

Header file <intrin.h>

These intrinsics are available in kernel mode only, and these routines are only available as intrinsics.

END Microsoft Specific

Community Additions

ADD
Show:
© 2015 Microsoft