This documentation is archived and is not being maintained.


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* _rdteb(void);

The thread pointer.

Intrinsic Architecture



This routine is only available as an intrinsic.

END Microsoft Specific