Changeset 54800 in vbox for trunk/src/VBox
- Timestamp:
- Mar 16, 2015 9:28:32 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbRt.cpp
r54784 r54800 634 634 for (i = 0; i < pDevExt->Rt.uNumInterfaces; i++) 635 635 { 636 size_t uTotalIfaceInfoLength = RT_OFFSETOF(struct _USBD_INTERFACE_INFORMATION, Pipes[RT_MAX(pIfLe[i].Interface->NumberOfPipes, 1)]);636 size_t uTotalIfaceInfoLength = GET_USBD_INTERFACE_SIZE(pIfLe[i].Interface->NumberOfPipes); 637 637 pDevExt->Rt.pVBIfaceInfo[i].pInterfaceInfo = (PUSBD_INTERFACE_INFORMATION)vboxUsbMemAlloc(uTotalIfaceInfoLength); 638 638 if (!pDevExt->Rt.pVBIfaceInfo[i].pInterfaceInfo) … … 824 824 for(ULONG i = 0; i < pIfInfo->NumberOfPipes; i++) 825 825 { 826 pDevExt->Rt.pVBIfaceInfo[InterfaceNumber].pInterfaceInfo->Pipes[i] = pIfInfo->Pipes[i];827 826 pDevExt->Rt.pVBIfaceInfo[InterfaceNumber].pPipeInfo[i].EndpointAddress = pIfInfo->Pipes[i].EndpointAddress; 828 827 pDevExt->Rt.pVBIfaceInfo[InterfaceNumber].pPipeInfo[i].NextScheduledFrame = 0;
Note:
See TracChangeset
for help on using the changeset viewer.