Sdílet prostřednictvím


IAnchorSyncProvider::GetEnumerationAnchor

Called at the end of every change batch and manual knowledge commit on the destination provider to return an enumeration anchor that is used to determine the next set of changes to synchronize.

HRESULT GetEnumerationAnchor(
  BYTE *pAnchor,
  ULONG *pcbAnchor);

Parameters

  • pAnchor
    [in, out, unique, size_is(*pcbAnchor)] Returns an enumeration anchor that is used to determine the next set of changes to synchronize. Return null if the anchor has not changed.
  • pcbAnchor
    [in, out] Specifies the number of bytes in pAnchor. Returns the number of bytes required to retrieve the ID when pAnchor is too small, or returns the number of bytes written.

Return Value

  • S_OK

See Also

Reference

IAnchorSyncProvider Interface