Expand Minimize
This topic has not yet been rated - Rate this topic

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

Build date: 5/2/2013

Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.