Share via


DisplayStateFunctionalizeOptions Enum

Definition

Defines constants that specify options for functionalizing a DisplayState with the system.

This enumeration supports a bitwise combination of its member values.

public enum class DisplayStateFunctionalizeOptions
/// [System.Flags]
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
enum class DisplayStateFunctionalizeOptions
[System.Flags]
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
public enum DisplayStateFunctionalizeOptions
var value = Windows.Devices.Display.Core.DisplayStateFunctionalizeOptions.none
Public Enum DisplayStateFunctionalizeOptions
Inheritance
DisplayStateFunctionalizeOptions
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
None 0

Indicates no option.

FailIfStateChanged 1

Indicates that the functionalize operation should fail with SystemStateChanged if the system display state has changed since the DisplayState object was created. This is useful for improving reliability of a functionalize operation because, if it fails for this reason, then it's often better to just redo the entire operation in case the system state change resulted in different availability of modes or monitors.

ValidateTopologyOnly 2

Indicates that the operation should validate whether functionalization will succeed, without updating any DisplayPath properties.

Applies to