VirtualBox

Changeset 65238 in vbox for trunk/include/iprt


Ignore:
Timestamp:
Jan 11, 2017 10:37:22 AM (8 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
112746
Message:

nt/nt.h: W10 TEB and PEB updates.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/iprt/nt/nt.h

    r64638 r65238  
    987987#endif
    988988    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
    989996} PEB_COMMON;
    990997typedef PEB_COMMON *PPEB_COMMON;
     
    9981005AssertCompileMemberOffset(PEB_COMMON, PostProcessInitRoutine,    ARCH_BITS == 64 ? 0x230 : 0x14c);
    9991006AssertCompileMemberOffset(PEB_COMMON, AppCompatFlags, ARCH_BITS == 64 ? 0x2c8 : 0x1d8);
    1000 AssertCompileSize(PEB_COMMON, ARCH_BITS == 64 ? 0x388 : 0x250);
    1001 
     1007AssertCompileSize(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)
    10021011/** 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)
    10041013/** 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)
    10061015/** The size of the windows 7 PEB structure.  */
    10071016#define PEB_SIZE_W7     RT_UOFFSETOF(PEB_COMMON, CsrServerReadOnlySharedMemoryBase)
     
    13751384            PVOID ReservedForWdf;                                          /**< 0x1818 / 0xfe4 - New Since W7. */
    13761385            /* 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;
    13781390        struct
    13791391        {
     
    14021414AssertCompileMemberOffset(TEB_COMMON, MuiImpersonation,     ARCH_BITS == 64 ? 0x17e8 : 0xfc4);
    14031415AssertCompileMemberOffset(TEB_COMMON, LockCount,            ARCH_BITS == 64 ? 0x1808 : 0xfd8);
    1404 AssertCompileSize(TEB_COMMON, ARCH_BITS == 64 ? 0x1828 : 0xff8);
    1405 
    1406 
     1416AssertCompileSize(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) )
    14071421/** The size of the windows 8.1 PEB structure.  */
    14081422#define TEB_SIZE_W81    ( RT_UOFFSETOF(TEB_COMMON, Diff12.W8.ReservedForWdf) + sizeof(PVOID) )
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette