Windows apps
Collapse the table of content
Expand the table of content
Information
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_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

Mfmediaengine.h

See also

Media Foundation Enumerations
Protected Media Path

 

 

Show:
© 2016 Microsoft