Share via


WMT_FILESINK_MODE enumeration (wmsdkidl.h)

[The feature associated with this page, Windows Media Format 11 SDK, is a legacy feature. It has been superseded by Source Reader and Sink Writer. Source Reader and Sink Writer have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use Source Reader and Sink Writer instead of Windows Media Format 11 SDK, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

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 = 0x1,
  WMT_FM_FILESINK_DATA_UNITS = 0x2,
  WMT_FM_FILESINK_UNBUFFERED = 0x4
} WMT_FILESINK_MODE;

Constants

 
WMT_FM_SINGLE_BUFFERS
Value: 0x1
The file sink accepts normal buffers through calls to IWMWriterSink::OnDataUnit. This is the default behavior.
WMT_FM_FILESINK_DATA_UNITS
Value: 0x2
The file sink accepts data as WMT_FILESINK_DATA_UNIT structures delivered by IWMWriterFileSink3::OnDataUnitEx.
WMT_FM_FILESINK_UNBUFFERED
Value: 0x4
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