This browser is no longer supported.

Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.

Download Microsoft Edge More info about Internet Explorer and Microsoft Edge

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

Syntax

_TEB * NtCurrentTeb();

Return value

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

Requirements