EnumerateFilterMappings Method

The EnumerateFilterMappings method returns a single mapping of an IFilter to a data source.

Syntax
HRESULT EnumerateFilterMappings(
  FILTERED_DATA_SOURCE *pFilteredSource,
  BOOLfStart,
  WCHAR const *pwcsMachineName,
  CLSID *pMappedFilter);
Parameters
  • pFilteredSource
    [in] A pointer to a FILTERED_DATA_SOURCE that contains the IFilter for which the method retrieves information.
  • fStart
    [in] Not used. Value must be 1.
  • pwcsMachineName
    [in] Not used. Value should be 0.
  • pMappedFilter
    [in] A pointer to a CLSID that contains the Class ID of the IFilter. It returns null to indicate the end of the list, and when no IFilters are mapped to the data source.
Return Value

For a list of errors returned by SharePoint Portal Server IFilter registration objects, see Error Messages.

Remarks

Call this method to iterate over the IFilters mapped to the specified data source.