CBaseVideoRenderer::JoinFilterGraph

 
Microsoft DirectShow 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.

Requirements

**  Header:** Declared in Renbase.h; include Streams.h.

**  Library:** Use Strmbase.lib (retail builds) or Strmbasd.lib (debug builds).

See Also