waveOutGetNumDevs function Null safety winmm

int waveOutGetNumDevs ()

The waveOutGetNumDevs function retrieves the number of waveform-audio output devices present in the system.

UINT waveOutGetNumDevs();

Implementation

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