public

Subversion Repositories:
[/] [BeatBox/] [BeatBox/] [PlaySoundWin32.cs] - Rev 7

Compare with Previous - Blame


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);

    }
}