PlaySound

[DllImport("coredll.dll", SetLastError = true, CharSet = CharSet.Unicode)]
public static extern bool PlaySound(
   string pszSound,
   IntPtr hmod,
   uint fdwSound
);

Microsoft documentation: Linkarrow-up-right

Last updated