Hi all.
is it possable to read what drive letter the users MCI device is.
thanks heaps
Printable View
Hi all.
is it possable to read what drive letter the users MCI device is.
thanks heaps
You mean the CDROM drive? Because MCI devices are any audio device, like soundcards, mixer controls, etc. which don't HAVE drive letters; only CDROMs do, and I'm not sure of any MCI functions to get the letter of an MCI CDROm drive...
In general, though, you can use the API calls GetLogicalDrives() or GetLogicalDriveStrings() to get a list of all drives the system recognizes, then query each sequentially with GetDriveType and seeing which return DRIVE_CDROM.