|Microsoft DirectX 9.0|
The SetFilterGraph method specifies a filter graph for the render engine to use.
object.SetFilterGraph( pFG As IGraphBuilder )
The FilgraphManager object that specifies the filter graph.
If the method fails, an error is raised, and Err.Number can be set to one of the following values:
|E_MUST_INIT_RENDERER||Render engine failed to initialize.|
Most applications do not need to call this method. It is more typical to let the render engine build the graph for you, by calling the ConnectFrontEnd method.
This method fails if the render engine already has a filter graph.
Never retrieve a filter graph created by one render engine and then use it as the parameter to this method on another render engine. Doing so will cause unpredictable results.