Microsoft DirectX 8.1 (C++)

Advanced Capture Topics

This article describes some advanced aspects of using Microsoft� DirectShow� in a capture application, although most capture applications do not require the information given here. Before reading this article, read How to Write a Capture Application.

Most capture applications can use the ICaptureGraphBuilder2 interface to build a capture graph. This interface correctly handles the majority of capture scenarios. However, if your application requires an unusually complicated graph, you might need to build the graph by hand, one filter at a time. If so, you must understand the details that ICaptureGraphBuilder2 would otherwise handle for you. Even if you construct your graph by hand, you might find some of the ICaptureGraphBuilder2 methods helpful, such as FindInterface and FindPin.

This article contains the following sections: