[WIN32K]
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 5 Mar 2011 11:13:45 +0000 (11:13 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 5 Mar 2011 11:13:45 +0000 (11:13 +0000)
add dumping of locked handles to missing places.

svn path=/trunk/; revision=50970

reactos/subsystems/win32/win32k/objects/gdidbg.c

index 4be2d4d..bf46e2b 100644 (file)
@@ -325,6 +325,7 @@ DbgPreServiceHook(ULONG ulSyscallId, PULONG_PTR pulArguments)
     {
         DbgPrint("FATAL: Win32DbgPreServiceHook(%ld): There are %ld exclusive locks!\n",
                  ulSyscallId, pti->cExclusiveLocks);
+        GdiDbgDumpLockedHandles();
         ASSERT(FALSE);
     }
 
@@ -339,6 +340,7 @@ DbgPostServiceHook(ULONG ulSyscallId, ULONG_PTR ulResult)
     {
         DbgPrint("FATAL: Win32DbgPostServiceHook(%ld): There are %ld exclusive locks!\n",
                  ulSyscallId, pti->cExclusiveLocks);
+        GdiDbgDumpLockedHandles();
         ASSERT(FALSE);
     }
     return ulResult;