Skip to main content
IWMWriterFileSink2 interface

The IWMWriterFileSink2 interface provides extended management of a file sink.

This interface can be obtained by calling the QueryInterface method of an IWMWriterFileSink interface.

Members

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

Methods

The IWMWriterFileSink2 interface has these methods.

MethodDescription
Close

Closes the sink.

GetFileDuration

Retrieves the duration of the portion of the file that has been written.

GetFileSize

Retrieves the size of the file.

IsClosed

Ascertains whether the file sink has been closed.

IsStopped

Ascertains whether the file sink has stopped writing.

Start

Starts recording at the specified time.

Stop

Stops recording at the specified time.

 

The following interfaces can be obtained by using the QueryInterface method of this interface.

InterfaceIID
IWMWriterFileSink IID_IWMWriterFileSink
IWMWriterFileSink3 IID_IWMWriterFileSink3

 

See also

Interfaces
IWMWriterFileSink Interface
IWMWriterFileSink3 Interface
IWMWriterSink Interface
Using File Sinks
Writer Object