Share via


IFeedItemMetadataFilter::ShouldAddItemMetadata

Indicates whether an item change should be included in the change batch.

HRESULT ShouldAddItemMetadata(
  const BYTE * pbOwnerReplicaId, 
  const BYTE * pbItemId, 
  const SYNC_VERSION * pChangeVersion,
  const SYNC_VERSION * pCreationVersion, 
  DWORD dwFlags);

Parameters

  • pbOwnerReplicaId
    [in] The ID of the replica that originated the change.
  • pbItemId
    [in] The ID of the item that changed.
  • pChangeVersion
    [in] The version of the change.
  • pCreationVersion
    [in] The creation version of the item.
  • dwFlags
    [in] Additional information about the change. This value is a combination of SYNC_CHANGE_FLAG flags.

Return Value

  • S_OK if the item change should be added to the change batch.

  • S_FALSE if the item change should not be added to the change batch.

See Also

Reference

IFeedItemMetadataFilter Interface
SYNC_VERSION Structure