typedef struct _TEB64                                   // 101 elements, 0x1818 bytes (sizeof)
           {
/*0x000*/      struct _NT_TIB64 NtTib;                             // 8 elements, 0x38 bytes (sizeof)
/*0x038*/      UINT64       EnvironmentPointer;
/*0x040*/      struct _CLIENT_ID64 ClientId;                       // 2 elements, 0x10 bytes (sizeof)
/*0x050*/      UINT64       ActiveRpcHandle;
/*0x058*/      UINT64       ThreadLocalStoragePointer;
/*0x060*/      UINT64       ProcessEnvironmentBlock;
/*0x068*/      ULONG32      LastErrorValue;
/*0x06C*/      ULONG32      CountOfOwnedCriticalSections;
/*0x070*/      UINT64       CsrClientThread;
/*0x078*/      UINT64       Win32ThreadInfo;
/*0x080*/      ULONG32      User32Reserved[26];
/*0x0E8*/      ULONG32      UserReserved[5];
/*0x0FC*/      UINT8        _PADDING0_[0x4];
/*0x100*/      UINT64       WOW32Reserved;
/*0x108*/      ULONG32      CurrentLocale;
/*0x10C*/      ULONG32      FpSoftwareStatusRegister;
/*0x110*/      UINT64       SystemReserved1[54];
/*0x2C0*/      LONG32       ExceptionCode;
/*0x2C4*/      UINT8        _PADDING1_[0x4];
/*0x2C8*/      UINT64       ActivationContextStackPointer;
/*0x2D0*/      UINT8        SpareBytes[24];
/*0x2E8*/      ULONG32      TxFsContext;
/*0x2EC*/      UINT8        _PADDING2_[0x4];
/*0x2F0*/      struct _GDI_TEB_BATCH64 GdiTebBatch;                // 3 elements, 0x4E8 bytes (sizeof)
/*0x7D8*/      struct _CLIENT_ID64 RealClientId;                   // 2 elements, 0x10 bytes (sizeof)
/*0x7E8*/      UINT64       GdiCachedProcessHandle;
/*0x7F0*/      ULONG32      GdiClientPID;
/*0x7F4*/      ULONG32      GdiClientTID;
/*0x7F8*/      UINT64       GdiThreadLocalInfo;
/*0x800*/      UINT64       Win32ClientInfo[62];
/*0x9F0*/      UINT64       glDispatchTable[233];
/*0x1138*/     UINT64       glReserved1[29];
/*0x1220*/     UINT64       glReserved2;
/*0x1228*/     UINT64       glSectionInfo;
/*0x1230*/     UINT64       glSection;
/*0x1238*/     UINT64       glTable;
/*0x1240*/     UINT64       glCurrentRC;
/*0x1248*/     UINT64       glContext;
/*0x1250*/     ULONG32      LastStatusValue;
/*0x1254*/     UINT8        _PADDING3_[0x4];
/*0x1258*/     struct _STRING64 StaticUnicodeString;               // 3 elements, 0x10 bytes (sizeof)
/*0x1268*/     WCHAR        StaticUnicodeBuffer[261];
/*0x1472*/     UINT8        _PADDING4_[0x6];
/*0x1478*/     UINT64       DeallocationStack;
/*0x1480*/     UINT64       TlsSlots[64];
/*0x1680*/     struct _LIST_ENTRY64 TlsLinks;                      // 2 elements, 0x10 bytes (sizeof)
/*0x1690*/     UINT64       Vdm;
/*0x1698*/     UINT64       ReservedForNtRpc;
/*0x16A0*/     UINT64       DbgSsReserved[2];
/*0x16B0*/     ULONG32      HardErrorMode;
/*0x16B4*/     UINT8        _PADDING5_[0x4];
/*0x16B8*/     UINT64       Instrumentation[11];
/*0x1710*/     struct _GUID ActivityId;                            // 4 elements, 0x10 bytes (sizeof)
/*0x1720*/     UINT64       SubProcessTag;
/*0x1728*/     UINT64       EtwLocalData;
/*0x1730*/     UINT64       EtwTraceData;
/*0x1738*/     UINT64       WinSockData;
/*0x1740*/     ULONG32      GdiBatchCount;
               union                                               // 3 elements, 0x4 bytes (sizeof)
               {
/*0x1744*/         struct _PROCESSOR_NUMBER CurrentIdealProcessor; // 3 elements, 0x4 bytes (sizeof)
/*0x1744*/         ULONG32      IdealProcessorValue;
                   struct                                          // 4 elements, 0x4 bytes (sizeof)
                   {
/*0x1744*/             UINT8        ReservedPad0;
/*0x1745*/             UINT8        ReservedPad1;
/*0x1746*/             UINT8        ReservedPad2;
/*0x1747*/             UINT8        IdealProcessor;
                   };
               };
/*0x1748*/     ULONG32      GuaranteedStackBytes;
/*0x174C*/     UINT8        _PADDING6_[0x4];
/*0x1750*/     UINT64       ReservedForPerf;
/*0x1758*/     UINT64       ReservedForOle;
/*0x1760*/     ULONG32      WaitingOnLoaderLock;
/*0x1764*/     UINT8        _PADDING7_[0x4];
/*0x1768*/     UINT64       SavedPriorityState;
/*0x1770*/     UINT64       SoftPatchPtr1;
/*0x1778*/     UINT64       ThreadPoolData;
/*0x1780*/     UINT64       TlsExpansionSlots;
/*0x1788*/     UINT64       DeallocationBStore;
/*0x1790*/     UINT64       BStoreLimit;
/*0x1798*/     ULONG32      MuiGeneration;
/*0x179C*/     ULONG32      IsImpersonating;
/*0x17A0*/     UINT64       NlsCache;
/*0x17A8*/     UINT64       pShimData;
/*0x17B0*/     ULONG32      HeapVirtualAffinity;
/*0x17B4*/     UINT8        _PADDING8_[0x4];
/*0x17B8*/     UINT64       CurrentTransactionHandle;
/*0x17C0*/     UINT64       ActiveFrame;
/*0x17C8*/     UINT64       FlsData;
/*0x17D0*/     UINT64       PreferredLanguages;
/*0x17D8*/     UINT64       UserPrefLanguages;
/*0x17E0*/     UINT64       MergedPrefLanguages;
/*0x17E8*/     ULONG32      MuiImpersonation;
               union                                               // 2 elements, 0x2 bytes (sizeof)
               {
/*0x17EC*/         UINT16       CrossTebFlags;
/*0x17EC*/         UINT16       SpareCrossTebBits : 16;            // 0 BitPosition
               };
               union                                               // 2 elements, 0x2 bytes (sizeof)
               {
/*0x17EE*/         UINT16       SameTebFlags;
                   struct                                          // 12 elements, 0x2 bytes (sizeof)
                   {
/*0x17EE*/             UINT16       SafeThunkCall : 1;             // 0 BitPosition
/*0x17EE*/             UINT16       InDebugPrint : 1;              // 1 BitPosition
/*0x17EE*/             UINT16       HasFiberData : 1;              // 2 BitPosition
/*0x17EE*/             UINT16       SkipThreadAttach : 1;          // 3 BitPosition
/*0x17EE*/             UINT16       WerInShipAssertCode : 1;       // 4 BitPosition
/*0x17EE*/             UINT16       RanProcessInit : 1;            // 5 BitPosition
/*0x17EE*/             UINT16       ClonedThread : 1;              // 6 BitPosition
/*0x17EE*/             UINT16       SuppressDebugMsg : 1;          // 7 BitPosition
/*0x17EE*/             UINT16       DisableUserStackWalk : 1;      // 8 BitPosition
/*0x17EE*/             UINT16       RtlExceptionAttached : 1;      // 9 BitPosition
/*0x17EE*/             UINT16       InitialThread : 1;             // 10 BitPosition
/*0x17EE*/             UINT16       SpareSameTebBits : 5;          // 11 BitPosition
                   };
               };
/*0x17F0*/     UINT64       TxnScopeEnterCallback;
/*0x17F8*/     UINT64       TxnScopeExitCallback;
/*0x1800*/     UINT64       TxnScopeContext;
/*0x1808*/     ULONG32      LockCount;
/*0x180C*/     ULONG32      SpareUlong0;
/*0x1810*/     UINT64       ResourceRetValue;
           }TEB64, *PTEB64;
Return to structures/enums list.
Return to O.S. version list.

(c) MoonSols 2010.