Partager via


IEVRTrustedVideoPlugin interface (evr.h)

[The component described on this page, Enhanced Video Renderer, is a legacy feature. It has been superseded by the Simple Video Renderer (SVR) exposed through the MediaPlayer and IMFMediaEngine components. To play video content you should send data into one of these components and allow them to instantiate the new video renderer. These components have been optimized for Windows 10 and Windows 11. Microsoft strongly recommends that new code use MediaPlayer or the lower level IMFMediaEngine APIs to play video media in Windows instead of the EVR, when possible. Microsoft suggests that existing code that uses the legacy APIs be rewritten to use the new APIs if possible.]

Enables a plug-in component for the enhanced video renderer (EVR) to work with protected media.

To work in the protected media path (PMP), a custom EVR mixer or presenter must implement this interface. The EVR obtains a pointer to this interface by calling QueryInterface on the plug-in component.

This interface is required only if the plug-in is a trusted component, designed to work in the PMP. It is not required for playing clear content in an unprotected process.

Inheritance

The IEVRTrustedVideoPlugin interface inherits from the IUnknown interface. IEVRTrustedVideoPlugin also has these types of members:

Methods

The IEVRTrustedVideoPlugin interface has these methods.

 
IEVRTrustedVideoPlugin::CanConstrict

Queries whether the plug-in can limit the effective video resolution.
IEVRTrustedVideoPlugin::DisableImageExport

Enables or disables the ability of the plug-in to export the video image.
IEVRTrustedVideoPlugin::IsInTrustedVideoMode

Queries whether the plug-in has any transient vulnerabilities at this time.
IEVRTrustedVideoPlugin::SetConstriction

Limits the effective video resolution.

Requirements

Requirement Value
Minimum supported client Windows Vista [desktop apps only]
Minimum supported server Windows Server 2008 [desktop apps only]
Target Platform Windows
Header evr.h

See also

Enhanced Video Renderer

Media Foundation Interfaces

Protected Media Path