Getting USB drive letter from WMI


  • Hi all,
    i am using a function to retrieve drive letter of a USB device from WMI witht he supplied device id ("USB\VID\_0930&PID_652A\0F70985022G8HI") in the format as shown.
    using this device ID which i retrieve from win32_USBHub i have to get the drive letter for the USB device corresponding to the device ID.

    so can i get some help on how to map the drive letter for the corresponding device id from WMI??

    Tuesday, January 06, 2009 5:57 AM