winmm: PlaySound ignores SND_NOWAIT.

This commit is contained in:
Jörg Höhle 2011-01-11 23:30:34 +01:00 committed by Alexandre Julliard
parent 1e7c80ba9a
commit 0a81f12ce1
1 changed files with 2 additions and 4 deletions

View File

@ -472,10 +472,8 @@ static BOOL MULTIMEDIA_PlaySound(const void* pszSound, HMODULE hmod, DWORD fdwSo
TRACE("pszSound='%p' hmod=%p fdwSound=%08X\n",
pszSound, hmod, fdwSound);
/* FIXME? I see no difference between SND_NOWAIT and SND_NOSTOP !
* there could be one if several sounds can be played at once...
*/
if ((fdwSound & (SND_NOWAIT | SND_NOSTOP)) && PlaySoundList != NULL)
/* SND_NOWAIT is ignored in w95/2k/xp. */
if ((fdwSound & SND_NOSTOP) && PlaySoundList != NULL)
return FALSE;
/* alloc internal structure, if we need to play something */