waveOutGetVolume

[DllImport("winmm.dll", SetLastError = true)]
public static extern uint waveOutGetVolume(
   IntPtr hwo,
   out uint pdwVolume
);

Microsoft documentation: Link

Last updated