daynix / UsbDk

Usb Drivers Development Kit for Windows
Apache License 2.0
535 stars 142 forks source link

Populate initial packet length in ISOCH OUT URB #68

Closed ybendito closed 5 years ago

ybendito commented 5 years ago

https://github.com/daynix/UsbDk/issues/66 According to interface definition, the UsbDk shall return actual length on transfer completion. For isoch OUT transfers the controller does not return it on respective URB field on Win10 and the updated WDK documentation states this field is not used for ISOCH OUT transfers. Current commit populates the initial packet length in the URB, making the result consistent on both Win7 and Win10.

Signed-off-by: Yuri Benditovich yuri.benditovich@daynix.com