Partager via


IFilterMapper2 Interface

 
Microsoft DirectShow 9.0

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.

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.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.