MCPcopy Create free account
hub / github.com/Aleksoid1978/VideoRenderer / JoinFilterGraph

Method JoinFilterGraph

Source/renbase2.cpp:997–1011  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

995// the graph we can send an EC_WINDOW_DESTROYED event
996
997STDMETHODIMP
998CBaseVideoRenderer2::JoinFilterGraph(__inout_opt IFilterGraph *pGraph, __in_opt LPCWSTR pName)
999{
1000 // Since we send EC_ACTIVATE, we also need to ensure
1001 // we send EC_WINDOW_DESTROYED or the resource manager may be
1002 // holding us as a focus object
1003 if (!pGraph && m_pGraph) {
1004
1005 // We were in a graph and now we're not
1006 // Do this properly in case we are aggregated
1007 IBaseFilter* pFilter = this;
1008 NotifyEvent(EC_WINDOW_DESTROYED, (LPARAM) pFilter, 0);
1009 }
1010 return CBaseFilter::JoinFilterGraph(pGraph, pName);
1011}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected