Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

ISyncChange::GetChangeVersion method

Gets the version that is associated with this change.

Syntax


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

Parameters

pbCurrentReplicaId [in]

The ID of the replica that owns this change. The ID format must match the format that is specified by the ID_PARAMETERS property of the provider.

pVersion [out]

Returns the change version of the item.

Return value

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

Return codeDescription
S_OK

The method succeeded.

E_POINTER

Invalid pointer.

E_INVALIDARG

pbCurrentReplicaId is not the correct replica ID.

SYNC_E_ITEM_HAS_NO_VERSION_DATA

The item has been forgotten.

SYNC_E_ID_FORMAT_MISMATCH

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

SYNC_E_ITEM_HAS_CHANGE_UNITS

The item has change units.

 

Requirements

Minimum supported client

Windows 7 [desktop apps only]

Minimum supported server

Windows Server 2008 R2 [desktop apps only]

Header

Winsync.h

See also

ISyncChange Interface
SYNC VERSION Structure

 

 

Community Additions

ADD
Show:
© 2015 Microsoft