MIDIINPROC typedef callback

MIDIINPROC = Void Function(HMIDIIN hMidiIn, UINT wMsg, DWORD_PTR dwInstance, DWORD_PTR dwParam1, DWORD_PTR dwParam2)

An application-defined callback function for handling incoming MIDI messages.

MIDIINPROC is a placeholder for the application-supplied function name. The address of this function can be specified in the callback-address parameter of the midiInOpen function.

To learn more, see learn.microsoft.com/previous-versions/dd798460(v=vs.85).

Implementation

typedef MIDIINPROC =
    Void Function(
      HMIDIIN hMidiIn,
      UINT wMsg,
      DWORD_PTR dwInstance,
      DWORD_PTR dwParam1,
      DWORD_PTR dwParam2,
    );