desowin / usbpcap

USB packet capture for Windows
http://desowin.org/usbpcap
902 stars 170 forks source link

Properly indicate Static Streams endpoints #79

Open desowin opened 5 years ago

desowin commented 5 years ago

Check and register the PipeHandles obtained in URB_FUNCTION_OPEN_STATIC_STREAMS. Remove the stream related PipeHandles on URB_FUNCTION_CLOSE_STATIC_STREAMS.

Currently the transfers through Static Streams should be captured as device 0xFFFF and endpoint 0xFF (as USBPcapRetrieveEndpointInfo() will fail to get the endpoint info as it was not registered).

Did anyone observe such strange device/endpoint combination in their traces? What devices use the Static Streams? Are any of these devices easily available?