I've got 2 tasks:
a) distinguish digital cameras from other MTP-devices, obtained by IPortableDeviceManager::GetDeviceList;
b) I want to find connected digital cameras with Setup API. My thought was to get all USB devices first:
SetupDiGetClassDevs( &GUID_DEVINTERFACE_USB_DEVICE, 0, 0, DIGCF_DEVICEINTERFACE | DIGCF_PRESENT);
But after doing that I've run out of ideas. Specifically, I can't figure out how to obtain USB interface descriptors for a specific USB device. I mean USB interfaces, not what is called an interface in setup API.
Thanks in advance.