The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.
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
|
Minimum supported client |
Windows 8 [desktop apps | Windows Store apps] |
|---|---|
|
Minimum supported server |
Windows Server 2012 [desktop apps | Windows Store apps] |
|
Header |
|
See also
Show: