FILTER_INFO structure (strmif.h)

[The feature associated with this page, DirectShow, is a legacy feature. It has been superseded by MediaPlayer, IMFMediaEngine, and Audio/Video Capture in Media Foundation. Those features have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer, IMFMediaEngine and Audio/Video Capture in Media Foundation instead of DirectShow, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

The FILTER_INFO structure contains information about a filter.

Syntax

typedef struct _FilterInfo {
  WCHAR        achName[128];
  IFilterGraph *pGraph;
} FILTER_INFO;

Members

achName[128]

Null-terminated string containing the name of the filter.

pGraph

If the filter is member of a filter graph, contains a pointer to the filter graph's IFilterGraph interface. If the filter is not a member of a filter graph, this value of this member is NULL.

Remarks

If the pGraph member is not NULL, the application should release the IFilterGraph interface when it is finished using it.

Requirements

Requirement Value
Header strmif.h (include Dshow.h)

See also

DirectShow Structures