VirtualBox

Changeset 52170 in vbox


Ignore:
Timestamp:
Jul 24, 2014 3:07:46 PM (11 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
95217
Message:

Main/Host: make sure USB warnings are not lost when querying the USB device list or global filter list

File:
1 edited

Legend:

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

    r52158 r52170  
    792792    AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS);
    793793
    794     HRESULT rc = i_checkUSBProxyService();
     794    MultiResult rc = i_checkUSBProxyService();
    795795    if (FAILED(rc))
    796796        return rc;
     
    808808    }
    809809
    810     return S_OK;
     810    return rc;
    811811#else
    812812    /* Note: The GUI depends on this method returning E_NOTIMPL with no
     
    883883    AutoWriteLock alock(this COMMA_LOCKVAL_SRC_POS);
    884884
    885     HRESULT rc = i_checkUSBProxyService();
     885    MultiResult rc = i_checkUSBProxyService();
    886886    if (FAILED(rc))
    887887        return rc;
     
    892892        (*it).queryInterfaceTo(aUSBDeviceFilters[i].asOutParam());
    893893
    894     return S_OK;
     894    return rc;
    895895#else
    896896    /* Note: The GUI depends on this method returning E_NOTIMPL with no
Note: See TracChangeset for help on using the changeset viewer.

© 2025 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette