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
Saran dan Komentar
https://aka.ms/ContentUserFeedback.
Segera hadir: Sepanjang tahun 2024 kami akan menghentikan penggunaan GitHub Issues sebagai mekanisme umpan balik untuk konten dan menggantinya dengan sistem umpan balik baru. Untuk mengetahui informasi selengkapnya, lihat:Kirim dan lihat umpan balik untuk