DisplayStateOperationStatus DisplayStateOperationStatus DisplayStateOperationStatus DisplayStateOperationStatus DisplayStateOperationStatus Enum


Defines constants that specify the result of a DisplayState operation.

public : enum class DisplayStateOperationStatus
enum class winrt::Windows::Devices::Display::Core::DisplayStateOperationStatus : int32_t
public enum DisplayStateOperationStatus
Public Enum DisplayStateOperationStatus
var value = Windows.Devices.Display.Core.DisplayStateOperationStatus.modesNotSupported;

Windows 10 requirements

Device family
Windows 10, version 1809 (introduced v10.0.17763.0)
API contract
Windows.Foundation.UniversalApiContract (introduced v7)


ModesNotSupported ModesNotSupported ModesNotSupported ModesNotSupported ModesNotSupported 6

Indicates that the operation failed because one or more modes specified by a DisplayPath are not supported in the present configuration.

PartialFailure PartialFailure PartialFailure PartialFailure PartialFailure 1

Indicates that the operation failed, but some system state was modified.

RemoteSessionNotSupported RemoteSessionNotSupported RemoteSessionNotSupported RemoteSessionNotSupported RemoteSessionNotSupported 7

Indicates that the operation failed because the current session is currently in an unsupported remote desktop session that does not allow access to the display stack.

Success Success Success Success Success 0

Indicates that the operation succeeded.

SystemStateChanged SystemStateChanged SystemStateChanged SystemStateChanged SystemStateChanged 4

Indicates that the operation failed because the system display state has changed since the relevant DisplayState object was created.

TargetOwnershipLost TargetOwnershipLost TargetOwnershipLost TargetOwnershipLost TargetOwnershipLost 3

Indicates that the operation failed because target ownership has been lost.

TooManyPathsForAdapter TooManyPathsForAdapter TooManyPathsForAdapter TooManyPathsForAdapter TooManyPathsForAdapter 5

Indicates that an involved adapter cannot support the number of paths requested.

UnknownFailure UnknownFailure UnknownFailure UnknownFailure UnknownFailure 2

Indicates that the operation failed for an unknown reason.