x86 / ntdllntoskrnl /

_TEB64

← 10.0.18362.1016 11 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 ReservedForDebuggerInstrumentation[16];/* 0x110 128 */
/* ── cacheline 6 boundary (384 bytes) ── */
unsigned __int64 SystemReserved1[30];/* 0x190 240 */
/* ── cacheline 10 boundary (640 bytes) ── */
char PlaceholderCompatibilityMode;/* 0x280 1 */
unsigned char PlaceholderHydrationAlwaysExplicit;/* 0x281 1 */
char PlaceholderReserved[10];/* 0x282 10 */
unsigned long ProxiedProcessId;/* 0x28c 4 */
unsigned char WorkingOnBehalfTicket[8];/* 0x2b8 8 */
/* ── cacheline 11 boundary (704 bytes) ── */
long ExceptionCode;/* 0x2c0 4 */
unsigned char Padding0[4];/* 0x2c4 4 */
unsigned __int64 ActivationContextStackPointer;/* 0x2c8 8 */
unsigned __int64 InstrumentationCallbackSp;/* 0x2d0 8 */
unsigned __int64 InstrumentationCallbackPreviousPc;/* 0x2d8 8 */
unsigned __int64 InstrumentationCallbackPreviousSp;/* 0x2e0 8 */
unsigned long TxFsContext;/* 0x2e8 4 */
unsigned char InstrumentationCallbackDisabled;/* 0x2ec 1 */
unsigned char UnalignedLoadStoreExceptions;/* 0x2ed 1 */
unsigned char Padding1[2];/* 0x2ee 2 */
/* ── 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 */
unsigned char Padding2[4];/* 0x1254 4 */
wchar_t StaticUnicodeBuffer[261];/* 0x1268 522 */
/* ── cacheline 81 boundary (5184 bytes) ── */
unsigned char Padding3[6];/* 0x1472 6 */
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 */
unsigned char Padding4[4];/* 0x16b4 4 */
unsigned __int64 Instrumentation[11];/* 0x16b8 88 */
/* ── cacheline 92 boundary (5888 bytes) ── */
unsigned __int64 SubProcessTag;/* 0x1720 8 */
unsigned __int64 PerflibData;/* 0x1728 8 */
unsigned __int64 EtwTraceData;/* 0x1730 8 */
unsigned __int64 WinSockData;/* 0x1738 8 */
/* ── cacheline 93 boundary (5952 bytes) ── */
unsigned long GdiBatchCount;/* 0x1740 4 */
union {
unsigned long IdealProcessorValue;/* 0x1744 4 */
struct {
unsigned char ReservedPad0;/* 0x1744 1 */
unsigned char ReservedPad1;/* 0x1745 1 */
unsigned char ReservedPad2;/* 0x1746 1 */
unsigned char IdealProcessor;/* 0x1747 1 */
};/* 0x1744 4 */
};/* 0x1744 4 */
unsigned long GuaranteedStackBytes;/* 0x1748 4 */
unsigned char Padding5[4];/* 0x174c 4 */
unsigned __int64 ReservedForPerf;/* 0x1750 8 */
unsigned __int64 ReservedForOle;/* 0x1758 8 */
unsigned long WaitingOnLoaderLock;/* 0x1760 4 */
unsigned char Padding6[4];/* 0x1764 4 */
unsigned __int64 SavedPriorityState;/* 0x1768 8 */
unsigned __int64 ReservedForCodeCoverage;/* 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 MuiGeneration;/* 0x1798 4 */
unsigned long IsImpersonating;/* 0x179c 4 */
unsigned __int64 NlsCache;/* 0x17a0 8 */
unsigned __int64 pShimData;/* 0x17a8 8 */
unsigned long HeapData;/* 0x17b0 4 */
unsigned char Padding7[4];/* 0x17b4 4 */
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 SafeThunkCall : 1;/* 0x17ee:0 2 */
unsigned short InDebugPrint : 1;/* 0x17ee:1 2 */
unsigned short HasFiberData : 1;/* 0x17ee:2 2 */
unsigned short SkipThreadAttach : 1;/* 0x17ee:3 2 */
unsigned short WerInShipAssertCode : 1;/* 0x17ee:4 2 */
unsigned short RanProcessInit : 1;/* 0x17ee:5 2 */
unsigned short ClonedThread : 1;/* 0x17ee:6 2 */
unsigned short SuppressDebugMsg : 1;/* 0x17ee:7 2 */
unsigned short DisableUserStackWalk : 1;/* 0x17ee:8 2 */
unsigned short RtlExceptionAttached : 1;/* 0x17ee:9 2 */
unsigned short InitialThread : 1;/* 0x17ee:10 2 */
unsigned short SessionAware : 1;/* 0x17ee:11 2 */
unsigned short LoadOwner : 1;/* 0x17ee:12 2 */
unsigned short LoaderWorker : 1;/* 0x17ee:13 2 */
unsigned short SkipLoaderInit : 1;/* 0x17ee:14 2 */
unsigned short SpareSameTebBits : 1;/* 0x17ee:15 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 */
long WowTebOffset;/* 0x180c 4 */
unsigned __int64 ResourceRetValue;/* 0x1810 8 */
unsigned __int64 ReservedForWdf;/* 0x1818 8 */
unsigned __int64 ReservedForCrt;/* 0x1820 8 */
};
size 6200 (0x1838)127 members1 hole (4 bytes)padding 097 cachelines