Enumerating Devices and Filters

Sometimes an application needs to locate a particular filter on the user's system. For example, a video capture application might display a list of available capture devices. Because DirectShow uses a component-based architecture, you cannot know at design time which filters are installed on the user's system. This is particularly true for filters that represent hardware devices. DirectShow provides two components that locate registered filters:

The enumerators discussed in this section follow the standard form used by COM enumeration interfaces. For more information, see the "IEnumXXXX" topic in the Microsoft Platform Software Development Kit (SDK).

This section contains the following topics:

Basic DirectShow Tasks