Microsoft DirectX 9.0

CBaseVideoRenderer::JoinFilterGraph

The JoinFilterGraph method sends EC_WINDOW_DESTROYED event notification when a filter is removed from the filter graph.

Syntax

HRESULT JoinFilterGraph(
    IBaseFilterGraph *pGraph,
    LPCWSTR pName
);

Parameters

pGraph

Pointer to the filter graph to join.

pName

[in, string] Pointer to the name of the filter being added.

Return Value

No return value.

Remarks

This member function overrides the CBaseFilter::JoinFilterGraph member function. If the filter is leaving the filter graph (pGraph is null), it sends an EC_WINDOW_DESTROYED event notification so that the resource manager does not hold on to the renderer as a focus object.

See Also