Microsoft DirectX 8.1 (C++)

IFilterMapper2 Interface

Registers and unregisters filters, and locates filters in the registry. The Filter Mapper helper object implements this interface.

Filters use this interface to register and unregister themselves. When the filter graph manager builds a filter graph, it uses this interface to look up filters and determine their characteristics. Applications can also use this interface to look up filters. For more information, see Using the Filter Mapper and How to Register DirectShow Filters.

Note   This interface replaces the IFilterMapper interface. IFilterMapper2 adds support for filter categories, pin mediums, and pin categories. In addition, it combines filter registration into one method call.

In addition to the methods inherited from IUnknown, the IFilterMapper2 interface exposes the following methods.

Method Description
CreateCategory Adds a new filter category to the registry.
UnregisterFilter Removes filter information from the registry.
RegisterFilter Adds filter information to the registry.
EnumMatchingFilters Enumerates registered filters that meet specified requirements.