mirror of
https://github.com/reactos/reactos.git
synced 2024-09-13 14:22:22 +00:00
- Turn off debug print outs.
svn path=/trunk/; revision=45278
This commit is contained in:
parent
49ca1be9f3
commit
502cd1c9c9
|
@ -314,7 +314,7 @@ hGetPEBHandle(HANDLECACHETYPE Type, COLORREF cr)
|
||||||
{
|
{
|
||||||
if (pRgn_Attr->AttrFlags & ATTR_CACHED)
|
if (pRgn_Attr->AttrFlags & ATTR_CACHED)
|
||||||
{
|
{
|
||||||
DPRINT1("Get Handle! Count %d PEB 0x%x\n", GdiHandleCache->ulNumHandles[Type], NtCurrentTeb()->ProcessEnvironmentBlock);
|
DPRINT("Get Handle! Count %d PEB 0x%x\n", GdiHandleCache->ulNumHandles[Type], NtCurrentTeb()->ProcessEnvironmentBlock);
|
||||||
pRgn_Attr->AttrFlags &= ~ATTR_CACHED;
|
pRgn_Attr->AttrFlags &= ~ATTR_CACHED;
|
||||||
hPtr[Number - 1] = NULL;
|
hPtr[Number - 1] = NULL;
|
||||||
GdiHandleCache->ulNumHandles[Type]--;
|
GdiHandleCache->ulNumHandles[Type]--;
|
||||||
|
|
|
@ -760,7 +760,7 @@ bPEBCacheHandle(HGDIOBJ Handle, int oType, PVOID pAttr)
|
||||||
((PRGN_ATTR)pAttr)->AttrFlags |= ATTR_CACHED;
|
((PRGN_ATTR)pAttr)->AttrFlags |= ATTR_CACHED;
|
||||||
hPtr[Number] = Handle;
|
hPtr[Number] = Handle;
|
||||||
GdiHandleCache->ulNumHandles[oType]++;
|
GdiHandleCache->ulNumHandles[oType]++;
|
||||||
DPRINT1("Put Handle Count %d PEB 0x%x\n", GdiHandleCache->ulNumHandles[oType], NtCurrentTeb()->ProcessEnvironmentBlock);
|
DPRINT("Put Handle Count %d PEB 0x%x\n", GdiHandleCache->ulNumHandles[oType], NtCurrentTeb()->ProcessEnvironmentBlock);
|
||||||
Ret = TRUE;
|
Ret = TRUE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue