mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 05:42:59 +00:00
Avoid crash
svn path=/trunk/; revision=10544
This commit is contained in:
parent
fe0c27e5c2
commit
4bf8b7d19b
1 changed files with 2 additions and 0 deletions
|
@ -83,7 +83,9 @@ static BOOL WINMM_CreateIData(HINSTANCE hInstDLL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
WINMM_IData->hWinMM32Instance = hInstDLL;
|
WINMM_IData->hWinMM32Instance = hInstDLL;
|
||||||
InitializeCriticalSection(&WINMM_IData->cs);
|
InitializeCriticalSection(&WINMM_IData->cs);
|
||||||
|
/* FIXME crashes in ReactOS
|
||||||
WINMM_IData->cs.DebugInfo->Spare[1] = (DWORD)"WINMM_IData";
|
WINMM_IData->cs.DebugInfo->Spare[1] = (DWORD)"WINMM_IData";
|
||||||
|
*/
|
||||||
WINMM_IData->psStopEvent = CreateEventA(NULL, TRUE, FALSE, NULL);
|
WINMM_IData->psStopEvent = CreateEventA(NULL, TRUE, FALSE, NULL);
|
||||||
WINMM_IData->psLastEvent = CreateEventA(NULL, TRUE, FALSE, NULL);
|
WINMM_IData->psLastEvent = CreateEventA(NULL, TRUE, FALSE, NULL);
|
||||||
TRACE("Created IData (%p)\n", WINMM_IData);
|
TRACE("Created IData (%p)\n", WINMM_IData);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue