The stop command stops playback or recording. CD audio, digital-video, MIDI sequencer, videodisc, VCR, and waveform-audio devices recognize this command.
wsprintf(lpstrCommand, "stop %s %s %s", lpszDeviceID, lpszStopFlags,
lpszFlags);
hold | Prevents the release of resources required to redraw a still image on the screen. The frame buffer remains available for use in updating the display when, for example, the window is moved. |
Returns zero if successful or an error otherwise.
For CD audio devices, the stop command stops playback and resets the current track position to zero.
The following command stops playback or recording on the "mysound" device:
stop mysound
Windows NT: Requires version 3.1 or later.
Windows: Requires Windows 95 or later.
Windows CE: Unsupported.
MCI Overview, MCI Command Strings