ISyncChange::GetChangeVersion method (winsync.h)
Gets the version that is associated with this change.
Syntax
HRESULT GetChangeVersion(
[in] const BYTE *pbCurrentReplicaId,
[out] SYNC_VERSION *pVersion
);
Parameters
[in] pbCurrentReplicaId
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.
[out] pVersion
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 code | Description |
---|---|
|
The method succeeded. |
|
Invalid pointer. |
|
pbCurrentReplicaId is not the correct replica ID. |
|
The item has been forgotten. |
|
pbCurrentReplicaId is not in the format that is specified by the ID format schema of the provider. |
|
The item has change units. |
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 |