IWMWriterFileSink3 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 IWMWriterFileSink3 interface provides additional functionality to the file sink object. To obtain a pointer to this interface, call QueryInterface on the file sink object.
Inheritance
The IWMWriterFileSink3 interface inherits from IWMWriterFileSink2. IWMWriterFileSink3 also has these types of members:
Methods
The IWMWriterFileSink3 interface has these methods.
IWMWriterFileSink3::CompleteOperations The CompleteOperations method stops the writer sink after completing all operations in progress. This method is used with unbuffered I/O. |
IWMWriterFileSink3::GetAutoIndexing The GetAutoIndexing method retrieves the current state of automatic indexing for the file. |
IWMWriterFileSink3::GetMode The GetMode method retrieves the supported file sink mode. More than one mode can be supported. |
IWMWriterFileSink3::GetUnbufferedIO The GetUnbufferedIO method ascertains whether unbuffered I/O is used for the file sink. |
IWMWriterFileSink3::OnDataUnitEx The OnDataUnitEx method is called when the writer has finished sending a data unit. |
IWMWriterFileSink3::SetAutoIndexing The SetAutoIndexing method enables or disables automatic indexing of the file. |
IWMWriterFileSink3::SetControlStream The SetControlStream method enables you to specify that a stream should be used as a control stream. You can also use this method to indicate that a previously specified control stream should no longer be used as a control stream. |
IWMWriterFileSink3::SetUnbufferedIO The SetUnbufferedIO method specifies whether unbuffered I/O is used for the file sink. You can improve performance by using unbuffered I/O for writer sessions with a high bit rate and a long running time. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | wmsdkidl.h |