IFeedProducer::ProduceFeed

Produces a FeedSync feed by using data that is supplied by the specified synchronization provider.

HRESULT ProduceFeed(
ISyncProvider * pStoreProvider,
  IFeedIdConverter * pIdConverter,
  IFeedItemConverter * pItemConverter,
  IEndpointState * pIncrementalFeedBaseline,
  IStream * pFeedStream);

Parameters

Parameter Description

pStoreProvider

[in] The synchronization provider that represents the replica to produce as a FeedSync feed.

pIdConverter

[in] An object that can convert IDs between the Sync Framework format and the FeedSync format.

pItemConverter

[in] An object that can convert item data between the format of the replica and the FeedSync format.

pIncrementalFeedBaseline

[in, unique] An endpoint state to be used as a baseline for producing an incremental feed. Can be NULL, in which case a full feed will be produced.

pFeedStream

[in] The feed will be produced to this stream. This stream must initially contain an empty RSS or ATOM feed. Sync Services for FeedSync must have read and write access to the stream.

Return Value

See Also

Reference

IFeedProducer Interface