IDvdGraphBuilder::GetFiltergraph

 
Microsoft DirectShow 9.0

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

The returned IGraphBuilder interface pointer has an outstanding reference count. The caller must release the interface.

Requirements

Header: Declared in Strmif.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also