MF_SOURCE_READER_ASYNC_CALLBACK attribute

Contains a pointer to the application's callback interface for the Source Reader.

Data type

IMFSourceReaderCallback* 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 IMFSourceReaderCallback 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

Source Reader

Source Reader Attributes