Changeset 60487 in vbox for trunk/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbRt.cpp
- Timestamp:
- Apr 14, 2016 10:21:12 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/VBox/HostDrivers/VBoxUSB/win/dev/VBoxUsbRt.cpp
r60486 r60487 1078 1078 case USBSUP_TRANSFER_TYPE_MSG: 1079 1079 pUrbInfo->len = pUrb->UrbControlTransfer.TransferBufferLength; 1080 if (pContext->ulTransferType == USBSUP_TRANSFER_TYPE_MSG) 1081 { 1082 /* QUSB_TRANSFER_TYPE_MSG is a control transfer, but it is special 1083 * the first 8 bytes of the buffer is the setup packet so the real 1084 * data length is therefore urb->len - 8 1085 */ 1086 pUrbInfo->len += sizeof (pUrb->UrbControlTransfer.SetupPacket); 1087 } 1080 /* QUSB_TRANSFER_TYPE_MSG is a control transfer, but it is special 1081 * the first 8 bytes of the buffer is the setup packet so the real 1082 * data length is therefore urb->len - 8 1083 */ 1084 pUrbInfo->len += sizeof (pUrb->UrbControlTransfer.SetupPacket); 1088 1085 break; 1089 1086 case USBSUP_TRANSFER_TYPE_ISOC:
Note:
See TracChangeset
for help on using the changeset viewer.