CD-tray ejection and insertion

This is a discussion on CD-tray ejection and insertion within the Windows Programming forums, part of the Platform Specific Boards category; Hi, I'm looking for the simpliest way for inserting / ejecting the CD-tray via code. Already found some MCI and ...

  1. #1
    Normal vector Carlos's Avatar
    Join Date
    Sep 2001
    Location
    Budapest
    Posts
    463

    CD-tray ejection and insertion

    Hi,
    I'm looking for the simpliest way for inserting / ejecting the CD-tray via code.
    Already found some MCI and IOCTL functions.

    Please help, if any idea!
    Thanks in advance.

    Have a nice code! ;)

  2. #2
    Skunkmeister Stoned_Coder's Avatar
    Join Date
    Aug 2001
    Posts
    2,572
    I use mciSendString()
    Free the weed!! Class B to class C is not good enough!!
    And the FAQ is here :- http://faq.cprogramming.com/cgi-bin/smartfaq.cgi

  3. #3
    Normal vector Carlos's Avatar
    Join Date
    Sep 2001
    Location
    Budapest
    Posts
    463
    Thanks Stoned_Coder, it helped me out.

Popular pages Recent additions subscribe to a feed

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