Silence debug messages

svn path=/trunk/; revision=10006
This commit is contained in:
Gé van Geldorp 2004-07-07 08:39:54 +00:00
parent f390319086
commit 20180bf59f
4 changed files with 11 additions and 11 deletions

View file

@ -18,7 +18,7 @@
#ifdef DBG #ifdef DBG
/* See debug.h for debug/trace constants */ /* See debug.h for debug/trace constants */
DWORD DebugTraceLevel = MIN_TRACE; DWORD DebugTraceLevel = 0;
#endif /* DBG */ #endif /* DBG */

View file

@ -25,7 +25,7 @@
#ifndef NDEBUG #ifndef NDEBUG
DWORD DebugTraceLevel = 0x7fffffff; DWORD DebugTraceLevel = 0x7fffffff;
#else #else
DWORD DebugTraceLevel = MIN_TRACE; DWORD DebugTraceLevel = 0;
#endif /* NDEBUG */ #endif /* NDEBUG */
PDEVICE_OBJECT TCPDeviceObject = NULL; PDEVICE_OBJECT TCPDeviceObject = NULL;

View file

@ -1,4 +1,4 @@
/* $Id: continue.c,v 1.2 2004/07/02 01:23:26 royce Exp $ /* $Id: continue.c,v 1.3 2004/07/07 08:39:53 gvg Exp $
* *
* COPYRIGHT: See COPYING in the top level directory * COPYRIGHT: See COPYING in the top level directory
* PROJECT: ReactOS kernel * PROJECT: ReactOS kernel
@ -42,10 +42,10 @@ NtContinue (
PKTRAP_FRAME TrapFrame = KeGetCurrentThread()->TrapFrame; PKTRAP_FRAME TrapFrame = KeGetCurrentThread()->TrapFrame;
PKTRAP_FRAME PrevTrapFrame = (PKTRAP_FRAME)TrapFrame->Edx; PKTRAP_FRAME PrevTrapFrame = (PKTRAP_FRAME)TrapFrame->Edx;
DPRINT1("NtContinue: Context: Eip=0x%x, Esp=0x%x\n", Context->Eip, Context->Esp ); DPRINT("NtContinue: Context: Eip=0x%x, Esp=0x%x\n", Context->Eip, Context->Esp );
PULONG Frame = 0; PULONG Frame = 0;
__asm__("mov %%ebp, %%ebx" : "=b" (Frame) : ); __asm__("mov %%ebp, %%ebx" : "=b" (Frame) : );
DbgPrint ( "NtContinue(): Ebp=%x, prev/TF=%x/%x\n", Frame, Frame[0], TrapFrame ); DPRINT( "NtContinue(): Ebp=%x, prev/TF=%x/%x\n", Frame, Frame[0], TrapFrame );
KeRosDumpStackFrames(NULL,5); KeRosDumpStackFrames(NULL,5);
if ( Context == NULL ) if ( Context == NULL )

View file

@ -16,7 +16,7 @@
* along with this program; if not, write to the Free Software * along with this program; if not, write to the Free Software
* Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
*/ */
/* $Id: cursoricon.c,v 1.61 2004/07/04 11:18:56 navaraf Exp $ */ /* $Id: cursoricon.c,v 1.62 2004/07/07 08:39:54 gvg Exp $ */
#include <w32k.h> #include <w32k.h>
PCURICON_OBJECT FASTCALL PCURICON_OBJECT FASTCALL
@ -118,7 +118,7 @@ IntSetCursor(PWINSTATION_OBJECT WinStaObject, PCURICON_OBJECT NewCursor,
BITMAPOBJ_UnlockBitmap(NewCursor->IconInfo.hbmMask); BITMAPOBJ_UnlockBitmap(NewCursor->IconInfo.hbmMask);
if (maskBpp != 1) if (maskBpp != 1)
{ {
DbgPrint("SetCursor: The Mask bitmap must have 1BPP!\n"); DPRINT1("SetCursor: The Mask bitmap must have 1BPP!\n");
BITMAPOBJ_UnlockBitmap(SurfObj->hsurf); BITMAPOBJ_UnlockBitmap(SurfObj->hsurf);
return Ret; return Ret;
} }
@ -131,7 +131,7 @@ IntSetCursor(PWINSTATION_OBJECT WinStaObject, PCURICON_OBJECT NewCursor,
/* FIXME - Create a color pointer, only 32bit bitmap, set alpha bits! /* FIXME - Create a color pointer, only 32bit bitmap, set alpha bits!
Do not pass a mask bitmap to DrvSetPointerShape()! Do not pass a mask bitmap to DrvSetPointerShape()!
Create a XLATEOBJ that describes the colors of the bitmap. */ Create a XLATEOBJ that describes the colors of the bitmap. */
DbgPrint("SetCursor: (Colored) alpha cursors are not supported!\n"); DPRINT1("SetCursor: (Colored) alpha cursors are not supported!\n");
} }
else else
{ {
@ -142,7 +142,7 @@ IntSetCursor(PWINSTATION_OBJECT WinStaObject, PCURICON_OBJECT NewCursor,
Do not pass a mask bitmap to DrvSetPointerShape()! Do not pass a mask bitmap to DrvSetPointerShape()!
Create a XLATEOBJ that describes the colors of the bitmap. Create a XLATEOBJ that describes the colors of the bitmap.
(16bit bitmaps are propably allowed) */ (16bit bitmaps are propably allowed) */
DbgPrint("SetCursor: Cursors with colors are not supported!\n"); DPRINT1("SetCursor: Cursors with colors are not supported!\n");
} }
else else
{ {
@ -232,7 +232,7 @@ IntSetCursor(PWINSTATION_OBJECT WinStaObject, PCURICON_OBJECT NewCursor,
} }
if(GDIDEV(SurfObj)->PointerStatus == SPS_ERROR) if(GDIDEV(SurfObj)->PointerStatus == SPS_ERROR)
DbgPrint("SetCursor: DrvSetPointerShape() returned SPS_ERROR\n"); DPRINT1("SetCursor: DrvSetPointerShape() returned SPS_ERROR\n");
return Ret; return Ret;
} }
@ -1124,7 +1124,7 @@ NtUserDrawIconEx(
IntReleaseCurIconObject(CurIconObject); IntReleaseCurIconObject(CurIconObject);
if(istepIfAniCur) if(istepIfAniCur)
DbgPrint("NtUserDrawIconEx: istepIfAniCur is not supported!\n"); DPRINT1("NtUserDrawIconEx: istepIfAniCur is not supported!\n");
if(!hbmMask || !IntGdiGetObject(hbmMask, sizeof(BITMAP), &bmpMask)) if(!hbmMask || !IntGdiGetObject(hbmMask, sizeof(BITMAP), &bmpMask))
goto done; goto done;