midiConnect function winmm

int midiConnect(
  1. HMIDI hmi,
  2. HMIDIOUT hmo
)

Connects a MIDI input device to a MIDI thru or output device, or connects a MIDI thru device to a MIDI output device.

To learn more, see learn.microsoft.com/windows/win32/api/mmeapi/nf-mmeapi-midiconnect.

Implementation

@pragma('vm:prefer-inline')
int midiConnect(HMIDI hmi, HMIDIOUT hmo) => _midiConnect(hmi, hmo, nullptr);