waveOutSetVolume function Null safety winmm
The waveOutSetVolume function sets the volume level of the specified waveform-audio output device.
MMRESULT waveOutSetVolume(
HWAVEOUT hwo,
DWORD dwVolume
);
Implementation
int waveOutSetVolume(int hwo, int dwVolume) {
final _waveOutSetVolume = _winmm.lookupFunction<
Uint32 Function(IntPtr hwo, Uint32 dwVolume),
int Function(int hwo, int dwVolume)>('waveOutSetVolume');
return _waveOutSetVolume(hwo, dwVolume);
}