internal static extern MMRESULT midiOutShortMsg(IntPtr hMidiOut, ShortMessage dwMsg);
public bool SendMessage(ShortMessage message) { return(NativeMethods.midiOutShortMsg(this.Handle, message) == NativeMethods.MMRESULT.MMSYSERR_NOERROR); }