Changeset 54729 in vbox for trunk/src/VBox
- Timestamp:
- Mar 12, 2015 5:21:24 AM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbRt.cpp
r50349 r54729 601 601 return STATUS_INSUFFICIENT_RESOURCES; 602 602 } 603 603 604 604 for (i = 0; i < pCfgDr->bNumInterfaces; i++) 605 605 { 606 606 pIfLe[i].InterfaceDescriptor = USBD_ParseConfigurationDescriptorEx(pCfgDr, pCfgDr, i, 0, -1, -1, -1); 607 pIfLe[i].Interface = NULL; 607 608 if (!pIfLe[i].InterfaceDescriptor) 608 609 { … … 612 613 } 613 614 } 614 615 pIfLe[pCfgDr->bNumInterfaces].InterfaceDescriptor = NULL; 616 615 617 if (NT_SUCCESS(Status)) 616 618 { … … 659 661 *pDevExt->Rt.pVBIfaceInfo[i].pInterfaceInfo = *pIfLe[i].Interface; 660 662 661 for (ULONG j = 0; j < pIfLe[i].Interface->NumberOfPipes; j++) 662 { 663 pDevExt->Rt.pVBIfaceInfo[i].pInterfaceInfo->Pipes[j] = pIfLe[i].Interface->Pipes[j]; 664 pDevExt->Rt.pVBIfaceInfo[i].pPipeInfo[j].EndpointAddress = pIfLe[i].Interface->Pipes[j].EndpointAddress; 665 pDevExt->Rt.pVBIfaceInfo[i].pPipeInfo[j].NextScheduledFrame = 0; 666 } 663 // AM try/catch for handle citrix case with wrong data from device. 664 __try 665 { 666 for (ULONG j = 0; j < pIfLe[i].Interface->NumberOfPipes; j++) 667 { 668 pDevExt->Rt.pVBIfaceInfo[i].pInterfaceInfo->Pipes[j] = pIfLe[i].Interface->Pipes[j]; 669 pDevExt->Rt.pVBIfaceInfo[i].pPipeInfo[j].EndpointAddress = pIfLe[i].Interface->Pipes[j].EndpointAddress; 670 pDevExt->Rt.pVBIfaceInfo[i].pPipeInfo[j].NextScheduledFrame = 0; 671 } 672 } 673 __except (EXCEPTION_EXECUTE_HANDLER) 674 { 675 Status = GetExceptionCode(); 676 break; 677 } 667 678 } 668 679
Note:
See TracChangeset
for help on using the changeset viewer.