Changeset 37060 in vbox for trunk/src/VBox/HostDrivers/VBoxUSB
- Timestamp:
- May 13, 2011 9:50:31 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxUSB/win/lib/VBoxUsbLib-win.cpp
r37001 r37060 413 413 PUSB_NODE_CONNECTION_NAME pName = (PUSB_NODE_CONNECTION_NAME)RTMemAllocZ(Name.ActualLength); 414 414 if (!pName) 415 { 416 AssertFailed(); 415 417 return VERR_OUT_OF_RESOURCES; 418 } 416 419 417 420 int rc = VINF_SUCCESS; 421 pName->ConnectionIndex = iPort; 418 422 if (DeviceIoControl(hHub, IOCTL_USB_GET_NODE_CONNECTION_NAME, pName, Name.ActualLength, pName, Name.ActualLength, &cbReturned, NULL)) 419 423 { … … 425 429 else 426 430 { 431 AssertFailed(); 427 432 rc = VERR_GENERAL_FAILURE; 428 433 }
Note:
See TracChangeset
for help on using the changeset viewer.