Windows apps
Collapse the table of content
Expand the table of content
Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

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

Target platform

Universal

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:
© 2016 Microsoft