mirror of
https://github.com/reactos/reactos.git
synced 2025-01-04 21:38:43 +00:00
Silence debug messages
svn path=/trunk/; revision=10006
This commit is contained in:
parent
f390319086
commit
20180bf59f
4 changed files with 11 additions and 11 deletions
|
@ -18,7 +18,7 @@
|
|||
#ifdef DBG
|
||||
|
||||
/* See debug.h for debug/trace constants */
|
||||
DWORD DebugTraceLevel = MIN_TRACE;
|
||||
DWORD DebugTraceLevel = 0;
|
||||
|
||||
#endif /* DBG */
|
||||
|
||||
|
|
|
@ -25,7 +25,7 @@
|
|||
#ifndef NDEBUG
|
||||
DWORD DebugTraceLevel = 0x7fffffff;
|
||||
#else
|
||||
DWORD DebugTraceLevel = MIN_TRACE;
|
||||
DWORD DebugTraceLevel = 0;
|
||||
#endif /* NDEBUG */
|
||||
|
||||
PDEVICE_OBJECT TCPDeviceObject = NULL;
|
||||
|
|
|
@ -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
|
||||
* PROJECT: ReactOS kernel
|
||||
|
@ -42,10 +42,10 @@ NtContinue (
|
|||
PKTRAP_FRAME TrapFrame = KeGetCurrentThread()->TrapFrame;
|
||||
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;
|
||||
__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);
|
||||
|
||||
if ( Context == NULL )
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
* along with this program; if not, write to the Free Software
|
||||
* 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>
|
||||
|
||||
PCURICON_OBJECT FASTCALL
|
||||
|
@ -118,7 +118,7 @@ IntSetCursor(PWINSTATION_OBJECT WinStaObject, PCURICON_OBJECT NewCursor,
|
|||
BITMAPOBJ_UnlockBitmap(NewCursor->IconInfo.hbmMask);
|
||||
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);
|
||||
return Ret;
|
||||
}
|
||||
|
@ -131,7 +131,7 @@ IntSetCursor(PWINSTATION_OBJECT WinStaObject, PCURICON_OBJECT NewCursor,
|
|||
/* FIXME - Create a color pointer, only 32bit bitmap, set alpha bits!
|
||||
Do not pass a mask bitmap to DrvSetPointerShape()!
|
||||
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
|
||||
{
|
||||
|
@ -142,7 +142,7 @@ IntSetCursor(PWINSTATION_OBJECT WinStaObject, PCURICON_OBJECT NewCursor,
|
|||
Do not pass a mask bitmap to DrvSetPointerShape()!
|
||||
Create a XLATEOBJ that describes the colors of the bitmap.
|
||||
(16bit bitmaps are propably allowed) */
|
||||
DbgPrint("SetCursor: Cursors with colors are not supported!\n");
|
||||
DPRINT1("SetCursor: Cursors with colors are not supported!\n");
|
||||
}
|
||||
else
|
||||
{
|
||||
|
@ -232,7 +232,7 @@ IntSetCursor(PWINSTATION_OBJECT WinStaObject, PCURICON_OBJECT NewCursor,
|
|||
}
|
||||
|
||||
if(GDIDEV(SurfObj)->PointerStatus == SPS_ERROR)
|
||||
DbgPrint("SetCursor: DrvSetPointerShape() returned SPS_ERROR\n");
|
||||
DPRINT1("SetCursor: DrvSetPointerShape() returned SPS_ERROR\n");
|
||||
|
||||
return Ret;
|
||||
}
|
||||
|
@ -1124,7 +1124,7 @@ NtUserDrawIconEx(
|
|||
IntReleaseCurIconObject(CurIconObject);
|
||||
|
||||
if(istepIfAniCur)
|
||||
DbgPrint("NtUserDrawIconEx: istepIfAniCur is not supported!\n");
|
||||
DPRINT1("NtUserDrawIconEx: istepIfAniCur is not supported!\n");
|
||||
|
||||
if(!hbmMask || !IntGdiGetObject(hbmMask, sizeof(BITMAP), &bmpMask))
|
||||
goto done;
|
||||
|
|
Loading…
Reference in a new issue