Re: Determine drive letter from device path
- From: Uwe Sieber <mail@xxxxxxxxxxxxx>
- Date: Thu, 06 Nov 2008 12:59:30 +0100
I've shown the link between drive letter and device path
here (C/C++):
http://www.codeproject.com/system/RemoveDriveByLetter.asp
But I was not aware of the fact that CD-Changers have
a drive letter. Therefore the same thing I've written
there for floppy drives is true for CD-Changers too.
I've just added support for CD-Changers to my tool
ListUsbDrive, here is a test version:
http://www.uwe-sieber.de/files/listusbdrives_test.zip
It's a commandline tool. By default it shows USB and
FireWire drives only, you changer seems to be a FireWire
drive.
Started thru the included cmd files, the output is
redirected into a text file and opened.
Could you send me please the output of the _usbdr-d.cmd?
-d is debug and shows a lot of internals...
Greetings from Germany
Uwe
Steve wrote:
Can anybody tell me how I can find the drive letter assigned to the CD/.
DVD drive(s) inside a jukebox type disc changer.
Following is the device path as returned by a call to
SetupDiGetDeviceInterfaceDetail
\\?\sbp2#powerfile-c200-r&disc_changer&lun2#003060c200001582#{53f56310-
b6bf-11d0-94f2-00a0c91efb8b}
I can determine that there are two drives in this changer with a
subsequent call to DeviceIoControl with the
IOCTL_CHANGER_GET_PARAMETERS control code.
How can I determine the drive letter assigned to the two drives in
this device?
Thanks,
Steve
- References:
- Determine drive letter from device path
- From: Steve
- Determine drive letter from device path
- Prev by Date: Re: Downloading webpage
- Next by Date: Re: Determine drive letter from device path
- Previous by thread: Determine drive letter from device path
- Next by thread: Re: Determine drive letter from device path
- Index(es):
Relevant Pages
|