public static MIDIError MIDI_OutLongMsg(IntPtr handle, IntPtr headerPtr) { return(Midi.midiOutLongMsg(handle, headerPtr, Marshal.SizeOf(typeof(MIDIHDR)))); }