home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
The World of Computer Software
/
World_Of_Computer_Software-02-385-Vol-1of3.iso
/
p
/
ptv3n5.zip
/
VBWAVE.ZIP
/
PLAYSND.GBL
< prev
next >
Wrap
Text File
|
1992-10-11
|
1KB
|
28 lines
' Booleans
Global Const TRUE = -1
Global Const FALSE = 0
Declare Sub MessageBeep Lib "User" (ByVal wType As Integer)
' MsgBox parameters
Global Const MB_ICONINFORMATION = 64 ' Information message
' Show (form)
Global Const MODAL = 1
Global Const MODELESS = 0
'-------------------------------------------------------
' sndPlaySound
'-------------------------------------------------------
Declare Function sndPlaySound Lib "mmsystem" (ByVal lpszSoundName As String, ByVal uFlags As Integer) As Integer
' Values for wFlags parameter
Global Const SND_SYNC = &H0 ' Play Synchronously (default)
Global Const SND_ASYNC = &H1 ' Play Asynchronously
Global Const SND_NODEFAULT = &H2' Don't use default sound if requested sound
' can't be found
Global Const SND_MEMORY = &H4 ' lpszSoundName Points to a Memory File
Global Const SND_LOOP = &H8 ' Play sound continuously until next sndPlaySound
Global Const SND_NOSTOP = &H10 ' Don't stop any currently playing sound