Share via


ILoggedConflict::GetChangeVersion

Gets the version that is associated with this change.

HRESULT GetChangeVersion(
  const BYTE * pbCurrentReplicaId, 
  SYNC_VERSION * pVersion);

Parameters

  • pbCurrentReplicaId
    [in] The ID of the replica that originated this change.
  • pVersion
    [in, out] Returns the change version of the item.

Return Value

  • S_OK.

  • E_INVALIDARG when pbCurrentReplicaId is not the correct replica ID.

  • E_POINTER.

  • SYNC_E_ID_FORMAT_MISMATCH when pbCurrentReplicaId is not in the format that is specified by the ID format schema of the provider.

  • SYNC_E_ITEM_HAS_CHANGE_UNITS when the item has change units.

Remarks

When pbCurrentReplicaId is NULL, the replica ID that is contained in this object is used.

See Also

Reference

ILoggedConflict Interface