MCI device

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...

  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 11: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, 04:11 PM
  5. Device problem
    By John22 in forum C Programming
    Replies: 0
    Last Post: 12-19-2002, 12:02 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21