Share via


HdcpSetProtectionResult Enum

Definition

Describes whether setting HDCP was successful.

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

Windows requirements

Device family
Windows 10 Anniversary Edition (introduced in 10.0.14393.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v3.0)

Fields

Name Value Description
Success 0

HDCP was successfully set.

TimedOut 1

The HDCP operation timed out and protection was not set.

NotSupported 2

The device doesn't support the HDCP level that was attempted.

UnknownFailure 3

The HDCP operation failed for an unknown reason.

Remarks

You can call GetResults on the HDCP operation, and then check that against this enumeration in order to determine whether it was successful or not. See HdcpSession for a usage example.

Applies to