Share via


__readfsbyte, __readfsdword, __readfsqword, __readfsword 

Microsoft Specific

Read memory from a location specified by an offset relative to the beginning of the FS segment.

unsigned char __readfsbyte( 
   unsigned long Offset 
);
unsigned short __readfsword( 
   unsigned long Offset 
);
unsigned long __readfsdword( 
   unsigned long Offset
);
unsigned __int64 __readfsqword( 
   unsigned long Offset 
);

Parameters

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

Return Value

The memory contents of the byte, word, doubleword, or quadword (as indicated by the name of the function called) at the location FS:[Offset].

Requirements

Intrinsic Architecture

__readfsbyte

x86

__readfsdword

x86

__readfsqword

x86

__readfsword

x86

Header file <intrin.h>

Remarks

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

END Microsoft Specific

See Also

Reference

__writefsbyte, __writefsdword, __writefsqword, __writefsword
Compiler Intrinsics