VirtualBox

Changeset 106714 in vbox for trunk/src/VBox/Additions


Ignore:
Timestamp:
Oct 26, 2024 12:33:05 AM (3 months ago)
Author:
vboxsync
Message:

Add/Nt/VBoxTray: Build fix for build without WDDM (temporarily the case on win.arm64). jiraref:VBP-1253

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/WINNT/VBoxTray/VBoxDispIf.cpp

    r106686 r106714  
    24102410DWORD VBoxDispIfResizeModes(PCVBOXDISPIF const pIf, UINT iChangedMode, BOOL fEnable, BOOL fExtDispSup, DISPLAY_DEVICE *paDisplayDevices, DEVMODE *paDeviceModes, UINT cDevModes)
    24112411{
     2412#ifndef VBOX_WITH_WDDM
     2413    RT_NOREF(iChangedMode, fEnable, fExtDispSup, paDisplayDevices, paDeviceModes, cDevModes);
     2414#endif
    24122415    switch (pIf->enmMode)
    24132416    {
     
    24202423        case VBOXDISPIF_MODE_WDDM_W7:
    24212424            return vboxDispIfResizeModesWDDM(pIf, iChangedMode, fEnable, fExtDispSup, paDisplayDevices, paDeviceModes, cDevModes);
    2422 #else
    2423         RT_NOREF(iChangedMode, fEnable, fExtDispSup, paDisplayDevices, paDeviceModes, cDevModes);
    24242425#endif
    24252426        default:
     
    28292830        case VBOXDISPIF_MODE_WDDM_W7:
    28302831            return vboxDispIfSeamlessCreateWDDM(pIf, pSeamless, hEvent);
    2831 #else
    2832         RT_NOREF(hEvent);
    28332832#endif
    28342833        default:
     
    28362835    }
    28372836
     2837#ifndef VBOX_WITH_WDDM
     2838    RT_NOREF(hEvent);
     2839#endif
    28382840    WARN(("VBoxTray: VBoxDispIfSeamlessCreate: invalid mode %d\n", pIf->enmMode));
    28392841    return ERROR_INVALID_PARAMETER;
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