MF_MEDIA_ENGINE_CALLBACK attribute

Contains a pointer to the callback interface for the Media Engine.

Data type

IMFMediaEngineNotify* 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 IMFMediaEngineNotify interface, implemented by the application.

This attribute is used with the IMFMediaEngineClassFactory::CreateInstance method to initialize the Media Engine. The attribute is required.

Requirements

Requirement Value
Minimum supported client
Windows 8 [desktop apps | UWP apps]
Minimum supported server
Windows Server 2012 [desktop apps | UWP apps]
Header
Mfmediaengine.h

See also

Alphabetical List of Media Foundation Attributes

IMFMediaEngineClassFactory::CreateInstance

IMFMediaEngineNotify