Returns the global protection level for a specified protection mechanism.
|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 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.
|CGMS-A||CGMS-A Protection Flags|
This query is equivalent to the DXVA_COPPQueryGlobalProtectionLevel 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]