OPM_GET_VIRTUAL_PROTECTION_LEVEL

Returns the virtual protection level for a specified protection mechanism.

The virtual protection level is the level requested by the application during the current Output Protection Manager (OPM) session. The driver might apply a higher level, due to events outside of this OPM session. To find the actual protection level that is in effect, send the OPM_GET_ACTUAL_PROTECTION_LEVEL query.

Request GUID OPM_GET_VIRTUAL_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 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_COPPQueryLocalProtectionLevel query used in Certified Output Protection Protocol (COPP).

Requirements

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