waveOutGetVolume

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

Microsoft documentation: Link

Last updated