Using MCI Command Messages
This section contains examples demonstrating how to perform the following tasks:
Closing all MCI devices used by an application
Opening a simple device by using the device name
Opening a simple device by using the device-type constant
Opening a compound device by using the filename
Verifying the output device
Handling MCI errors
Playing a waveform-audio file
Playing a MIDI file
Playing a compact disc track
Playing a movie
Using the MCI_NOTIFY flag
Retrieving information about a movie
Retrieving compact disc track-specific information
Recording with a waveform-audio device