winrt-Windows.Devices.Display.Core 4!10.0.28000.2705__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- winrt/windows/devices/display/core/__init__.py +56 -0
- winrt/windows/devices/display/core/__init__.pyi +790 -0
- winrt/windows/devices/display/core/_table.pywinrt +0 -0
- winrt/windows/devices/display/core/py.typed +0 -0
- winrt_windows_devices_display_core-4!10.0.28000.2705.dist-info/METADATA +53 -0
- winrt_windows_devices_display_core-4!10.0.28000.2705.dist-info/RECORD +8 -0
- winrt_windows_devices_display_core-4!10.0.28000.2705.dist-info/WHEEL +4 -0
- winrt_windows_devices_display_core-4!10.0.28000.2705.dist-info/licenses/LICENSE +22 -0
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import winrt.runtime._internals
|
|
4
|
+
import winrt.system
|
|
5
|
+
|
|
6
|
+
winrt.runtime._internals.load_projection(__spec__)
|
|
7
|
+
|
|
8
|
+
__all__ = [
|
|
9
|
+
"DisplayBitsPerChannel",
|
|
10
|
+
"DisplayDeviceCapability",
|
|
11
|
+
"DisplayManagerOptions",
|
|
12
|
+
"DisplayManagerResult",
|
|
13
|
+
"DisplayModeQueryOptions",
|
|
14
|
+
"DisplayPathScaling",
|
|
15
|
+
"DisplayPathStatus",
|
|
16
|
+
"DisplayPresentStatus",
|
|
17
|
+
"DisplayRotation",
|
|
18
|
+
"DisplayScanoutOptions",
|
|
19
|
+
"DisplaySourceStatus",
|
|
20
|
+
"DisplayStateApplyOptions",
|
|
21
|
+
"DisplayStateFunctionalizeOptions",
|
|
22
|
+
"DisplayStateOperationStatus",
|
|
23
|
+
"DisplayTargetPersistence",
|
|
24
|
+
"DisplayTaskSignalKind",
|
|
25
|
+
"DisplayWireFormatColorSpace",
|
|
26
|
+
"DisplayWireFormatEotf",
|
|
27
|
+
"DisplayWireFormatHdrMetadata",
|
|
28
|
+
"DisplayWireFormatPixelEncoding",
|
|
29
|
+
"DisplayPresentationRate",
|
|
30
|
+
"DisplayAdapter",
|
|
31
|
+
"DisplayDevice",
|
|
32
|
+
"DisplayFence",
|
|
33
|
+
"DisplayManager",
|
|
34
|
+
"DisplayManagerChangedEventArgs",
|
|
35
|
+
"DisplayManagerDisabledEventArgs",
|
|
36
|
+
"DisplayManagerEnabledEventArgs",
|
|
37
|
+
"DisplayManagerPathsFailedOrInvalidatedEventArgs",
|
|
38
|
+
"DisplayManagerResultWithState",
|
|
39
|
+
"DisplayModeInfo",
|
|
40
|
+
"DisplayMuxDevice",
|
|
41
|
+
"DisplayPath",
|
|
42
|
+
"DisplayPrimaryDescription",
|
|
43
|
+
"DisplayScanout",
|
|
44
|
+
"DisplaySource",
|
|
45
|
+
"DisplayState",
|
|
46
|
+
"DisplayStateOperationResult",
|
|
47
|
+
"DisplaySurface",
|
|
48
|
+
"DisplayTarget",
|
|
49
|
+
"DisplayTask",
|
|
50
|
+
"DisplayTaskPool",
|
|
51
|
+
"DisplayTaskResult",
|
|
52
|
+
"DisplayView",
|
|
53
|
+
"DisplayWireFormat",
|
|
54
|
+
]
|
|
55
|
+
|
|
56
|
+
winrt.runtime._internals.alias_method(DisplayState, "connect_target_to_view", "connect_target")
|
|
@@ -0,0 +1,790 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT
|
|
2
|
+
|
|
3
|
+
import collections.abc as _cabc
|
|
4
|
+
import datetime
|
|
5
|
+
import enum
|
|
6
|
+
import types
|
|
7
|
+
import typing
|
|
8
|
+
import uuid as _uuid
|
|
9
|
+
from builtins import property as _property
|
|
10
|
+
from typing_extensions import deprecated
|
|
11
|
+
|
|
12
|
+
import winrt.system
|
|
13
|
+
import winrt.windows.devices.display as windows_devices_display
|
|
14
|
+
import winrt.windows.foundation as windows_foundation
|
|
15
|
+
import winrt.windows.foundation.collections as windows_foundation_collections
|
|
16
|
+
import winrt.windows.foundation.numerics as windows_foundation_numerics
|
|
17
|
+
import winrt.windows.graphics as windows_graphics
|
|
18
|
+
import winrt.windows.graphics.directx as windows_graphics_directx
|
|
19
|
+
import winrt.windows.graphics.directx.direct3d11 as windows_graphics_directx_direct3d11
|
|
20
|
+
import winrt.windows.storage.streams as windows_storage_streams
|
|
21
|
+
|
|
22
|
+
__all__ = [
|
|
23
|
+
"DisplayBitsPerChannel",
|
|
24
|
+
"DisplayDeviceCapability",
|
|
25
|
+
"DisplayManagerOptions",
|
|
26
|
+
"DisplayManagerResult",
|
|
27
|
+
"DisplayModeQueryOptions",
|
|
28
|
+
"DisplayPathScaling",
|
|
29
|
+
"DisplayPathStatus",
|
|
30
|
+
"DisplayPresentStatus",
|
|
31
|
+
"DisplayRotation",
|
|
32
|
+
"DisplayScanoutOptions",
|
|
33
|
+
"DisplaySourceStatus",
|
|
34
|
+
"DisplayStateApplyOptions",
|
|
35
|
+
"DisplayStateFunctionalizeOptions",
|
|
36
|
+
"DisplayStateOperationStatus",
|
|
37
|
+
"DisplayTargetPersistence",
|
|
38
|
+
"DisplayTaskSignalKind",
|
|
39
|
+
"DisplayWireFormatColorSpace",
|
|
40
|
+
"DisplayWireFormatEotf",
|
|
41
|
+
"DisplayWireFormatHdrMetadata",
|
|
42
|
+
"DisplayWireFormatPixelEncoding",
|
|
43
|
+
"DisplayPresentationRate",
|
|
44
|
+
"DisplayAdapter",
|
|
45
|
+
"DisplayDevice",
|
|
46
|
+
"DisplayFence",
|
|
47
|
+
"DisplayManager",
|
|
48
|
+
"DisplayManagerChangedEventArgs",
|
|
49
|
+
"DisplayManagerDisabledEventArgs",
|
|
50
|
+
"DisplayManagerEnabledEventArgs",
|
|
51
|
+
"DisplayManagerPathsFailedOrInvalidatedEventArgs",
|
|
52
|
+
"DisplayManagerResultWithState",
|
|
53
|
+
"DisplayModeInfo",
|
|
54
|
+
"DisplayMuxDevice",
|
|
55
|
+
"DisplayPath",
|
|
56
|
+
"DisplayPrimaryDescription",
|
|
57
|
+
"DisplayScanout",
|
|
58
|
+
"DisplaySource",
|
|
59
|
+
"DisplayState",
|
|
60
|
+
"DisplayStateOperationResult",
|
|
61
|
+
"DisplaySurface",
|
|
62
|
+
"DisplayTarget",
|
|
63
|
+
"DisplayTask",
|
|
64
|
+
"DisplayTaskPool",
|
|
65
|
+
"DisplayTaskResult",
|
|
66
|
+
"DisplayView",
|
|
67
|
+
"DisplayWireFormat",
|
|
68
|
+
]
|
|
69
|
+
|
|
70
|
+
class DisplayBitsPerChannel(enum.IntFlag):
|
|
71
|
+
NONE = 0x0
|
|
72
|
+
BPC6 = 0x1
|
|
73
|
+
BPC8 = 0x2
|
|
74
|
+
BPC10 = 0x4
|
|
75
|
+
BPC12 = 0x8
|
|
76
|
+
BPC14 = 0x10
|
|
77
|
+
BPC16 = 0x20
|
|
78
|
+
|
|
79
|
+
class DisplayDeviceCapability(enum.IntEnum):
|
|
80
|
+
FLIP_OVERRIDE = 0
|
|
81
|
+
|
|
82
|
+
class DisplayManagerOptions(enum.IntFlag):
|
|
83
|
+
NONE = 0x0
|
|
84
|
+
ENFORCE_SOURCE_OWNERSHIP = 0x1
|
|
85
|
+
VIRTUAL_REFRESH_RATE_AWARE = 0x2
|
|
86
|
+
|
|
87
|
+
class DisplayManagerResult(enum.IntEnum):
|
|
88
|
+
SUCCESS = 0
|
|
89
|
+
UNKNOWN_FAILURE = 1
|
|
90
|
+
TARGET_ACCESS_DENIED = 2
|
|
91
|
+
TARGET_STALE = 3
|
|
92
|
+
REMOTE_SESSION_NOT_SUPPORTED = 4
|
|
93
|
+
|
|
94
|
+
class DisplayModeQueryOptions(enum.IntFlag):
|
|
95
|
+
NONE = 0x0
|
|
96
|
+
ONLY_PREFERRED_RESOLUTION = 0x1
|
|
97
|
+
|
|
98
|
+
class DisplayPathScaling(enum.IntEnum):
|
|
99
|
+
IDENTITY = 0
|
|
100
|
+
CENTERED = 1
|
|
101
|
+
STRETCHED = 2
|
|
102
|
+
ASPECT_RATIO_STRETCHED = 3
|
|
103
|
+
CUSTOM = 4
|
|
104
|
+
DRIVER_PREFERRED = 5
|
|
105
|
+
|
|
106
|
+
class DisplayPathStatus(enum.IntEnum):
|
|
107
|
+
UNKNOWN = 0
|
|
108
|
+
SUCCEEDED = 1
|
|
109
|
+
PENDING = 2
|
|
110
|
+
FAILED = 3
|
|
111
|
+
FAILED_ASYNC = 4
|
|
112
|
+
INVALIDATED_ASYNC = 5
|
|
113
|
+
|
|
114
|
+
class DisplayPresentStatus(enum.IntEnum):
|
|
115
|
+
SUCCESS = 0
|
|
116
|
+
SOURCE_STATUS_PREVENTED_PRESENT = 1
|
|
117
|
+
SCANOUT_INVALID = 2
|
|
118
|
+
SOURCE_INVALID = 3
|
|
119
|
+
DEVICE_INVALID = 4
|
|
120
|
+
UNKNOWN_FAILURE = 5
|
|
121
|
+
|
|
122
|
+
class DisplayRotation(enum.IntEnum):
|
|
123
|
+
NONE = 0
|
|
124
|
+
CLOCKWISE90_DEGREES = 1
|
|
125
|
+
CLOCKWISE180_DEGREES = 2
|
|
126
|
+
CLOCKWISE270_DEGREES = 3
|
|
127
|
+
|
|
128
|
+
class DisplayScanoutOptions(enum.IntFlag):
|
|
129
|
+
NONE = 0x0
|
|
130
|
+
ALLOW_TEARING = 0x2
|
|
131
|
+
|
|
132
|
+
class DisplaySourceStatus(enum.IntEnum):
|
|
133
|
+
ACTIVE = 0
|
|
134
|
+
POWERED_OFF = 1
|
|
135
|
+
INVALID = 2
|
|
136
|
+
OWNED_BY_ANOTHER_DEVICE = 3
|
|
137
|
+
UNOWNED = 4
|
|
138
|
+
|
|
139
|
+
class DisplayStateApplyOptions(enum.IntFlag):
|
|
140
|
+
NONE = 0x0
|
|
141
|
+
FAIL_IF_STATE_CHANGED = 0x1
|
|
142
|
+
FORCE_REAPPLY = 0x2
|
|
143
|
+
FORCE_MODE_ENUMERATION = 0x4
|
|
144
|
+
|
|
145
|
+
class DisplayStateFunctionalizeOptions(enum.IntFlag):
|
|
146
|
+
NONE = 0x0
|
|
147
|
+
FAIL_IF_STATE_CHANGED = 0x1
|
|
148
|
+
VALIDATE_TOPOLOGY_ONLY = 0x2
|
|
149
|
+
|
|
150
|
+
class DisplayStateOperationStatus(enum.IntEnum):
|
|
151
|
+
SUCCESS = 0
|
|
152
|
+
PARTIAL_FAILURE = 1
|
|
153
|
+
UNKNOWN_FAILURE = 2
|
|
154
|
+
TARGET_OWNERSHIP_LOST = 3
|
|
155
|
+
SYSTEM_STATE_CHANGED = 4
|
|
156
|
+
TOO_MANY_PATHS_FOR_ADAPTER = 5
|
|
157
|
+
MODES_NOT_SUPPORTED = 6
|
|
158
|
+
REMOTE_SESSION_NOT_SUPPORTED = 7
|
|
159
|
+
|
|
160
|
+
class DisplayTargetPersistence(enum.IntEnum):
|
|
161
|
+
NONE = 0
|
|
162
|
+
BOOT_PERSISTED = 1
|
|
163
|
+
TEMPORARY_PERSISTED = 2
|
|
164
|
+
PATH_PERSISTED = 3
|
|
165
|
+
|
|
166
|
+
class DisplayTaskSignalKind(enum.IntEnum):
|
|
167
|
+
ON_PRESENT_FLIP_AWAY = 0
|
|
168
|
+
ON_PRESENT_FLIP_TO = 1
|
|
169
|
+
|
|
170
|
+
class DisplayWireFormatColorSpace(enum.IntEnum):
|
|
171
|
+
BT709 = 0
|
|
172
|
+
BT2020 = 1
|
|
173
|
+
PROFILE_DEFINED_WIDE_COLOR_GAMUT = 2
|
|
174
|
+
|
|
175
|
+
class DisplayWireFormatEotf(enum.IntEnum):
|
|
176
|
+
SDR = 0
|
|
177
|
+
HDR_SMPTE2084 = 1
|
|
178
|
+
|
|
179
|
+
class DisplayWireFormatHdrMetadata(enum.IntEnum):
|
|
180
|
+
NONE = 0
|
|
181
|
+
HDR10 = 1
|
|
182
|
+
HDR10_PLUS = 2
|
|
183
|
+
DOLBY_VISION_LOW_LATENCY = 3
|
|
184
|
+
|
|
185
|
+
class DisplayWireFormatPixelEncoding(enum.IntEnum):
|
|
186
|
+
RGB444 = 0
|
|
187
|
+
YCC444 = 1
|
|
188
|
+
YCC422 = 2
|
|
189
|
+
YCC420 = 3
|
|
190
|
+
INTENSITY = 4
|
|
191
|
+
|
|
192
|
+
@typing.final
|
|
193
|
+
class DisplayPresentationRate:
|
|
194
|
+
__match_args__ = ("vertical_sync_rate", "vertical_syncs_per_presentation")
|
|
195
|
+
@_property
|
|
196
|
+
def vertical_sync_rate(self) -> windows_foundation_numerics.Rational: ...
|
|
197
|
+
@_property
|
|
198
|
+
def vertical_syncs_per_presentation(self) -> winrt.system.Int32: ...
|
|
199
|
+
def __new__(cls, vertical_sync_rate: windows_foundation_numerics.Rational | tuple[winrt.system.UInt32 | typing.SupportsIndex, winrt.system.UInt32 | typing.SupportsIndex] = ..., vertical_syncs_per_presentation: winrt.system.Int32 | typing.SupportsIndex = 0) -> DisplayPresentationRate: ...
|
|
200
|
+
def __replace__(self, /, **changes: typing.Any) -> DisplayPresentationRate: ...
|
|
201
|
+
def unpack(self) -> tuple[tuple[winrt.system.UInt32, winrt.system.UInt32], winrt.system.Int32]: ...
|
|
202
|
+
|
|
203
|
+
@typing.final
|
|
204
|
+
class DisplayAdapter_Static(winrt.system.Object_Static):
|
|
205
|
+
# Windows.Devices.Display.Core.DisplayAdapter Windows.Devices.Display.Core.DisplayAdapter::FromId(Windows.Graphics.DisplayAdapterId)
|
|
206
|
+
def from_id(cls, id: windows_graphics.DisplayAdapterId | tuple[winrt.system.UInt32 | typing.SupportsIndex, winrt.system.Int32 | typing.SupportsIndex], /) -> DisplayAdapter: ...
|
|
207
|
+
|
|
208
|
+
@typing.final
|
|
209
|
+
class DisplayAdapter(winrt.system.Object, metaclass=DisplayAdapter_Static):
|
|
210
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
211
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
212
|
+
# System.String Windows.Devices.Display.Core.DisplayAdapter::get_DeviceInterfacePath()
|
|
213
|
+
@_property
|
|
214
|
+
def device_interface_path(self) -> str: ...
|
|
215
|
+
# Windows.Graphics.DisplayAdapterId Windows.Devices.Display.Core.DisplayAdapter::get_Id()
|
|
216
|
+
@_property
|
|
217
|
+
def id(self) -> windows_graphics.DisplayAdapterId: ...
|
|
218
|
+
# System.UInt32 Windows.Devices.Display.Core.DisplayAdapter::get_PciDeviceId()
|
|
219
|
+
@_property
|
|
220
|
+
def pci_device_id(self) -> winrt.system.UInt32: ...
|
|
221
|
+
# System.UInt32 Windows.Devices.Display.Core.DisplayAdapter::get_PciRevision()
|
|
222
|
+
@_property
|
|
223
|
+
def pci_revision(self) -> winrt.system.UInt32: ...
|
|
224
|
+
# System.UInt32 Windows.Devices.Display.Core.DisplayAdapter::get_PciSubSystemId()
|
|
225
|
+
@_property
|
|
226
|
+
def pci_sub_system_id(self) -> winrt.system.UInt32: ...
|
|
227
|
+
# System.UInt32 Windows.Devices.Display.Core.DisplayAdapter::get_PciVendorId()
|
|
228
|
+
@_property
|
|
229
|
+
def pci_vendor_id(self) -> winrt.system.UInt32: ...
|
|
230
|
+
# Windows.Foundation.Collections.IMapView`2<System.Guid,System.Object> Windows.Devices.Display.Core.DisplayAdapter::get_Properties()
|
|
231
|
+
@_property
|
|
232
|
+
def properties(self) -> _cabc.Mapping[_uuid.UUID, winrt.system.Object]: ...
|
|
233
|
+
# System.UInt32 Windows.Devices.Display.Core.DisplayAdapter::get_SourceCount()
|
|
234
|
+
@_property
|
|
235
|
+
def source_count(self) -> winrt.system.UInt32: ...
|
|
236
|
+
# System.Boolean Windows.Devices.Display.Core.DisplayAdapter::get_IsIndirectDisplayDevice()
|
|
237
|
+
@_property
|
|
238
|
+
def is_indirect_display_device(self) -> bool: ...
|
|
239
|
+
# Windows.Devices.Display.Core.DisplayAdapter Windows.Devices.Display.Core.DisplayAdapter::get_PreferredRenderAdapter()
|
|
240
|
+
@_property
|
|
241
|
+
def preferred_render_adapter(self) -> DisplayAdapter: ...
|
|
242
|
+
|
|
243
|
+
@typing.final
|
|
244
|
+
class DisplayDevice(winrt.system.Object):
|
|
245
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
246
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
247
|
+
# Windows.Devices.Display.Core.DisplayFence Windows.Devices.Display.Core.DisplayDevice::CreatePeriodicFence(Windows.Devices.Display.Core.DisplayTarget,Windows.Foundation.TimeSpan)
|
|
248
|
+
def create_periodic_fence(self, target: DisplayTarget, offset_from_v_blank: datetime.timedelta, /) -> DisplayFence: ...
|
|
249
|
+
# Windows.Devices.Display.Core.DisplaySurface Windows.Devices.Display.Core.DisplayDevice::CreatePrimary(Windows.Devices.Display.Core.DisplayTarget,Windows.Devices.Display.Core.DisplayPrimaryDescription)
|
|
250
|
+
def create_primary(self, target: DisplayTarget, desc: DisplayPrimaryDescription, /) -> DisplaySurface: ...
|
|
251
|
+
# Windows.Devices.Display.Core.DisplaySource Windows.Devices.Display.Core.DisplayDevice::CreateScanoutSource(Windows.Devices.Display.Core.DisplayTarget)
|
|
252
|
+
def create_scanout_source(self, target: DisplayTarget, /) -> DisplaySource: ...
|
|
253
|
+
# Windows.Devices.Display.Core.DisplayScanout Windows.Devices.Display.Core.DisplayDevice::CreateSimpleScanout(Windows.Devices.Display.Core.DisplaySource,Windows.Devices.Display.Core.DisplaySurface,System.UInt32,System.UInt32)
|
|
254
|
+
def create_simple_scanout(self, p_source: DisplaySource, p_surface: DisplaySurface, sub_resource_index: winrt.system.UInt32 | typing.SupportsIndex, sync_interval: winrt.system.UInt32 | typing.SupportsIndex, /) -> DisplayScanout: ...
|
|
255
|
+
# Windows.Devices.Display.Core.DisplayScanout Windows.Devices.Display.Core.DisplayDevice::CreateSimpleScanoutWithDirtyRectsAndOptions(Windows.Devices.Display.Core.DisplaySource,Windows.Devices.Display.Core.DisplaySurface,System.UInt32,System.UInt32,Windows.Foundation.Collections.IIterable`1<Windows.Graphics.RectInt32>,Windows.Devices.Display.Core.DisplayScanoutOptions)
|
|
256
|
+
def create_simple_scanout_with_dirty_rects_and_options(self, source: DisplaySource, surface: DisplaySurface, subresource_index: winrt.system.UInt32 | typing.SupportsIndex, sync_interval: winrt.system.UInt32 | typing.SupportsIndex, dirty_rects: _cabc.Iterable[windows_graphics.RectInt32], options: DisplayScanoutOptions, /) -> DisplayScanout: ...
|
|
257
|
+
# Windows.Devices.Display.Core.DisplayTaskPool Windows.Devices.Display.Core.DisplayDevice::CreateTaskPool()
|
|
258
|
+
def create_task_pool(self) -> DisplayTaskPool: ...
|
|
259
|
+
# System.Boolean Windows.Devices.Display.Core.DisplayDevice::IsCapabilitySupported(Windows.Devices.Display.Core.DisplayDeviceCapability)
|
|
260
|
+
def is_capability_supported(self, capability: DisplayDeviceCapability, /) -> bool: ...
|
|
261
|
+
# System.Void Windows.Devices.Display.Core.DisplayDevice::WaitForVBlank(Windows.Devices.Display.Core.DisplaySource)
|
|
262
|
+
def wait_for_v_blank(self, source: DisplaySource, /) -> None: ...
|
|
263
|
+
# Windows.Graphics.DisplayAdapterId Windows.Devices.Display.Core.DisplayDevice::get_RenderAdapterId()
|
|
264
|
+
@_property
|
|
265
|
+
def render_adapter_id(self) -> windows_graphics.DisplayAdapterId: ...
|
|
266
|
+
|
|
267
|
+
@typing.final
|
|
268
|
+
class DisplayFence(winrt.system.Object):
|
|
269
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
270
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
271
|
+
|
|
272
|
+
@typing.final
|
|
273
|
+
class DisplayManager_Static(winrt.system.Object_Static):
|
|
274
|
+
# Windows.Devices.Display.Core.DisplayManager Windows.Devices.Display.Core.DisplayManager::Create(Windows.Devices.Display.Core.DisplayManagerOptions)
|
|
275
|
+
def create(cls, options: DisplayManagerOptions, /) -> DisplayManager: ...
|
|
276
|
+
|
|
277
|
+
@typing.final
|
|
278
|
+
class DisplayManager(windows_foundation.IClosable, winrt.system.Object, metaclass=DisplayManager_Static):
|
|
279
|
+
def __enter__(self) -> typing.Self: ...
|
|
280
|
+
def __exit__(self, exc_type: type[BaseException] | None, exc_value: BaseException | None, traceback: types.TracebackType | None) -> None: ...
|
|
281
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
282
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
283
|
+
# System.Void Windows.Devices.Display.Core.DisplayManager::Close()
|
|
284
|
+
def close(self) -> None: ...
|
|
285
|
+
# Windows.Devices.Display.Core.DisplayDevice Windows.Devices.Display.Core.DisplayManager::CreateDisplayDevice(Windows.Devices.Display.Core.DisplayAdapter)
|
|
286
|
+
def create_display_device(self, adapter: DisplayAdapter, /) -> DisplayDevice: ...
|
|
287
|
+
# Windows.Devices.Display.Core.DisplayDevice Windows.Devices.Display.Core.DisplayManager::CreateDisplayDeviceForIndirectAdapter(Windows.Devices.Display.Core.DisplayAdapter,Windows.Devices.Display.Core.DisplayAdapter)
|
|
288
|
+
def create_display_device_for_indirect_adapter(self, indirect_adapter: DisplayAdapter, render_adapter: DisplayAdapter, /) -> DisplayDevice: ...
|
|
289
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Devices.Display.Core.DisplayAdapter> Windows.Devices.Display.Core.DisplayManager::GetCurrentAdapters()
|
|
290
|
+
def get_current_adapters(self) -> _cabc.Sequence[DisplayAdapter]: ...
|
|
291
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Devices.Display.Core.DisplayTarget> Windows.Devices.Display.Core.DisplayManager::GetCurrentTargets()
|
|
292
|
+
def get_current_targets(self) -> _cabc.Sequence[DisplayTarget]: ...
|
|
293
|
+
# System.Void Windows.Devices.Display.Core.DisplayManager::ReleaseTarget(Windows.Devices.Display.Core.DisplayTarget)
|
|
294
|
+
def release_target(self, target: DisplayTarget, /) -> None: ...
|
|
295
|
+
# System.Void Windows.Devices.Display.Core.DisplayManager::Start()
|
|
296
|
+
def start(self) -> None: ...
|
|
297
|
+
# System.Void Windows.Devices.Display.Core.DisplayManager::Stop()
|
|
298
|
+
def stop(self) -> None: ...
|
|
299
|
+
# Windows.Devices.Display.Core.DisplayManagerResult Windows.Devices.Display.Core.DisplayManager::TryAcquireTarget(Windows.Devices.Display.Core.DisplayTarget)
|
|
300
|
+
def try_acquire_target(self, target: DisplayTarget, /) -> DisplayManagerResult: ...
|
|
301
|
+
# Windows.Devices.Display.Core.DisplayManagerResultWithState Windows.Devices.Display.Core.DisplayManager::TryAcquireTargetsAndCreateEmptyState(Windows.Foundation.Collections.IIterable`1<Windows.Devices.Display.Core.DisplayTarget>)
|
|
302
|
+
def try_acquire_targets_and_create_empty_state(self, targets: _cabc.Iterable[DisplayTarget], /) -> DisplayManagerResultWithState: ...
|
|
303
|
+
# Windows.Devices.Display.Core.DisplayManagerResultWithState Windows.Devices.Display.Core.DisplayManager::TryAcquireTargetsAndCreateSubstate(Windows.Devices.Display.Core.DisplayState,Windows.Foundation.Collections.IIterable`1<Windows.Devices.Display.Core.DisplayTarget>)
|
|
304
|
+
def try_acquire_targets_and_create_substate(self, existing_state: DisplayState, targets: _cabc.Iterable[DisplayTarget], /) -> DisplayManagerResultWithState: ...
|
|
305
|
+
# Windows.Devices.Display.Core.DisplayManagerResultWithState Windows.Devices.Display.Core.DisplayManager::TryAcquireTargetsAndReadCurrentState(Windows.Foundation.Collections.IIterable`1<Windows.Devices.Display.Core.DisplayTarget>)
|
|
306
|
+
def try_acquire_targets_and_read_current_state(self, targets: _cabc.Iterable[DisplayTarget], /) -> DisplayManagerResultWithState: ...
|
|
307
|
+
# Windows.Devices.Display.Core.DisplayManagerResultWithState Windows.Devices.Display.Core.DisplayManager::TryReadCurrentStateForAllTargets()
|
|
308
|
+
def try_read_current_state_for_all_targets(self) -> DisplayManagerResultWithState: ...
|
|
309
|
+
# Windows.Devices.Display.Core.DisplayManagerResultWithState Windows.Devices.Display.Core.DisplayManager::TryReadCurrentStateForModeQuery()
|
|
310
|
+
def try_read_current_state_for_mode_query(self) -> DisplayManagerResultWithState: ...
|
|
311
|
+
# Windows.Foundation.EventRegistrationToken Windows.Devices.Display.Core.DisplayManager::add_Changed(Windows.Foundation.TypedEventHandler`2<Windows.Devices.Display.Core.DisplayManager,Windows.Devices.Display.Core.DisplayManagerChangedEventArgs>)
|
|
312
|
+
def add_changed(self, handler: windows_foundation.TypedEventHandler[DisplayManager, DisplayManagerChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
313
|
+
# System.Void Windows.Devices.Display.Core.DisplayManager::remove_Changed(Windows.Foundation.EventRegistrationToken)
|
|
314
|
+
def remove_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
315
|
+
# Windows.Foundation.EventRegistrationToken Windows.Devices.Display.Core.DisplayManager::add_Disabled(Windows.Foundation.TypedEventHandler`2<Windows.Devices.Display.Core.DisplayManager,Windows.Devices.Display.Core.DisplayManagerDisabledEventArgs>)
|
|
316
|
+
def add_disabled(self, handler: windows_foundation.TypedEventHandler[DisplayManager, DisplayManagerDisabledEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
317
|
+
# System.Void Windows.Devices.Display.Core.DisplayManager::remove_Disabled(Windows.Foundation.EventRegistrationToken)
|
|
318
|
+
def remove_disabled(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
319
|
+
# Windows.Foundation.EventRegistrationToken Windows.Devices.Display.Core.DisplayManager::add_Enabled(Windows.Foundation.TypedEventHandler`2<Windows.Devices.Display.Core.DisplayManager,Windows.Devices.Display.Core.DisplayManagerEnabledEventArgs>)
|
|
320
|
+
def add_enabled(self, handler: windows_foundation.TypedEventHandler[DisplayManager, DisplayManagerEnabledEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
321
|
+
# System.Void Windows.Devices.Display.Core.DisplayManager::remove_Enabled(Windows.Foundation.EventRegistrationToken)
|
|
322
|
+
def remove_enabled(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
323
|
+
# Windows.Foundation.EventRegistrationToken Windows.Devices.Display.Core.DisplayManager::add_PathsFailedOrInvalidated(Windows.Foundation.TypedEventHandler`2<Windows.Devices.Display.Core.DisplayManager,Windows.Devices.Display.Core.DisplayManagerPathsFailedOrInvalidatedEventArgs>)
|
|
324
|
+
def add_paths_failed_or_invalidated(self, handler: windows_foundation.TypedEventHandler[DisplayManager, DisplayManagerPathsFailedOrInvalidatedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
|
|
325
|
+
# System.Void Windows.Devices.Display.Core.DisplayManager::remove_PathsFailedOrInvalidated(Windows.Foundation.EventRegistrationToken)
|
|
326
|
+
def remove_paths_failed_or_invalidated(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
327
|
+
|
|
328
|
+
@typing.final
|
|
329
|
+
class DisplayManagerChangedEventArgs(winrt.system.Object):
|
|
330
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
331
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
332
|
+
# Windows.Foundation.Deferral Windows.Devices.Display.Core.DisplayManagerChangedEventArgs::GetDeferral()
|
|
333
|
+
def get_deferral(self) -> windows_foundation.Deferral: ...
|
|
334
|
+
# System.Boolean Windows.Devices.Display.Core.DisplayManagerChangedEventArgs::get_Handled()
|
|
335
|
+
@_property
|
|
336
|
+
def handled(self) -> bool: ...
|
|
337
|
+
# System.Void Windows.Devices.Display.Core.DisplayManagerChangedEventArgs::put_Handled(System.Boolean)
|
|
338
|
+
@handled.setter
|
|
339
|
+
def handled(self, value: bool) -> None: ...
|
|
340
|
+
|
|
341
|
+
@typing.final
|
|
342
|
+
class DisplayManagerDisabledEventArgs(winrt.system.Object):
|
|
343
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
344
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
345
|
+
# Windows.Foundation.Deferral Windows.Devices.Display.Core.DisplayManagerDisabledEventArgs::GetDeferral()
|
|
346
|
+
def get_deferral(self) -> windows_foundation.Deferral: ...
|
|
347
|
+
# System.Boolean Windows.Devices.Display.Core.DisplayManagerDisabledEventArgs::get_Handled()
|
|
348
|
+
@_property
|
|
349
|
+
def handled(self) -> bool: ...
|
|
350
|
+
# System.Void Windows.Devices.Display.Core.DisplayManagerDisabledEventArgs::put_Handled(System.Boolean)
|
|
351
|
+
@handled.setter
|
|
352
|
+
def handled(self, value: bool) -> None: ...
|
|
353
|
+
|
|
354
|
+
@typing.final
|
|
355
|
+
class DisplayManagerEnabledEventArgs(winrt.system.Object):
|
|
356
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
357
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
358
|
+
# Windows.Foundation.Deferral Windows.Devices.Display.Core.DisplayManagerEnabledEventArgs::GetDeferral()
|
|
359
|
+
def get_deferral(self) -> windows_foundation.Deferral: ...
|
|
360
|
+
# System.Boolean Windows.Devices.Display.Core.DisplayManagerEnabledEventArgs::get_Handled()
|
|
361
|
+
@_property
|
|
362
|
+
def handled(self) -> bool: ...
|
|
363
|
+
# System.Void Windows.Devices.Display.Core.DisplayManagerEnabledEventArgs::put_Handled(System.Boolean)
|
|
364
|
+
@handled.setter
|
|
365
|
+
def handled(self, value: bool) -> None: ...
|
|
366
|
+
|
|
367
|
+
@typing.final
|
|
368
|
+
class DisplayManagerPathsFailedOrInvalidatedEventArgs(winrt.system.Object):
|
|
369
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
370
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
371
|
+
# Windows.Foundation.Deferral Windows.Devices.Display.Core.DisplayManagerPathsFailedOrInvalidatedEventArgs::GetDeferral()
|
|
372
|
+
def get_deferral(self) -> windows_foundation.Deferral: ...
|
|
373
|
+
# System.Boolean Windows.Devices.Display.Core.DisplayManagerPathsFailedOrInvalidatedEventArgs::get_Handled()
|
|
374
|
+
@_property
|
|
375
|
+
def handled(self) -> bool: ...
|
|
376
|
+
# System.Void Windows.Devices.Display.Core.DisplayManagerPathsFailedOrInvalidatedEventArgs::put_Handled(System.Boolean)
|
|
377
|
+
@handled.setter
|
|
378
|
+
def handled(self, value: bool) -> None: ...
|
|
379
|
+
|
|
380
|
+
@typing.final
|
|
381
|
+
class DisplayManagerResultWithState(winrt.system.Object):
|
|
382
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
383
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
384
|
+
# Windows.Devices.Display.Core.DisplayManagerResult Windows.Devices.Display.Core.DisplayManagerResultWithState::get_ErrorCode()
|
|
385
|
+
@_property
|
|
386
|
+
def error_code(self) -> DisplayManagerResult: ...
|
|
387
|
+
# Windows.Foundation.HResult Windows.Devices.Display.Core.DisplayManagerResultWithState::get_ExtendedErrorCode()
|
|
388
|
+
@_property
|
|
389
|
+
def extended_error_code(self) -> windows_foundation.HResult: ...
|
|
390
|
+
# Windows.Devices.Display.Core.DisplayState Windows.Devices.Display.Core.DisplayManagerResultWithState::get_State()
|
|
391
|
+
@_property
|
|
392
|
+
def state(self) -> DisplayState: ...
|
|
393
|
+
|
|
394
|
+
@typing.final
|
|
395
|
+
class DisplayModeInfo(winrt.system.Object):
|
|
396
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
397
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
398
|
+
# Windows.Devices.Display.Core.DisplayBitsPerChannel Windows.Devices.Display.Core.DisplayModeInfo::GetWireFormatSupportedBitsPerChannel(Windows.Devices.Display.Core.DisplayWireFormatPixelEncoding)
|
|
399
|
+
def get_wire_format_supported_bits_per_channel(self, encoding: DisplayWireFormatPixelEncoding, /) -> DisplayBitsPerChannel: ...
|
|
400
|
+
# System.Boolean Windows.Devices.Display.Core.DisplayModeInfo::IsWireFormatSupported(Windows.Devices.Display.Core.DisplayWireFormat)
|
|
401
|
+
def is_wire_format_supported(self, wire_format: DisplayWireFormat, /) -> bool: ...
|
|
402
|
+
# System.Boolean Windows.Devices.Display.Core.DisplayModeInfo::get_IsInterlaced()
|
|
403
|
+
@_property
|
|
404
|
+
def is_interlaced(self) -> bool: ...
|
|
405
|
+
# System.Boolean Windows.Devices.Display.Core.DisplayModeInfo::get_IsStereo()
|
|
406
|
+
@_property
|
|
407
|
+
def is_stereo(self) -> bool: ...
|
|
408
|
+
# Windows.Devices.Display.Core.DisplayPresentationRate Windows.Devices.Display.Core.DisplayModeInfo::get_PresentationRate()
|
|
409
|
+
@_property
|
|
410
|
+
def presentation_rate(self) -> DisplayPresentationRate: ...
|
|
411
|
+
# Windows.Foundation.Collections.IMapView`2<System.Guid,System.Object> Windows.Devices.Display.Core.DisplayModeInfo::get_Properties()
|
|
412
|
+
@_property
|
|
413
|
+
def properties(self) -> _cabc.Mapping[_uuid.UUID, winrt.system.Object]: ...
|
|
414
|
+
# Windows.Graphics.DirectX.DirectXPixelFormat Windows.Devices.Display.Core.DisplayModeInfo::get_SourcePixelFormat()
|
|
415
|
+
@_property
|
|
416
|
+
def source_pixel_format(self) -> windows_graphics_directx.DirectXPixelFormat: ...
|
|
417
|
+
# Windows.Graphics.SizeInt32 Windows.Devices.Display.Core.DisplayModeInfo::get_SourceResolution()
|
|
418
|
+
@_property
|
|
419
|
+
def source_resolution(self) -> windows_graphics.SizeInt32: ...
|
|
420
|
+
# Windows.Graphics.SizeInt32 Windows.Devices.Display.Core.DisplayModeInfo::get_TargetResolution()
|
|
421
|
+
@_property
|
|
422
|
+
def target_resolution(self) -> windows_graphics.SizeInt32: ...
|
|
423
|
+
# Windows.Devices.Display.Core.DisplayPresentationRate Windows.Devices.Display.Core.DisplayModeInfo::get_PhysicalPresentationRate()
|
|
424
|
+
@_property
|
|
425
|
+
def physical_presentation_rate(self) -> DisplayPresentationRate: ...
|
|
426
|
+
|
|
427
|
+
@typing.final
|
|
428
|
+
class DisplayMuxDevice_Static(winrt.system.Object_Static):
|
|
429
|
+
# Windows.Foundation.IAsyncOperation`1<Windows.Devices.Display.Core.DisplayMuxDevice> Windows.Devices.Display.Core.DisplayMuxDevice::FromIdAsync(System.String)
|
|
430
|
+
def from_id_async(cls, device_interface_id: str, /) -> windows_foundation.IAsyncOperation[DisplayMuxDevice]: ...
|
|
431
|
+
# System.String Windows.Devices.Display.Core.DisplayMuxDevice::GetDeviceSelector()
|
|
432
|
+
def get_device_selector(cls) -> str: ...
|
|
433
|
+
|
|
434
|
+
@typing.final
|
|
435
|
+
class DisplayMuxDevice(windows_foundation.IClosable, winrt.system.Object, metaclass=DisplayMuxDevice_Static):
|
|
436
|
+
def __enter__(self) -> typing.Self: ...
|
|
437
|
+
def __exit__(self, exc_type: type[BaseException] | None, exc_value: BaseException | None, traceback: types.TracebackType | None) -> None: ...
|
|
438
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
439
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
440
|
+
# System.Void Windows.Devices.Display.Core.DisplayMuxDevice::Close()
|
|
441
|
+
def close(self) -> None: ...
|
|
442
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Devices.Display.Core.DisplayTarget> Windows.Devices.Display.Core.DisplayMuxDevice::GetAvailableMuxTargets()
|
|
443
|
+
def get_available_mux_targets(self) -> _cabc.Sequence[DisplayTarget]: ...
|
|
444
|
+
# Windows.Foundation.IAsyncAction Windows.Devices.Display.Core.DisplayMuxDevice::SetAutomaticTargetSwitching()
|
|
445
|
+
def set_automatic_target_switching(self) -> windows_foundation.IAsyncAction: ...
|
|
446
|
+
# Windows.Foundation.IAsyncAction Windows.Devices.Display.Core.DisplayMuxDevice::SetPreferredTarget(Windows.Devices.Display.Core.DisplayTarget)
|
|
447
|
+
def set_preferred_target(self, target: DisplayTarget, /) -> windows_foundation.IAsyncAction: ...
|
|
448
|
+
# Windows.Foundation.EventRegistrationToken Windows.Devices.Display.Core.DisplayMuxDevice::add_Changed(Windows.Foundation.TypedEventHandler`2<Windows.Devices.Display.Core.DisplayMuxDevice,System.Object>)
|
|
449
|
+
def add_changed(self, handler: windows_foundation.TypedEventHandler[DisplayMuxDevice, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
450
|
+
# System.Void Windows.Devices.Display.Core.DisplayMuxDevice::remove_Changed(Windows.Foundation.EventRegistrationToken)
|
|
451
|
+
def remove_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
452
|
+
# Windows.Devices.Display.Core.DisplayTarget Windows.Devices.Display.Core.DisplayMuxDevice::get_CurrentTarget()
|
|
453
|
+
@_property
|
|
454
|
+
def current_target(self) -> DisplayTarget: ...
|
|
455
|
+
# System.String Windows.Devices.Display.Core.DisplayMuxDevice::get_Id()
|
|
456
|
+
@_property
|
|
457
|
+
def id(self) -> str: ...
|
|
458
|
+
# System.Boolean Windows.Devices.Display.Core.DisplayMuxDevice::get_IsActive()
|
|
459
|
+
@_property
|
|
460
|
+
def is_active(self) -> bool: ...
|
|
461
|
+
# System.Boolean Windows.Devices.Display.Core.DisplayMuxDevice::get_IsAutomaticTargetSwitchingEnabled()
|
|
462
|
+
@_property
|
|
463
|
+
def is_automatic_target_switching_enabled(self) -> bool: ...
|
|
464
|
+
# Windows.Devices.Display.Core.DisplayTarget Windows.Devices.Display.Core.DisplayMuxDevice::get_PreferredTarget()
|
|
465
|
+
@_property
|
|
466
|
+
def preferred_target(self) -> DisplayTarget: ...
|
|
467
|
+
|
|
468
|
+
@typing.final
|
|
469
|
+
class DisplayPath(winrt.system.Object):
|
|
470
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
471
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
472
|
+
# System.Void Windows.Devices.Display.Core.DisplayPath::ApplyPropertiesFromMode(Windows.Devices.Display.Core.DisplayModeInfo)
|
|
473
|
+
def apply_properties_from_mode(self, mode_result: DisplayModeInfo, /) -> None: ...
|
|
474
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Devices.Display.Core.DisplayModeInfo> Windows.Devices.Display.Core.DisplayPath::FindModes(Windows.Devices.Display.Core.DisplayModeQueryOptions)
|
|
475
|
+
def find_modes(self, flags: DisplayModeQueryOptions, /) -> _cabc.Sequence[DisplayModeInfo]: ...
|
|
476
|
+
# Windows.Devices.Display.Core.DisplayWireFormat Windows.Devices.Display.Core.DisplayPath::get_WireFormat()
|
|
477
|
+
@_property
|
|
478
|
+
def wire_format(self) -> DisplayWireFormat: ...
|
|
479
|
+
# System.Void Windows.Devices.Display.Core.DisplayPath::put_WireFormat(Windows.Devices.Display.Core.DisplayWireFormat)
|
|
480
|
+
@wire_format.setter
|
|
481
|
+
def wire_format(self, value: DisplayWireFormat) -> None: ...
|
|
482
|
+
# Windows.Foundation.IReference`1<Windows.Graphics.SizeInt32> Windows.Devices.Display.Core.DisplayPath::get_TargetResolution()
|
|
483
|
+
@_property
|
|
484
|
+
def target_resolution(self) -> windows_graphics.SizeInt32 | None: ...
|
|
485
|
+
# System.Void Windows.Devices.Display.Core.DisplayPath::put_TargetResolution(Windows.Foundation.IReference`1<Windows.Graphics.SizeInt32>)
|
|
486
|
+
@target_resolution.setter
|
|
487
|
+
def target_resolution(self, value: windows_graphics.SizeInt32 | None) -> None: ...
|
|
488
|
+
# Windows.Foundation.IReference`1<Windows.Graphics.SizeInt32> Windows.Devices.Display.Core.DisplayPath::get_SourceResolution()
|
|
489
|
+
@_property
|
|
490
|
+
def source_resolution(self) -> windows_graphics.SizeInt32 | None: ...
|
|
491
|
+
# System.Void Windows.Devices.Display.Core.DisplayPath::put_SourceResolution(Windows.Foundation.IReference`1<Windows.Graphics.SizeInt32>)
|
|
492
|
+
@source_resolution.setter
|
|
493
|
+
def source_resolution(self, value: windows_graphics.SizeInt32 | None) -> None: ...
|
|
494
|
+
# Windows.Graphics.DirectX.DirectXPixelFormat Windows.Devices.Display.Core.DisplayPath::get_SourcePixelFormat()
|
|
495
|
+
@_property
|
|
496
|
+
def source_pixel_format(self) -> windows_graphics_directx.DirectXPixelFormat: ...
|
|
497
|
+
# System.Void Windows.Devices.Display.Core.DisplayPath::put_SourcePixelFormat(Windows.Graphics.DirectX.DirectXPixelFormat)
|
|
498
|
+
@source_pixel_format.setter
|
|
499
|
+
def source_pixel_format(self, value: windows_graphics_directx.DirectXPixelFormat) -> None: ...
|
|
500
|
+
# Windows.Devices.Display.Core.DisplayPathScaling Windows.Devices.Display.Core.DisplayPath::get_Scaling()
|
|
501
|
+
@_property
|
|
502
|
+
def scaling(self) -> DisplayPathScaling: ...
|
|
503
|
+
# System.Void Windows.Devices.Display.Core.DisplayPath::put_Scaling(Windows.Devices.Display.Core.DisplayPathScaling)
|
|
504
|
+
@scaling.setter
|
|
505
|
+
def scaling(self, value: DisplayPathScaling) -> None: ...
|
|
506
|
+
# Windows.Devices.Display.Core.DisplayRotation Windows.Devices.Display.Core.DisplayPath::get_Rotation()
|
|
507
|
+
@_property
|
|
508
|
+
def rotation(self) -> DisplayRotation: ...
|
|
509
|
+
# System.Void Windows.Devices.Display.Core.DisplayPath::put_Rotation(Windows.Devices.Display.Core.DisplayRotation)
|
|
510
|
+
@rotation.setter
|
|
511
|
+
def rotation(self, value: DisplayRotation) -> None: ...
|
|
512
|
+
# Windows.Foundation.IReference`1<Windows.Devices.Display.Core.DisplayPresentationRate> Windows.Devices.Display.Core.DisplayPath::get_PresentationRate()
|
|
513
|
+
@_property
|
|
514
|
+
def presentation_rate(self) -> DisplayPresentationRate | None: ...
|
|
515
|
+
# System.Void Windows.Devices.Display.Core.DisplayPath::put_PresentationRate(Windows.Foundation.IReference`1<Windows.Devices.Display.Core.DisplayPresentationRate>)
|
|
516
|
+
@presentation_rate.setter
|
|
517
|
+
def presentation_rate(self, value: DisplayPresentationRate | None) -> None: ...
|
|
518
|
+
# System.Boolean Windows.Devices.Display.Core.DisplayPath::get_IsStereo()
|
|
519
|
+
@_property
|
|
520
|
+
def is_stereo(self) -> bool: ...
|
|
521
|
+
# System.Void Windows.Devices.Display.Core.DisplayPath::put_IsStereo(System.Boolean)
|
|
522
|
+
@is_stereo.setter
|
|
523
|
+
def is_stereo(self, value: bool) -> None: ...
|
|
524
|
+
# Windows.Foundation.IReference`1<System.Boolean> Windows.Devices.Display.Core.DisplayPath::get_IsInterlaced()
|
|
525
|
+
@_property
|
|
526
|
+
def is_interlaced(self) -> bool | None: ...
|
|
527
|
+
# System.Void Windows.Devices.Display.Core.DisplayPath::put_IsInterlaced(Windows.Foundation.IReference`1<System.Boolean>)
|
|
528
|
+
@is_interlaced.setter
|
|
529
|
+
def is_interlaced(self, value: bool | None) -> None: ...
|
|
530
|
+
# Windows.Foundation.Collections.IMap`2<System.Guid,System.Object> Windows.Devices.Display.Core.DisplayPath::get_Properties()
|
|
531
|
+
@_property
|
|
532
|
+
def properties(self) -> _cabc.MutableMapping[_uuid.UUID, winrt.system.Object]: ...
|
|
533
|
+
# Windows.Devices.Display.Core.DisplayPathStatus Windows.Devices.Display.Core.DisplayPath::get_Status()
|
|
534
|
+
@_property
|
|
535
|
+
def status(self) -> DisplayPathStatus: ...
|
|
536
|
+
# Windows.Devices.Display.Core.DisplayTarget Windows.Devices.Display.Core.DisplayPath::get_Target()
|
|
537
|
+
@_property
|
|
538
|
+
def target(self) -> DisplayTarget: ...
|
|
539
|
+
# Windows.Devices.Display.Core.DisplayView Windows.Devices.Display.Core.DisplayPath::get_View()
|
|
540
|
+
@_property
|
|
541
|
+
def view(self) -> DisplayView: ...
|
|
542
|
+
# Windows.Foundation.IReference`1<Windows.Devices.Display.Core.DisplayPresentationRate> Windows.Devices.Display.Core.DisplayPath::get_PhysicalPresentationRate()
|
|
543
|
+
@_property
|
|
544
|
+
def physical_presentation_rate(self) -> DisplayPresentationRate | None: ...
|
|
545
|
+
# System.Void Windows.Devices.Display.Core.DisplayPath::put_PhysicalPresentationRate(Windows.Foundation.IReference`1<Windows.Devices.Display.Core.DisplayPresentationRate>)
|
|
546
|
+
@physical_presentation_rate.setter
|
|
547
|
+
def physical_presentation_rate(self, value: DisplayPresentationRate | None) -> None: ...
|
|
548
|
+
|
|
549
|
+
@typing.final
|
|
550
|
+
class DisplayPrimaryDescription_Static(winrt.system.Object_Static):
|
|
551
|
+
# Windows.Devices.Display.Core.DisplayPrimaryDescription Windows.Devices.Display.Core.DisplayPrimaryDescription::CreateWithProperties(Windows.Foundation.Collections.IIterable`1<Windows.Foundation.Collections.IKeyValuePair`2<System.Guid,System.Object>>,System.UInt32,System.UInt32,Windows.Graphics.DirectX.DirectXPixelFormat,Windows.Graphics.DirectX.DirectXColorSpace,System.Boolean,Windows.Graphics.DirectX.Direct3D11.Direct3DMultisampleDescription)
|
|
552
|
+
def create_with_properties(cls, extra_properties: _cabc.Mapping[_uuid.UUID, winrt.system.Object] | _cabc.Iterable[windows_foundation_collections.IKeyValuePair[_uuid.UUID, winrt.system.Object]], width: winrt.system.UInt32 | typing.SupportsIndex, height: winrt.system.UInt32 | typing.SupportsIndex, pixel_format: windows_graphics_directx.DirectXPixelFormat, color_space: windows_graphics_directx.DirectXColorSpace, is_stereo: bool, multisample_description: windows_graphics_directx_direct3d11.Direct3DMultisampleDescription | tuple[winrt.system.Int32 | typing.SupportsIndex, winrt.system.Int32 | typing.SupportsIndex], /) -> DisplayPrimaryDescription: ...
|
|
553
|
+
|
|
554
|
+
@typing.final
|
|
555
|
+
class DisplayPrimaryDescription(winrt.system.Object, metaclass=DisplayPrimaryDescription_Static):
|
|
556
|
+
def __new__(cls, width: winrt.system.UInt32 | typing.SupportsIndex, height: winrt.system.UInt32 | typing.SupportsIndex, pixel_format: windows_graphics_directx.DirectXPixelFormat, color_space: windows_graphics_directx.DirectXColorSpace, is_stereo: bool, multisample_description: windows_graphics_directx_direct3d11.Direct3DMultisampleDescription | tuple[winrt.system.Int32 | typing.SupportsIndex, winrt.system.Int32 | typing.SupportsIndex], /) -> typing.Self: ...
|
|
557
|
+
# Windows.Graphics.DirectX.DirectXColorSpace Windows.Devices.Display.Core.DisplayPrimaryDescription::get_ColorSpace()
|
|
558
|
+
@_property
|
|
559
|
+
def color_space(self) -> windows_graphics_directx.DirectXColorSpace: ...
|
|
560
|
+
# Windows.Graphics.DirectX.DirectXPixelFormat Windows.Devices.Display.Core.DisplayPrimaryDescription::get_Format()
|
|
561
|
+
@_property
|
|
562
|
+
def format(self) -> windows_graphics_directx.DirectXPixelFormat: ...
|
|
563
|
+
# System.UInt32 Windows.Devices.Display.Core.DisplayPrimaryDescription::get_Height()
|
|
564
|
+
@_property
|
|
565
|
+
def height(self) -> winrt.system.UInt32: ...
|
|
566
|
+
# System.Boolean Windows.Devices.Display.Core.DisplayPrimaryDescription::get_IsStereo()
|
|
567
|
+
@_property
|
|
568
|
+
def is_stereo(self) -> bool: ...
|
|
569
|
+
# Windows.Graphics.DirectX.Direct3D11.Direct3DMultisampleDescription Windows.Devices.Display.Core.DisplayPrimaryDescription::get_MultisampleDescription()
|
|
570
|
+
@_property
|
|
571
|
+
def multisample_description(self) -> windows_graphics_directx_direct3d11.Direct3DMultisampleDescription: ...
|
|
572
|
+
# Windows.Foundation.Collections.IMapView`2<System.Guid,System.Object> Windows.Devices.Display.Core.DisplayPrimaryDescription::get_Properties()
|
|
573
|
+
@_property
|
|
574
|
+
def properties(self) -> _cabc.Mapping[_uuid.UUID, winrt.system.Object]: ...
|
|
575
|
+
# System.UInt32 Windows.Devices.Display.Core.DisplayPrimaryDescription::get_Width()
|
|
576
|
+
@_property
|
|
577
|
+
def width(self) -> winrt.system.UInt32: ...
|
|
578
|
+
|
|
579
|
+
@typing.final
|
|
580
|
+
class DisplayScanout(winrt.system.Object):
|
|
581
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
582
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
583
|
+
|
|
584
|
+
@typing.final
|
|
585
|
+
class DisplaySource(winrt.system.Object):
|
|
586
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
587
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
588
|
+
# Windows.Storage.Streams.IBuffer Windows.Devices.Display.Core.DisplaySource::GetMetadata(System.Guid)
|
|
589
|
+
def get_metadata(self, key: _uuid.UUID, /) -> windows_storage_streams.IBuffer: ...
|
|
590
|
+
# Windows.Foundation.EventRegistrationToken Windows.Devices.Display.Core.DisplaySource::add_StatusChanged(Windows.Foundation.TypedEventHandler`2<Windows.Devices.Display.Core.DisplaySource,System.Object>)
|
|
591
|
+
def add_status_changed(self, handler: windows_foundation.TypedEventHandler[DisplaySource, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
|
|
592
|
+
# System.Void Windows.Devices.Display.Core.DisplaySource::remove_StatusChanged(Windows.Foundation.EventRegistrationToken)
|
|
593
|
+
def remove_status_changed(self, token: windows_foundation.EventRegistrationToken, /) -> None: ...
|
|
594
|
+
# Windows.Graphics.DisplayAdapterId Windows.Devices.Display.Core.DisplaySource::get_AdapterId()
|
|
595
|
+
@_property
|
|
596
|
+
def adapter_id(self) -> windows_graphics.DisplayAdapterId: ...
|
|
597
|
+
# System.UInt32 Windows.Devices.Display.Core.DisplaySource::get_SourceId()
|
|
598
|
+
@_property
|
|
599
|
+
def source_id(self) -> winrt.system.UInt32: ...
|
|
600
|
+
# Windows.Devices.Display.Core.DisplaySourceStatus Windows.Devices.Display.Core.DisplaySource::get_Status()
|
|
601
|
+
@_property
|
|
602
|
+
def status(self) -> DisplaySourceStatus: ...
|
|
603
|
+
|
|
604
|
+
@typing.final
|
|
605
|
+
class DisplayState(winrt.system.Object):
|
|
606
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
607
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
608
|
+
# System.Boolean Windows.Devices.Display.Core.DisplayState::CanConnectTargetToView(Windows.Devices.Display.Core.DisplayTarget,Windows.Devices.Display.Core.DisplayView)
|
|
609
|
+
def can_connect_target_to_view(self, target: DisplayTarget, view: DisplayView, /) -> bool: ...
|
|
610
|
+
# Windows.Devices.Display.Core.DisplayState Windows.Devices.Display.Core.DisplayState::Clone()
|
|
611
|
+
def clone(self) -> DisplayState: ...
|
|
612
|
+
@typing.overload
|
|
613
|
+
# Windows.Devices.Display.Core.DisplayPath Windows.Devices.Display.Core.DisplayState::ConnectTarget(Windows.Devices.Display.Core.DisplayTarget)
|
|
614
|
+
def connect_target(self, target: DisplayTarget, /) -> DisplayPath: ...
|
|
615
|
+
@typing.overload
|
|
616
|
+
# Windows.Devices.Display.Core.DisplayPath Windows.Devices.Display.Core.DisplayState::ConnectTarget(Windows.Devices.Display.Core.DisplayTarget,Windows.Devices.Display.Core.DisplayView)
|
|
617
|
+
def connect_target(self, target: DisplayTarget, view: DisplayView, /) -> DisplayPath: ...
|
|
618
|
+
# Deprecated alias of connect_target() for pywinrt v3.x compatibility.
|
|
619
|
+
# Windows.Devices.Display.Core.DisplayPath Windows.Devices.Display.Core.DisplayState::ConnectTarget(Windows.Devices.Display.Core.DisplayTarget,Windows.Devices.Display.Core.DisplayView)
|
|
620
|
+
@deprecated("Use connect_target() instead.")
|
|
621
|
+
def connect_target_to_view(self, target: DisplayTarget, view: DisplayView, /) -> DisplayPath: ...
|
|
622
|
+
# System.Void Windows.Devices.Display.Core.DisplayState::DisconnectTarget(Windows.Devices.Display.Core.DisplayTarget)
|
|
623
|
+
def disconnect_target(self, target: DisplayTarget, /) -> None: ...
|
|
624
|
+
# Windows.Devices.Display.Core.DisplayPath Windows.Devices.Display.Core.DisplayState::GetPathForTarget(Windows.Devices.Display.Core.DisplayTarget)
|
|
625
|
+
def get_path_for_target(self, target: DisplayTarget, /) -> DisplayPath: ...
|
|
626
|
+
# Windows.Devices.Display.Core.DisplayView Windows.Devices.Display.Core.DisplayState::GetViewForTarget(Windows.Devices.Display.Core.DisplayTarget)
|
|
627
|
+
def get_view_for_target(self, target: DisplayTarget, /) -> DisplayView: ...
|
|
628
|
+
# Windows.Devices.Display.Core.DisplayStateOperationResult Windows.Devices.Display.Core.DisplayState::TryApply(Windows.Devices.Display.Core.DisplayStateApplyOptions)
|
|
629
|
+
def try_apply(self, options: DisplayStateApplyOptions, /) -> DisplayStateOperationResult: ...
|
|
630
|
+
# Windows.Devices.Display.Core.DisplayStateOperationResult Windows.Devices.Display.Core.DisplayState::TryFunctionalize(Windows.Devices.Display.Core.DisplayStateFunctionalizeOptions)
|
|
631
|
+
def try_functionalize(self, options: DisplayStateFunctionalizeOptions, /) -> DisplayStateOperationResult: ...
|
|
632
|
+
# System.Boolean Windows.Devices.Display.Core.DisplayState::get_IsReadOnly()
|
|
633
|
+
@_property
|
|
634
|
+
def is_read_only(self) -> bool: ...
|
|
635
|
+
# System.Boolean Windows.Devices.Display.Core.DisplayState::get_IsStale()
|
|
636
|
+
@_property
|
|
637
|
+
def is_stale(self) -> bool: ...
|
|
638
|
+
# Windows.Foundation.Collections.IMap`2<System.Guid,System.Object> Windows.Devices.Display.Core.DisplayState::get_Properties()
|
|
639
|
+
@_property
|
|
640
|
+
def properties(self) -> _cabc.MutableMapping[_uuid.UUID, winrt.system.Object]: ...
|
|
641
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Devices.Display.Core.DisplayTarget> Windows.Devices.Display.Core.DisplayState::get_Targets()
|
|
642
|
+
@_property
|
|
643
|
+
def targets(self) -> _cabc.Sequence[DisplayTarget]: ...
|
|
644
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Devices.Display.Core.DisplayView> Windows.Devices.Display.Core.DisplayState::get_Views()
|
|
645
|
+
@_property
|
|
646
|
+
def views(self) -> _cabc.Sequence[DisplayView]: ...
|
|
647
|
+
|
|
648
|
+
@typing.final
|
|
649
|
+
class DisplayStateOperationResult(winrt.system.Object):
|
|
650
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
651
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
652
|
+
# Windows.Foundation.HResult Windows.Devices.Display.Core.DisplayStateOperationResult::get_ExtendedErrorCode()
|
|
653
|
+
@_property
|
|
654
|
+
def extended_error_code(self) -> windows_foundation.HResult: ...
|
|
655
|
+
# Windows.Devices.Display.Core.DisplayStateOperationStatus Windows.Devices.Display.Core.DisplayStateOperationResult::get_Status()
|
|
656
|
+
@_property
|
|
657
|
+
def status(self) -> DisplayStateOperationStatus: ...
|
|
658
|
+
|
|
659
|
+
@typing.final
|
|
660
|
+
class DisplaySurface(winrt.system.Object):
|
|
661
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
662
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
663
|
+
|
|
664
|
+
@typing.final
|
|
665
|
+
class DisplayTarget(winrt.system.Object):
|
|
666
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
667
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
668
|
+
# System.Boolean Windows.Devices.Display.Core.DisplayTarget::IsEqual(Windows.Devices.Display.Core.DisplayTarget)
|
|
669
|
+
def is_equal(self, other_target: DisplayTarget, /) -> bool: ...
|
|
670
|
+
# System.Boolean Windows.Devices.Display.Core.DisplayTarget::IsSame(Windows.Devices.Display.Core.DisplayTarget)
|
|
671
|
+
def is_same(self, other_target: DisplayTarget, /) -> bool: ...
|
|
672
|
+
# Windows.Devices.Display.DisplayMonitor Windows.Devices.Display.Core.DisplayTarget::TryGetMonitor()
|
|
673
|
+
def try_get_monitor(self) -> windows_devices_display.DisplayMonitor | None: ...
|
|
674
|
+
# Windows.Devices.Display.Core.DisplayAdapter Windows.Devices.Display.Core.DisplayTarget::get_Adapter()
|
|
675
|
+
@_property
|
|
676
|
+
def adapter(self) -> DisplayAdapter: ...
|
|
677
|
+
# System.UInt32 Windows.Devices.Display.Core.DisplayTarget::get_AdapterRelativeId()
|
|
678
|
+
@_property
|
|
679
|
+
def adapter_relative_id(self) -> winrt.system.UInt32: ...
|
|
680
|
+
# System.String Windows.Devices.Display.Core.DisplayTarget::get_DeviceInterfacePath()
|
|
681
|
+
@_property
|
|
682
|
+
def device_interface_path(self) -> str: ...
|
|
683
|
+
# System.Boolean Windows.Devices.Display.Core.DisplayTarget::get_IsConnected()
|
|
684
|
+
@_property
|
|
685
|
+
def is_connected(self) -> bool: ...
|
|
686
|
+
# System.Boolean Windows.Devices.Display.Core.DisplayTarget::get_IsStale()
|
|
687
|
+
@_property
|
|
688
|
+
def is_stale(self) -> bool: ...
|
|
689
|
+
# System.Boolean Windows.Devices.Display.Core.DisplayTarget::get_IsVirtualModeEnabled()
|
|
690
|
+
@_property
|
|
691
|
+
def is_virtual_mode_enabled(self) -> bool: ...
|
|
692
|
+
# System.Boolean Windows.Devices.Display.Core.DisplayTarget::get_IsVirtualTopologyEnabled()
|
|
693
|
+
@_property
|
|
694
|
+
def is_virtual_topology_enabled(self) -> bool: ...
|
|
695
|
+
# Windows.Devices.Display.Core.DisplayTargetPersistence Windows.Devices.Display.Core.DisplayTarget::get_MonitorPersistence()
|
|
696
|
+
@_property
|
|
697
|
+
def monitor_persistence(self) -> DisplayTargetPersistence: ...
|
|
698
|
+
# Windows.Foundation.Collections.IMapView`2<System.Guid,System.Object> Windows.Devices.Display.Core.DisplayTarget::get_Properties()
|
|
699
|
+
@_property
|
|
700
|
+
def properties(self) -> _cabc.Mapping[_uuid.UUID, winrt.system.Object]: ...
|
|
701
|
+
# System.String Windows.Devices.Display.Core.DisplayTarget::get_StableMonitorId()
|
|
702
|
+
@_property
|
|
703
|
+
def stable_monitor_id(self) -> str: ...
|
|
704
|
+
# Windows.Devices.Display.DisplayMonitorUsageKind Windows.Devices.Display.Core.DisplayTarget::get_UsageKind()
|
|
705
|
+
@_property
|
|
706
|
+
def usage_kind(self) -> windows_devices_display.DisplayMonitorUsageKind: ...
|
|
707
|
+
|
|
708
|
+
@typing.final
|
|
709
|
+
class DisplayTask(winrt.system.Object):
|
|
710
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
711
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
712
|
+
# System.Void Windows.Devices.Display.Core.DisplayTask::SetScanout(Windows.Devices.Display.Core.DisplayScanout)
|
|
713
|
+
def set_scanout(self, scanout: DisplayScanout, /) -> None: ...
|
|
714
|
+
# System.Void Windows.Devices.Display.Core.DisplayTask::SetSignal(Windows.Devices.Display.Core.DisplayTaskSignalKind,Windows.Devices.Display.Core.DisplayFence)
|
|
715
|
+
def set_signal(self, signal_kind: DisplayTaskSignalKind, fence: DisplayFence, /) -> None: ...
|
|
716
|
+
# System.Void Windows.Devices.Display.Core.DisplayTask::SetWait(Windows.Devices.Display.Core.DisplayFence,System.UInt64)
|
|
717
|
+
def set_wait(self, ready_fence: DisplayFence, ready_fence_value: winrt.system.UInt64 | typing.SupportsIndex, /) -> None: ...
|
|
718
|
+
|
|
719
|
+
@typing.final
|
|
720
|
+
class DisplayTaskPool(winrt.system.Object):
|
|
721
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
722
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
723
|
+
# Windows.Devices.Display.Core.DisplayTask Windows.Devices.Display.Core.DisplayTaskPool::CreateTask()
|
|
724
|
+
def create_task(self) -> DisplayTask: ...
|
|
725
|
+
# System.Void Windows.Devices.Display.Core.DisplayTaskPool::ExecuteTask(Windows.Devices.Display.Core.DisplayTask)
|
|
726
|
+
@deprecated("Use TryExecuteTask instead of ExecuteTask. For more info see MSDN")
|
|
727
|
+
def execute_task(self, task: DisplayTask, /) -> None: ...
|
|
728
|
+
# Windows.Devices.Display.Core.DisplayTaskResult Windows.Devices.Display.Core.DisplayTaskPool::TryExecuteTask(Windows.Devices.Display.Core.DisplayTask)
|
|
729
|
+
def try_execute_task(self, task: DisplayTask, /) -> DisplayTaskResult: ...
|
|
730
|
+
|
|
731
|
+
@typing.final
|
|
732
|
+
class DisplayTaskResult(winrt.system.Object):
|
|
733
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
734
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
735
|
+
# System.UInt64 Windows.Devices.Display.Core.DisplayTaskResult::get_PresentId()
|
|
736
|
+
@_property
|
|
737
|
+
def present_id(self) -> winrt.system.UInt64: ...
|
|
738
|
+
# Windows.Devices.Display.Core.DisplayPresentStatus Windows.Devices.Display.Core.DisplayTaskResult::get_PresentStatus()
|
|
739
|
+
@_property
|
|
740
|
+
def present_status(self) -> DisplayPresentStatus: ...
|
|
741
|
+
# Windows.Devices.Display.Core.DisplaySourceStatus Windows.Devices.Display.Core.DisplayTaskResult::get_SourceStatus()
|
|
742
|
+
@_property
|
|
743
|
+
def source_status(self) -> DisplaySourceStatus: ...
|
|
744
|
+
|
|
745
|
+
@typing.final
|
|
746
|
+
class DisplayView(winrt.system.Object):
|
|
747
|
+
def __new__(cls, _: typing.Never, /) -> typing.Self:
|
|
748
|
+
"""WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
|
|
749
|
+
# System.Void Windows.Devices.Display.Core.DisplayView::SetPrimaryPath(Windows.Devices.Display.Core.DisplayPath)
|
|
750
|
+
def set_primary_path(self, path: DisplayPath, /) -> None: ...
|
|
751
|
+
# Windows.Foundation.IReference`1<Windows.Graphics.SizeInt32> Windows.Devices.Display.Core.DisplayView::get_ContentResolution()
|
|
752
|
+
@_property
|
|
753
|
+
def content_resolution(self) -> windows_graphics.SizeInt32 | None: ...
|
|
754
|
+
# System.Void Windows.Devices.Display.Core.DisplayView::put_ContentResolution(Windows.Foundation.IReference`1<Windows.Graphics.SizeInt32>)
|
|
755
|
+
@content_resolution.setter
|
|
756
|
+
def content_resolution(self, value: windows_graphics.SizeInt32 | None) -> None: ...
|
|
757
|
+
# Windows.Foundation.Collections.IVectorView`1<Windows.Devices.Display.Core.DisplayPath> Windows.Devices.Display.Core.DisplayView::get_Paths()
|
|
758
|
+
@_property
|
|
759
|
+
def paths(self) -> _cabc.Sequence[DisplayPath]: ...
|
|
760
|
+
# Windows.Foundation.Collections.IMap`2<System.Guid,System.Object> Windows.Devices.Display.Core.DisplayView::get_Properties()
|
|
761
|
+
@_property
|
|
762
|
+
def properties(self) -> _cabc.MutableMapping[_uuid.UUID, winrt.system.Object]: ...
|
|
763
|
+
|
|
764
|
+
@typing.final
|
|
765
|
+
class DisplayWireFormat_Static(winrt.system.Object_Static):
|
|
766
|
+
# Windows.Devices.Display.Core.DisplayWireFormat Windows.Devices.Display.Core.DisplayWireFormat::CreateWithProperties(Windows.Foundation.Collections.IIterable`1<Windows.Foundation.Collections.IKeyValuePair`2<System.Guid,System.Object>>,Windows.Devices.Display.Core.DisplayWireFormatPixelEncoding,System.Int32,Windows.Devices.Display.Core.DisplayWireFormatColorSpace,Windows.Devices.Display.Core.DisplayWireFormatEotf,Windows.Devices.Display.Core.DisplayWireFormatHdrMetadata)
|
|
767
|
+
def create_with_properties(cls, extra_properties: _cabc.Mapping[_uuid.UUID, winrt.system.Object] | _cabc.Iterable[windows_foundation_collections.IKeyValuePair[_uuid.UUID, winrt.system.Object]], pixel_encoding: DisplayWireFormatPixelEncoding, bits_per_channel: winrt.system.Int32 | typing.SupportsIndex, color_space: DisplayWireFormatColorSpace, eotf: DisplayWireFormatEotf, hdr_metadata: DisplayWireFormatHdrMetadata, /) -> DisplayWireFormat: ...
|
|
768
|
+
|
|
769
|
+
@typing.final
|
|
770
|
+
class DisplayWireFormat(winrt.system.Object, metaclass=DisplayWireFormat_Static):
|
|
771
|
+
def __new__(cls, pixel_encoding: DisplayWireFormatPixelEncoding, bits_per_channel: winrt.system.Int32 | typing.SupportsIndex, color_space: DisplayWireFormatColorSpace, eotf: DisplayWireFormatEotf, hdr_metadata: DisplayWireFormatHdrMetadata, /) -> typing.Self: ...
|
|
772
|
+
# System.Int32 Windows.Devices.Display.Core.DisplayWireFormat::get_BitsPerChannel()
|
|
773
|
+
@_property
|
|
774
|
+
def bits_per_channel(self) -> winrt.system.Int32: ...
|
|
775
|
+
# Windows.Devices.Display.Core.DisplayWireFormatColorSpace Windows.Devices.Display.Core.DisplayWireFormat::get_ColorSpace()
|
|
776
|
+
@_property
|
|
777
|
+
def color_space(self) -> DisplayWireFormatColorSpace: ...
|
|
778
|
+
# Windows.Devices.Display.Core.DisplayWireFormatEotf Windows.Devices.Display.Core.DisplayWireFormat::get_Eotf()
|
|
779
|
+
@_property
|
|
780
|
+
def eotf(self) -> DisplayWireFormatEotf: ...
|
|
781
|
+
# Windows.Devices.Display.Core.DisplayWireFormatHdrMetadata Windows.Devices.Display.Core.DisplayWireFormat::get_HdrMetadata()
|
|
782
|
+
@_property
|
|
783
|
+
def hdr_metadata(self) -> DisplayWireFormatHdrMetadata: ...
|
|
784
|
+
# Windows.Devices.Display.Core.DisplayWireFormatPixelEncoding Windows.Devices.Display.Core.DisplayWireFormat::get_PixelEncoding()
|
|
785
|
+
@_property
|
|
786
|
+
def pixel_encoding(self) -> DisplayWireFormatPixelEncoding: ...
|
|
787
|
+
# Windows.Foundation.Collections.IMapView`2<System.Guid,System.Object> Windows.Devices.Display.Core.DisplayWireFormat::get_Properties()
|
|
788
|
+
@_property
|
|
789
|
+
def properties(self) -> _cabc.Mapping[_uuid.UUID, winrt.system.Object]: ...
|
|
790
|
+
|
|
Binary file
|
|
File without changes
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
Metadata-Version: 2.5
|
|
2
|
+
Name: winrt-Windows.Devices.Display.Core
|
|
3
|
+
Version: 4!10.0.28000.2705
|
|
4
|
+
Summary: PyWinRT projection of the Windows.Devices.Display.Core namespace
|
|
5
|
+
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
6
|
+
Project-URL: Repository, https://github.com/pywinrt/pywinrt
|
|
7
|
+
Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md
|
|
8
|
+
License-Expression: MIT
|
|
9
|
+
License-File: LICENSE
|
|
10
|
+
Classifier: Intended Audience :: Developers
|
|
11
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
12
|
+
Classifier: Programming Language :: Python :: 3
|
|
13
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
14
|
+
Classifier: Programming Language :: Python :: 3.12
|
|
15
|
+
Classifier: Programming Language :: Python :: 3.13
|
|
16
|
+
Classifier: Programming Language :: Python :: 3.14
|
|
17
|
+
Classifier: Programming Language :: Python :: 3.15
|
|
18
|
+
Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
|
|
19
|
+
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
20
|
+
Classifier: Typing :: Typed
|
|
21
|
+
Requires-Python: >=3.11
|
|
22
|
+
Requires-Dist: winrt-runtime<5,>=4.0.0
|
|
23
|
+
Requires-Dist: winrt-windows-foundation-collections>=4!10.0.28000.2705
|
|
24
|
+
Requires-Dist: winrt-windows-foundation>=4!10.0.28000.2705
|
|
25
|
+
Requires-Dist: winrt-windows-storage-streams>=4!10.0.28000.2705
|
|
26
|
+
Provides-Extra: all
|
|
27
|
+
Requires-Dist: winrt-windows-devices-display[all]>=4!10.0.28000.2705; extra == 'all'
|
|
28
|
+
Requires-Dist: winrt-windows-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
|
|
29
|
+
Requires-Dist: winrt-windows-foundation-numerics[all]>=4!10.0.28000.2705; extra == 'all'
|
|
30
|
+
Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
|
|
31
|
+
Requires-Dist: winrt-windows-graphics-directx-direct3d11[all]>=4!10.0.28000.2705; extra == 'all'
|
|
32
|
+
Requires-Dist: winrt-windows-graphics-directx[all]>=4!10.0.28000.2705; extra == 'all'
|
|
33
|
+
Requires-Dist: winrt-windows-graphics[all]>=4!10.0.28000.2705; extra == 'all'
|
|
34
|
+
Requires-Dist: winrt-windows-storage-streams[all]>=4!10.0.28000.2705; extra == 'all'
|
|
35
|
+
Description-Content-Type: text/markdown
|
|
36
|
+
|
|
37
|
+
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
38
|
+
|
|
39
|
+
# winrt-Windows.Devices.Display.Core
|
|
40
|
+
|
|
41
|
+
Windows Runtime (WinRT) APIs for the `Windows.Devices.Display.Core` namespace.
|
|
42
|
+
|
|
43
|
+
This package provides the `winrt.windows.devices.display.core` module.
|
|
44
|
+
|
|
45
|
+
The WinRT APIs in it are those of version 10.0.28000.2705 of the
|
|
46
|
+
`Microsoft.Windows.SDK.CPP` NuGet package.
|
|
47
|
+
|
|
48
|
+
```
|
|
49
|
+
pip install winrt-Windows.Devices.Display.Core
|
|
50
|
+
```
|
|
51
|
+
|
|
52
|
+
Other WinRT namespaces are packages of their own, so install the package of
|
|
53
|
+
each namespace your code imports from.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
winrt/windows/devices/display/core/__init__.py,sha256=_a5jA74WUc5sTCnJQ-Z1Jx3p8pg0uEeBSsFwbsB8fOM,1576
|
|
2
|
+
winrt/windows/devices/display/core/__init__.pyi,sha256=sbc7ly4ykcdiQmViXS2J6tFlJYLcKC6hkYXJJJ7ISpg,52156
|
|
3
|
+
winrt/windows/devices/display/core/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
4
|
+
winrt/windows/devices/display/core/_table.pywinrt,sha256=cpbOebM38Vr24e7rj4N8rzDTF1A406EbjqA4wXaFcqk,68336
|
|
5
|
+
winrt_windows_devices_display_core-4!10.0.28000.2705.dist-info/METADATA,sha256=6NmZWNtH7c0DlNlO7qKKWAOf1HID52CMWaPTT0EIwNE,2561
|
|
6
|
+
winrt_windows_devices_display_core-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
7
|
+
winrt_windows_devices_display_core-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
|
|
8
|
+
winrt_windows_devices_display_core-4!10.0.28000.2705.dist-info/RECORD,,
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) Microsoft Corporation. All rights reserved.
|
|
4
|
+
Copyright (c) 2021-2026 David Lechner <david@pybricks.com>
|
|
5
|
+
|
|
6
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
7
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
8
|
+
in the Software without restriction, including without limitation the rights
|
|
9
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
10
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
11
|
+
furnished to do so, subject to the following conditions:
|
|
12
|
+
|
|
13
|
+
The above copyright notice and this permission notice shall be included in all
|
|
14
|
+
copies or substantial portions of the Software.
|
|
15
|
+
|
|
16
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
17
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
18
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
19
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
20
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
21
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
22
|
+
SOFTWARE
|