IProviderSyncServices::CreateChangeBatch

Creates an ISyncChangeBatch object that a provider can use to manage change enumeration.

HRESULT CreateChangeBatch( 
  ISyncKnowledge * pDestinationKnowledge,
  IForgottenKnowledge *pSourceForgottenKnowledge,
  ISyncChangeBatch **ppChangeBatch);

Parameters

  • pDestinationKnowledge
    [in] The knowledge of the destination replica.
  • pSourceForgottenKnowledge
    [in] The forgotten knowledge of the source replica.
  • ppChangeBatch
    [out] Returns the newly created change batch object.

Return Value

  • S_OK

  • E_OUTOFMEMORY

  • E_POINTER

  • E_INVALIDARG

  • SYNC_E_INVALID_OPERATION when this object is not initialized.

See Also

Reference

IProviderSyncServices Interface