AM_STREAM_INFO_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_STREAM_INFO_FLAGS enumeration defines flags that indicate a pin's stream-control status.

Syntax

typedef enum AM_STREAM_INFO_FLAGS {
  AM_STREAM_INFO_START_DEFINED = 0x1,
  AM_STREAM_INFO_STOP_DEFINED = 0x2,
  AM_STREAM_INFO_DISCARDING = 0x4,
  AM_STREAM_INFO_STOP_SEND_EXTRA = 0x10
} ;

Constants

 
AM_STREAM_INFO_START_DEFINED
Value: 0x1
Indicates that the pin's start time is set.
AM_STREAM_INFO_STOP_DEFINED
Value: 0x2
Indicates that the pin's stop time is been set.
AM_STREAM_INFO_DISCARDING
Value: 0x4
Indicates that the pin is currently discarding data.
AM_STREAM_INFO_STOP_SEND_EXTRA
Value: 0x10
Indicates that the pin will send one extra sample after it reaches the stop time.

Requirements

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

See also

AM_STREAM_INFO

IAMStreamControl::GetInfo