vuMCIsend(SendStrg)
vuMCISend(*CSTRING), Long
Description
Sends the specified command string to the Media Control Interface (MCI) device.
Parameters
| Parameter |
Data Type |
Description |
| SendStrg |
CSTRING(256) |
Text command to send to the MCI device. |
Returns
A LONG value:
- 1 (True) on success
- 0 (False) on failure
Example
SendStrg = 'Set CDAudio Door Open'
IF vuMCIsend(SendStrg)
MESSAGE('CD door opened.')
ELSE
MESSAGE('Failed to send MCI command.')
END
Notes
- The Media Control Interface (MCI) supports commands for controlling multimedia devices such as CD audio, wave audio, MIDI, and others.
- Example shown demonstrates opening a CD drive door. Other commands can control playback, recording, and device settings.