x64x86arm64ia64 / ntdllntoskrnl

_TEB64

← 5.2.3790.3959 3 builds latest →
struct _TEB64 {
unsigned __int64 EnvironmentPointer;/* 0x38 8 */
/* ── cacheline 1 boundary (64 bytes) ── */
unsigned __int64 ActiveRpcHandle;/* 0x50 8 */
unsigned __int64 ThreadLocalStoragePointer;/* 0x58 8 */
unsigned __int64 ProcessEnvironmentBlock;/* 0x60 8 */
unsigned long LastErrorValue;/* 0x68 4 */
unsigned long CountOfOwnedCriticalSections;/* 0x6c 4 */
unsigned __int64 CsrClientThread;/* 0x70 8 */
unsigned __int64 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) ── */
unsigned __int64 WOW32Reserved;/* 0x100 8 */
unsigned long CurrentLocale;/* 0x108 4 */
unsigned long FpSoftwareStatusRegister;/* 0x10c 4 */
unsigned __int64 SystemReserved1[54];/* 0x110 432 */
/* ── cacheline 11 boundary (704 bytes) ── */
long ExceptionCode;/* 0x2c0 4 */
/* 4 bytes padding */
unsigned __int64 ActivationContextStackPointer;/* 0x2c8 8 */
unsigned char SpareBytes1[24];/* 0x2d0 24 */
unsigned long TxFsContext;/* 0x2e8 4 */
/* 4 bytes padding */
/* ── cacheline 31 boundary (1984 bytes) ── */
unsigned __int64 GdiCachedProcessHandle;/* 0x7e8 8 */
unsigned long GdiClientPID;/* 0x7f0 4 */
unsigned long GdiClientTID;/* 0x7f4 4 */
unsigned __int64 GdiThreadLocalInfo;/* 0x7f8 8 */
/* ── cacheline 32 boundary (2048 bytes) ── */
unsigned __int64 Win32ClientInfo[62];/* 0x800 496 */
/* ── cacheline 39 boundary (2496 bytes) ── */
unsigned __int64 glDispatchTable[233];/* 0x9f0 1864 */
/* ── cacheline 68 boundary (4352 bytes) ── */
unsigned __int64 glReserved1[29];/* 0x1138 232 */
/* ── cacheline 72 boundary (4608 bytes) ── */
unsigned __int64 glReserved2;/* 0x1220 8 */
unsigned __int64 glSectionInfo;/* 0x1228 8 */
unsigned __int64 glSection;/* 0x1230 8 */
unsigned __int64 glTable;/* 0x1238 8 */
/* ── cacheline 73 boundary (4672 bytes) ── */
unsigned __int64 glCurrentRC;/* 0x1240 8 */
unsigned __int64 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) ── */
unsigned __int64 DeallocationStack;/* 0x1478 8 */
/* ── cacheline 82 boundary (5248 bytes) ── */
unsigned __int64 TlsSlots[64];/* 0x1480 512 */
/* ── cacheline 90 boundary (5760 bytes) ── */
unsigned __int64 Vdm;/* 0x1690 8 */
unsigned __int64 ReservedForNtRpc;/* 0x1698 8 */
unsigned __int64 DbgSsReserved[2];/* 0x16a0 16 */
unsigned long HardErrorMode;/* 0x16b0 4 */
/* 4 bytes padding */
unsigned __int64 Instrumentation[11];/* 0x16b8 88 */
/* ── cacheline 92 boundary (5888 bytes) ── */
unsigned __int64 SubProcessTag;/* 0x1720 8 */
unsigned __int64 EtwLocalData;/* 0x1728 8 */
unsigned __int64 EtwTraceData;/* 0x1730 8 */
unsigned __int64 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 */
unsigned __int64 ReservedForPerf;/* 0x1750 8 */
unsigned __int64 ReservedForOle;/* 0x1758 8 */
unsigned long WaitingOnLoaderLock;/* 0x1760 4 */
/* 4 bytes padding */
unsigned __int64 SavedPriorityState;/* 0x1768 8 */
unsigned __int64 SoftPatchPtr1;/* 0x1770 8 */
unsigned __int64 ThreadPoolData;/* 0x1778 8 */
/* ── cacheline 94 boundary (6016 bytes) ── */
unsigned __int64 TlsExpansionSlots;/* 0x1780 8 */
unsigned __int64 DeallocationBStore;/* 0x1788 8 */
unsigned __int64 BStoreLimit;/* 0x1790 8 */
unsigned long ImpersonationLocale;/* 0x1798 4 */
unsigned long IsImpersonating;/* 0x179c 4 */
unsigned __int64 NlsCache;/* 0x17a0 8 */
unsigned __int64 pShimData;/* 0x17a8 8 */
unsigned long HeapVirtualAffinity;/* 0x17b0 4 */
/* 4 bytes padding */
unsigned __int64 CurrentTransactionHandle;/* 0x17b8 8 */
/* ── cacheline 95 boundary (6080 bytes) ── */
unsigned __int64 ActiveFrame;/* 0x17c0 8 */
unsigned __int64 FlsData;/* 0x17c8 8 */
unsigned __int64 PreferredLanguages;/* 0x17d0 8 */
unsigned __int64 UserPrefLanguages;/* 0x17d8 8 */
unsigned __int64 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 */
unsigned __int64 TxnScopeEnterCallback;/* 0x17f0 8 */
unsigned __int64 TxnScopeExitCallback;/* 0x17f8 8 */
/* ── cacheline 96 boundary (6144 bytes) ── */
unsigned __int64 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