IAnchorChangeDetectionCallback::ReportItemsAndAutodetectDeletes

Reports item changes, including deletes, when a full enumeration of a replica is required by an anchor-based provider.

HRESULT ReportItemsAndAutodetectDeletes(
  ULONG cItems,
  const ITEM_FIELDS *pItems,
  BYTE *pAnchor,
  ULONG cbAnchor);

Parameters

  • cItems
    [in] The number of items in pItemChanges.
  • pItems
    [in, unique] A collection of ITEM_FIELDS structures that contain item metadata.
  • pAnchor
    [in, unique, size_is(cbAnchor)] A byte array that represents an enumeration anchor, such as a timestamp. Changes that occurred since this anchor are enumerated.
  • cbAnchor
    [in] Specifies the number of bytes in pAnchor.

Return Value

  • S_OK

  • SYNC_E_PFX_INVALID_OPERATION when ReportChanges has already been called during the current session.

See Also

Reference

IAnchorChangeDetectionCallback Interface