CBaseFilter::GetFilterGraph

 
Microsoft DirectShow 9.0

CBaseFilter::GetFilterGraph

The GetFilterGraph method retrieves a pointer to the filter graph manager.

Syntax

  IFilterGraph *GetFilterGraph(void);

Return Value

Returns the value of CBaseFilter::m_pGraph.

This function does not call AddRef on the IFilterGraph pointer. If you copy the returned pointer, call AddRef to increment the reference count.

Requirements

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

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

See Also