PAUSE
Appearance
The PAUSE command stops playing or recording.
Syntax
PAUSE ─── object ───┬──────────┬───┤
├─ WAIT ─┤
└─ NOTIFY ─┘
Keywords
- object
- Object associated with this media control interface command. The object can be one of the following:
- Device type
- Device name
- Filename
- Alias
- WAIT
- The command is executed synchronously. The function waits until the requested action is complete before returning to the application.
- NOTIFY
- The command is executed asynchronously, allowing control to be returned immediately to the application. When the requested action is complete, an MM_MCINOTIFY message is sent to the application window procedure.
Purpose
The PAUSE command stops playing or recording. The difference between PAUSE and STOP is device dependent. On video devices, PAUSE generally continues to display the last frame, whereas STOP causes the display to blank. A device that is paused can frequently begin playing again with less latency than if it were stopped.
Example
pause video1 wait