midiInOpen function winmm

int midiInOpen(
  1. Pointer<IntPtr> phmi,
  2. int uDeviceID,
  3. int dwCallback,
  4. int dwInstance,
  5. int fdwOpen,
)

The midiInOpen function opens a specified MIDI input device.

MMRESULT midiInOpen(
  LPHMIDIIN phmi,
  UINT      uDeviceID,
  DWORD_PTR dwCallback,
  DWORD_PTR dwInstance,
  DWORD     fdwOpen
);

Implementation

int midiInOpen(Pointer<IntPtr> phmi, int uDeviceID, int dwCallback,
        int dwInstance, int fdwOpen) =>
    _midiInOpen(phmi, uDeviceID, dwCallback, dwInstance, fdwOpen);