Changeset 56238 in vbox for trunk/src/VBox/HostDrivers/VBoxUSB/win/lib
- Timestamp:
- Jun 4, 2015 9:46:36 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxUSB/win/lib/VBoxUsbLib-win.cpp
r56073 r56238 663 663 int rc = usbLibDevStrDrEntryGet(hHub, iPort, 0, 0, ppList); 664 664 if (RT_FAILURE(rc)) 665 {666 AssertRC(rc);667 665 return rc; 668 } 669 670 PUSB_STRING_DESCRIPTOR pLandStrDr = &(*ppList)->StrDr; 671 USHORT *pIdLang = pLandStrDr->bString; 672 ULONG cIdLang = (pLandStrDr->bLength - RT_OFFSETOF(USB_STRING_DESCRIPTOR, bString)) / sizeof (*pIdLang); 666 667 PUSB_STRING_DESCRIPTOR pLangStrDr = &(*ppList)->StrDr; 668 USHORT *pIdLang = pLangStrDr->bString; 669 ULONG cIdLang = (pLangStrDr->bLength - RT_OFFSETOF(USB_STRING_DESCRIPTOR, bString)) / sizeof (*pIdLang); 673 670 674 671 if (pDevDr->iManufacturer) … … 700 697 break; 701 698 } 699 700 /* This is invalid but was seen with a TerraTec Aureon 7.1 USB sound card. */ 701 if (!pCmnDr->bLength) 702 break; 702 703 703 704 switch (pCmnDr->bDescriptorType)
Note:
See TracChangeset
for help on using the changeset viewer.