RegisterDefaultFilterExtList Method

The RegisterDefaultFilterExtList method of the IFilterRegistration2 interface registers a list of file name extensions for which you want to use the default IFilter when no other IFilter registered for the file name extension successfully handles the document.

Parameters

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

pwszzExtList   [in] A pointer to a WCHAR buffer that contains one or more null-terminated file name extension-wide strings. The last extension is terminated with two null characters.

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

Exceptions

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

Remarks

This method stores the registry settings that specify the file name extensions that explicitly use the default IFilter if no other IFilter registered for that file type succeeds.

If the pwcsOverride string is not null, the method registers the file name extensions using that override string. The pwcsMachineName string indicates the name of the computer on which the settings are made.

Requirements

Platform: Microsoft Windows Server 2003