mirror of
https://github.com/reactos/wine.git
synced 2025-02-14 17:49:51 +00:00
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)
|
||||
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 */
|
||||
if (pszSound && !(fdwSound & SND_PURGE))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user