midiOutGetNumDevs function Null safety winmm

int midiOutGetNumDevs()

The midiOutGetNumDevs function retrieves the number of MIDI output devices present in the system.

UINT midiOutGetNumDevs();

Implementation

int midiOutGetNumDevs() {
  final _midiOutGetNumDevs = _winmm
      .lookupFunction<Uint32 Function(), int Function()>('midiOutGetNumDevs');
  return _midiOutGetNumDevs();
}