Share via


IProviderFilteredSyncServices::CreateFilterInfo

Creates an ISyncFilterInfo object that can be used by a source provider to communicate information about the filter that is used to control which changes are included in a change batch.

HRESULT CreateFilterInfo(
  DWORD dwFlags,
  ISyncFilterInfo ** ppFilterInfo);

Parameters

  • dwFlags
    [in] Flags that specify additional information about the filter information object to be created. The only valid value is SYNC_FILTER_INFO_FLAG_ITEM_LIST.
  • ppFilterInfo
    [out] Returns the newly created filter information object.

Return Value

  • S_OK

  • E_POINTER

  • E_INVALIDARG when dwFlags is not SYNC_FILTER_INFO_FLAG_ITEM_LIST.

Remarks

When SYNC_FILTER_INFO_FLAG_ITEM_LIST is specified for the dwFlags value, Sync Framework returns an object that implements ISyncFilterInfo. The implementation that is provided by this object serializes version information and the flags specified for dwFlags when its ISyncFilterInfo::Serialize method is called.

See Also

Reference

IProviderFilteredSyncServices Interface