ICreateDevEnum Interface

 
Microsoft DirectShow 9.0

ICreateDevEnum Interface

The ICreateDevEnum interface creates an enumerator for a category of filters, such as video capture devices or audio capture devices. The System Device Enumerator exposes this interface.

Applications can use this interface to enumerate filters within a category. The CreateClassEnumerator method returns an enumerator object for a specific filter category. The enumerator object supports the IEnumMoniker interface and returns a list of monikers, where each moniker represents a filter.

In some cases, the same DirectShow filter manages an entire category of hardware devices. In that case, the moniker represents the device, and the moniker is used to initialize the filter. The applicationc can treat each device as a separate filter, regardless of the underlying implementation.

For more information on using this interface, see Using the System Device Enumerator. For more information on using enumerators, see the IEnumXXXX topic in the Platform SDK documentation.

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

Method Description
CreateClassEnumerator Creates a class enumerator for a specified device category.

Requirements

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

Library: Use Strmiids.lib.