_AM_FILTER_MISC_FLAGS enumeration (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 _AM_FILTER_MISC_FLAGS enumeration contains flags that indicate whether a filter is a source filter or a renderer filter.

Syntax

typedef enum _AM_FILTER_MISC_FLAGS {
  AM_FILTER_MISC_FLAGS_IS_RENDERER = 0x1,
  AM_FILTER_MISC_FLAGS_IS_SOURCE = 0x2
} ;

Constants

 
AM_FILTER_MISC_FLAGS_IS_RENDERER
Value: 0x1
The filter is a renderer and sends an EC_COMPLETE event at the end of the stream.
AM_FILTER_MISC_FLAGS_IS_SOURCE
Value: 0x2
The filter is a source filter.

Requirements

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

See also

DirectShow Enumerated Types

IAMFilterMiscFlags::GetMiscFlags