private static extern MMRESULT midiOutOpen(out HMIDIOUT lphMidiOut, uint uDeviceID, MidiOutProc?dwCallback, IntPtr dwInstance, MidiCallbackFlags dwFlags);
public static extern MMRESULT midiOutShortMsg(HMIDIOUT hmo, uint dwMsg);
public static MMRESULT midiOutOpen(out HMIDIOUT lphMidiOut, uint uDeviceID, MidiOutProc?dwCallback, IntPtr dwInstance) => midiOutOpen(out lphMidiOut, uDeviceID, dwCallback, dwInstance, dwCallback == null ? MidiCallbackFlags.CALLBACK_NULL : MidiCallbackFlags.CALLBACK_FUNCTION);
public static extern MMRESULT midiOutReset(HMIDIOUT hMidiOut);
public static extern MMRESULT midiOutClose(HMIDIOUT hMidiOut);