mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 14:53:40 +00:00
[WIN32K]
- Some more DPRINT -> DEBUGCHANNEL svn path=/trunk/; revision=63740
This commit is contained in:
parent
4069d63c30
commit
bbaddbe80c
1 changed files with 8 additions and 7 deletions
|
@ -7,9 +7,8 @@
|
||||||
*/
|
*/
|
||||||
|
|
||||||
#include <win32k.h>
|
#include <win32k.h>
|
||||||
|
DBG_DEFAULT_CHANNEL(EngClip);
|
||||||
|
|
||||||
#define NDEBUG
|
|
||||||
#include <debug.h>
|
|
||||||
|
|
||||||
static __inline int
|
static __inline int
|
||||||
CompareRightDown(
|
CompareRightDown(
|
||||||
|
@ -256,13 +255,15 @@ CLIPOBJ *
|
||||||
APIENTRY
|
APIENTRY
|
||||||
EngCreateClip(VOID)
|
EngCreateClip(VOID)
|
||||||
{
|
{
|
||||||
CLIPGDI *Clip = EngAllocMem(FL_ZERO_MEMORY, sizeof(CLIPGDI), GDITAG_CLIPOBJ);
|
XCLIPOBJ *Clip = EngAllocMem(FL_ZERO_MEMORY, sizeof(XCLIPOBJ), GDITAG_CLIPOBJ);
|
||||||
if(Clip != NULL)
|
if(Clip != NULL)
|
||||||
{
|
{
|
||||||
Clip->Rects = &Clip->ClipObj.rclBounds;
|
IntEngInitClipObj(Clip);
|
||||||
|
TRACE("Created Clip Obj %p.\n", Clip);
|
||||||
return &Clip->ClipObj;
|
return &Clip->ClipObj;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
ERR("Clip object allocation failed!\n");
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -275,8 +276,8 @@ EngDeleteClip(
|
||||||
_In_ _Post_ptr_invalid_ CLIPOBJ *pco)
|
_In_ _Post_ptr_invalid_ CLIPOBJ *pco)
|
||||||
{
|
{
|
||||||
XCLIPOBJ* Clip = CONTAINING_RECORD(pco, XCLIPOBJ, ClipObj);
|
XCLIPOBJ* Clip = CONTAINING_RECORD(pco, XCLIPOBJ, ClipObj);
|
||||||
if (Clip->Rects != &Clip->ClipObj.rclBounds)
|
TRACE("Deleting %p.\n");
|
||||||
EngFreeMem(Clip->Rects);
|
IntEngFreeClipResources(Clip);
|
||||||
EngFreeMem(Clip);
|
EngFreeMem(Clip);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -319,7 +320,7 @@ CLIPOBJ_cEnumStart(
|
||||||
break;
|
break;
|
||||||
|
|
||||||
default:
|
default:
|
||||||
DPRINT1("Invalid iDirection %lu\n", iDirection);
|
ERR("Invalid iDirection %lu\n", iDirection);
|
||||||
iDirection = Clip->EnumOrder;
|
iDirection = Clip->EnumOrder;
|
||||||
CompareFunc = NULL;
|
CompareFunc = NULL;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue