Jan Zerebecki : comctl32: Add DebugInfo to critical section.
Alexandre Julliard
julliard at wine.codeweavers.com
Fri Feb 23 05:28:18 CST 2007
Module: wine
Branch: master
Commit: fa86532354a49f9fb43c357d7f11911b95fb8102
URL: http://source.winehq.org/git/wine.git/?a=commit;h=fa86532354a49f9fb43c357d7f11911b95fb8102
Author: Jan Zerebecki <jan.wine at zerebecki.de>
Date: Fri Feb 23 09:26:17 2007 +0100
comctl32: Add DebugInfo to critical section.
---
dlls/comctl32/animate.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/dlls/comctl32/animate.c b/dlls/comctl32/animate.c
index 6949213..5089549 100644
--- a/dlls/comctl32/animate.c
+++ b/dlls/comctl32/animate.c
@@ -803,6 +803,7 @@ static BOOL ANIMATE_Create(HWND hWnd, LPCREATESTRUCTW lpcs)
TRACE("Animate style=0x%08x, parent=%p\n", infoPtr->dwStyle, infoPtr->hwndNotify);
InitializeCriticalSection(&infoPtr->cs);
+ infoPtr->cs.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": ANIMATE_INFO*->cs");
return TRUE;
}
@@ -816,6 +817,7 @@ static LRESULT ANIMATE_Destroy(ANIMATE_INFO *infoPtr)
/* free animate info data */
SetWindowLongPtrW(infoPtr->hwndSelf, 0, 0);
+ infoPtr->cs.DebugInfo->Spare[0] = 0;
DeleteCriticalSection(&infoPtr->cs);
Free(infoPtr);
More information about the wine-cvs
mailing list