VirtualBox

Ignore:
Timestamp:
Sep 27, 2018 11:46:54 AM (6 years ago)
Author:
vboxsync
Message:

WDDM: union for context specific data. bugref:8893

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/common/wddm/VBoxMPIf.h

    r74477 r74493  
    271271    /* true if d3d false if ddraw */
    272272    VBOXWDDM_CONTEXT_TYPE enmType;
    273     uint32_t crVersionMajor;
    274     uint32_t crVersionMinor;
    275     /* we use uint64_t instead of HANDLE to ensure structure def is the same for both 32-bit and 64-bit
    276      * since x64 kernel driver can be called by 32-bit UMD */
    277     uint64_t hUmEvent;
    278     /* info to be passed to UMD notification to identify the context */
    279     uint64_t u64UmInfo;
     273    union
     274    {
     275        struct
     276        {
     277            uint32_t crVersionMajor;
     278            uint32_t crVersionMinor;
     279            /* we use uint64_t instead of HANDLE to ensure structure def is the same for both 32-bit and 64-bit
     280             * since x64 kernel driver can be called by 32-bit UMD */
     281            uint64_t hUmEvent;
     282            /* info to be passed to UMD notification to identify the context */
     283            uint64_t u64UmInfo;
     284        } vbox;
     285    } u;
    280286} VBOXWDDM_CREATECONTEXT_INFO, *PVBOXWDDM_CREATECONTEXT_INFO;
    281287
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