VirtualBox

Changeset 80425 in vbox for trunk/src/VBox/Additions/WINNT


Ignore:
Timestamp:
Aug 26, 2019 2:44:01 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
132903
Message:

WDDM: remove unused parameters. bugref:9529

Location:
trunk/src/VBox/Additions/WINNT
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/shared/VBoxDispKmt.cpp

    r80422 r80425  
    371371HRESULT vboxDispKmtCreateContext(PVBOXDISPKMT_DEVICE pDevice, PVBOXDISPKMT_CONTEXT pContext,
    372372                                    VBOXWDDM_CONTEXT_TYPE enmType,
    373                                     uint32_t crVersionMajor, uint32_t crVersionMinor,
    374373                                    HANDLE hEvent, uint64_t u64UmInfo)
    375374{
     
    377376    Info.u32IfVersion = 9;
    378377    Info.enmType = enmType;
    379     Info.u.vbox.crVersionMajor = crVersionMajor;
    380     Info.u.vbox.crVersionMinor = crVersionMinor;
     378    Info.u.vbox.crVersionMajor = 0; /* Not used */
     379    Info.u.vbox.crVersionMinor = 0; /* Not used */
    381380    Info.u.vbox.hUmEvent = (uintptr_t)hEvent;
    382381    Info.u.vbox.u64UmInfo = u64UmInfo;
  • trunk/src/VBox/Additions/WINNT/Graphics/Video/disp/wddm/shared/VBoxDispKmt.h

    r76563 r80425  
    138138HRESULT vboxDispKmtCreateContext(PVBOXDISPKMT_DEVICE pDevice, PVBOXDISPKMT_CONTEXT pContext,
    139139        VBOXWDDM_CONTEXT_TYPE enmType,
    140         uint32_t crVersionMajor, uint32_t crVersionMinor,
    141140        HANDLE hEvent, uint64_t u64UmInfo);
    142141HRESULT vboxDispKmtDestroyContext(PVBOXDISPKMT_CONTEXT pContext);
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDispIf.cpp

    r78937 r80425  
    571571        {
    572572            hr = vboxDispKmtCreateContext(&pOp->Device, &pOp->Context, VBOXWDDM_CONTEXT_TYPE_CUSTOM_DISPIF_RESIZE,
    573                     0, 0, NULL, 0ULL);
     573                    NULL, 0ULL);
    574574            if (SUCCEEDED(hr))
    575575                return ERROR_SUCCESS;
     
    26562656        {
    26572657            hr = vboxDispKmtCreateContext(&pSeamless->modeData.wddm.Device, &pSeamless->modeData.wddm.Context, VBOXWDDM_CONTEXT_TYPE_CUSTOM_DISPIF_SEAMLESS,
    2658                     0, 0, hEvent, 0ULL);
     2658                    hEvent, 0ULL);
    26592659            if (SUCCEEDED(hr))
    26602660                return ERROR_SUCCESS;
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