Closed jonasblixt closed 8 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
519b308
) 66.16% compared to head (506d3bf
) 66.16%.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
When a new USB device enumerates on Windows the system will ask for string descriptor 0xEE, Which is Windows specific, if the string descriptor contains 'MSFT100' it will issue a vendor specific request for a 'Microsoft Compatible ID Feature Descriptor'.
With these two in place Windows will automatically bind the device to WinUSB and in turn we can use libusb directly.
Historically this was handled by the windows binary installer that bundeled libwdi.
It's explained in greater detail here: https://github.com/pbatard/libwdi/wiki/WCID-Devices