VirtualBox

Ignore:
Timestamp:
Sep 17, 2010 8:18:39 PM (14 years ago)
Author:
vboxsync
Message:

wddm: VBOXWDDM->VBOX_WITH_WDDM

File:
1 edited

Legend:

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

    r32592 r32622  
    3939static VBOXDISPLAYCONTEXT gCtx = {0};
    4040
    41 #ifdef VBOXWDDM
     41#ifdef VBOX_WITH_WDDM
    4242static bool vboxWddmReinitVideoModes(VBOXDISPLAYCONTEXT *pCtx)
    4343{
     
    8888        Log(("VBoxTray: VBoxDisplayInit: pfnEnumDisplayDevices = %p\n", gCtx.pfnEnumDisplayDevices));
    8989
    90 #ifdef VBOXWDDM
     90#ifdef VBOX_WITH_WDDM
    9191        if (OSinfo.dwMajorVersion >= 6)
    9292        {
     
    129129}
    130130
    131 #ifdef VBOXWDDM
     131#ifdef VBOX_WITH_WDDM
    132132static VBOXDISPLAY_DRIVER_TYPE getVBoxDisplayDriverType(VBOXDISPLAYCONTEXT *pCtx)
    133133#else
     
    135135#endif
    136136{
    137 #ifdef VBOXWDDM
     137#ifdef VBOX_WITH_WDDM
    138138    VBOXDISPLAY_DRIVER_TYPE enmType = VBOXDISPLAY_DRIVER_TYPE_UNKNOWN;
    139139#else
     
    168168
    169169                if (strcmp(&dispDevice.DeviceString[0], "VirtualBox Graphics Adapter") == 0)
    170 #ifndef VBOXWDDM
     170#ifndef VBOX_WITH_WDDM
    171171                    result = true;
    172172#else
     
    196196        /* Check for the short name, because all long stuff would be truncated */
    197197        if (strcmp((char*)&tempDevMode.dmDeviceName[0], "VBoxDisp") == 0)
    198 #ifndef VBOXWDDM
     198#ifndef VBOX_WITH_WDDM
    199199            result = true;
    200200#else
     
    203203    }
    204204
    205 #ifndef VBOXWDDM
     205#ifndef VBOX_WITH_WDDM
    206206    return result;
    207207#else
     
    532532                         * Only try to change video mode if the active display driver is VBox additions.
    533533                         */
    534 #ifdef VBOXWDDM
     534#ifdef VBOX_WITH_WDDM
    535535                        VBOXDISPLAY_DRIVER_TYPE enmDriverType = getVBoxDisplayDriverType (pCtx);
    536536
     
    549549                                Log(("VBoxTray: VBoxDisplayThread: Detected W2K or later\n"));
    550550
    551 #ifdef  VBOXWDDM
     551#ifdef  VBOX_WITH_WDDM
    552552                                if (enmDriverType == VBOXDISPLAY_DRIVER_TYPE_WDDM)
    553553                                {
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