G
Guest
Hi all,
I am using these 3 lines to play a sound:
1) using System.Runtime.InteropServices;
2) [DllImport("coredll.dll")]
protected static extern int PlaySound(string szSound, IntPtr hMod, int
flags);
3) PlaySound("FileName.wav", IntPtr.Zero, 0x20001);
But if i want to stop a running WAV file, how could i do that?
Thanks in advance
Regards
Tamer Hesham
I am using these 3 lines to play a sound:
1) using System.Runtime.InteropServices;
2) [DllImport("coredll.dll")]
protected static extern int PlaySound(string szSound, IntPtr hMod, int
flags);
3) PlaySound("FileName.wav", IntPtr.Zero, 0x20001);
But if i want to stop a running WAV file, how could i do that?
Thanks in advance
Regards
Tamer Hesham