waveOutSetVolume

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

Microsoft documentation: Link

Last updated