Condividi tramite


CComEnumImpl::Next

This method provides the implementation of the IEnumXXXX::Next method.

STDMETHOD(Next)(
   ULONG celt,
   T* rgelt,
   ULONG* pceltFetched 
);

Parameters

  • celt
    [in] The number of elements requested.

  • rgelt
    [out] The array to be filled with the elements.

  • pceltFetched
    [out] The number of elements actually returned in rgelt. This can be less than celt if fewer than celt elements remained in the list.

Return Value

A standard HRESULT value.

Requirements

Header: atlcom.h

See Also

Concepts

CComEnumImpl Class

CComEnumImpl Members