Export (0) Print
Expand All
This topic has not yet been rated - Rate this topic

IMFSinkWriter interface

Implemented by the Microsoft Media Foundation sink writer object.

Members

The IMFSinkWriter interface inherits from the IUnknown interface. IMFSinkWriter also has these types of members:

Methods

The IMFSinkWriter interface has these methods.

MethodDescription
AddStream

Adds a stream to the sink writer.

BeginWriting

Initializes the sink writer for writing.

Finalize

Completes all writing operations on the sink writer.

Flush

Flushes one or more streams.

GetServiceForStream

Queries the underlying media sink or encoder for an interface.

GetStatistics

Gets statistics about the performance of the sink writer.

NotifyEndOfSegment

Notifies the media sink that a stream has reached the end of a segment.

PlaceMarker

Places a marker in the specified stream.

SendStreamTick

Indicates a gap in an input stream.

SetInputMediaType

Sets the input format for a stream on the sink writer.

WriteSample

Delivers a sample to the sink writer.

 

Remarks

To create the sink writer, call one of the following functions:

Alternatively, use the IMFReadWriteClassFactory interface.

This interface is available on Windows Vista if Platform Update Supplement for Windows Vista is installed.

In Windows 8, this interface is extended with IMFSinkWriterEx.

Requirements

Minimum supported client

Windows 7, Windows Vista and Platform Update Supplement for Windows Vista [desktop apps | Windows Store apps]

Minimum supported server

Windows Server 2008 R2 [desktop apps | Windows Store apps]

Header

Mfreadwrite.h

See also

Sink Writer
Media Foundation Interfaces

 

 

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.