I am looking a way to get PNP device Id for USB, CDRom, and hard disks, mapped network drives. I know we can get through WMI calls. My project requires not to use WMI and I am looking ways to get the PNP device id through windows native API calls. I figured out that PNP device ids are listed in windows registry "HKLM\SYSTEM\CurrentControlSet\services\{service}\Enum. Where {service} could be CDROM, disk, USBSTOR etc.... I have following questions on this. 1. How can I link back this "PNP device id" to the mounted volume letter? 2. Not finding a way to get "PNP device id" for network mapped drives? 3. Is there any IOCTL call to get the "PNP device id" for any volume or drive? Thanks in advance
J
Jaligamap
@Jaligamap