midiOutSetVolume function winmm

int midiOutSetVolume(
  1. HMIDIOUT? hmo,
  2. int dwVolume
)

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);