Author: fireball
Date: Tue Oct 23 12:32:19 2007
New Revision: 29821
URL: 
http://svn.reactos.org/svn/reactos?rev=29821&view=rev
Log:
- Add a bit more debug traces, like the previous implementation had.
Modified:
    trunk/reactos/subsystems/win32/win32k/ntuser/class.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/class.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/class.c (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/class.c Tue Oct 23 12:32:19 2007
@@ -1241,6 +1241,8 @@
         return FALSE;
     }
+    TRACE("UserUnregisterClass(%wZ)\n", ClassName);
+
     /* NOTE: Accessing the buffer in ClassName may raise an exception! */
     ClassAtom = IntGetClassAtom(ClassName,
                                 hInstance,
@@ -1405,6 +1407,7 @@
     {
         PULONG_PTR Data;
+        TRACE("GetClassLong(%d)\n", Index);
         if (Index + sizeof(ULONG_PTR) < Index ||
             Index + sizeof(ULONG_PTR) > Class->ClsExtra)
         {
@@ -1417,6 +1420,8 @@
         /* FIXME - Data might be a unaligned pointer! Might be a problem on
                    certain architectures, maybe using RtlCopyMemory is a
                    better choice for those architectures! */
+
+        TRACE("Result: %x\n", Ret);
         return *Data;
     }
@@ -1604,6 +1609,8 @@
     if (Index >= 0)
     {
         PULONG_PTR Data;
+
+        TRACE("SetClassLong(%d, %x)\n", Index, NewLong);
         if (Index + sizeof(ULONG_PTR) < Index ||
             Index + sizeof(ULONG_PTR) > Class->ClsExtra)