Hello, I am trying to write a function that tells me what the drive letter of a CD-ROM drive is on a Windows machine, or at least if a particular drive letter is a CD-ROM drive. Are there any parts of the Mozilla source that already do something like this? Does anyone know a way to accurately identify CD-ROM drives on Win32 platforms?
My current solution -- searching for the first valid, read-only drive starting from 'Z' and descending -- is inadequate. Much appreciation if anyone can help, Dave Alvarado
