Share via


IEnumFeedItemHistory::Next

Gets the next items in the enumeration.

HRESULT Next(
  ULONG cItems,
  IFeedItemHistory ** ppItemHistory,
  ULONG *pcFetched);

Parameters

  • cItems
    [in] The number of history entries to get from the enumerator.
  • ppItemHistory
    [out, size_is(cItems), length_is(*pcFetched)] Returns the next pcFetched history entries.
  • pcFetched
    [in, out, unique] Returns the number of history entries retrieved.

Return Value

  • S_OK

  • S_FALSE when the end of the collection is reached before cItems history entries are returned.

  • E_INVALIDARG

Remarks

If there are fewer than cItems left in the collection, the remaining elements are returned. The number of elements actually retrieved is returned through pcFetched unless pcFetched is NULL.

See Also

Reference

IEnumFeedItemHistory Interface