as posted in https://www.experts-exchange.com/Programming/Q_20938290.html
i would like to seek help on detecting an usb device (removable media) and retrieve the device decriptor of the device and lastly, the drive letter that appears for the device. some elaboration, when there are more than 1 usb devices (removable media) attached, i would like to find out the respective device decriptors and drive letters.
i have read a couple of sites namely, www.usb.org
but i was unable to find a working example to follow through. i will appreciate it if you could provide some c/c++ code to complete the tasks.
note: thought i might get more help here.