AM_GRAPH_CONFIG_RECONNECT_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.]

Specifies how to reconnect filters when dynamically rebuilding the filter graph.

Syntax

typedef enum _AM_GRAPH_CONFIG_RECONNECT_FLAGS {
  AM_GRAPH_CONFIG_RECONNECT_DIRECTCONNECT = 0x1,
  AM_GRAPH_CONFIG_RECONNECT_CACHE_REMOVED_FILTERS = 0x2,
  AM_GRAPH_CONFIG_RECONNECT_USE_ONLY_CACHED_FILTERS = 0x4
} AM_GRAPH_CONFIG_RECONNECT_FLAGS;

Constants

 
AM_GRAPH_CONFIG_RECONNECT_DIRECTCONNECT
Value: 0x1
Do not insert additional filters into the graph while reconnecting, aside from any filter explicitly requested.
AM_GRAPH_CONFIG_RECONNECT_CACHE_REMOVED_FILTERS
Value: 0x2
Place filters removed from the graph into the filter cache.
AM_GRAPH_CONFIG_RECONNECT_USE_ONLY_CACHED_FILTERS
Value: 0x4
When inserting additional filters into the graph, use only filters currently in the filter cache.

Requirements

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

See also

DirectShow Enumerated Types

IGraphConfig::Reconnect

IPinFlowControl::Block