VirtualBox

Changeset 8539 in vbox for trunk/src/VBox/Main


Ignore:
Timestamp:
May 2, 2008 5:02:10 PM (17 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
30444
Message:

Drop the USBDEVICE bits we don't currently need.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/include/USBDeviceImpl.h

    r8155 r8539  
    2525#include "VirtualBoxBase.h"
    2626#include "Collection.h"
     27#include "Logging.h"
    2728
    2829
     
    114115        if (!aDevice)
    115116            return E_POINTER;
     117RTLogPrintf("%Rfn: id=%RTuuid\n", __PRETTY_FUNCTION__, idToFind.raw());
    116118
    117119        *aDevice = NULL;
     
    122124            Guid id;
    123125            (*it)->COMGETTER(Id) (id.asOutParam());
     126RTLogPrintf("%Rfn: it=%RTuuid\n", __PRETTY_FUNCTION__, id.raw());
    124127            if (id == idToFind)
    125128                found = *it;
     
    128131
    129132        if (!found)
     133        {
     134RTLogPrintf("%Rfn: not found\n", __PRETTY_FUNCTION__);
    130135            return setError (E_INVALIDARG, OUSBDeviceCollection::tr (
    131136                "Could not find a USB device with UUID {%s}"),
    132137                idToFind.toString().raw());
     138        }
    133139
    134140        return found.queryInterfaceTo (aDevice);
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