Udostępnij za pośrednictwem


IFeedSyncServices::Initialize

Initializes an IFeedSyncServices object. This method must be called before any other IFeedSyncServices method.

HRESULT Initialize(
  const ID_PARAMETERS * pIdParameters,
  const BYTE * pbLocalReplicaId,
  IFeedIdConverter * pIdConverter);

Parameters

  • pIdParameters
    [in] The ID format schema of the provider.
  • pbLocalReplicaId
    [in] The ID of the replica that is associated with the feed.
  • pIdConverter
    [in, unique] An object that can convert IDs between the Sync Framework format and the FeedSync format.

Return Value

  • S_OK

  • E_INVALIDARG

  • E_OUTOFMEMORY

See Also

Reference

IFeedSyncServices Interface
ID_PARAMETERS Structure