Home
last modified time | relevance | path

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

/reactos/win32ss/gdi/ntgdi/
H A Dgdiobj.c480 ULONG ulIndex, cNewRefs, cOldRefs; in ENTRY_ReferenceEntryByHandle() local
490 cOldRefs = gpaulRefCount[ulIndex]; in ENTRY_ReferenceEntryByHandle()
495 if ((cOldRefs & REF_MASK_VALID) == 0) in ENTRY_ReferenceEntryByHandle()
497 DPRINT("GDIOBJ: Slot is not valid: 0x%lx, hobh=%p\n", cOldRefs, hobj); in ENTRY_ReferenceEntryByHandle()
520 cNewRefs = cOldRefs + 1; in ENTRY_ReferenceEntryByHandle()
521 cOldRefs = InterlockedCompareExchange((PLONG)&gpaulRefCount[ulIndex], in ENTRY_ReferenceEntryByHandle()
523 cOldRefs); in ENTRY_ReferenceEntryByHandle()
525 while (cNewRefs != cOldRefs + 1); in ENTRY_ReferenceEntryByHandle()