@MCI |
|
| Top Previous Next | |
Syntax:
@MCI( < MCI command string > )
Description:
This function is used to control multimedia devices using the Multimedia Control Interface (MCI). An MCI command is supplied as the parameter to the function. The function returns the result of the command. It returns the text of the MCI error message if the command fails.
Note: MCI is a feature of Windows, not of VDS. This function merely enables your programs to use it. This manual contains an outline of how to use MCI, but for a full description you will need the Microsoft MCI documentation. Note that VDS only allows you to use MCI command strings.
OK:
Set to false if the command fails.
Example:
%R = @MCI(open C:\SOUND.WAV alias sound)
if @ok()
%R = @MCI(play sound)
else
warn MCI error: %R
end
See a more advanced example...
See also: