Hi all.
is it possable to read what drive letter the users MCI device is.
thanks heaps
This is a discussion on MCI device within the Windows Programming forums, part of the Platform Specific Boards category; Hi all. is it possable to read what drive letter the users MCI device is. thanks heaps...
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.
Last edited by The V.; 10-19-2001 at 10:20 PM.