midiOutSetVolume function winmm
Sets the volume of a MIDI output device.
To learn more, see learn.microsoft.com/windows/win32/api/mmeapi/nf-mmeapi-midioutsetvolume.
Implementation
@pragma('vm:prefer-inline')
int midiOutSetVolume(HMIDIOUT? hmo, int dwVolume) =>
_midiOutSetVolume(hmo ?? nullptr, dwVolume);