|Microsoft DirectX 9.0|
The GetFiltergraph method retrieves the filter graph that the capture graph builder is using.
HRESULT GetFiltergraph( IGraphBuilder **ppfg );
[out] Address of a variable that receives an IGraphBuilder interface pointer.
Returns one of the following HRESULT values.
|E_POINTER||NULL pointer argument.|
|E_UNEXPECTED||No filter graph.|
Initially, the capture graph builder does not hold a pointer to a filter graph. This method returns E_UNEXPECTED until one of the following methods has been called:
This method increments the reference count on the IGraphBuilder interface. Be sure to release the interface when you are done with it.