The pause command pauses playing or recording. Most drivers retain the current position and eventually resume playback or recording at this position. CD audio, digital-video, MIDI sequencer, VCR, videodisc, and waveform-audio devices recognize this command.
wsprintf(lpstrCommand, "pause %s %s", lpszDeviceID, lpszFlags);
Returns zero if successful or an error otherwise.
With the MCICDA, MCISEQ, and MCIPIONR drivers, the pause command works the same as the stop command.
The following command pauses the "mysound" device:
pause mysound
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
MCI Overview, MCI Command Strings, stop