Replace `CM_Get_Device_Interface_ListW` with alternative API for enumerating HID devices. Sample project: https://www.chrisbot.com/usb-hid-example-microsoft-c/ Tested approaches: * #10: `GetFinalPathNameByHandleW`: Always seem to return `err=1` (Incorrect function.) * #9: Instance information seem to be lacking in the HW IDs.
Replace
CM_Get_Device_Interface_ListWwith alternative API for enumerating HID devices.Sample project: https://www.chrisbot.com/usb-hid-example-microsoft-c/
Tested approaches:
GetFinalPathNameByHandleW: Always seem to returnerr=1(Incorrect function.)