Export (0) Print
Expand All
Expand Minimize

NtCurrentTeb routine

The NtCurrentTeb routine returns a pointer to the Thread Environment Block (TEB) of the current thread.

Syntax


PTEB NtCurrentTeb(
  void 
);

Parameters

This routine has no parameters.

Return value

A pointer to the thread environment block of the current thread.

Requirements

Version

Available in Windows 7 and later versions of Windows.

Header

Winnt.h

See also

NtXxx Routines

 

 

Send comments about this topic to Microsoft

Show:
© 2014 Microsoft