My device has several top-level-collections.
I go over all HID device interfaces get a handle and then filter by the PID and VID to get only the handles of my devices.
I now want to correlate handles to Report ID.
I currently use an awkward technique of getting capabilities from the handle, then get the values and from there you get the Report ID.
I was thinking of HidD_GetInputReport but I will still have to try all possible Report IDs.
Is there a more straightforward way to do it?