sparkythedog
asked on
How to get the Cd-Rom's driver letter by DevicePath or DiskNumber?
Hi everyone,
Anyone knows how to get the Cd-Rom's driver letter (e.g. c:\, d:\...)
1. from DevicePath which is returned by SetupDiGetDeviceInterfaceD etail? (e.g. \\?\usbstor#cdrom&ven_stor age&prod_p hoto_guard ian&rev_2. 00#00000a5 44861&1#{5 3f56308-b6 bf-11d0-94 f2-00a0c91 efb8b})
2. or from DiskNumber (e.g. CD-ROM 1, CD-ROM 2)?
Thanks for your help and have a good day.
Yours,
Michael, zhang
Anyone knows how to get the Cd-Rom's driver letter (e.g. c:\, d:\...)
1. from DevicePath which is returned by SetupDiGetDeviceInterfaceD
2. or from DiskNumber (e.g. CD-ROM 1, CD-ROM 2)?
Thanks for your help and have a good day.
Yours,
Michael, zhang
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
It works. Thank you so much.
Thank you so much for your help again. And have a good weekend.
Best Regards,
Michael, Zhang