static extern MMRESULT midiOutUnprepareHeader(IntPtr hMidiOut, ref MIDIHDR lpMidiOutHdr, int cbMidiOutHdr);
static extern MMRESULT midiOutLongMsg(IntPtr hMidiOut, ref MIDIHDR lpMidiOutHdr, int cbMidiOutHdr);