Table of contents
TOC
Collapse the table of content
Expand the table of content

Setting the Protection Level for a Protected Output

Last Updated: 2/14/2017

OPM configuration can set the protection level of a protection type on a protected output. To set the protection level, the display miniport driver's DxgkDdiOPMConfigureProtectedOutput function receives a pointer to a DXGKMDT_OPM_CONFIGURE_PARAMETERS structure with the guidSetting member set to the DXGKMDT_OPM_SET_PROTECTION_LEVEL GUID and the abParameters member set to a pointer to a DXGKMDT_OPM_SET_PROTECTION_LEVEL_PARAMETERS structure that specifies the type of protection to set and the level at which to set the protection. The following protection levels can be set for the indicated protection types:

  • For DXGKMDT_OPM_PROTECTION_TYPE_ACP specified in the ulProtectionType member of DXGKMDT_OPM_SET_PROTECTION_LEVEL_PARAMETERS, one of the protection-level values from the DXGKMDT_OPM_ACP_PROTECTION_LEVEL enumeration can be specified in the ulProtectionLevel member of DXGKMDT_OPM_SET_PROTECTION_LEVEL_PARAMETERS.

  • For DXGKMDT_OPM_PROTECTION_TYPE_CGMSA specified in the ulProtectionType member of DXGKMDT_OPM_SET_PROTECTION_LEVEL_PARAMETERS, one of the protection-level values from the DXGKMDT_OPM_CGMSA enumeration can be specified in the ulProtectionLevel member of DXGKMDT_OPM_SET_PROTECTION_LEVEL_PARAMETERS.

  • For DXGKMDT_OPM_PROTECTION_TYPE_HDCP or DXGKMDT_OPM_PROTECTION_TYPE_COPP_COMPATIBLE_HDCP specified in the ulProtectionType member of DXGKMDT_OPM_SET_PROTECTION_LEVEL_PARAMETERS, one of the protection-level values from the DXGKMDT_OPM_HDCP_PROTECTION_LEVEL enumeration can be specified in the ulProtectionLevel member of DXGKMDT_OPM_SET_PROTECTION_LEVEL_PARAMETERS.

  • For DXGKMDT_OPM_PROTECTION_TYPE_DPCP specified in the ulProtectionType member of DXGKMDT_OPM_SET_PROTECTION_LEVEL_PARAMETERS, one of the protection-level values from the DXGKMDT_OPM_DPCP_PROTECTION_LEVEL enumeration can be specified in the ulProtectionLevel member of DXGKMDT_OPM_SET_PROTECTION_LEVEL_PARAMETERS.

Note The DXGKMDT_OPM_SET_PROTECTION_LEVEL_ACCORDING_TO_CSS_DVD GUID is new for Windows 7 and is used to indicate that the driver should enable HDCP according to the new CSS rules. Setting the DXGKMDT_OPM_SET_PROTECTION_LEVEL_ACCORDING_TO_CSS_DVD command is identical to setting the existing DXGKMDT_OPM_SET_PROTECTION_LEVEL command except that DXGKMDT_OPM_SET_PROTECTION_LEVEL_ACCORDING_TO_CSS_DVD has no absolute requirement to enable the requested protection.

Send comments about this topic to Microsoft

© 2017 Microsoft