Changeset 8539 in vbox for trunk/src/VBox/Main
- Timestamp:
- May 2, 2008 5:02:10 PM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 30444
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/Main/include/USBDeviceImpl.h
r8155 r8539 25 25 #include "VirtualBoxBase.h" 26 26 #include "Collection.h" 27 #include "Logging.h" 27 28 28 29 … … 114 115 if (!aDevice) 115 116 return E_POINTER; 117 RTLogPrintf("%Rfn: id=%RTuuid\n", __PRETTY_FUNCTION__, idToFind.raw()); 116 118 117 119 *aDevice = NULL; … … 122 124 Guid id; 123 125 (*it)->COMGETTER(Id) (id.asOutParam()); 126 RTLogPrintf("%Rfn: it=%RTuuid\n", __PRETTY_FUNCTION__, id.raw()); 124 127 if (id == idToFind) 125 128 found = *it; … … 128 131 129 132 if (!found) 133 { 134 RTLogPrintf("%Rfn: not found\n", __PRETTY_FUNCTION__); 130 135 return setError (E_INVALIDARG, OUSBDeviceCollection::tr ( 131 136 "Could not find a USB device with UUID {%s}"), 132 137 idToFind.toString().raw()); 138 } 133 139 134 140 return found.queryInterfaceTo (aDevice);
Note:
See TracChangeset
for help on using the changeset viewer.