CBaseVideoRenderer::JoinFilterGraph (Compact 2013)

3/26/2014

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] Name of the filter being added.

Return Value

None.

Remarks

This member function overrides the CBaseFilter::JoinFilterGraph member function.

If this function determines that the filter is being notified that it is leaving the filter graph (pGraph is null, but m_pGraph is not), it sends an EC_WINDOW_DESTROYED event notification so the resource manager does not hold on to the renderer as a focus object.

Requirements

Header

dshow.h,
Streams.h

Library

ole32.lib,
Ole32auth.lib,
Strmbase.lib,
Strmiids.lib,
uuid.lib

See Also

Reference

CBaseVideoRenderer Class