MF_SINK_WRITER_ASYNC_CALLBACK attribute

Contains a pointer to the application's callback interface for the sink writer.

Data type

IMFSinkWriterCallback* stored as IUnknown*

Get/set

To get this attribute, call IMFAttributes::GetUnknown.

To set this attribute, call IMFAttributes::SetUnknown.

Remarks

The value of this attribute is a pointer to the application's IMFSinkWriterCallback interface.

Use this attribute with the following functions:

Requirements

Requirement Value
Minimum supported client
Windows 7 [desktop apps | UWP apps]
Minimum supported server
Windows Server 2008 R2 [desktop apps | UWP apps]
Header
Mfreadwrite.h

See also

Alphabetical List of Media Foundation Attributes

Sink Writer Attributes