ISyncKnowledge::ContainsChangeUnit

Indicates whether the specified change unit change is known by this knowledge.


HRESULT ContainsChangeUnit( 
  const BYTE *pbVersionOwnerReplicaId,
  const BYTE *pbItemId,
  const BYTE *pbChangeUnitId,
  const SYNC_VERSION *pSyncVersion);

pbVersionOwnerReplicaId

[in] The ID of the replica that originated the change unit change.

pbItemId

[in] The ID of the item that contains the change unit to look up.

pbChangeUnitId

[in] The ID of the change unit to look up.

pSyncVersion

[in] The version of the change unit change to look up.

  • S_OK if the specified change unit change is contained in the knowledge.

  • S_FALSE if the specified change unit change is not contained in the knowledge.

  • E_INVALIDARG

Show: