Playwave
Purpose
This command is used to play a Windows sound (.WAV) file from within a DataFlex application. In addition to using this command, you must also have a sound driver for your computer in order to play one of these files.
Syntax
PlayWave {wav-file} {player-option}
Argument Explanation
-
WavFile: The name of the sound file to play.
-
PlayerOption: This parameter tells Windows how the file should be played. The full list of values for this parameter are as follows:
SND_SYNC: play synchronousSND_ASYNC: play asynchronousSND_NODEFAULT: play with no defaultsSND_LOOP: play in a loopSND_NOSTOP: play non-stop
Notes
- In order to make this command available, your program must use
wave.pkg.