IWMWriterAdvanced 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 IWMWriterAdvanced interface provides advanced writing functionality.
This interface exists for every instance of the writer object. To obtain a pointer to this interface, call QueryInterface on the writer object.
Inheritance
The IWMWriterAdvanced interface inherits from the IUnknown interface. IWMWriterAdvanced also has these types of members:
Methods
The IWMWriterAdvanced interface has these methods.
IWMWriterAdvanced::AddSink The AddSink method adds a writer sink to receive writer output. The Windows Media Format SDK supports file sinks, which create ASF files on disk; network sinks, which stream ASF content across a network; and push sinks, which deliver ASF content to other media servers. To create a sink object, call one of the following functions:_ |
IWMWriterAdvanced::GetSink The GetSink method retrieves a writer sink object. Used in conjunction with IWMWriterAdvanced::GetSinkCount, this method can be used to enumerate the sinks associated with a writer object. |
IWMWriterAdvanced::GetSinkCount The GetSinkCount method retrieves the number of writer sinks associated with the writer object. |
IWMWriterAdvanced::GetStatistics The GetStatistics method retrieves statistics describing the current writing operation. |
IWMWriterAdvanced::GetSyncTolerance The GetSyncTolerance method retrieves the amount of time during which the inputs can fall out of synchronization before the samples are discarded. |
IWMWriterAdvanced::GetWriterTime The GetWriterTime method retrieves the clock time that the writer is working to. |
IWMWriterAdvanced::IsRealTime The IsRealTime method ascertains whether the writer is running in real time. |
IWMWriterAdvanced::RemoveSink The RemoveSink method removes a writer sink object. |
IWMWriterAdvanced::SetLiveSource The SetLiveSource method sets a flag indicating whether the source is live. |
IWMWriterAdvanced::SetSyncTolerance The SetSyncTolerance method sets the amount of time that the inputs can fall out of synchronization before the samples are discarded. |
IWMWriterAdvanced::WriteStreamSample The WriteStreamSample method writes a stream sample directly into an ASF file, bypassing the normal compression procedures. |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | wmsdkidl.h |