Windows: Allow claiming any interface in composite device using WinUSB
authorPete Batard <pbatard@gmail.com>
Tue, 5 Oct 2010 11:50:13 +0000 (12:50 +0100)
committerPeter Stuge <peter@stuge.se>
Mon, 13 Jun 2011 20:01:43 +0000 (22:01 +0200)
commit24494ed5db27737fc607fc35dda722521c9fe4d4
tree74cd0fd6ca1dd8e46ffe53f53f4fa8f08a021073
parent9c8e6545f2fbb171f81a9451eaf2d09e1fbc13b3
Windows: Allow claiming any interface in composite device using WinUSB

Issue reported by Benjamin Dobell, see #48. The call to
WinUsb_QueryInterfaceSettings() is removed since it doesn't work
on any other interface but the first (a WinUSB limitation).

This allows the use of WinUSB.sys in lieu of the usbccgp.sys
"USB Generic Parent" default driver for composite devices.
libusb/os/windows_usb.c