Share via


DisplayPathStatus Enum

Definition

Defines constants that specify the last status of the path in the system, captured when the DisplayState was last created or applied.

public enum class DisplayPathStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
enum class DisplayPathStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
public enum DisplayPathStatus
var value = Windows.Devices.Display.Core.DisplayPathStatus.unknown
Public Enum DisplayPathStatus
Inheritance
DisplayPathStatus
Attributes

Windows requirements

Device family
Windows 10, version 1809 (introduced in 10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v7.0)

Fields

Name Value Description
Unknown 0

Used for newly created paths that have not been applied.

Succeeded 1

Indicates that the path has been successfully applied, and was currently active when the DisplayState was last created or applied.

Pending 2

Indicates that the last apply operation was completed successfully, but the driver has indicated that it is still applying the path to the hardware asynchronously.

Failed 3

Indicates that a path failed synchronously during a TryApply or TryFunctionalize call.

FailedAsync 4

Indicates that the display hardware has asynchronously failed the path, either due to changing bandwidth allocations, or due to driver errors during another mode change. This path should be re-evaluated and re-applied by the owner.

InvalidatedAsync 5

Indicates that the path is likely still valid in hardware, but requires applying a mode again in order to reset pending software state. A path in this state typically shows a black screen on the output.

Applies to