DisplayStateOperationStatus 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.
Defines constants that specify the result of a DisplayState operation.
public enum class DisplayStateOperationStatus
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 458752)]
enum class DisplayStateOperationStatus
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 458752)]
public enum DisplayStateOperationStatus
var value = Windows.Devices.Display.Core.DisplayStateOperationStatus.success
Public Enum DisplayStateOperationStatus
- Inheritance
-
DisplayStateOperationStatus
- 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 |
---|---|---|
Success | 0 | Indicates that the operation succeeded. |
PartialFailure | 1 | Indicates that the operation failed, but some system state was modified. |
UnknownFailure | 2 | Indicates that the operation failed for an unknown reason. |
TargetOwnershipLost | 3 | Indicates that the operation failed because target ownership has been lost. |
SystemStateChanged | 4 | Indicates that the operation failed because the system display state has changed since the relevant DisplayState object was created. |
TooManyPathsForAdapter | 5 | Indicates that an involved adapter cannot support the number of paths requested. |
ModesNotSupported | 6 | Indicates that the operation failed because one or more modes specified by a DisplayPath are not supported in the present configuration. |
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. |