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 | |
|---|---|
|
Version |
Available in Windows 7 and later versions of Windows. |
|
Header |
|
See also
Show: