|Important||This document may not represent best practices for current development, links to downloads and other resources may no longer be valid. Current recommended version can be found here. ArchiveDisclaimer|
__writegsbyte, __writegsdword, __writegsqword, __writegsword
Visual Studio 2005
Write memory to a location specified by an offset relative to the beginning of the GS segment.
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 );
- [in] Offset
The offset from the beginning of GS to write to.
- [in] Data
The value to write.