Microsoft DirectX 8.1 (C++)

Introduction to the Filter Base Classes

This article describes the Microsoft DirectShow base class library. This library is intended for filter developers, but application writers might find some of the helper classes and debugging utilities useful. The base class library is not required for DirectShow programming, however.

The following sections summarize the most important base classes in the library.

COM Object Classes

The following classes support the creation of COM objects:

Filter and Pin Classes

The following classes support the creation of DirectShow filter and pin objects:

The following classes are useful for creating more specialized types of filters:

To use these classes, you must derive your own class and write code to support the functionality that is specific to your filter. The more specialized the base class, the less code you will need to write in your derived class.

Helper Objects

The following classes implement helper objects that are used by filters and pins. For the most part, you can use these classes without deriving new classes from them: