waveOutReset

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

Microsoft documentation: Link

Last updated