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.TXT
< prev
next >
Wrap
Text File
|
1992-10-14
|
1KB
|
22 lines
'--------------------------------------------------------------------
' sndPlaySound
'--------------------------------------------------------------------
' Listing 1 -- This file can be merged with your global module
' It contains the necessary Declare statement and Const
' definitions for the sndPlaySound function.
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