Home | Info | Community | Development | myReactOS | Contact Us
Definition at line 102 of file enumx.c.
Referenced by IEnumSTATPROPSETSTG_fnNext(), and IEnumSTATPROPSTG_fnNext().
{ unsigned char *p; ULONG count = 0; TRACE("%p %u %p\n", This, celt, pceltFetched); if (This->current == NULL) This->current = list_head(&This->elements); p = rgelt; while (count < celt && This->current && This->current != &This->elements) { memcpy(p, &This->current[1], This->elem_size); p += This->elem_size; This->current = This->current->next; count++; } if (pceltFetched) *pceltFetched = count; if (count < celt) return S_FALSE; return S_OK; }