Share via


IDestinationChangeVersionsBuilder2::AddMergeTombstoneMetadata

Adds the specified merge tombstone to the list of destination items that is sent to a change applier.

HRESULT AddMergeTombstoneMetadata(
  const BYTE * pbOwnerReplicaId, 
  const BYTE * pbWinnerItemId,
  const BYTE * pbItemId, 
  const SYNC_VERSION * pChangeVersion,
  const SYNC_VERSION * pCreationVersion, 
  ISyncChangeBuilder ** ppChangeBuilder);

Parameters

  • pbOwnerReplicaId
    [in] The replica ID of the replica where pChangeVersion and pCreationVersion are valid.
  • pbWinnerItemId
    [in] The ID of the item after the merge occurred. This is also called the winning ID.
  • pbItemId
    [in] The ID of the item before the merge occurred. This is also called the losing ID.
  • pChangeVersion
    [in] The version of this change.
  • pCreationVersion
    [in] The creation version of the item identified by pbItemId.
  • ppChangeBuilder
    [out] Returns an object that can be used to add change unit information to the merge tombstone.

Return Value

  • S_OK.

  • E_INVALIDARG when one of the parameters is an invalid value.

  • E_POINTER.

See Also

Reference

IDestinationChangeVersionsBuilder2 Interface