ISyncChangeUnit::GetChangeUnitVersion method (winsync.h)

Gets the version for the change unit change.

Syntax

HRESULT GetChangeUnitVersion(
  [in]  const BYTE   *pbCurrentReplicaId,
  [out] SYNC_VERSION *pVersion
);

Parameters

[in] pbCurrentReplicaId

The ID of the replica that originated the change to retrieve.

[out] pVersion

Returns the version of the change.

Return value

The possible return codes include, but are not limited to, the values shown in the following table.

Return code Description
S_OK
The method succeeded.
E_POINTER
Invalid pointer.
E_INVALIDARG
pbCurrentReplicaId is not the correct replica ID.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps only]
Minimum supported server Windows Server 2008 R2 [desktop apps only]
Target Platform Windows
Header winsync.h

See also

ISyncChangeUnit Interface

SYNC_VERSION Structure