Share via


ILoggedConflict::GetCreationVersion

Gets the creation version of the source item.

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

Parameters

  • pbCurrentReplicaId
    [in] The ID of the replica that originated the change that caused this conflict.
  • pVersion
    [out] Returns the creation 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.

Remarks

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

See Also

Reference

ILoggedConflict Interface