MF_MEDIA_ENGINE_PROTECTION_FLAGS enumeration
Contains flags that specify whether the Media Engine will play protected content, and whether the Media Engine will use the Protected Media Path (PMP).
Syntax
typedef enum MF_MEDIA_ENGINE_PROTECTION_FLAGS { MF_MEDIA_ENGINE_ENABLE_PROTECTED_CONTENT = 1, MF_MEDIA_ENGINE_USE_PMP_FOR_ALL_CONTENT = 2, MF_MEDIA_ENGINE_USE_UNPROTECTED_PMP = 4 } MF_MEDIA_ENGINE_PROTECTION_FLAGS;
Constants
- MF_MEDIA_ENGINE_ENABLE_PROTECTED_CONTENT
-
Enable playback of protected content. The Media Engine will not play DRM-protected content unless this flag is set. If you set this flag, also set the MF_MEDIA_ENGINE_CONTENT_PROTECTION_MANAGER attribute.
- MF_MEDIA_ENGINE_USE_PMP_FOR_ALL_CONTENT
-
Use the Protected Media Path (PMP) for all playback, including clear (non-protected) content.
- MF_MEDIA_ENGINE_USE_UNPROTECTED_PMP
-
Create the PMP inside an unprotected process. You can use this option to play clear content, but not to play protected content.
Remarks
These flags are used with the MF_MEDIA_ENGINE_CONTENT_PROTECTION_FLAGS attribute.
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