Delen via


ProtectionCapabilityResult Enum

Definition

Specifies the result of a query for hardware DRM capability support using IsTypeSupported.

public enum class ProtectionCapabilityResult
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 131072)]
enum class ProtectionCapabilityResult
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 131072)]
public enum ProtectionCapabilityResult
var value = Windows.Media.Protection.ProtectionCapabilityResult.notSupported
Public Enum ProtectionCapabilityResult
Inheritance
ProtectionCapabilityResult
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10586.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v2.0)

Fields

Name Value Description
NotSupported 0

The queried features are not supported.

Maybe 1

Only relevant to output protection (HDCP) subsystem queries. ProtectionCapabilities.IsTypeSupported is a synchronous, blocking call which is constrained to only block for very short periods (goal is < 100 milliseconds). As underlying HDCP establishment may take significantly longer than the blocking period, this Maybe result is returned while establishment is in progress. Once establishment succeeds or fails, the HDCP subsystem query will stabilize on Probably or NotSupported, respectively. As no event or promise mechanism is provided, the query must be repeated until NotSupported or Probably is returned.

Probably 2

The queried features are supported as of the time of the query. Display configurations can change dynamically, so Display subsystem and HDCP subsystem query results may become invalid after the query.

Applies to