Interfaces for Building Filter Graphs
[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]
Applications use these interfaces to build various types of filter graphs.
Interface | Description |
---|---|
IAMFilterGraphCallback | Receive callback notifications if a pin cannot be rendered. |
IAMGraphBuilderCallback | Provides a callback mechanism during graph building. |
ICaptureGraphBuilder2 | Build filter graphs for video capture. |
ICreateDevEnum | Enumerate system devices, such as capture devices. |
IDvdGraphBuilder | Build filter graphs for DVD navigation and playback. |
IEnumFilters | Enumerate the filters in the graph. |
IFilterGraph2 | Add, remove, or connect filters. |
IFilterMapper2 | Enumerate the filters registered on the user's system. |
IGraphBuilder | Build filter graphs for file playback or for custom uses. |
IGraphConfig | Dynamically reconfigure a filter graph. |
IGraphVersion | Determine when the graph changes. |