Share via


ISyncChangeUnit::GetChangeUnitVersion

Gets the version for the change unit change.

Syntax

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

Parameters

  • pbCurrentReplicaId
    [in] The ID of the replica that originated the change to retrieve.

  • pVersion
    [out] Returns the version of the change.

Return Value

  • S_OK

  • E_POINTER

  • E_INVALIDARG when pbCurrentReplicaId is not the correct replica ID.

See Also

Reference

ISyncChangeUnit Interface

SYNC_VERSION Structure