ICaptureGraphBuilder2 Interface (Compact 2013)
3/26/2014
This interface provides methods for building capture graphs, and other custom filter graphs. The Capture Graph Builder object implements this interface.
The Capture Graph Builder is a helper object for building video and audio capture graphs. Capture and editing applications can use this component to construct filter graphs. The following code shows how to create this object using CoCreateInstance.
CoCreateInstance( CLSID_CaptureGraphBuilder,
NULL,
CLSCTX_INPROC_SERVER,
IID_ICaptureGraphBuilder2,
(void**) &pCaptureGraphBuilder)
In addition to the methods inherited from IUnknown, the ICaptureGraphBuilder2 interface exposes the methods shown in the following table.
Method |
Description |
---|---|
Sets the start and stop times for one or more streams of captured data. |
|
Searches the graph for a specified interface, starting from a specified filter. |
|
Retrieves a particular pin on a filter, or determines whether a given pin matches the specified criteria. |
|
Retrieves the filter graph that the builder is using. |
|
Connects an output pin on a source filter to a rendering filter, optionally through a compression filter. |
|
Specifies a filter graph for the capture graph builder to use. |
|
Creates the file writing section of the filter graph. |
Requirements
Header |
dshow.h |
Library |
Strmiids.lib |