Microsoft DirectX 8.1 (C++)

IRenderEngine::GetFilterGraph

The GetFilterGraph method retrieves the filter graph that the render engine has constructed, if any.

Syntax

HRESULT GetFilterGraph(
    IGraphBuilder **ppFG
);

Parameters

ppFG

[out] Address of a pointer to receive the filter graph's IGraphBuilder interface. It receives the value NULL if there is no filter graph.

Return Value

Returns one of the following HRESULT values:

Value Description
S_OK Success.
E_MUST_INIT_RENDERER Render engine failed to initialize.
E_POINTER Invalid pointer.

Remarks

On return, if the value of *ppFG is non-NULL, the IGraphBuilder interface has an outstanding reference count. Be sure to release the interface when you are finished using it.

See Also