Exemplo n.º 1
0
 public static int MidiOutOpen(out HandleMidiOut lphMidiOut, UIntPtr uDeviceId, MidiOutProc dwCallback, UIntPtr dwCallbackInstance) =>
 midiOutOpen(
     out lphMidiOut,
     uDeviceId,
     dwCallback,
     dwCallbackInstance,
     dwCallback == null ? MidiOpenFlags.CALLBACK_NULL : MidiOpenFlags.CALLBACK_FUNCTION & MidiOpenFlags.MIDI_IO_STATUS);
Exemplo n.º 2
0
 private static extern int midiOutOpen(
     out HandleMidiOut lphMidiOut,
     UIntPtr uDeviceId,
     MidiOutProc dwCallback,
     UIntPtr dwCallbackInstance,
     MidiOpenFlags dwFlags);
Exemplo n.º 3
0
 public static extern int midiOutShortMsg(HandleMidiOut hmo, uint dwMsg);