Changeset 7788 in vbox
- Timestamp:
- Apr 8, 2008 8:48:17 AM (17 years ago)
- svn:sync-xref-src-repo-rev:
- 29345
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/VBox/usblib-win.h
r6591 r7788 114 114 115 115 uint8_t fAttached; 116 uint8_t fHiSpeed; 116 117 } USBSUP_GETDEV, *PUSBSUP_GETDEV; 117 118 -
trunk/src/VBox/Main/HostUSBDeviceImpl.cpp
r7207 r7788 302 302 AutoReaderLock alock (this); 303 303 304 /** @todo implement this correctly or things just won't work right, see the vista defect. */ 305 *aPortVersion = mUsb->bcdUSB >> 8; 304 /* Port version is 2 (EHCI) if and only if the device runs at high speed; 305 * if speed is unknown, fall back to the old and innacurate method. 306 */ 307 if (mUsb->enmSpeed == USBDEVICESPEED_UNKNOWN) 308 *aPortVersion = mUsb->bcdUSB >> 8; 309 else 310 *aPortVersion = (mUsb->enmSpeed == USBDEVICESPEED_HIGH) ? 2 : 1; 306 311 307 312 return S_OK;
Note:
See TracChangeset
for help on using the changeset viewer.