示例#1
0
# WARNING: Please don't edit this file. It was generated by Python/WinRT

import typing, winrt

_ns_module = winrt._import_ns_module("Windows.Foundation.Numerics")

Matrix3x2 = _ns_module.Matrix3x2
Matrix4x4 = _ns_module.Matrix4x4
Plane = _ns_module.Plane
Quaternion = _ns_module.Quaternion
Rational = _ns_module.Rational
Vector2 = _ns_module.Vector2
Vector3 = _ns_module.Vector3
Vector4 = _ns_module.Vector4
示例#2
0
# WARNING: Please don't edit this file. It was generated by Python/WinRT

import typing, winrt
import enum

_ns_module = winrt._import_ns_module("Windows.Foundation")

try:
    import winrt.windows.foundation.collections
except:
    pass


class AsyncStatus(enum.IntEnum):
    CANCELED = 2
    COMPLETED = 1
    ERROR = 3
    STARTED = 0


class PropertyType(enum.IntEnum):
    EMPTY = 0
    UINT8 = 1
    INT16 = 2
    UINT16 = 3
    INT32 = 4
    UINT32 = 5
    INT64 = 6
    UINT64 = 7
    SINGLE = 8
    DOUBLE = 9
示例#3
0
# WARNING: Please don't edit this file. It was generated by Python/WinRT

import typing, winrt
import enum

_ns_module = winrt._import_ns_module("Windows.Data.Json")

try:
    import winrt.windows.foundation.collections
except:
    pass


class JsonErrorStatus(enum.IntEnum):
    UNKNOWN = 0
    INVALID_JSON_STRING = 1
    INVALID_JSON_NUMBER = 2
    JSON_VALUE_NOT_FOUND = 3
    IMPLEMENTATION_LIMIT = 4


class JsonValueType(enum.IntEnum):
    NULL = 0
    BOOLEAN = 1
    NUMBER = 2
    STRING = 3
    ARRAY = 4
    OBJECT = 5


JsonArray = _ns_module.JsonArray
示例#4
0
# WARNING: Please don't edit this file. It was generated by Python/WinRT

import typing, winrt
import enum

_ns_module = winrt._import_ns_module("Windows.Graphics.DirectX")


class DirectXAlphaMode(enum.IntEnum):
    UNSPECIFIED = 0
    PREMULTIPLIED = 1
    STRAIGHT = 2
    IGNORE = 3


class DirectXColorSpace(enum.IntEnum):
    RGB_FULL_G22_NONE_P709 = 0
    RGB_FULL_G10_NONE_P709 = 1
    RGB_STUDIO_G22_NONE_P709 = 2
    RGB_STUDIO_G22_NONE_P2020 = 3
    RESERVED = 4
    YCC_FULL_G22_NONE_P709_X601 = 5
    YCC_STUDIO_G22_LEFT_P601 = 6
    YCC_FULL_G22_LEFT_P601 = 7
    YCC_STUDIO_G22_LEFT_P709 = 8
    YCC_FULL_G22_LEFT_P709 = 9
    YCC_STUDIO_G22_LEFT_P2020 = 10
    YCC_FULL_G22_LEFT_P2020 = 11
    RGB_FULL_G2084_NONE_P2020 = 12
    YCC_STUDIO_G2084_LEFT_P2020 = 13
    RGB_STUDIO_G2084_NONE_P2020 = 14
示例#5
0
# WARNING: Please don't edit this file. It was generated by Python/WinRT

import typing, winrt
import enum

_ns_module = winrt._import_ns_module("Windows.Devices.Geolocation")

try:
    import winrt.windows.foundation
except:
    pass

try:
    import winrt.windows.foundation.collections
except:
    pass


class AltitudeReferenceSystem(enum.IntEnum):
    UNSPECIFIED = 0
    TERRAIN = 1
    ELLIPSOID = 2
    GEOID = 3
    SURFACE = 4


class GeolocationAccessStatus(enum.IntEnum):
    UNSPECIFIED = 0
    ALLOWED = 1
    DENIED = 2