Fix compilation without NDEBUG.
authorGregor Anich <blight@blight.eu.org>
Mon, 10 Jan 2005 23:11:45 +0000 (23:11 +0000)
committerGregor Anich <blight@blight.eu.org>
Mon, 10 Jan 2005 23:11:45 +0000 (23:11 +0000)
svn path=/trunk/; revision=12922

reactos/subsys/win32k/ntuser/cursoricon.c
reactos/subsys/win32k/ntuser/menu.c
reactos/subsys/win32k/ntuser/msgqueue.c
reactos/subsys/win32k/objects/gdiobj.c

index dd28382..e7b0571 100644 (file)
@@ -961,8 +961,6 @@ NtUserGetClipCursor(
   WinStaObject = IntGetWinStaObj();
   if (WinStaObject == NULL)
   {
-    DPRINT("Validation of window station handle (0x%X) failed\n",
-      PROCESS_WINDOW_STATION());
     return FALSE;
   }
   
index 81d757c..b59b703 100644 (file)
@@ -1353,7 +1353,7 @@ NtUserCreateMenu(BOOL PopupMenu)
   if (!NT_SUCCESS(Status))
   {
     DPRINT("Validation of window station handle (0x%X) failed\n",
-      PROCESS_WINDOW_STATION());
+      PsGetCurrentProcess()->Win32WindowStation);
     SetLastNtError(Status);
     return (HMENU)0;
   }
index 18a1637..900f3b9 100644 (file)
@@ -1679,7 +1679,7 @@ MsqGetTimerMessage(PUSER_MESSAGE_QUEUE MessageQueue,
     {
       Timer = CONTAINING_RECORD(MessageQueue->TimerListHead.Flink,
                                 TIMER_ENTRY, ListEntry);
-      DPRINT("Checking timer %p wnd %x expiry %I64d\n", Timer, Timer->wnd,
+      DPRINT("Checking timer %p wnd %x expiry %I64d\n", Timer, Timer->Wnd,
              Timer->ExpiryTime.QuadPart);
       EnumEntry = EnumEntry->Flink;
       if ((NULL == WndFilter || Timer->Wnd == WndFilter) &&
index 4b30364..94ff539 100644 (file)
@@ -715,7 +715,7 @@ GDI_CleanupForProcess (struct _EPROCESS *Process)
   LONG ProcId;
   ULONG Index = RESERVE_ENTRIES_COUNT;
 
-  DPRINT("Starting CleanupForProcess prochandle %x Pid %d\n", Process, Pid);
+  DPRINT("Starting CleanupForProcess prochandle %x Pid %d\n", Process, Process->UniqueProcessId);
   CurrentProcess = PsGetCurrentProcess();
   if (CurrentProcess != Process)
     {
@@ -761,7 +761,7 @@ GDI_CleanupForProcess (struct _EPROCESS *Process)
       KeDetachProcess();
     }
 
-  DPRINT("Completed cleanup for process %d\n", Pid);
+  DPRINT("Completed cleanup for process %d\n", Process->UniqueProcessId);
 
   return TRUE;
 }