HdcpSetProtectionResult Enum
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.