Playsound

burnouze Messages postés 38 Date d'inscription mercredi 10 novembre 2004 Statut Membre Dernière intervention 15 mai 2009 - 28 janv. 2005 à 09:50
mythic_kruger Messages postés 241 Date d'inscription jeudi 8 janvier 2004 Statut Membre Dernière intervention 10 novembre 2005 - 30 janv. 2005 à 02:57
bonjour

j'aimerai stoper un playsound ;comment ?

Private Declare Function PlaySound Lib "winmm.dll" Alias "PlaySoundA" (ByVal lpszName As String, ByVal hModule As Long, ByVal dwFlags As Long) As Long

PlaySound "C:\Program Files\jeux\perdu.WAV", ByVal 0&, SND_FILENAME Or SND_ASYNC

merci

1 réponse

mythic_kruger Messages postés 241 Date d'inscription jeudi 8 janvier 2004 Statut Membre Dernière intervention 10 novembre 2005
30 janv. 2005 à 02:57
Avec une deuxième fonction
Declare Function waveOutStop Lib "winmm.dll" (ByVal hWaveIn As Long) As Long
0
Rejoignez-nous