[DllImport("coredll.dll", SetLastError = true, CharSet = CharSet.Unicode)] public static extern bool PlaySound( string pszSound, IntPtr hmod, uint fdwSound );
Microsoft documentation: Link
Last updated 1 year ago