IWMWriterFileSink2 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 IWMWriterFileSink2 interface provides extended management of a file sink.
This interface can be obtained by calling the QueryInterface method of an IWMWriterFileSink interface.
Inheritance
The IWMWriterFileSink2 interface inherits from IWMWriterFileSink. IWMWriterFileSink2 also has these types of members:
Methods
The IWMWriterFileSink2 interface has these methods.
IWMWriterFileSink2::Close The Close method closes the sink. |
IWMWriterFileSink2::GetFileDuration The GetFileDuration method retrieves the duration of the portion of the file that has been written. |
IWMWriterFileSink2::GetFileSize The GetFileSize method retrieves the size of the file. |
IWMWriterFileSink2::IsClosed The IsClosed method ascertains whether the file sink has been closed. |
IWMWriterFileSink2::IsStopped The IsStopped method ascertains whether the file sink has stopped writing. |
IWMWriterFileSink2::Start The Start method starts recording at the specified time. |
IWMWriterFileSink2::Stop The Stop method stops recording at the specified time. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | wmsdkidl.h |