x64x86arm64ia64mips / ntdllntoskrnl

_TEB

← 5.2.3790.3959 3 builds latest →
struct _TEB {
void* EnvironmentPointer;/* 0x38 8 */
/* ── cacheline 1 boundary (64 bytes) ── */
void* ActiveRpcHandle;/* 0x50 8 */
void* ThreadLocalStoragePointer;/* 0x58 8 */
unsigned long LastErrorValue;/* 0x68 4 */
unsigned long CountOfOwnedCriticalSections;/* 0x6c 4 */
void* CsrClientThread;/* 0x70 8 */
void* Win32ThreadInfo;/* 0x78 8 */
/* ── cacheline 2 boundary (128 bytes) ── */
unsigned long User32Reserved[26];/* 0x80 104 */
/* ── cacheline 3 boundary (192 bytes) ── */
unsigned long UserReserved[5];/* 0xe8 20 */
/* 4 bytes padding */
/* ── cacheline 4 boundary (256 bytes) ── */
void* WOW32Reserved;/* 0x100 8 */
unsigned long CurrentLocale;/* 0x108 4 */
unsigned long FpSoftwareStatusRegister;/* 0x10c 4 */
void* SystemReserved1[54];/* 0x110 432 */
/* ── cacheline 11 boundary (704 bytes) ── */
long ExceptionCode;/* 0x2c0 4 */
/* 4 bytes padding */
unsigned char SpareBytes1[24];/* 0x2d0 24 */
unsigned long TxFsContext;/* 0x2e8 4 */
/* 4 bytes padding */
/* ── cacheline 31 boundary (1984 bytes) ── */
void* GdiCachedProcessHandle;/* 0x7e8 8 */
unsigned long GdiClientPID;/* 0x7f0 4 */
unsigned long GdiClientTID;/* 0x7f4 4 */
void* GdiThreadLocalInfo;/* 0x7f8 8 */
/* ── cacheline 32 boundary (2048 bytes) ── */
unsigned __int64 Win32ClientInfo[62];/* 0x800 496 */
/* ── cacheline 39 boundary (2496 bytes) ── */
void* glDispatchTable[233];/* 0x9f0 1864 */
/* ── cacheline 68 boundary (4352 bytes) ── */
unsigned __int64 glReserved1[29];/* 0x1138 232 */
/* ── cacheline 72 boundary (4608 bytes) ── */
void* glReserved2;/* 0x1220 8 */
void* glSectionInfo;/* 0x1228 8 */
void* glSection;/* 0x1230 8 */
void* glTable;/* 0x1238 8 */
/* ── cacheline 73 boundary (4672 bytes) ── */
void* glCurrentRC;/* 0x1240 8 */
void* glContext;/* 0x1248 8 */
unsigned long LastStatusValue;/* 0x1250 4 */
/* 4 bytes padding */
wchar_t StaticUnicodeBuffer[261];/* 0x1268 522 */
/* 6 bytes padding */
/* ── cacheline 81 boundary (5184 bytes) ── */
void* DeallocationStack;/* 0x1478 8 */
/* ── cacheline 82 boundary (5248 bytes) ── */
void* TlsSlots[64];/* 0x1480 512 */
/* ── cacheline 90 boundary (5760 bytes) ── */
void* Vdm;/* 0x1690 8 */
void* ReservedForNtRpc;/* 0x1698 8 */
void* DbgSsReserved[2];/* 0x16a0 16 */
unsigned long HardErrorMode;/* 0x16b0 4 */
/* 4 bytes padding */
void* Instrumentation[11];/* 0x16b8 88 */
/* ── cacheline 92 boundary (5888 bytes) ── */
void* SubProcessTag;/* 0x1720 8 */
void* EtwLocalData;/* 0x1728 8 */
void* EtwTraceData;/* 0x1730 8 */
void* WinSockData;/* 0x1738 8 */
/* ── cacheline 93 boundary (5952 bytes) ── */
unsigned long GdiBatchCount;/* 0x1740 4 */
unsigned char SpareBool0;/* 0x1744 1 */
unsigned char SpareBool1;/* 0x1745 1 */
unsigned char SpareBool2;/* 0x1746 1 */
unsigned char IdealProcessor;/* 0x1747 1 */
unsigned long GuaranteedStackBytes;/* 0x1748 4 */
/* 4 bytes padding */
void* ReservedForPerf;/* 0x1750 8 */
void* ReservedForOle;/* 0x1758 8 */
unsigned long WaitingOnLoaderLock;/* 0x1760 4 */
/* 4 bytes padding */
void* SavedPriorityState;/* 0x1768 8 */
unsigned __int64 SoftPatchPtr1;/* 0x1770 8 */
void* ThreadPoolData;/* 0x1778 8 */
/* ── cacheline 94 boundary (6016 bytes) ── */
void** TlsExpansionSlots;/* 0x1780 8 */
void* DeallocationBStore;/* 0x1788 8 */
void* BStoreLimit;/* 0x1790 8 */
unsigned long ImpersonationLocale;/* 0x1798 4 */
unsigned long IsImpersonating;/* 0x179c 4 */
void* NlsCache;/* 0x17a0 8 */
void* pShimData;/* 0x17a8 8 */
unsigned long HeapVirtualAffinity;/* 0x17b0 4 */
/* 4 bytes padding */
void* CurrentTransactionHandle;/* 0x17b8 8 */
/* ── cacheline 95 boundary (6080 bytes) ── */
void* FlsData;/* 0x17c8 8 */
void* PreferredLanguages;/* 0x17d0 8 */
void* UserPrefLanguages;/* 0x17d8 8 */
void* MergedPrefLanguages;/* 0x17e0 8 */
unsigned long MuiImpersonation;/* 0x17e8 4 */
union {
volatile unsigned short CrossTebFlags;/* 0x17ec 2 */
unsigned short SpareCrossTebBits : 16;/* 0x17ec:0 2 */
};/* 0x17ec 2 */
union {
unsigned short SameTebFlags;/* 0x17ee 2 */
struct {
unsigned short DbgSafeThunkCall : 1;/* 0x17ee:0 2 */
unsigned short DbgInDebugPrint : 1;/* 0x17ee:1 2 */
unsigned short DbgHasFiberData : 1;/* 0x17ee:2 2 */
unsigned short DbgSkipThreadAttach : 1;/* 0x17ee:3 2 */
unsigned short DbgWerInShipAssertCode : 1;/* 0x17ee:4 2 */
unsigned short DbgRanProcessInit : 1;/* 0x17ee:5 2 */
unsigned short DbgClonedThread : 1;/* 0x17ee:6 2 */
unsigned short DbgSuppressDebugMsg : 1;/* 0x17ee:7 2 */
unsigned short RtlDisableUserStackWalk : 1;/* 0x17ee:8 2 */
unsigned short RtlExceptionAttached : 1;/* 0x17ee:9 2 */
unsigned short SpareSameTebBits : 6;/* 0x17ee:10 2 */
};/* 0x17ee 2 */
};/* 0x17ee 2 */
void* TxnScopeEnterCallback;/* 0x17f0 8 */
void* TxnScopeExitCallback;/* 0x17f8 8 */
/* ── cacheline 96 boundary (6144 bytes) ── */
void* TxnScopeContext;/* 0x1800 8 */
unsigned long LockCount;/* 0x1808 4 */
unsigned long ProcessRundown;/* 0x180c 4 */
unsigned __int64 LastSwitchTime;/* 0x1810 8 */
unsigned __int64 TotalSwitchOutTime;/* 0x1818 8 */
};
size 6184 (0x1828)100 members9 holes (38 bytes)padding 097 cachelines