IMFActivate interface (mfobjects.h)

Enables the application to defer the creation of an object. This interface is exposed by activation objects.


The IMFActivate interface inherits from IMFAttributes. IMFActivate also has these types of members:


The IMFActivate interface has these methods.

Method Description
IMFActivate::ActivateObject Creates the object associated with this activation object.
IMFActivate::DetachObject Detaches the created object from the activation object.
IMFActivate::ShutdownObject Shuts down the created object.


Typically, the application calls some function that returns an IMFActivate pointer and then passes that pointer to another component. The other component calls ActivateObject at a later time to create the object. In the protected media path (PMP), the IMFActivate pointer might be marshaled to the protected process, so that the object can be created in that process.


Minimum supported client Windows Vista [desktop apps | UWP apps]
Minimum supported server Windows Server 2008 [desktop apps | UWP apps]
Target Platform Windows
Header mfobjects.h

See also

Activation Objects


Media Foundation Interfaces