#include <win32k.h>
#include <debug.h>
Go to the source code of this file.
◆ GDIDCATTRFREE
◆ NDEBUG
◆ GDI_DC_ATTR_ENTRY
◆ GDI_DC_ATTR_FREELIST
◆ PGDI_DC_ATTR_ENTRY
◆ PGDI_DC_ATTR_FREELIST
◆ DC_bAllocDcAttr()
Definition at line 31 of file dcattr.c.
32{
35
38
40 if (!pdcattr)
41 {
42 DPRINT1(
"Could not allocate DC attr\n");
44 }
45
46
47 pdc->pdcattr = pdcattr;
48 *pdc->pdcattr = pdc->dcattr;
49
50
52
53 DPRINT(
"DC_AllocDcAttr: pdc=%p, pdc->pdcattr=%p\n", pdc, pdc->pdcattr);
55}
PVOID NTAPI GdiPoolAllocate(PGDI_POOL pPool)
PVOID NTAPI PsGetCurrentProcessWin32Process(VOID)
struct _GDI_POOL * pPoolDcAttr
VOID NTAPI GDIOBJ_vSetObjectAttr(POBJ pobj, PVOID pvObjAttr)
Referenced by DC_vSetOwner(), GreCreateCompatibleDC(), and GreOpenDCW().
◆ DC_vFreeDcAttr()
Definition at line 59 of file dcattr.c.
60{
62
63 if (pdc->pdcattr == &pdc->dcattr)
64 {
65
66 return;
67 }
68
69
71
75
76
77 pdc->pdcattr = &pdc->dcattr;
78}
VOID NTAPI GdiPoolFree(PGDI_POOL pPool, PVOID pvAlloc)
Referenced by DC_vCleanup(), and DC_vSetOwner().