Using WMDM I have created a small application to read portable device information, my application works fine on vista and XP but has one problem on Win7.
Problem: I am not able to get drive letter of USB device.
I am calling GetName of IWMDMDevice interface, on XP & VISTA this API returns device name which has a drive letter e.g.
XP: "Removable Disk ( E: ) "
Vista: "Removable Disk ( E: )"
Win7: "Kingston"
Can some one help me how to get drive letter of USB device on Win7. Thanks in advance.
If am asking this question in wrong forum then pls do suggest me where should I post my query.
Problem: I am not able to get drive letter of USB device.
I am calling GetName of IWMDMDevice interface, on XP & VISTA this API returns device name which has a drive letter e.g.
XP: "Removable Disk ( E: ) "
Vista: "Removable Disk ( E: )"
Win7: "Kingston"
Can some one help me how to get drive letter of USB device on Win7. Thanks in advance.
If am asking this question in wrong forum then pls do suggest me where should I post my query.