Fix compilation without NDEBUG.

svn path=/trunk/; revision=12922
This commit is contained in:
Gregor Anich 2005-01-10 23:11:45 +00:00
parent 0afc3c7bef
commit 29ca1c4689
4 changed files with 4 additions and 6 deletions

View file

@ -961,8 +961,6 @@ NtUserGetClipCursor(
WinStaObject = IntGetWinStaObj(); WinStaObject = IntGetWinStaObj();
if (WinStaObject == NULL) if (WinStaObject == NULL)
{ {
DPRINT("Validation of window station handle (0x%X) failed\n",
PROCESS_WINDOW_STATION());
return FALSE; return FALSE;
} }

View file

@ -1353,7 +1353,7 @@ NtUserCreateMenu(BOOL PopupMenu)
if (!NT_SUCCESS(Status)) if (!NT_SUCCESS(Status))
{ {
DPRINT("Validation of window station handle (0x%X) failed\n", DPRINT("Validation of window station handle (0x%X) failed\n",
PROCESS_WINDOW_STATION()); PsGetCurrentProcess()->Win32WindowStation);
SetLastNtError(Status); SetLastNtError(Status);
return (HMENU)0; return (HMENU)0;
} }

View file

@ -1679,7 +1679,7 @@ MsqGetTimerMessage(PUSER_MESSAGE_QUEUE MessageQueue,
{ {
Timer = CONTAINING_RECORD(MessageQueue->TimerListHead.Flink, Timer = CONTAINING_RECORD(MessageQueue->TimerListHead.Flink,
TIMER_ENTRY, ListEntry); 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); Timer->ExpiryTime.QuadPart);
EnumEntry = EnumEntry->Flink; EnumEntry = EnumEntry->Flink;
if ((NULL == WndFilter || Timer->Wnd == WndFilter) && if ((NULL == WndFilter || Timer->Wnd == WndFilter) &&

View file

@ -715,7 +715,7 @@ GDI_CleanupForProcess (struct _EPROCESS *Process)
LONG ProcId; LONG ProcId;
ULONG Index = RESERVE_ENTRIES_COUNT; 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(); CurrentProcess = PsGetCurrentProcess();
if (CurrentProcess != Process) if (CurrentProcess != Process)
{ {
@ -761,7 +761,7 @@ GDI_CleanupForProcess (struct _EPROCESS *Process)
KeDetachProcess(); KeDetachProcess();
} }
DPRINT("Completed cleanup for process %d\n", Pid); DPRINT("Completed cleanup for process %d\n", Process->UniqueProcessId);
return TRUE; return TRUE;
} }