[WIN32K]
authorGiannis Adamopoulos <gadamopoulos@reactos.org>
Fri, 20 Feb 2015 13:42:22 +0000 (13:42 +0000)
committerGiannis Adamopoulos <gadamopoulos@reactos.org>
Fri, 20 Feb 2015 13:42:22 +0000 (13:42 +0000)
- Silence several debug prints that spam the debug log for no reason

svn path=/trunk/; revision=66370

reactos/win32ss/gdi/eng/gradient.c
reactos/win32ss/user/ntuser/focus.c
reactos/win32ss/user/ntuser/menu.c
reactos/win32ss/user/ntuser/window.c
reactos/win32ss/user/ntuser/winsta.c

index 784f216..8ec2de7 100644 (file)
@@ -354,9 +354,9 @@ IntEngGradientFillTriangle(
         }
     }
 
-    DPRINT1("Triangle: (%i,%i) (%i,%i) (%i,%i)\n", v1->x, v1->y, v2->x, v2->y, v3->x, v3->y);
+    DPRINT("Triangle: (%i,%i) (%i,%i) (%i,%i)\n", v1->x, v1->y, v2->x, v2->y, v3->x, v3->y);
     /* FIXME: commented out because of an endless loop - fix triangles first */
-    DPRINT1("FIXME: IntEngGradientFillTriangle is broken\n");
+    DPRINT("FIXME: IntEngGradientFillTriangle is broken\n");
 
     if (!IntEngEnter(&EnterLeave, psoDest, &FillRect, FALSE, &Translate, &psoOutput))
     {
index e62f0ab..e0fb13b 100644 (file)
@@ -337,7 +337,7 @@ FindRemoveAsyncMsg(PWND Wnd, WPARAM wParam)
           Message->Msg.hwnd == UserHMGetHandle(Wnd) &&
           Message->Msg.wParam == wParam)
       {
-         ERR("ASYNC SAW: Found one in the Sent Msg Queue! %p Activate/Deactivate %d\n", Message->Msg.hwnd, !!wParam);
+         WARN("ASYNC SAW: Found one in the Sent Msg Queue! %p Activate/Deactivate %d\n", Message->Msg.hwnd, !!wParam);
          RemoveEntryList(&Message->ListEntry); // Purge the entry.
          ClearMsgBitsMask(pti, Message->QS_Flags);
          ExFreePoolWithTag(Message, TAG_USRMSG);
index cf76098..3b70497 100644 (file)
@@ -254,7 +254,7 @@ IntDestroyMenuObject(PMENU Menu, BOOL bRecurse)
          }
          if (UserObjectInDestroy(Menu->head.h))
          {
-            ERR("Menu already dead!\n");
+            WARN("Menu already dead!\n");
             return FALSE;
          }
          ret = UserDeleteObject(Menu->head.h, TYPE_MENU);
index a1bfbd4..ef820ce 100644 (file)
@@ -1411,7 +1411,7 @@ NtUserBuildHwndList(
       if (!(W32Thread = (PTHREADINFO)Thread->Tcb.Win32Thread))
       {
          ObDereferenceObject(Thread);
-         ERR("Thread is not initialized!\n");
+         TRACE("Tried to enumerate windows of a non gui thread\n");
          return ERROR_INVALID_PARAMETER;
       }
 
index 18aebda..e6c863a 100644 (file)
@@ -934,7 +934,7 @@ UserSetProcessWindowStation(HWINSTA hWindowStation)
    ppi->prpwinsta = NewWinSta;
    ppi->hwinsta = hWindowStation;
    ppi->amwinsta = hWindowStation != NULL ? ObjectHandleInfo.GrantedAccess : 0;
-   ERR("WS : Granted Access %p\n",ppi->amwinsta);
+   TRACE("WS : Granted Access %p\n",ppi->amwinsta);
 
    if (RtlAreAllAccessesGranted(ppi->amwinsta, WINSTA_READSCREEN))
    {