I have a multi-function USB device. There's no driver (yet). I want to write an application that talks to just one of its interfaces. It would seem that WinUSB would be perfect for the job, but there's one snag: I need to change the device configuration before I can access the interface.
Is there some way to have WinUSB (or any other part of the system) set the device configuration at the start? I won't need to change it, I just want it to not be configuration zero.
I do not think you can do that with WinUSB.
You might look into using libusb, since it has a function named libusb_set_configuration that should do what you want. However, I do not know whether that function actually works on Windows.