Microsoft DirectX 9.0

IAMMultiMediaStream::GetFilterGraph

The GetFilterGraph method retrieves the Filter Graph Manager that is managed by the multimedia stream object.

Syntax

HRESULT GetFilterGraph(
  IGraphBuilder **ppGraphBuilder
);

Parameters

ppGraphBuilder

[out] Address of a variable that receives an IGraphBuilder interface pointer. If there is no filter graph associated with the multimedia stream object, the returned pointer is NULL.

Return Values

Returns an HRESULT value. Possible values include the following.

Value Description
E_POINTER NULL pointer argument.
S_OK Success.

Remarks

If the method succeeds and *ppGraphBuilder is non-NULL, the caller must release the IGraphBuilder pointer.

See Also