From 4bf8b7d19bccfba06b10a6c0948be3c9b9b06e66 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?G=C3=A9=20van=20Geldorp?= Date: Sat, 14 Aug 2004 22:36:38 +0000 Subject: [PATCH] Avoid crash svn path=/trunk/; revision=10544 --- reactos/lib/winmm/winmm.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/reactos/lib/winmm/winmm.c b/reactos/lib/winmm/winmm.c index 1820ae98547..4762db85ebb 100644 --- a/reactos/lib/winmm/winmm.c +++ b/reactos/lib/winmm/winmm.c @@ -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);