STATUS
Appearance
The STATUS command obtains status information for the device.
Syntax
STATUS ─── object ───┬─ MODE ─┬───┬──────────┬───┤
└─ READY ─┘ ├─ 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
- MODE
- Returns the current mode of the device: not ready, stopped, playing, seeking, recording, paused, or other.
- READY
- Returns TRUE if the device is ready.
- WAIT
- The command is executed synchronously. The function waits until the requested action is complete before returning to the application. The WAIT keyword must be specified in order to receive return string information.
- 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.
Example
status waveaudio01 mode wait