VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Play Wav Sound Files Using API's. (Visual Basic)

Rajender Sharma  (7 Submissions)   Windows API Call/Explanation   VB 6.0   Unknown Difficulty   Mon 22nd November 1999   Mon 8th February 2021

Play Wav Sound Files Using API's. (Visual Basic)

API Declarations



Declare Function sndPlaySound Lib "winmm.dll" Alias "sndPlaySoundA" (ByVal lpszSoundName As String, ByVal uFlags As Long) As Long

Public Const SND_ALIAS = &H10000 ' name is a WIN.INI [sounds] entry
Public Const SND_ASYNC = &H1 ' play asynchronously
Public Const SND_LOOP = &H8 ' loop the sound until next sndPlaySound
Public Const SND_NOWAIT = &H2000 ' don't wait if the driver is busy
Public Const SND_SYNC = &H0 ' play synchronously (default)



Rate Play Wav Sound Files Using API's. (Visual Basic) (2(2 Vote))
Play Wav Sound Files Using API's. (Visual Basic).bas

Play Wav Sound Files Using API's. (Visual Basic) Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters