Share via


__rdteb 

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);

Return Value

The thread pointer.

Requirements

Intrinsic Architecture

__rdteb

IPF

Remarks

This routine is only available as an intrinsic.

END Microsoft Specific

See Also

Reference

Compiler Intrinsics