Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Get port number of HID device #443

Open
DaoThanhLong opened this issue Oct 31, 2019 · 0 comments
Open

Get port number of HID device #443

DaoThanhLong opened this issue Oct 31, 2019 · 0 comments

Comments

@DaoThanhLong
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant