description | ms.assetid | title | ms.topic | ms.date |
---|---|---|---|---|
Specifies an activation object that creates a custom video presenter for the enhanced video renderer (EVR) media sink. |
65d88832-0969-4d85-bee2-fd0aa68e9f3b |
MF_ACTIVATE_CUSTOM_VIDEO_PRESENTER_ACTIVATE attribute (Mfidl.h) |
reference |
05/31/2018 |
Specifies an activation object that creates a custom video presenter for the enhanced video renderer (EVR) media sink.
IUnknown*
If you are creating the EVR through an activation object, you can use this attribute to set a custom video presenter on the EVR. Use this attribute as follows:
- Call the MFCreateVideoRendererActivate function to create an activation object for the EVR. The function returns a pointer to the IMFActivate interface.
- Set this attribute on the IMFActivate pointer by calling IMFAttributes::SetUnknown. The value of the attribute is a pointer to an activation object implemented by the caller. The caller's activation object must expose the IMFActivate interface.
If you set this attribute, the EVR calls IMFActivate::ActivateObject to create the custom video presenter. The video presenter must expose the IMFVideoPresenter interface.
The GUID constant for this attribute is exported from mfuuid.lib.
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Header |
|