Delen via


IEnumFeedItemMetadata::Next

Gets the next items in the enumeration.

HRESULT Next(
  ULONG cItems,
  IFeedItemMetadata ** ppItemMetadata,
  ULONG *pcFetched);

Parameters

  • cItems
    [in] The number of items to retrieve.
  • ppItemMetadata
    [out, size_is(cItems), length_is(*pcFetched)] Returns the next pcFetched items.
  • pcFetched
    [in, out, unique] Returns the number of items retrieved.

Return Value

  • S_OK

  • S_FALSE when the end of the enumerator is reached before cItems items are retrieved.

  • E_INVALIDARG

Remarks

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

See Also

Reference

IEnumFeedItemMetadata Interface