NtCurrentTeb function (winnt.h)
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
Requirement | Value |
---|---|
Minimum supported client | Available in Windows 7 and later versions of Windows. |
Target Platform | Universal |
Header | winnt.h |
See also
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for