MF_MEDIA_ENGINE_OPM_HWND attribute
Specifies a window for the Media Engine to apply Output Protection Manager (OPM) protections.
Data type
HWND stored as UINT64
Remarks
This attribute is used with the IMFMediaEngineClassFactory::CreateInstance method to initialize the Media Engine.
To enable OPM protections for video playback, the application must do one of the following:
- Set the MF_MEDIA_ENGINE_PLAYBACK_HWND attribute when creating the Media Engine.
- Set the MF_MEDIA_ENGINE_OPM_HWND attribute when creating the Media Engine.
- Call IMFMediaEngineProtectedContent::SetOPMWindow at any point after creating the Media Engine, but before protected content is displayed.
Requirements
Requirement | Value |
---|---|
Minimum supported client |
Windows 8 [desktop apps | UWP apps] |
Minimum supported server |
Windows Server 2012 [desktop apps | UWP apps] |
Header |
|
See also
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour