hi, I would like to detect if a usb device is actually plugged into my system. My aim is to get the registry keys of the USB device that is currently plugged into my system at the time my program is run. I have no idea how to start but I have experiance searching and reading registry keys and so on so its just the detecting if the device is plugged in that is causing me some trouble. Is this even possible with c++
cheers



LinkBack URL
About LinkBacks



I thought that there maybe something along the links of a function that checks the 'mounted devices' registry key to see which key is currently active whilst the device is plugged in. I guess im just guessing on how i thought this may be done