Share via


ISyncKnowledge::ContainsChangeUnit

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

Syntax

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

Parameters

  • 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.

Return Value

  • 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

See Also

Reference

ISyncKnowledge Interface

SYNC_VERSION Structure