_rdtebex
Microsoft Specific
Reads the thread pointer register (IntR13) and returns its value, which is the base address of the current thread environment block (TEB).
void* _rdtebex();
Return Value
The thread pointer.
Requirements
Intrinsic |
Architecture |
---|---|
_rdtebex |
IPF |
Remarks
This routine is available only as an intrinsic.
This intrinsic is similar to _rdteb. The difference is that _rdtebex is not thread-safe and blocks some optimizations that assume the Thread Pointer register is fixed.