VirtualBox

Changeset 49010 in vbox


Ignore:
Timestamp:
Oct 9, 2013 3:23:27 PM (11 years ago)
Author:
vboxsync
Message:

VBoxTray/wddm: fix autoresize

File:
1 edited

Legend:

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

    r48979 r49010  
    3737    PCVBOXDISPIF pIf;
    3838    VBOXDISPKMT_ADAPTER Adapter;
    39 #ifdef VBOX_DISPIF_WITH_OPCONTEXT
    4039    VBOXDISPKMT_DEVICE Device;
    4140    VBOXDISPKMT_CONTEXT Context;
    42 #endif
    4341} VBOXDISPIF_OP;
    4442
     
    512510    if (SUCCEEDED(hr))
    513511    {
    514 #ifdef VBOX_DISPIF_WITH_OPCONTEXT
    515512        hr = vboxDispKmtCreateDevice(&pOp->Adapter, &pOp->Device);
    516513        if (SUCCEEDED(hr))
     
    519516                    0, 0, NULL, 0ULL);
    520517            if (SUCCEEDED(hr))
    521 #endif
    522518                return ERROR_SUCCESS;
    523 #ifdef VBOX_DISPIF_WITH_OPCONTEXT
    524519            else
    525520                WARN(("VBoxTray: vboxDispKmtCreateContext failed hr 0x%x", hr));
     
    531526
    532527        vboxDispKmtCloseAdapter(&pOp->Adapter);
    533 #endif
    534528    }
    535529
     
    539533static VOID vboxDispIfOpEnd(VBOXDISPIF_OP *pOp)
    540534{
    541 #ifdef VBOX_DISPIF_WITH_OPCONTEXT
    542535    vboxDispKmtDestroyContext(&pOp->Context);
    543536    vboxDispKmtDestroyDevice(&pOp->Device);
    544 #endif
    545537    vboxDispKmtCloseAdapter(&pOp->Adapter);
    546538}
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