Thread: MCI device

  1. #1
    Registered User The15th's Avatar
    Join Date
    Aug 2001
    Posts
    125

    MCI device

    Hi all.

    is it possable to read what drive letter the users MCI device is.

    thanks heaps

  2. #2
    Registered User
    Join Date
    Sep 2001
    Posts
    412
    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.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Identify dynamic IP address of network device
    By BobS0327 in forum Tech Board
    Replies: 2
    Last Post: 02-21-2006, 01:49 PM
  2. Device Driver: sysfs confusion
    By filker0 in forum Linux Programming
    Replies: 0
    Last Post: 12-02-2005, 11:36 AM
  3. Modem in Linux need help fast please!
    By xxxrugby in forum Tech Board
    Replies: 0
    Last Post: 03-30-2005, 04:10 PM
  4. Replies: 4
    Last Post: 06-30-2004, 03:11 PM
  5. Device problem
    By John22 in forum C Programming
    Replies: 0
    Last Post: 12-19-2002, 12:02 PM