Share via


IEnumOnSTLImpl::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 in with the elements.

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

Return Value

A standard HRESULT value.

Requirements

Header: atlcom.h

See Also

Reference

IEnumOnSTLImpl Class

Other Resources

IEnumOnSTLImpl Members