VirtualBox

Ignore:
Timestamp:
Apr 23, 2013 1:00:08 PM (12 years ago)
Author:
vboxsync
Message:

Main/VRDEServer: Back out code to disable VRDE server if no graphics controller is present. Would be inconsistent behavior, as it blocks other input/output channels which still exist.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/src-server/VRDEServerImpl.cpp

    r45674 r45680  
    245245// IVRDEServer properties
    246246/////////////////////////////////////////////////////////////////////////////
    247 
    248 STDMETHODIMP VRDEServer::COMGETTER(CheckPrerequisites)(BOOL *aCheckPrerequisites)
    249 {
    250     CheckComArgOutPointerValid(aCheckPrerequisites);
    251 
    252     AutoCaller autoCaller(this);
    253     if (FAILED(autoCaller.rc())) return autoCaller.rc();
    254 
    255     BOOL res = TRUE;
    256     GraphicsControllerType_T graphicsController = GraphicsControllerType_Null;
    257     HRESULT rc = mParent->COMGETTER(GraphicsControllerType)(&graphicsController);
    258     if (SUCCEEDED(rc))
    259         res &= (graphicsController != GraphicsControllerType_Null);
    260     else
    261         res = FALSE;
    262 
    263     *aCheckPrerequisites = res;
    264 
    265     return S_OK;
    266 }
    267247
    268248STDMETHODIMP VRDEServer::COMGETTER(Enabled)(BOOL *aEnabled)
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