Changeset 65238 in vbox for trunk/include/iprt
- Timestamp:
- Jan 11, 2017 10:37:22 AM (8 years ago)
- svn:sync-xref-src-repo-rev:
- 112746
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/iprt/nt/nt.h
r64638 r65238 987 987 #endif 988 988 uint64_t CsrServerReadOnlySharedMemoryBase; /**< 0x380 / 0x248 */ 989 /* End of PEB in W8, W81. */ 990 uintptr_t TppWorkerpListLock; /**< 0x388 / 0x250 */ 991 LIST_ENTRY TppWorkerpList; /**< 0x390 / 0x254 */ 992 PVOID WaitOnAddressHashTable[128]; /**< 0x3a0 / 0x25c */ 993 #if ARCH_BITS == 32 994 uint32_t ExplicitPadding7; /**< NA NA / 0x45c */ 995 #endif 989 996 } PEB_COMMON; 990 997 typedef PEB_COMMON *PPEB_COMMON; … … 998 1005 AssertCompileMemberOffset(PEB_COMMON, PostProcessInitRoutine, ARCH_BITS == 64 ? 0x230 : 0x14c); 999 1006 AssertCompileMemberOffset(PEB_COMMON, AppCompatFlags, ARCH_BITS == 64 ? 0x2c8 : 0x1d8); 1000 AssertCompileSize(PEB_COMMON, ARCH_BITS == 64 ? 0x388 : 0x250); 1001 1007 AssertCompileSize(PEB_COMMON, ARCH_BITS == 64 ? 0x7a0 : 0x460); 1008 1009 /** The size of the windows 10 (build 14393) PEB structure. */ 1010 #define PEB_SIZE_W10 sizeof(PEB_COMMON) 1002 1011 /** The size of the windows 8.1 PEB structure. */ 1003 #define PEB_SIZE_W81 sizeof(PEB_COMMON)1012 #define PEB_SIZE_W81 RT_UOFFSETOF(PEB_COMMON, TppWorkerpListLock) 1004 1013 /** The size of the windows 8.0 PEB structure. */ 1005 #define PEB_SIZE_W80 sizeof(PEB_COMMON)1014 #define PEB_SIZE_W80 RT_UOFFSETOF(PEB_COMMON, TppWorkerpListLock) 1006 1015 /** The size of the windows 7 PEB structure. */ 1007 1016 #define PEB_SIZE_W7 RT_UOFFSETOF(PEB_COMMON, CsrServerReadOnlySharedMemoryBase) … … 1375 1384 PVOID ReservedForWdf; /**< 0x1818 / 0xfe4 - New Since W7. */ 1376 1385 /* End of TEB in W8 (windows 8.0 & 8.1)! */ 1377 } W8, W80, W81; 1386 PVOID ReservedForCrt; /**< 0x1820 / 0xfe8 - New Since W10. */ 1387 RTUUID EffectiveContainerId; /**< 0x1828 / 0xfec - New Since W10. */ 1388 /* End of TEB in W10 14393! */ 1389 } W8, W80, W81, W10; 1378 1390 struct 1379 1391 { … … 1402 1414 AssertCompileMemberOffset(TEB_COMMON, MuiImpersonation, ARCH_BITS == 64 ? 0x17e8 : 0xfc4); 1403 1415 AssertCompileMemberOffset(TEB_COMMON, LockCount, ARCH_BITS == 64 ? 0x1808 : 0xfd8); 1404 AssertCompileSize(TEB_COMMON, ARCH_BITS == 64 ? 0x1828 : 0xff8); 1405 1406 1416 AssertCompileSize(TEB_COMMON, ARCH_BITS == 64 ? 0x1838 : 0x1000); 1417 1418 1419 /** The size of the windows 8.1 PEB structure. */ 1420 #define TEB_SIZE_W10 ( RT_UOFFSETOF(TEB_COMMON, Diff12.W10.EffectiveContainerId) + sizeof(RTUUID) ) 1407 1421 /** The size of the windows 8.1 PEB structure. */ 1408 1422 #define TEB_SIZE_W81 ( RT_UOFFSETOF(TEB_COMMON, Diff12.W8.ReservedForWdf) + sizeof(PVOID) )
Note:
See TracChangeset
for help on using the changeset viewer.