Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Microsoft Specific
Write memory to a location specified by an offset relative to the beginning of the GS segment.
Syntax
void __writegsbyte(
unsigned long Offset,
unsigned char Data
);
void __writegsword(
unsigned long Offset,
unsigned short Data
);
void __writegsdword(
unsigned long Offset,
unsigned long Data
);
void __writegsqword(
unsigned long Offset,
unsigned __int64 Data
);
Parameters
Offset
[in] The offset from the beginning of GS to write to.
Data
[in] The value to write.
Requirements
Intrinsic | Architecture |
---|---|
__writegsbyte |
x64 |
__writegsdword |
x64 |
__writegsqword |
x64 |
__writegsword |
x64 |
Header file <intrin.h>
Remarks
These routines are only available as an intrinsic.
END Microsoft Specific
See also
__readgsbyte, __readgsdword, __readgsqword, __readgsword
Compiler intrinsics