General Graph-Building Techniques

Every DirectShow application starts by building a filter graph. As you read the overview topics in the DirectShow documentation, you will find that most start by describing what kind of filter graph you need. In some cases, there is a method or a helper object specifically designed for building that type of graph. For example, the DVD Graph Builder object builds DVD playback graphs. In other cases, the application must construct the graph by adding filters and connecting them.

This section presents some helper functions that implement basic graph-building operations. They can be used by any DirectShow application that needs to build or modify a filter graph. This section contains the following topics:

Basic DirectShow Tasks

Enumerating Devices and Filters

Enumerating Objects in a Filter Graph

Intelligent Connect