waveOutSetVolume

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

Microsoft documentation: Link

Last updated