Edit

Share via


__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

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

Data
[in] 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