public |
Subversion Repositories: |
using System;
using System.Collections.Generic;
using System.Text;
using System.Runtime.InteropServices;
namespace BeatBox
{
class PlaySoundWin32
{
[DllImport("winmm.dll")]
public static extern bool PlaySound(string pszSound, IntPtr hMod, SoundFlags SoundFlags);
[DllImport("winmm.dll")]
public static extern bool PlaySound(byte[] arrBytes, IntPtr hMod, SoundFlags SoundFlags);
}
}