Expand Minimize

MF_SOURCE_READER_CONTROL_FLAG enumeration

Contains flags for the IMFSourceReader::ReadSample method.

Syntax


typedef enum MF_SOURCE_READER_CONTROL_FLAG { 
  MF_SOURCE_READER_CONTROLF_DRAIN  = 0x00000001
} MF_SOURCE_READER_CONTROL_FLAG;

Constants

MF_SOURCE_READER_CONTROLF_DRAIN

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

Minimum supported client

Windows 7 [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | Windows Store apps]

Header

Mfreadwrite.h

See also

Media Foundation Enumerations
Source Reader

 

 

Community Additions

ADD
Show:
© 2014 Microsoft