windows: Update isochronous OUT packet actual length

On Windows, unlike other platforms, the isochronous packet actual_length
value is not set on completion of OUT transfers. However, our API
requires the user to check this value for isochronous transfers instead
of the transfer actual_length, if the transferred length is of interest.

The usbd Length field is not used for isochronous OUT transfers:

To make it consistent with other platforms, just return the requested

Fixes #1105
Closes #1107

Tested-by: Xiaofan Chen <>
Signed-off-by: Tormod Volden <>
2 files changed