From 1e0901179a779c82fe93e6565d10dc8664e0d5b0 Mon Sep 17 00:00:00 2001 From: Jan Zerebecki Date: Sat, 10 Mar 2007 22:11:09 +0100 Subject: [PATCH] wintab32: Add DebugInfo to critical sections. --- dlls/wintab32/wintab32.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/wintab32/wintab32.c b/dlls/wintab32/wintab32.c index f621f8ea552..c34a681ed1c 100644 --- a/dlls/wintab32/wintab32.c +++ b/dlls/wintab32/wintab32.c @@ -74,6 +74,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpReserved) case DLL_PROCESS_ATTACH: TRACE("Initialization\n"); InitializeCriticalSection(&csTablet); + csTablet.DebugInfo->Spare[0] = (DWORD_PTR)(__FILE__ ": csTablet"); hx11drv = GetModuleHandleA("winex11.drv"); if (hx11drv) { @@ -96,6 +97,7 @@ BOOL WINAPI DllMain(HINSTANCE hInstDLL, DWORD fdwReason, LPVOID lpReserved) hwndDefault = 0; } TABLET_Unregister(); + csTablet.DebugInfo->Spare[0] = 0; DeleteCriticalSection(&csTablet); break; }