using System.Runtime.InteropServices; namespace Mup { class MidiFile { [DllImport("winmm.dll")] private static extern int mciSendString(string strCommand, StringBuilder strReturn, int iReturnLength, IntPtr hwndCallback); } }