WMT_FILESINK_MODE Enumeration

The WMT_FILESINK_MODE enumeration type defines the types of input accepted by the file sink.

Syntax

typedef enum tagWMT_FILESINK_MODE {
  WMT_FM_SINGLE_BUFFERS,
  WMT_FM_FILESINK_DATA_UNITS,
  WMT_FM_FILESINK_UNBUFFERED
} WMT_FILESINK_MODE;

Constants

WMT_FM_SINGLE_BUFFERS The file sink accepts normal buffers through calls to IWMWriterSink::OnDataUnit. This is the default behavior.
WMT_FM_FILESINK_DATA_UNITS The file sink accepts data as WMT_FILESINK_DATA_UNIT structures delivered by IWMWriterFileSink3::OnDataUnitEx.
WMT_FM_FILESINK_UNBUFFERED The file sink accepts unbuffered data. A call to IWMWriterFileSink3::SetUnbufferedIO will succeed.

Requirements

   
Minimum supported client Windows 2000 Professional [desktop apps only],Windows Media Format 7 SDK, or later versions of the SDK
Minimum supported server Windows 2000 Server [desktop apps only]
Header wmsdkidl.h (include Wmsdk.h)

See Also

Enumeration Types