_AM_INTF_SEARCH_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 the types of object to search, when attempting to find an interface on the filter graph.

Syntax

typedef enum _AM_INTF_SEARCH_FLAGS {
  AM_INTF_SEARCH_INPUT_PIN = 0x1,
  AM_INTF_SEARCH_OUTPUT_PIN = 0x2,
  AM_INTF_SEARCH_FILTER = 0x4
} ;

Constants

 
AM_INTF_SEARCH_INPUT_PIN
Value: 0x1
Search input pins.
AM_INTF_SEARCH_OUTPUT_PIN
Value: 0x2
Search output pins.
AM_INTF_SEARCH_FILTER
Value: 0x4
Search filters.

Remarks

If no flags are set (the default case), it is equivalent to the bitwise OR of all the flags. All filters and pins are searched.

Requirements

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

See also

DirectShow Enumerated Types

IAMGraphStreams::FindUpstreamInterface