How to get the Drive Letter for the DevicePath
Posted
by new
on Stack Overflow
See other posts from Stack Overflow
or by new
Published on 2010-06-08T09:00:30Z
Indexed on
2010/06/12
8:22 UTC
Read the original article
Hit count: 214
Dear All,
I am using Win32 API.
Really i do not understand how to get the drive letter for DevicePath of a USB stick .
can you pls explain it to me
( what i have is SP_DEVICE_INTERFACE_DETAIL_DATA DevicePath
using this Device path i get VID AND PID of the usb device
my device path looks like below
"\?\usb#vid_1a8d&pid_1000#358094020874450#{a5dcbf10-6530-11d2-901f-00c04fb951ed}"
Is there any way to to map DRIVE LETTER to my DEVICE PATH
so please help me to map drive letter to DevicePath )
Thanks for any help.
© Stack Overflow or respective owner