[This structure may be altered in future versions of Windows. Applications should use the alternate functions listed in this topic.]
Describes the state of a thread.
Syntax
typedef struct _TEB {
BYTE Reserved1[1952];
PVOID Reserved2[412];
PVOID TlsSlots[64];
BYTE Reserved3[8];
PVOID Reserved4[26];
PVOID ReservedForOle;
PVOID Reserved5[4];
PVOID TlsExpansionSlots;
} TEB, *PTEB;
Members
- Reserved1
Reserved. Do not access.
- Reserved2
Reserved. Do not access.
- TlsSlots
A pointer to thread local storage data. Do not directly access.
- Reserved3
Reserved. Do not access.
- Reserved4
Reserved. Do not access.
- ReservedForOle
Reserved for OLE. Do not directly access.
- Reserved5
Reserved. Do not access.
- TlsExpansionSlots
A pointer to thread local storage expansion data. Do not directly access.
Remarks
You should not directly access this structure. To access the values of the TlsSlots and TlsExpansionSlots members, call TlsGetValue. To access the value of the ReservedForOle member, call CoGetContextToken.
The definition of this structure may change in future versions, so do not assume a maximum size for this structure.
Requirements
Minimum supported client | Windows 2000 Professional |
Minimum supported server | Windows 2000 Server |
Header | Winternl.h |
See Also
- TlsGetValue
Send comments about this topic to Microsoft
Build date: 2/4/2010