Home
last modified time | relevance | path

Searched refs:plfnt (Results 1 – 5 of 5) sorted by relevance

/reactos/win32ss/gdi/ntgdi/
H A Dtext.h78 #define LFONT_ShareUnlockFont(plfnt) GDIOBJ_vDereferenceObject((POBJ)plfnt) argument
79 #define LFONT_UnlockFont(plfnt) GDIOBJ_vUnlockObject((POBJ)plfnt) argument
85 PLFONT plfnt = LFONT_ShareLockFont(hfont); in TEXTOBJ_LockText() local
86 if (plfnt != 0) in TEXTOBJ_LockText()
89 ExAcquirePushLockExclusive(&plfnt->lock); in TEXTOBJ_LockText()
91 return plfnt; in TEXTOBJ_LockText()
96 TEXTOBJ_UnlockText(PLFONT plfnt) in TEXTOBJ_UnlockText() argument
98 ExReleasePushLockExclusive(&plfnt->lock); in TEXTOBJ_UnlockText()
100 LFONT_ShareUnlockFont(plfnt); in TEXTOBJ_UnlockText()
H A Ddcstate.c47 …if (pdcDst->dclevel.plfnt) LFONT_ShareUnlockFont(pdcDst->dclevel.plfnt); /// @todo should aways be… in DC_vCopyState()
48 GDIOBJ_vReferenceObjectByPointer(&pdcSrc->dclevel.plfnt->BaseObject); in DC_vCopyState()
49 pdcDst->dclevel.plfnt = pdcSrc->dclevel.plfnt; in DC_vCopyState()
H A Ddc.h61 _Notnull_ struct _LFONT * plfnt; /* LFONT* (TEXTOBJ*) */ member
229 ASSERT(pdc->dclevel.plfnt != NULL); in DC_LockDc()
230 ASSERT(GDI_HANDLE_GET_TYPE(((POBJ)pdc->dclevel.plfnt)->hHmgr) == GDILoObjType_LO_FONT_TYPE); in DC_LockDc()
240 ASSERT(pdc->dclevel.plfnt != NULL); in DC_UnlockDc()
241 ASSERT(GDI_HANDLE_GET_TYPE(((POBJ)pdc->dclevel.plfnt)->hHmgr) == GDILoObjType_LO_FONT_TYPE); in DC_UnlockDc()
H A Ddcobjs.c564 hlfntOld = pdc->dclevel.plfnt->BaseObject.hHmgr; in DC_hSelectFont()
574 LFONT_ShareUnlockFont(pdc->dclevel.plfnt); in DC_hSelectFont()
577 pdc->dclevel.plfnt = plfntNew; in DC_hSelectFont()
H A Ddclife.c339 pdc->dclevel.plfnt = LFONT_ShareLockFont(pdc->dcattr.hlfntNew); in DC_vInitDc()
380 if (pdc->dclevel.plfnt) in DC_vCleanup()
381 LFONT_ShareUnlockFont(pdc->dclevel.plfnt); in DC_vCleanup()