Commit a7a50e03 authored by Dan Kegel's avatar Dan Kegel Committed by Alexandre Julliard

winmm: Don't crash on PlaySound(... SND_ALIAS_ID).

parent cdced5b8
......@@ -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))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment