GetDefaultFilter Method

The GetDefaultFilter method of the IFilterRegistration interface retrieves a pointer to the IFilter interface for the default IFilter.

Parameters

pwcsOverride [in] A pointer to a WCHAR that contains the override string, such as the application name.

pwcsMachineName [in] Not used. Value should be 0.

pFilter [out] A pointer to a CLSID that receives the CLSID of the default IFilter.

Exceptions

For a list of errors returned by Microsoft SharePoint Portal Server Search IFilter administration interfaces, see IFilter Administration Error Messages.

Remarks

The GetDefaultFilter method is used to iterate over the IFilters mapped to the specified data source.

Requirements

Platform: Microsoft Windows Server 2003