Windows Media Format SDK banner art
PreviousNext

IWMWriterAdvanced Interface

Call QueryInterface using the writer object to retrieve a pointer to this interface, which provides advanced writing functionality. Sinks are where the output Windows Media data goes.

In addition to the methods inherited from IUnknown, the IWMWriterAdvanced interface exposes the following methods.

Method Description
AddSink Adds a writer sink.
GetSink Retrieves a writer sink object, if its index is specified.
GetSinkCount Retrieves the number of writer sinks.
GetSyncTolerance Retrieves the amount of time that the inputs will be allowed to fall out of synchronization before the samples are discarded.
GetStatistics Retrieves statistics about the current writing operation.
GetWriterTime Retrieves the clock time that the writer is working to.
IsRealTime Retrieves a flag indicating whether the writer is running in real time.
RemoveSink Removes a writer sink object.
SetLiveSource Sets a flag indicating whether the source is live or not.
SetSyncTolerance Sets the amount of time that the inputs can fall out of synchronization before the samples are discarded.
WriteStreamSample Writes a stream sample directly into a Windows Media file, bypassing the normal compression procedures.

See Also

PreviousNext


© 1999 Microsoft Corporation. All rights reserved.