Bagikan melalui


IWMWriterFileSink interface (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 IWMWriterFileSink interface is used to open a file to which the writer can write data. The file sink object exposes this interface. To create the file sink object, call the WMCreateWriterFileSink function.

Inheritance

The IWMWriterFileSink interface inherits from IWMWriterSink. IWMWriterFileSink also has these types of members:

Methods

The IWMWriterFileSink interface has these methods.

 
IWMWriterFileSink::Open

The Open method opens a file that acts as the writer sink.

Requirements

Requirement Value
Target Platform Windows
Header wmsdkidl.h

See also

IWMWriterFileSink2 Interface

IWMWriterFileSink3 Interface

IWMWriterSink Interface

Interfaces

Using File Sinks

Writer Object