public static bool PlaySound(PlaySoundAlias alias, PlaySoundOptions options) { options |= PlaySoundOptions.SND_ALIAS_ID; return(Imports.PlaySoundW((IntPtr)alias, ModuleInstance.Null, options)); }
public static extern bool PlaySoundW( IntPtr pszSound, ModuleInstance hmod, PlaySoundOptions fdwSound);