Share via


IProviderCustomFilteredSyncServices::CreateCombinedFilterInfo

Creates an ICombinedFilterInfo object that contains two ISyncFilter objects, and information about how to combine the two specified filters.

Syntax

HRESULT CreateCombinedFilterInfo(
  ISyncFilterInfo2        *  pFilterInfo1,
  ISyncFilterInfo2        *  pFilterInfo2,
  FILTER_COMBINATION_TYPE    filterCombinationType,
  ICombinedFilterInfo     ** ppCombinedFilterInfo);

Parameters

  • pFilterInfo1
    [in] Information about one of the filters to combine.

  • pFilterInfo2
    [in] Information about the other filter to combine.

  • filterCombinationType
    [in] Indicates the way to combine pFilterInfo1 and pFilterInfo2.

  • ppCombinedFilterInfo
    [out] Returns an object that contains information about the two filters to combine, and the way to combine them.

Return Value

  • S_OK.

  • E_INVALIDARG when filterCombinationType is any value other than FCT_INTERSECTION.

  • E_OUTOFMEMORY.

  • E_POINTER.

  • SYNC_E_INVALID_OPERATION when this object has not been initialized by calling IProviderSyncServices::Initialize.

See Also

Reference

IProviderCustomFilteredSyncServices Interface