Changeset 36998 in vbox for trunk/src/VBox/HostDrivers/VBoxUSB/win/lib/VBoxUsbLib-win.cpp
- Timestamp:
- May 7, 2011 8:19:55 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxUSB/win/lib/VBoxUsbLib-win.cpp
r36968 r36998 354 354 if (!DeviceIoControl(hHub, IOCTL_USB_GET_NODE_CONNECTION_DRIVERKEY_NAME, &Name, sizeof (Name), &Name, sizeof (Name), &cbReturned, NULL)) 355 355 { 356 #ifdef DEBUG_misha 356 357 DWORD winEr = GetLastError(); 357 358 AssertMsgFailed((__FUNCTION__": DeviceIoControl 1 fail winEr (%d)\n", winEr)); 359 #endif 358 360 return VERR_GENERAL_FAILURE; 359 361 } … … 761 763 if (RT_FAILURE(rc)) 762 764 { 763 AssertMsgFailed((__FUNCTION__": usbLibDevStrDriverKeyGet failed\n"));764 765 return rc; 765 766 } … … 889 890 static int usbLibMonDevicesUpdate(PVBOXUSBGLOBALSTATE pGlobal, PUSBDEVICE pDevs, uint32_t cDevs, PVBOXUSB_DEV pDevInfos, uint32_t cDevInfos) 890 891 { 892 PUSBDEVICE pDevsHead = pDevs; 891 893 for (; pDevInfos; pDevInfos = pDevInfos->pNext) 892 894 { 893 for ( ; pDevs; pDevs = pDevs->pNext)895 for (pDevs = pDevsHead; pDevs; pDevs = pDevs->pNext) 894 896 { 895 897 if (usbLibMonDevicesCmp(pDevs, pDevInfos))
Note:
See TracChangeset
for help on using the changeset viewer.