I need to enumerate all HID devices connected to my PC. I tried to use this answer, but it enumerates USBHub devices and I can't find there my HID device.
EDIT: I will be glad to know If there any WIN32 API method, to get USB device status (online/offline) using PID and VID?
I found the answer. This link explains how to do this with ManagementObjectSearcher
.
Thanks for all who replied!
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With