I want to get vendor id and product id of usb device which is plugged inside my windows system.
i am trying with win32 api functions.
i can able to know whether device is plugged or unplugged.
but i cant figure out how to get the vendor id and product id information of a usb device .
any links or samples to achieve this.
will this USB_DEVICE_DESCRIPTOR Structure help?
if so any code sample to use that.
Any help would be really great..
Thank you for your time
Bookmarks