ICreateDevEnum interface (strmif.h)

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 application 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.

Inheritance

The ICreateDevEnum interface inherits from the IUnknown interface. ICreateDevEnum also has these types of members:

Methods

The ICreateDevEnum interface has these methods.

 
ICreateDevEnum::CreateClassEnumerator

The CreateClassEnumerator method creates an enumerator for a specified device category.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only]
Minimum supported server Windows 2000 Server [desktop apps only]
Target Platform Windows
Header strmif.h (include Dshow.h)

See also

Interfaces

Using the System Device Enumerator