MF_SOURCE_READER_CONTROL_FLAG enumeration (mfreadwrite.h)

Contains flags for the IMFSourceReader::ReadSample method.

Syntax

typedef enum MF_SOURCE_READER_CONTROL_FLAG {
  MF_SOURCE_READER_CONTROLF_DRAIN = 0x1
} ;

Constants

 
MF_SOURCE_READER_CONTROLF_DRAIN
Value: 0x1
Retrieve any pending samples, but do not request any more samples from the media source. To get all of the pending samples, call ReadSample with this flag until the method returns a NULL media sample pointer.

Requirements

Requirement Value
Minimum supported client Windows 7 [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 R2 [desktop apps | UWP apps]
Header mfreadwrite.h

See also

Media Foundation Enumerations

Source Reader