waveOutClose function Null safety winmm

int waveOutClose(
  1. int hwo
)

The waveOutClose function closes the given waveform-audio output device.

MMRESULT waveOutClose(
  HWAVEOUT hwo
  );

Implementation

int waveOutClose(int hwo) {
  final _waveOutClose =
      _winmm.lookupFunction<Uint32 Function(IntPtr hwo), int Function(int hwo)>(
          'waveOutClose');
  return _waveOutClose(hwo);
}