I want to detect the insertion of a USB drive into a Windows service. And I use the RegisterDeviceNotification function. In DBT_DEVTYP_DEVICEINTERFACE, I can get the name dbcc. My question is: how can I find out which driver is inserted according to the dbcc name?
Thank.
source
share