|Microsoft DirectShow 9.0|
The SetFiltergraph method specifies a filter graph for the capture graph builder to use.
HRESULT SetFiltergraph( IGraphBuilder *pfg );
[in] Pointer to the filter graph's IGraphBuilder interface.
Returns an HRESULT value. Possible values include the following.
|E_POINTER||NULL pointer argument.|
If you do not call this method, the capture graph builder automatically creates a filter graph when it needs one. If the capture graph builder already has a filter graph, this method returns E_UNEXPECTED.
Header: Declared in Strmif.h; include Dshow.h.
Library: Use Strmiids.lib.