Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

__addgsbyte, __addgsword, __addgsdword, __addgsqword

Microsoft Specific

Add a value to a memory location specified by an offset relative to the beginning of the GS segment.

void __addgsbyte( 
   unsigned long Offset, 
   unsigned char Data 
);
void __addgsword( 
   unsigned long Offset, 
   unsigned short Data 
);
void __addgsdword( 
   unsigned long Offset, 
   unsigned long Data 
);
void __addgsqword( 
   unsigned long Offset, 
   unsigned __int64 Data 
);
[in] Offset

The offset from the beginning of GS.

[in] Data

The value to add to the memory location.

Intrinsic

Architecture

__addgsbyte

x64

__addgsword

x64

__addgsdword

x64

__addgsqword

x64

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

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.