MF_MEDIA_ENGINE_OPM_HWND attribute
Specifies a window for the Media Engine to apply Output Protection Manager (OPM) protections.
HWND stored as UINT64
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.
Requirement | Value |
---|---|
Minimum supported client |
Windows 8 [desktop apps | UWP apps] |
Minimum supported server |
Windows Server 2012 [desktop apps | UWP apps] |
Header |
|