Module: Windows::Sound

Defined in:
lib/windows/sound.rb

Constant Summary

SND_SYNC =
0x0000
SND_ASYNC =
0x0001
SND_NODEFAULT =
0x0002
SND_MEMORY =
0x0004
SND_LOOP =
0x0008
SND_NOSTOP =

play synchronously (default) play asynchronously silence (!default) if sound not found pszSound points to a memory file loop the sound until next sndPlaySound don't stop any currently playing sound

0x0010
SND_NOWAIT =
8192
SND_ALIAS =
65536
SND_ALIAS_ID =
1114112
SND_FILENAME =
131072
SND_RESOURCE =

don't wait if the driver is busy name is a registry alias alias is a predefined ID name is file name name is resource name or atom

262148
SND_PURGE =
0x0040
SND_APPLICATION =

purge non-static events for task look for application specific association

0x0080