waveOutWrite

[DllImport("winmm.dll", SetLastError = true)]
public static extern uint waveOutWrite(
   IntPtr hwo,
   ref WAVEHDR pwh,
   uint cbwh
);

Microsoft documentation: Link

Last updated