Microsoft DirectX 8.1 (C++)

IDvdGraphBuilder::GetFiltergraph

The GetFiltergraph method retrieves the IGraphBuilder interface for the filter graph used by the DVD-Video graph builder object.

Syntax

HRESULT GetFiltergraph(
  IGraphBuilder **ppGB
);

Parameters

ppGB

[out] Address of a pointer to the IGraphBuilder interface that the DVD-Video graph builder object is using.

Return Values

Returns an HRESULT value that depends on the implementation of the interface. The current DirectShow implementation returns E_INVALIDARG if ppGB is invalid.

Remarks

Remember to release the IGraphBuilder interface when you're done by using the following code:

*ppGB->Release();

See Also