I assume that I plug my HID device to USB hub.
I try using SetupDiGetDeviceRegistryProperty(... , ... , SPDRP_LOCATION_INFORMATION, ...) in hid_enumerate() function
but I can't get port number.
Please let me know if you have an ideas for this case.
Thank you so much
Dear Sir, Thank you for your library.
I assume that I plug my HID device to USB hub. I try using SetupDiGetDeviceRegistryProperty(... , ... , SPDRP_LOCATION_INFORMATION, ...) in hid_enumerate() function but I can't get port number.
Please let me know if you have an ideas for this case. Thank you so much