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.
|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|
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.
|CGMS-A||CGMS-A Protection Flags|
This query is equivalent to the DXVA_COPPQueryLocalProtectionLevel query used in Certified Output Protection Protocol (COPP).
|Minimum supported client
||Windows Vista [desktop apps only]
|Minimum supported server
||Windows Server 2008 [desktop apps only]