Hi,
ein kurzer Blick ins Platform
SDK verrät:
Zitat:
BOOL PlaySound(
LPCSTR pszSound,
HMODULE hmod,
DWORD fdwSound
);
fdwSound
Flags for playing the sound. The following values are defined.
...
SND_PURGE
Sounds are to be stopped for the calling task. If pszSound is not NULL, all instances of the specified sound are stopped. If pszSound is NULL, all sounds that are playing on behalf of the calling task are stopped.
You must also specify the instance
handle to stop SND_RESOURCE events.
Dani H.