Use DbgPrint for errors

svn path=/trunk/; revision=4399
This commit is contained in:
Jason Filby 2003-03-22 21:52:38 +00:00
parent 8526f38f43
commit 0a595fb831
2 changed files with 6 additions and 6 deletions

View file

@ -39,7 +39,7 @@ ULONG CreateGDIHandle(ULONG InternalSize, ULONG UserSize)
return i;
}
}
DPRINT("CreateGDIHandle: Out of available handles!!!\n");
DbgPrint("CreateGDIHandle: Out of available handles!!!\n");
EngFreeMem( pObj );
return 0;
}
@ -47,7 +47,7 @@ ULONG CreateGDIHandle(ULONG InternalSize, ULONG UserSize)
VOID FreeGDIHandle(ULONG Handle)
{
if( Handle == 0 || Handle >= MAX_GDI_HANDLES ){
DPRINT("FreeGDIHandle: invalid handle!!!!\n");
DbgPrint("FreeGDIHandle: invalid handle!!!!\n");
return;
}
DPRINT("FreeGDIHandle: handle: %d\n", Handle);
@ -60,7 +60,7 @@ PVOID AccessInternalObject(ULONG Handle)
PENGOBJ pEngObj;
if( Handle == 0 || Handle >= MAX_GDI_HANDLES ){
DPRINT("AccessInternalObject: invalid handle: %d!!!!\n", Handle);
DbgPrint("AccessInternalObject: invalid handle: %d!!!!\n", Handle);
return NULL;
}
@ -73,7 +73,7 @@ PVOID AccessUserObject(ULONG Handle)
PENGOBJ pEngObj;
if( Handle == 0 || Handle >= MAX_GDI_HANDLES ){
DPRINT("AccessUserObject: invalid handle: %d!!!!\n", Handle);
DbgPrint("AccessUserObject: invalid handle: %d!!!!\n", Handle);
return NULL;
}
@ -93,7 +93,7 @@ ULONG AccessHandleFromUserObject(PVOID UserObject)
Handle = pEngObj->hObj;
if( Handle == 0 || Handle >= MAX_GDI_HANDLES ){
DPRINT("AccessHandleFromUserObject: inv handle: %d, obj: %x!!!!\n", Handle, pEngObj);
DbgPrint("AccessHandleFromUserObject: inv handle: %d, obj: %x!!!!\n", Handle, pEngObj);
return INVALID_HANDLE;
}
return Handle;

View file

@ -20,7 +20,7 @@
#include "brush.h"
#include "clip.h"
#define NDEBUG
//#define NDEBUG
#include <win32k/debug1.h>
BOOL FillSolid(SURFOBJ *Surface, PRECTL pRect, ULONG iColor)