IProviderSyncServices::CreateChangeApplier

Creates a change applier that can be used by a destination provider to process changes that are to be applied to its replica.

Syntax

HRESULT CreateChangeApplier(
  REFIID riid,
  void ** ppvChangeApplier);

Parameters

  • riid
    [in] The IID of the type of change applier to create. The following values are valid:

    • IID_ISynchronousNotifyingChangeApplier

    • IID_IasynchronousNotifyingChangeApplier

  • ppvChangeApplier
    [out, iid_is(riid)] Returns the newly created change applier object.

Return Value

  • S_OK

  • E_POINTER

  • E_INVALIDARG when riid is not IID_ISynchronousNotifyingChangeApplier or IID_IasynchronousNotifyingChangeApplier.

  • SYNC_E_INVALID_OPERATION when this object is not initialized.

See Also

Reference

IProviderSyncServices Interface