MF_MEDIA_ENGINE_FRAME_PROTECTION_FLAGS enumeration (mfmediaengine.h)
Specifies the content protection requirements for a video frame.
Syntax
typedef enum MF_MEDIA_ENGINE_FRAME_PROTECTION_FLAGS {
MF_MEDIA_ENGINE_FRAME_PROTECTION_FLAG_PROTECTED = 0x1,
MF_MEDIA_ENGINE_FRAME_PROTECTION_FLAG_REQUIRES_SURFACE_PROTECTION = 0x2,
MF_MEDIA_ENGINE_FRAME_PROTECTION_FLAG_REQUIRES_ANTI_SCREEN_SCRAPE_PROTECTION = 0x4
} ;
Constants
MF_MEDIA_ENGINE_FRAME_PROTECTION_FLAG_PROTECTED Value: 0x1 The video frame should be protected. |
MF_MEDIA_ENGINE_FRAME_PROTECTION_FLAG_REQUIRES_SURFACE_PROTECTION Value: 0x2 Direct3D surface protection must be applied to any surface that contains the frame. |
MF_MEDIA_ENGINE_FRAME_PROTECTION_FLAG_REQUIRES_ANTI_SCREEN_SCRAPE_PROTECTION Value: 0x4 Direct3D anti-screen-scrape protection must be applied to any surface that contains the frame. |
Requirements
Requirement | Value |
---|---|
Minimum supported client | Windows 8 [desktop apps | UWP apps] |
Minimum supported server | Windows Server 2012 [desktop apps | UWP apps] |
Header | mfmediaengine.h |
See also
IMFMediaEngineProtectedContent::GetRequiredProtections