OPM_GET_ACTUAL_PROTECTION_LEVEL

Returns the global protection level for a specified protection mechanism.

Requirement Value
Request GUID OPM_GET_ACTUAL_PROTECTION_LEVEL
Input data The protection mechanism to query, specified as a 32-bit integer. The value is interpreted as a member of the OPM Protection Type Flags.
Return data An OPM_STANDARD_INFORMATION structure

 

Remarks

The global protection level is the protection level that is currently being applied on the connector, regardless of how the graphics driver was instructed to apply the protection. For example, an application can set the ACP protection level by calling the ChangeDisplaySettingsEx function. In that case, the global protection level would reflect this setting, even though it was not requested through Output Protection Manager (OPM).

The protection level is returned in the ulInformation member of the OPM_STANDARD_INFORMATION structure. The meaning of this value depends on the protection mechanism that is queried. For each protection mechanism, the value of ulInformation is a flag from a different enumeration, as shown in the following table.

Protection mechanism Enumeration
ACP OPM_ACP_PROTECTION_LEVEL
CGMS-A CGMS-A Protection Flags
DPCP OPM_DPCP_PROTECTION_LEVEL
HDCP OPM_HDCP_PROTECTION_LEVEL

 

This query is equivalent to the DXVA_COPPQueryGlobalProtectionLevel query used in Certified Output Protection Protocol (COPP).

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Opmapi.h

See also

IOPMVideoOutput::COPPCompatibleGetInformation

IOPMVideoOutput::GetInformation

OPM Status Requests