# WARNING: Please don't edit this file. It was generated by Python/WinRT v3.1.0

import enum

import winrt.system
from winrt._winrt_windows_devices_display_core import (
    DisplayPresentationRate,
    DisplayAdapter,
    DisplayDevice,
    DisplayFence,
    DisplayManager,
    DisplayManagerChangedEventArgs,
    DisplayManagerDisabledEventArgs,
    DisplayManagerEnabledEventArgs,
    DisplayManagerPathsFailedOrInvalidatedEventArgs,
    DisplayManagerResultWithState,
    DisplayModeInfo,
    DisplayMuxDevice,
    DisplayPath,
    DisplayPrimaryDescription,
    DisplayScanout,
    DisplaySource,
    DisplayState,
    DisplayStateOperationResult,
    DisplaySurface,
    DisplayTarget,
    DisplayTask,
    DisplayTaskPool,
    DisplayTaskResult,
    DisplayView,
    DisplayWireFormat,
)

__all__ = [
    "DisplayBitsPerChannel",
    "DisplayDeviceCapability",
    "DisplayManagerOptions",
    "DisplayManagerResult",
    "DisplayModeQueryOptions",
    "DisplayPathScaling",
    "DisplayPathStatus",
    "DisplayPresentStatus",
    "DisplayRotation",
    "DisplayScanoutOptions",
    "DisplaySourceStatus",
    "DisplayStateApplyOptions",
    "DisplayStateFunctionalizeOptions",
    "DisplayStateOperationStatus",
    "DisplayTargetPersistence",
    "DisplayTaskSignalKind",
    "DisplayWireFormatColorSpace",
    "DisplayWireFormatEotf",
    "DisplayWireFormatHdrMetadata",
    "DisplayWireFormatPixelEncoding",
    "DisplayPresentationRate",
    "DisplayAdapter",
    "DisplayDevice",
    "DisplayFence",
    "DisplayManager",
    "DisplayManagerChangedEventArgs",
    "DisplayManagerDisabledEventArgs",
    "DisplayManagerEnabledEventArgs",
    "DisplayManagerPathsFailedOrInvalidatedEventArgs",
    "DisplayManagerResultWithState",
    "DisplayModeInfo",
    "DisplayMuxDevice",
    "DisplayPath",
    "DisplayPrimaryDescription",
    "DisplayScanout",
    "DisplaySource",
    "DisplayState",
    "DisplayStateOperationResult",
    "DisplaySurface",
    "DisplayTarget",
    "DisplayTask",
    "DisplayTaskPool",
    "DisplayTaskResult",
    "DisplayView",
    "DisplayWireFormat",
]

class DisplayBitsPerChannel(enum.IntFlag):
    NONE = 0x0
    BPC6 = 0x1
    BPC8 = 0x2
    BPC10 = 0x4
    BPC12 = 0x8
    BPC14 = 0x10
    BPC16 = 0x20

class DisplayDeviceCapability(enum.IntEnum):
    FLIP_OVERRIDE = 0

class DisplayManagerOptions(enum.IntFlag):
    NONE = 0x0
    ENFORCE_SOURCE_OWNERSHIP = 0x1
    VIRTUAL_REFRESH_RATE_AWARE = 0x2

class DisplayManagerResult(enum.IntEnum):
    SUCCESS = 0
    UNKNOWN_FAILURE = 1
    TARGET_ACCESS_DENIED = 2
    TARGET_STALE = 3
    REMOTE_SESSION_NOT_SUPPORTED = 4

class DisplayModeQueryOptions(enum.IntFlag):
    NONE = 0x0
    ONLY_PREFERRED_RESOLUTION = 0x1

class DisplayPathScaling(enum.IntEnum):
    IDENTITY = 0
    CENTERED = 1
    STRETCHED = 2
    ASPECT_RATIO_STRETCHED = 3
    CUSTOM = 4
    DRIVER_PREFERRED = 5

class DisplayPathStatus(enum.IntEnum):
    UNKNOWN = 0
    SUCCEEDED = 1
    PENDING = 2
    FAILED = 3
    FAILED_ASYNC = 4
    INVALIDATED_ASYNC = 5

class DisplayPresentStatus(enum.IntEnum):
    SUCCESS = 0
    SOURCE_STATUS_PREVENTED_PRESENT = 1
    SCANOUT_INVALID = 2
    SOURCE_INVALID = 3
    DEVICE_INVALID = 4
    UNKNOWN_FAILURE = 5

class DisplayRotation(enum.IntEnum):
    NONE = 0
    CLOCKWISE90_DEGREES = 1
    CLOCKWISE180_DEGREES = 2
    CLOCKWISE270_DEGREES = 3

class DisplayScanoutOptions(enum.IntFlag):
    NONE = 0x0
    ALLOW_TEARING = 0x2

class DisplaySourceStatus(enum.IntEnum):
    ACTIVE = 0
    POWERED_OFF = 1
    INVALID = 2
    OWNED_BY_ANOTHER_DEVICE = 3
    UNOWNED = 4

class DisplayStateApplyOptions(enum.IntFlag):
    NONE = 0x0
    FAIL_IF_STATE_CHANGED = 0x1
    FORCE_REAPPLY = 0x2
    FORCE_MODE_ENUMERATION = 0x4

class DisplayStateFunctionalizeOptions(enum.IntFlag):
    NONE = 0x0
    FAIL_IF_STATE_CHANGED = 0x1
    VALIDATE_TOPOLOGY_ONLY = 0x2

class DisplayStateOperationStatus(enum.IntEnum):
    SUCCESS = 0
    PARTIAL_FAILURE = 1
    UNKNOWN_FAILURE = 2
    TARGET_OWNERSHIP_LOST = 3
    SYSTEM_STATE_CHANGED = 4
    TOO_MANY_PATHS_FOR_ADAPTER = 5
    MODES_NOT_SUPPORTED = 6
    REMOTE_SESSION_NOT_SUPPORTED = 7

class DisplayTargetPersistence(enum.IntEnum):
    NONE = 0
    BOOT_PERSISTED = 1
    TEMPORARY_PERSISTED = 2
    PATH_PERSISTED = 3

class DisplayTaskSignalKind(enum.IntEnum):
    ON_PRESENT_FLIP_AWAY = 0
    ON_PRESENT_FLIP_TO = 1

class DisplayWireFormatColorSpace(enum.IntEnum):
    BT709 = 0
    BT2020 = 1
    PROFILE_DEFINED_WIDE_COLOR_GAMUT = 2

class DisplayWireFormatEotf(enum.IntEnum):
    SDR = 0
    HDR_SMPTE2084 = 1

class DisplayWireFormatHdrMetadata(enum.IntEnum):
    NONE = 0
    HDR10 = 1
    HDR10_PLUS = 2
    DOLBY_VISION_LOW_LATENCY = 3

class DisplayWireFormatPixelEncoding(enum.IntEnum):
    RGB444 = 0
    YCC444 = 1
    YCC422 = 2
    YCC420 = 3
    INTENSITY = 4

