winmm: Don't crash on PlaySound(... SND_ALIAS_ID).
This commit is contained in:
parent
cdced5b850
commit
a7a50e0315
@ -446,6 +446,11 @@ static BOOL MULTIMEDIA_PlaySound(const void* pszSound, HMODULE hmod, DWORD fdwSo
|
|||||||
if ((fdwSound & (SND_NOWAIT | SND_NOSTOP)) && PlaySoundList != NULL)
|
if ((fdwSound & (SND_NOWAIT | SND_NOSTOP)) && PlaySoundList != NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
if ((fdwSound & SND_ALIAS_ID) == SND_ALIAS_ID) {
|
||||||
|
FIXME("SND_ALIAS_ID not supported\n");
|
||||||
|
return FALSE;
|
||||||
|
}
|
||||||
|
|
||||||
/* alloc internal structure, if we need to play something */
|
/* alloc internal structure, if we need to play something */
|
||||||
if (pszSound && !(fdwSound & SND_PURGE))
|
if (pszSound && !(fdwSound & SND_PURGE))
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user