Avoid crash

svn path=/trunk/; revision=10544
This commit is contained in:
Gé van Geldorp 2004-08-14 22:36:38 +00:00
parent fe0c27e5c2
commit 4bf8b7d19b

View file

@ -83,7 +83,9 @@ static BOOL WINMM_CreateIData(HINSTANCE hInstDLL)
return FALSE;
WINMM_IData->hWinMM32Instance = hInstDLL;
InitializeCriticalSection(&WINMM_IData->cs);
/* FIXME crashes in ReactOS
WINMM_IData->cs.DebugInfo->Spare[1] = (DWORD)"WINMM_IData";
*/
WINMM_IData->psStopEvent = CreateEventA(NULL, TRUE, FALSE, NULL);
WINMM_IData->psLastEvent = CreateEventA(NULL, TRUE, FALSE, NULL);
TRACE("Created IData (%p)\n", WINMM_IData);