midiOutGetVolume function winmm

int midiOutGetVolume(
  1. HMIDIOUT? hmo,
  2. Pointer<Uint32> pdwVolume
)

Retrieves the current volume setting of a MIDI output device.

To learn more, see learn.microsoft.com/windows/win32/api/mmeapi/nf-mmeapi-midioutgetvolume.

Implementation

@pragma('vm:prefer-inline')
int midiOutGetVolume(HMIDIOUT? hmo, Pointer<Uint32> pdwVolume) =>
    _midiOutGetVolume(hmo ?? nullptr, pdwVolume);