Process Hacker
_TEB Struct Reference

#include <ntpebteb.h>

Data Fields

NT_TIB NtTib
 
PVOID EnvironmentPointer
 
CLIENT_ID ClientId
 
PVOID ActiveRpcHandle
 
PVOID ThreadLocalStoragePointer
 
PPEB ProcessEnvironmentBlock
 
ULONG LastErrorValue
 
ULONG CountOfOwnedCriticalSections
 
PVOID CsrClientThread
 
PVOID Win32ThreadInfo
 
ULONG User32Reserved [26]
 
ULONG UserReserved [5]
 
PVOID WOW32Reserved
 
LCID CurrentLocale
 
ULONG FpSoftwareStatusRegister
 
PVOID SystemReserved1 [54]
 
NTSTATUS ExceptionCode
 
PVOID ActivationContextStackPointer
 
UCHAR SpareBytes [36]
 
ULONG TxFsContext
 
GDI_TEB_BATCH GdiTebBatch
 
CLIENT_ID RealClientId
 
HANDLE GdiCachedProcessHandle
 
ULONG GdiClientPID
 
ULONG GdiClientTID
 
PVOID GdiThreadLocalInfo
 
ULONG_PTR Win32ClientInfo [62]
 
PVOID glDispatchTable [233]
 
ULONG_PTR glReserved1 [29]
 
PVOID glReserved2
 
PVOID glSectionInfo
 
PVOID glSection
 
PVOID glTable
 
PVOID glCurrentRC
 
PVOID glContext
 
NTSTATUS LastStatusValue
 
UNICODE_STRING StaticUnicodeString
 
WCHAR StaticUnicodeBuffer [261]
 
PVOID DeallocationStack
 
PVOID TlsSlots [64]
 
LIST_ENTRY TlsLinks
 
PVOID Vdm
 
PVOID ReservedForNtRpc
 
PVOID DbgSsReserved [2]
 
ULONG HardErrorMode
 
PVOID Instrumentation [9]
 
GUID ActivityId
 
PVOID SubProcessTag
 
PVOID EtwLocalData
 
PVOID EtwTraceData
 
PVOID WinSockData
 
ULONG GdiBatchCount
 
union {
   PROCESSOR_NUMBER   CurrentIdealProcessor
 
   ULONG   IdealProcessorValue
 
   struct {
      UCHAR   ReservedPad0
 
      UCHAR   ReservedPad1
 
      UCHAR   ReservedPad2
 
      UCHAR   IdealProcessor
 
   } 
 
}; 
 
ULONG GuaranteedStackBytes
 
PVOID ReservedForPerf
 
PVOID ReservedForOle
 
ULONG WaitingOnLoaderLock
 
PVOID SavedPriorityState
 
ULONG_PTR SoftPatchPtr1
 
PVOID ThreadPoolData
 
PVOID * TlsExpansionSlots
 
ULONG MuiGeneration
 
ULONG IsImpersonating
 
PVOID NlsCache
 
PVOID pShimData
 
ULONG HeapVirtualAffinity
 
HANDLE CurrentTransactionHandle
 
PTEB_ACTIVE_FRAME ActiveFrame
 
PVOID FlsData
 
PVOID PreferredLanguages
 
PVOID UserPrefLanguages
 
PVOID MergedPrefLanguages
 
ULONG MuiImpersonation
 
union {
   USHORT   CrossTebFlags
 
   USHORT   SpareCrossTebBits: 16
 
}; 
 
union {
   USHORT   SameTebFlags
 
   struct {
      USHORT   SafeThunkCall: 1
 
      USHORT   InDebugPrint: 1
 
      USHORT   HasFiberData: 1
 
      USHORT   SkipThreadAttach: 1
 
      USHORT   WerInShipAssertCode: 1
 
      USHORT   RanProcessInit: 1
 
      USHORT   ClonedThread: 1
 
      USHORT   SuppressDebugMsg: 1
 
      USHORT   DisableUserStackWalk: 1
 
      USHORT   RtlExceptionAttached: 1
 
      USHORT   InitialThread: 1
 
      USHORT   SessionAware: 1
 
      USHORT   SpareSameTebBits: 4
 
   } 
 
}; 
 
PVOID TxnScopeEnterCallback
 
PVOID TxnScopeExitCallback
 
PVOID TxnScopeContext
 
ULONG LockCount
 
ULONG SpareUlong0
 
PVOID ResourceRetValue
 
PVOID ReservedForWdf
 

Detailed Description

Definition at line 166 of file ntpebteb.h.

Field Documentation

union { ... }
union { ... }
union { ... }
PVOID ActivationContextStackPointer

Definition at line 187 of file ntpebteb.h.

PTEB_ACTIVE_FRAME ActiveFrame

Definition at line 268 of file ntpebteb.h.

PVOID ActiveRpcHandle

Definition at line 172 of file ntpebteb.h.

GUID ActivityId

Definition at line 229 of file ntpebteb.h.

CLIENT_ID ClientId

Definition at line 171 of file ntpebteb.h.

USHORT ClonedThread

Definition at line 292 of file ntpebteb.h.

ULONG CountOfOwnedCriticalSections

Definition at line 177 of file ntpebteb.h.

USHORT CrossTebFlags

Definition at line 278 of file ntpebteb.h.

PVOID CsrClientThread

Definition at line 178 of file ntpebteb.h.

PROCESSOR_NUMBER CurrentIdealProcessor

Definition at line 239 of file ntpebteb.h.

LCID CurrentLocale

Definition at line 183 of file ntpebteb.h.

HANDLE CurrentTransactionHandle

Definition at line 267 of file ntpebteb.h.

PVOID DbgSsReserved[2]

Definition at line 221 of file ntpebteb.h.

PVOID DeallocationStack

Definition at line 215 of file ntpebteb.h.

USHORT DisableUserStackWalk

Definition at line 294 of file ntpebteb.h.

PVOID EnvironmentPointer

Definition at line 170 of file ntpebteb.h.

PVOID EtwLocalData

Definition at line 232 of file ntpebteb.h.

PVOID EtwTraceData

Definition at line 233 of file ntpebteb.h.

NTSTATUS ExceptionCode

Definition at line 186 of file ntpebteb.h.

PVOID FlsData

Definition at line 269 of file ntpebteb.h.

ULONG FpSoftwareStatusRegister

Definition at line 184 of file ntpebteb.h.

ULONG GdiBatchCount

Definition at line 235 of file ntpebteb.h.

HANDLE GdiCachedProcessHandle

Definition at line 197 of file ntpebteb.h.

ULONG GdiClientPID

Definition at line 198 of file ntpebteb.h.

ULONG GdiClientTID

Definition at line 199 of file ntpebteb.h.

GDI_TEB_BATCH GdiTebBatch

Definition at line 195 of file ntpebteb.h.

PVOID GdiThreadLocalInfo

Definition at line 200 of file ntpebteb.h.

PVOID glContext

Definition at line 209 of file ntpebteb.h.

PVOID glCurrentRC

Definition at line 208 of file ntpebteb.h.

PVOID glDispatchTable[233]

Definition at line 202 of file ntpebteb.h.

ULONG_PTR glReserved1[29]

Definition at line 203 of file ntpebteb.h.

PVOID glReserved2

Definition at line 204 of file ntpebteb.h.

PVOID glSection

Definition at line 206 of file ntpebteb.h.

PVOID glSectionInfo

Definition at line 205 of file ntpebteb.h.

PVOID glTable

Definition at line 207 of file ntpebteb.h.

ULONG GuaranteedStackBytes

Definition at line 250 of file ntpebteb.h.

ULONG HardErrorMode

Definition at line 223 of file ntpebteb.h.

USHORT HasFiberData

Definition at line 288 of file ntpebteb.h.

ULONG HeapVirtualAffinity

Definition at line 266 of file ntpebteb.h.

UCHAR IdealProcessor

Definition at line 246 of file ntpebteb.h.

ULONG IdealProcessorValue

Definition at line 240 of file ntpebteb.h.

USHORT InDebugPrint

Definition at line 287 of file ntpebteb.h.

USHORT InitialThread

Definition at line 296 of file ntpebteb.h.

PVOID Instrumentation[9]

Definition at line 227 of file ntpebteb.h.

ULONG IsImpersonating

Definition at line 263 of file ntpebteb.h.

ULONG LastErrorValue

Definition at line 176 of file ntpebteb.h.

NTSTATUS LastStatusValue

Definition at line 211 of file ntpebteb.h.

ULONG LockCount

Definition at line 305 of file ntpebteb.h.

PVOID MergedPrefLanguages

Definition at line 273 of file ntpebteb.h.

ULONG MuiGeneration

Definition at line 262 of file ntpebteb.h.

ULONG MuiImpersonation

Definition at line 274 of file ntpebteb.h.

PVOID NlsCache

Definition at line 264 of file ntpebteb.h.

NT_TIB NtTib

Definition at line 168 of file ntpebteb.h.

PVOID PreferredLanguages

Definition at line 271 of file ntpebteb.h.

PPEB ProcessEnvironmentBlock

Definition at line 174 of file ntpebteb.h.

PVOID pShimData

Definition at line 265 of file ntpebteb.h.

USHORT RanProcessInit

Definition at line 291 of file ntpebteb.h.

CLIENT_ID RealClientId

Definition at line 196 of file ntpebteb.h.

PVOID ReservedForNtRpc

Definition at line 220 of file ntpebteb.h.

PVOID ReservedForOle

Definition at line 252 of file ntpebteb.h.

PVOID ReservedForPerf

Definition at line 251 of file ntpebteb.h.

PVOID ReservedForWdf

Definition at line 308 of file ntpebteb.h.

UCHAR ReservedPad0

Definition at line 243 of file ntpebteb.h.

UCHAR ReservedPad1

Definition at line 244 of file ntpebteb.h.

UCHAR ReservedPad2

Definition at line 245 of file ntpebteb.h.

PVOID ResourceRetValue

Definition at line 307 of file ntpebteb.h.

USHORT RtlExceptionAttached

Definition at line 295 of file ntpebteb.h.

USHORT SafeThunkCall

Definition at line 286 of file ntpebteb.h.

USHORT SameTebFlags

Definition at line 283 of file ntpebteb.h.

PVOID SavedPriorityState

Definition at line 254 of file ntpebteb.h.

USHORT SessionAware

Definition at line 297 of file ntpebteb.h.

USHORT SkipThreadAttach

Definition at line 289 of file ntpebteb.h.

ULONG_PTR SoftPatchPtr1

Definition at line 255 of file ntpebteb.h.

UCHAR SpareBytes[36]

Definition at line 191 of file ntpebteb.h.

USHORT SpareCrossTebBits

Definition at line 279 of file ntpebteb.h.

USHORT SpareSameTebBits

Definition at line 298 of file ntpebteb.h.

ULONG SpareUlong0

Definition at line 306 of file ntpebteb.h.

WCHAR StaticUnicodeBuffer[261]

Definition at line 213 of file ntpebteb.h.

UNICODE_STRING StaticUnicodeString

Definition at line 212 of file ntpebteb.h.

PVOID SubProcessTag

Definition at line 231 of file ntpebteb.h.

USHORT SuppressDebugMsg

Definition at line 293 of file ntpebteb.h.

PVOID SystemReserved1[54]

Definition at line 185 of file ntpebteb.h.

PVOID ThreadLocalStoragePointer

Definition at line 173 of file ntpebteb.h.

PVOID ThreadPoolData

Definition at line 256 of file ntpebteb.h.

PVOID* TlsExpansionSlots

Definition at line 257 of file ntpebteb.h.

LIST_ENTRY TlsLinks

Definition at line 217 of file ntpebteb.h.

PVOID TlsSlots[64]

Definition at line 216 of file ntpebteb.h.

ULONG TxFsContext

Definition at line 193 of file ntpebteb.h.

PVOID TxnScopeContext

Definition at line 304 of file ntpebteb.h.

PVOID TxnScopeEnterCallback

Definition at line 302 of file ntpebteb.h.

PVOID TxnScopeExitCallback

Definition at line 303 of file ntpebteb.h.

ULONG User32Reserved[26]

Definition at line 180 of file ntpebteb.h.

PVOID UserPrefLanguages

Definition at line 272 of file ntpebteb.h.

ULONG UserReserved[5]

Definition at line 181 of file ntpebteb.h.

PVOID Vdm

Definition at line 219 of file ntpebteb.h.

ULONG WaitingOnLoaderLock

Definition at line 253 of file ntpebteb.h.

USHORT WerInShipAssertCode

Definition at line 290 of file ntpebteb.h.

ULONG_PTR Win32ClientInfo[62]

Definition at line 201 of file ntpebteb.h.

PVOID Win32ThreadInfo

Definition at line 179 of file ntpebteb.h.

PVOID WinSockData

Definition at line 234 of file ntpebteb.h.

PVOID WOW32Reserved

Definition at line 182 of file ntpebteb.h.


The documentation for this struct was generated from the following file: