Sound Flags
Const SND_ALIAS = &H10000
Const SND_ASYNC = &H1
Const SND_FILENAME = &H20000
Const SND_LOOP = &H8
Const SND_NODEFAULT = &H2
Const SND_NOSTOP = &H10
Const SND_NOWAIT = &H2000
Const SND_SYNC = &H0
The sound flags determine how to play a .wav file. They can be combined as long as a contradictory pair is not put together (like SND_ASYNC and SND_SYNC).
- SND_ALIAS
- Play a Windows sound (such as SystemStart, Asterisk, etc.).
- SND_ASYNC
- Continue program execution immediately after starting to play the sound.
- SND_FILENAME
- Play the specified filename.
- SND_NODEFAULT
- Do not play the default sound if the specified sound cannot be found.
- SND_NOSTOP
- Do not stop any currently playing sounds.
- SND_NOWAIT
- Do not wait if the sound driver is busy.
- SND_SYNC
- Wait until the sound has finished playing before continuing program execution.
Used by: sndPlaySound
Back to the index.
Back to Paul Kuliniewicz's Home Page
E-mail: Borg953@aol.com
This page is at http://members.aol.com/Borg953/api/constants/soundflags.html