[DllImport("winmm.dll", SetLastError = true)] public static extern uint waveOutOpen( out IntPtr phwo, uint uDeviceID, ref WAVEFORMATEX pwfx, IntPtr dwCallback, IntPtr dwInstance, uint fdwOpen );
Microsoft documentation: Link
Last updated 1 year ago