IFilterRegistration Interface

The IFilterRegistration interface defines the methods and properties of, and is implemented by, the FilterRegistration object.

The FilterRegistration object provides methods for registering and un-registering an IFilter for use with SharePoint Portal Server.

Extends

IUnknown interface

Methods

The following table shows methods of the FilterRegistration interface, and a brief description of each.

Name Description
CopyFilterMapping Not supported.
EnumerateFilterMappings Enumerates mappings for the specified IFilter.
GetDefaultFilter Gets the default IFilter for the specified data source or content type.
LoadIFilterEx Gets the IFilter that is the most suitable for the specified content type. This method is superceded by the LoadIFilter method of the LoadFilter object.
LoadIFilterFromStorageEx Gets the IFilter that is the most suitable for the content contained in an IStorage object. This method is superceded by LoadIFilterFromStorage method of the LoadFilter object
LoadIFilterFromStreamEx Gets the IFilter that is the most suitable for a Class ID retrieved from a stream variable. This method is superceded by LoadIFilterFromStream method of the LoadFilter object.
RegisterDefaultFilter Creates the necessary registry entries to set an IFilter as the default handler for a specified data source or content type.
RegisterFilter Creates the necessary registry entries to set an IFilter as a handler for one or more data sources or content types. This method is superceded by RegisterFilterEx method of the FilterRegistration2 object.
ReorderFilterMappings Not supported.
UnregisterDefaultFilter Removes the registry entries that set the specified IFilter as the default handler for a specified data source or content type.
UnregisterFilter Removes the registry entries that set the specified IFilter as a handler for one or more data sources or content types.
Requirements
  • Type Library
    None
  • Inproc Server
    %Program Files%\Common Files\Microsoft Shared\MSSearch\Bin\tquery.dll
Remarks

Use these methods in the DLLRegisterServer and DLLUnregisterServer functions of your custom IFilter.