SYNC_VERSION structure (winsync.h)

Represents a version for an item or a change unit.

Syntax

typedef struct _SYNC_VERSION {
  DWORD     dwLastUpdatingReplicaKey;
  ULONGLONG ullTickCount;
} SYNC_VERSION;

Members

dwLastUpdatingReplicaKey

The replica key that is associated with the version.

ullTickCount

The tick count that is associated with the version.

Remarks

A change that is made directly to a replica, such as a change that is made by a local application, will not have a version for the change in the synchronization metadata. A version that is created for such a change must contain the following elements:

  • The replica key of the local replica. This will typically be zero.
  • The current value of the tick count of the local replica.

Requirements

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

See also

IEnumClockVector::Next Method

IForgottenKnowledge::ForgetToVersion Method

ISyncChange::GetChangeVersion Method

ISyncChange::GetCreationVersion Method

ISyncChangeBatchBase::AddItemMetadataToGroup Method

ISyncChangeBuilder::AddChangeUnitMetadata Method

ISyncChangeUnit::GetChangeUnitVersion Method

ISyncKnowledge::ContainsChange Method

ISyncKnowledge::ContainsChangeUnit Method

ISyncKnowledge::ConvertVersion Method

Windows Sync Structures