DisplayManagerResult DisplayManagerResult DisplayManagerResult DisplayManagerResult DisplayManagerResult Enum


Defines constants that specify the result of a DisplayManager operation.

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

Windows 10 requirements

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


RemoteSessionNotSupported RemoteSessionNotSupported RemoteSessionNotSupported RemoteSessionNotSupported RemoteSessionNotSupported 4

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.

TargetAccessDenied TargetAccessDenied TargetAccessDenied TargetAccessDenied TargetAccessDenied 2

Indicates that the operation failed becaused a specified target could not be acquired, either due to another component currently owning it, or due to target ownership restrictions.

TargetStale TargetStale TargetStale TargetStale TargetStale 3

Indicates that the operation failed because a specified target is stale and should be re-enumerated.

UnknownFailure UnknownFailure UnknownFailure UnknownFailure UnknownFailure 1

Indicates that the operation failed for an unknown reason.