IMediaControl::AddSourceFilter

 
Microsoft DirectShow 9.0

IMediaControl::AddSourceFilter

The AddSourceFilter method adds a source filter to the filter graph.

This method is intended for use by Visual Basic 6.0 applications. It is documented for Visual Basic 6.0 as the FilgraphManager.AddSourceFilter method. C++ applications should use the IGraphBuilder::AddSourceFilter method instead.

Syntax

  HRESULT AddSourceFilter(
  BSTR strFilename,
  IDispatch **ppUnk
);

Requirements

Header: Declared in Control.h; include Dshow.h.

Library: Use Strmiids.lib.

See Also