winrt-Windows.Devices.Display.Core 3.2.1__cp314-cp314-win_amd64.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.
@@ -0,0 +1,575 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
2
+
3
+ import datetime
4
+ import sys
5
+ import types
6
+ import typing
7
+ import uuid as _uuid
8
+ from builtins import property as _property
9
+
10
+ import winrt._winrt
11
+ import winrt.system
12
+ import winrt.windows.devices.display as windows_devices_display
13
+ import winrt.windows.foundation as windows_foundation
14
+ import winrt.windows.foundation.collections as windows_foundation_collections
15
+ import winrt.windows.foundation.numerics as windows_foundation_numerics
16
+ import winrt.windows.graphics as windows_graphics
17
+ import winrt.windows.graphics.directx as windows_graphics_directx
18
+ import winrt.windows.graphics.directx.direct3d11 as windows_graphics_directx_direct3d11
19
+ import winrt.windows.storage.streams as windows_storage_streams
20
+
21
+ from winrt.windows.devices.display.core import DisplayBitsPerChannel, DisplayDeviceCapability, DisplayManagerOptions, DisplayManagerResult, DisplayModeQueryOptions, DisplayPathScaling, DisplayPathStatus, DisplayPresentStatus, DisplayRotation, DisplayScanoutOptions, DisplaySourceStatus, DisplayStateApplyOptions, DisplayStateFunctionalizeOptions, DisplayStateOperationStatus, DisplayTargetPersistence, DisplayTaskSignalKind, DisplayWireFormatColorSpace, DisplayWireFormatEotf, DisplayWireFormatHdrMetadata, DisplayWireFormatPixelEncoding
22
+
23
+ Self = typing.TypeVar('Self')
24
+
25
+ @typing.final
26
+ class DisplayPresentationRate:
27
+ @_property
28
+ def vertical_sync_rate(self) -> windows_foundation_numerics.Rational: ...
29
+ @_property
30
+ def vertical_syncs_per_presentation(self) -> winrt.system.Int32: ...
31
+ def __new__(cls, vertical_sync_rate: windows_foundation_numerics.Rational = windows_foundation_numerics.Rational(), vertical_syncs_per_presentation: winrt.system.Int32 = 0) -> DisplayPresentationRate: ...
32
+ def __replace__(self, /, **changes: typing.Any) -> DisplayPresentationRate: ...
33
+ def unpack(self) -> typing.Tuple[typing.Tuple[winrt.system.UInt32, winrt.system.UInt32], winrt.system.Int32]: ...
34
+
35
+ @typing.final
36
+ class DisplayAdapter_Static(winrt._winrt.IInspectable_Static):
37
+ # Windows.Devices.Display.Core.DisplayAdapter Windows.Devices.Display.Core.DisplayAdapter::FromId(Windows.Graphics.DisplayAdapterId)
38
+ def from_id(cls, id: typing.Union[windows_graphics.DisplayAdapterId, typing.Tuple[winrt.system.UInt32, winrt.system.Int32]], /) -> DisplayAdapter: ...
39
+
40
+ @typing.final
41
+ class DisplayAdapter(winrt.system.Object, metaclass=DisplayAdapter_Static):
42
+ # System.String Windows.Devices.Display.Core.DisplayAdapter::get_DeviceInterfacePath()
43
+ @_property
44
+ def device_interface_path(self) -> str: ...
45
+ # Windows.Graphics.DisplayAdapterId Windows.Devices.Display.Core.DisplayAdapter::get_Id()
46
+ @_property
47
+ def id(self) -> windows_graphics.DisplayAdapterId: ...
48
+ # System.UInt32 Windows.Devices.Display.Core.DisplayAdapter::get_PciDeviceId()
49
+ @_property
50
+ def pci_device_id(self) -> winrt.system.UInt32: ...
51
+ # System.UInt32 Windows.Devices.Display.Core.DisplayAdapter::get_PciRevision()
52
+ @_property
53
+ def pci_revision(self) -> winrt.system.UInt32: ...
54
+ # System.UInt32 Windows.Devices.Display.Core.DisplayAdapter::get_PciSubSystemId()
55
+ @_property
56
+ def pci_sub_system_id(self) -> winrt.system.UInt32: ...
57
+ # System.UInt32 Windows.Devices.Display.Core.DisplayAdapter::get_PciVendorId()
58
+ @_property
59
+ def pci_vendor_id(self) -> winrt.system.UInt32: ...
60
+ # Windows.Foundation.Collections.IMapView`2<System.Guid,System.Object> Windows.Devices.Display.Core.DisplayAdapter::get_Properties()
61
+ @_property
62
+ def properties(self) -> typing.Mapping[_uuid.UUID, winrt.system.Object]: ...
63
+ # System.UInt32 Windows.Devices.Display.Core.DisplayAdapter::get_SourceCount()
64
+ @_property
65
+ def source_count(self) -> winrt.system.UInt32: ...
66
+ # System.Boolean Windows.Devices.Display.Core.DisplayAdapter::get_IsIndirectDisplayDevice()
67
+ @_property
68
+ def is_indirect_display_device(self) -> bool: ...
69
+ # Windows.Devices.Display.Core.DisplayAdapter Windows.Devices.Display.Core.DisplayAdapter::get_PreferredRenderAdapter()
70
+ @_property
71
+ def preferred_render_adapter(self) -> DisplayAdapter: ...
72
+
73
+ @typing.final
74
+ class DisplayDevice(winrt.system.Object):
75
+ # Windows.Devices.Display.Core.DisplayFence Windows.Devices.Display.Core.DisplayDevice::CreatePeriodicFence(Windows.Devices.Display.Core.DisplayTarget,Windows.Foundation.TimeSpan)
76
+ def create_periodic_fence(self, target: DisplayTarget, offset_from_v_blank: datetime.timedelta, /) -> DisplayFence: ...
77
+ # Windows.Devices.Display.Core.DisplaySurface Windows.Devices.Display.Core.DisplayDevice::CreatePrimary(Windows.Devices.Display.Core.DisplayTarget,Windows.Devices.Display.Core.DisplayPrimaryDescription)
78
+ def create_primary(self, target: DisplayTarget, desc: DisplayPrimaryDescription, /) -> DisplaySurface: ...
79
+ # Windows.Devices.Display.Core.DisplaySource Windows.Devices.Display.Core.DisplayDevice::CreateScanoutSource(Windows.Devices.Display.Core.DisplayTarget)
80
+ def create_scanout_source(self, target: DisplayTarget, /) -> DisplaySource: ...
81
+ # 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)
82
+ def create_simple_scanout(self, p_source: DisplaySource, p_surface: DisplaySurface, sub_resource_index: winrt.system.UInt32, sync_interval: winrt.system.UInt32, /) -> DisplayScanout: ...
83
+ # 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)
84
+ def create_simple_scanout_with_dirty_rects_and_options(self, source: DisplaySource, surface: DisplaySurface, subresource_index: winrt.system.UInt32, sync_interval: winrt.system.UInt32, dirty_rects: typing.Iterable[windows_graphics.RectInt32], options: DisplayScanoutOptions, /) -> DisplayScanout: ...
85
+ # Windows.Devices.Display.Core.DisplayTaskPool Windows.Devices.Display.Core.DisplayDevice::CreateTaskPool()
86
+ def create_task_pool(self) -> DisplayTaskPool: ...
87
+ # System.Boolean Windows.Devices.Display.Core.DisplayDevice::IsCapabilitySupported(Windows.Devices.Display.Core.DisplayDeviceCapability)
88
+ def is_capability_supported(self, capability: DisplayDeviceCapability, /) -> bool: ...
89
+ # System.Void Windows.Devices.Display.Core.DisplayDevice::WaitForVBlank(Windows.Devices.Display.Core.DisplaySource)
90
+ def wait_for_v_blank(self, source: DisplaySource, /) -> None: ...
91
+ # Windows.Graphics.DisplayAdapterId Windows.Devices.Display.Core.DisplayDevice::get_RenderAdapterId()
92
+ @_property
93
+ def render_adapter_id(self) -> windows_graphics.DisplayAdapterId: ...
94
+
95
+ @typing.final
96
+ class DisplayFence(winrt.system.Object):
97
+ pass
98
+
99
+ @typing.final
100
+ class DisplayManager_Static(winrt._winrt.IInspectable_Static):
101
+ # Windows.Devices.Display.Core.DisplayManager Windows.Devices.Display.Core.DisplayManager::Create(Windows.Devices.Display.Core.DisplayManagerOptions)
102
+ def create(cls, options: DisplayManagerOptions, /) -> DisplayManager: ...
103
+
104
+ @typing.final
105
+ class DisplayManager(winrt.system.Object, windows_foundation.IClosable, metaclass=DisplayManager_Static):
106
+ def __enter__(self: Self) -> Self: ...
107
+ def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
108
+ # System.Void Windows.Devices.Display.Core.DisplayManager::Close()
109
+ def close(self) -> None: ...
110
+ # Windows.Devices.Display.Core.DisplayDevice Windows.Devices.Display.Core.DisplayManager::CreateDisplayDevice(Windows.Devices.Display.Core.DisplayAdapter)
111
+ def create_display_device(self, adapter: DisplayAdapter, /) -> DisplayDevice: ...
112
+ # Windows.Devices.Display.Core.DisplayDevice Windows.Devices.Display.Core.DisplayManager::CreateDisplayDeviceForIndirectAdapter(Windows.Devices.Display.Core.DisplayAdapter,Windows.Devices.Display.Core.DisplayAdapter)
113
+ def create_display_device_for_indirect_adapter(self, indirect_adapter: DisplayAdapter, render_adapter: DisplayAdapter, /) -> DisplayDevice: ...
114
+ # Windows.Foundation.Collections.IVectorView`1<Windows.Devices.Display.Core.DisplayAdapter> Windows.Devices.Display.Core.DisplayManager::GetCurrentAdapters()
115
+ def get_current_adapters(self) -> typing.Sequence[DisplayAdapter]: ...
116
+ # Windows.Foundation.Collections.IVectorView`1<Windows.Devices.Display.Core.DisplayTarget> Windows.Devices.Display.Core.DisplayManager::GetCurrentTargets()
117
+ def get_current_targets(self) -> typing.Sequence[DisplayTarget]: ...
118
+ # System.Void Windows.Devices.Display.Core.DisplayManager::ReleaseTarget(Windows.Devices.Display.Core.DisplayTarget)
119
+ def release_target(self, target: DisplayTarget, /) -> None: ...
120
+ # System.Void Windows.Devices.Display.Core.DisplayManager::Start()
121
+ def start(self) -> None: ...
122
+ # System.Void Windows.Devices.Display.Core.DisplayManager::Stop()
123
+ def stop(self) -> None: ...
124
+ # Windows.Devices.Display.Core.DisplayManagerResult Windows.Devices.Display.Core.DisplayManager::TryAcquireTarget(Windows.Devices.Display.Core.DisplayTarget)
125
+ def try_acquire_target(self, target: DisplayTarget, /) -> DisplayManagerResult: ...
126
+ # Windows.Devices.Display.Core.DisplayManagerResultWithState Windows.Devices.Display.Core.DisplayManager::TryAcquireTargetsAndCreateEmptyState(Windows.Foundation.Collections.IIterable`1<Windows.Devices.Display.Core.DisplayTarget>)
127
+ def try_acquire_targets_and_create_empty_state(self, targets: typing.Iterable[DisplayTarget], /) -> DisplayManagerResultWithState: ...
128
+ # 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>)
129
+ def try_acquire_targets_and_create_substate(self, existing_state: DisplayState, targets: typing.Iterable[DisplayTarget], /) -> DisplayManagerResultWithState: ...
130
+ # Windows.Devices.Display.Core.DisplayManagerResultWithState Windows.Devices.Display.Core.DisplayManager::TryAcquireTargetsAndReadCurrentState(Windows.Foundation.Collections.IIterable`1<Windows.Devices.Display.Core.DisplayTarget>)
131
+ def try_acquire_targets_and_read_current_state(self, targets: typing.Iterable[DisplayTarget], /) -> DisplayManagerResultWithState: ...
132
+ # Windows.Devices.Display.Core.DisplayManagerResultWithState Windows.Devices.Display.Core.DisplayManager::TryReadCurrentStateForAllTargets()
133
+ def try_read_current_state_for_all_targets(self) -> DisplayManagerResultWithState: ...
134
+ # Windows.Devices.Display.Core.DisplayManagerResultWithState Windows.Devices.Display.Core.DisplayManager::TryReadCurrentStateForModeQuery()
135
+ def try_read_current_state_for_mode_query(self) -> DisplayManagerResultWithState: ...
136
+ # Windows.Foundation.EventRegistrationToken Windows.Devices.Display.Core.DisplayManager::add_Changed(Windows.Foundation.TypedEventHandler`2<Windows.Devices.Display.Core.DisplayManager,Windows.Devices.Display.Core.DisplayManagerChangedEventArgs>)
137
+ def add_changed(self, handler: windows_foundation.TypedEventHandler[DisplayManager, DisplayManagerChangedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
138
+ # System.Void Windows.Devices.Display.Core.DisplayManager::remove_Changed(Windows.Foundation.EventRegistrationToken)
139
+ def remove_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
140
+ # Windows.Foundation.EventRegistrationToken Windows.Devices.Display.Core.DisplayManager::add_Disabled(Windows.Foundation.TypedEventHandler`2<Windows.Devices.Display.Core.DisplayManager,Windows.Devices.Display.Core.DisplayManagerDisabledEventArgs>)
141
+ def add_disabled(self, handler: windows_foundation.TypedEventHandler[DisplayManager, DisplayManagerDisabledEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
142
+ # System.Void Windows.Devices.Display.Core.DisplayManager::remove_Disabled(Windows.Foundation.EventRegistrationToken)
143
+ def remove_disabled(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
144
+ # Windows.Foundation.EventRegistrationToken Windows.Devices.Display.Core.DisplayManager::add_Enabled(Windows.Foundation.TypedEventHandler`2<Windows.Devices.Display.Core.DisplayManager,Windows.Devices.Display.Core.DisplayManagerEnabledEventArgs>)
145
+ def add_enabled(self, handler: windows_foundation.TypedEventHandler[DisplayManager, DisplayManagerEnabledEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
146
+ # System.Void Windows.Devices.Display.Core.DisplayManager::remove_Enabled(Windows.Foundation.EventRegistrationToken)
147
+ def remove_enabled(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
148
+ # Windows.Foundation.EventRegistrationToken Windows.Devices.Display.Core.DisplayManager::add_PathsFailedOrInvalidated(Windows.Foundation.TypedEventHandler`2<Windows.Devices.Display.Core.DisplayManager,Windows.Devices.Display.Core.DisplayManagerPathsFailedOrInvalidatedEventArgs>)
149
+ def add_paths_failed_or_invalidated(self, handler: windows_foundation.TypedEventHandler[DisplayManager, DisplayManagerPathsFailedOrInvalidatedEventArgs], /) -> windows_foundation.EventRegistrationToken: ...
150
+ # System.Void Windows.Devices.Display.Core.DisplayManager::remove_PathsFailedOrInvalidated(Windows.Foundation.EventRegistrationToken)
151
+ def remove_paths_failed_or_invalidated(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
152
+
153
+ @typing.final
154
+ class DisplayManagerChangedEventArgs(winrt.system.Object):
155
+ # Windows.Foundation.Deferral Windows.Devices.Display.Core.DisplayManagerChangedEventArgs::GetDeferral()
156
+ def get_deferral(self) -> windows_foundation.Deferral: ...
157
+ # System.Boolean Windows.Devices.Display.Core.DisplayManagerChangedEventArgs::get_Handled()
158
+ @_property
159
+ def handled(self) -> bool: ...
160
+ # System.Void Windows.Devices.Display.Core.DisplayManagerChangedEventArgs::put_Handled(System.Boolean)
161
+ @handled.setter
162
+ def handled(self, value: bool) -> None: ...
163
+
164
+ @typing.final
165
+ class DisplayManagerDisabledEventArgs(winrt.system.Object):
166
+ # Windows.Foundation.Deferral Windows.Devices.Display.Core.DisplayManagerDisabledEventArgs::GetDeferral()
167
+ def get_deferral(self) -> windows_foundation.Deferral: ...
168
+ # System.Boolean Windows.Devices.Display.Core.DisplayManagerDisabledEventArgs::get_Handled()
169
+ @_property
170
+ def handled(self) -> bool: ...
171
+ # System.Void Windows.Devices.Display.Core.DisplayManagerDisabledEventArgs::put_Handled(System.Boolean)
172
+ @handled.setter
173
+ def handled(self, value: bool) -> None: ...
174
+
175
+ @typing.final
176
+ class DisplayManagerEnabledEventArgs(winrt.system.Object):
177
+ # Windows.Foundation.Deferral Windows.Devices.Display.Core.DisplayManagerEnabledEventArgs::GetDeferral()
178
+ def get_deferral(self) -> windows_foundation.Deferral: ...
179
+ # System.Boolean Windows.Devices.Display.Core.DisplayManagerEnabledEventArgs::get_Handled()
180
+ @_property
181
+ def handled(self) -> bool: ...
182
+ # System.Void Windows.Devices.Display.Core.DisplayManagerEnabledEventArgs::put_Handled(System.Boolean)
183
+ @handled.setter
184
+ def handled(self, value: bool) -> None: ...
185
+
186
+ @typing.final
187
+ class DisplayManagerPathsFailedOrInvalidatedEventArgs(winrt.system.Object):
188
+ # Windows.Foundation.Deferral Windows.Devices.Display.Core.DisplayManagerPathsFailedOrInvalidatedEventArgs::GetDeferral()
189
+ def get_deferral(self) -> windows_foundation.Deferral: ...
190
+ # System.Boolean Windows.Devices.Display.Core.DisplayManagerPathsFailedOrInvalidatedEventArgs::get_Handled()
191
+ @_property
192
+ def handled(self) -> bool: ...
193
+ # System.Void Windows.Devices.Display.Core.DisplayManagerPathsFailedOrInvalidatedEventArgs::put_Handled(System.Boolean)
194
+ @handled.setter
195
+ def handled(self, value: bool) -> None: ...
196
+
197
+ @typing.final
198
+ class DisplayManagerResultWithState(winrt.system.Object):
199
+ # Windows.Devices.Display.Core.DisplayManagerResult Windows.Devices.Display.Core.DisplayManagerResultWithState::get_ErrorCode()
200
+ @_property
201
+ def error_code(self) -> DisplayManagerResult: ...
202
+ # Windows.Foundation.HResult Windows.Devices.Display.Core.DisplayManagerResultWithState::get_ExtendedErrorCode()
203
+ @_property
204
+ def extended_error_code(self) -> windows_foundation.HResult: ...
205
+ # Windows.Devices.Display.Core.DisplayState Windows.Devices.Display.Core.DisplayManagerResultWithState::get_State()
206
+ @_property
207
+ def state(self) -> DisplayState: ...
208
+
209
+ @typing.final
210
+ class DisplayModeInfo(winrt.system.Object):
211
+ # Windows.Devices.Display.Core.DisplayBitsPerChannel Windows.Devices.Display.Core.DisplayModeInfo::GetWireFormatSupportedBitsPerChannel(Windows.Devices.Display.Core.DisplayWireFormatPixelEncoding)
212
+ def get_wire_format_supported_bits_per_channel(self, encoding: DisplayWireFormatPixelEncoding, /) -> DisplayBitsPerChannel: ...
213
+ # System.Boolean Windows.Devices.Display.Core.DisplayModeInfo::IsWireFormatSupported(Windows.Devices.Display.Core.DisplayWireFormat)
214
+ def is_wire_format_supported(self, wire_format: DisplayWireFormat, /) -> bool: ...
215
+ # System.Boolean Windows.Devices.Display.Core.DisplayModeInfo::get_IsInterlaced()
216
+ @_property
217
+ def is_interlaced(self) -> bool: ...
218
+ # System.Boolean Windows.Devices.Display.Core.DisplayModeInfo::get_IsStereo()
219
+ @_property
220
+ def is_stereo(self) -> bool: ...
221
+ # Windows.Devices.Display.Core.DisplayPresentationRate Windows.Devices.Display.Core.DisplayModeInfo::get_PresentationRate()
222
+ @_property
223
+ def presentation_rate(self) -> DisplayPresentationRate: ...
224
+ # Windows.Foundation.Collections.IMapView`2<System.Guid,System.Object> Windows.Devices.Display.Core.DisplayModeInfo::get_Properties()
225
+ @_property
226
+ def properties(self) -> typing.Mapping[_uuid.UUID, winrt.system.Object]: ...
227
+ # Windows.Graphics.DirectX.DirectXPixelFormat Windows.Devices.Display.Core.DisplayModeInfo::get_SourcePixelFormat()
228
+ @_property
229
+ def source_pixel_format(self) -> windows_graphics_directx.DirectXPixelFormat: ...
230
+ # Windows.Graphics.SizeInt32 Windows.Devices.Display.Core.DisplayModeInfo::get_SourceResolution()
231
+ @_property
232
+ def source_resolution(self) -> windows_graphics.SizeInt32: ...
233
+ # Windows.Graphics.SizeInt32 Windows.Devices.Display.Core.DisplayModeInfo::get_TargetResolution()
234
+ @_property
235
+ def target_resolution(self) -> windows_graphics.SizeInt32: ...
236
+ # Windows.Devices.Display.Core.DisplayPresentationRate Windows.Devices.Display.Core.DisplayModeInfo::get_PhysicalPresentationRate()
237
+ @_property
238
+ def physical_presentation_rate(self) -> DisplayPresentationRate: ...
239
+
240
+ @typing.final
241
+ class DisplayMuxDevice_Static(winrt._winrt.IInspectable_Static):
242
+ # Windows.Foundation.IAsyncOperation`1<Windows.Devices.Display.Core.DisplayMuxDevice> Windows.Devices.Display.Core.DisplayMuxDevice::FromIdAsync(System.String)
243
+ def from_id_async(cls, device_interface_id: str, /) -> windows_foundation.IAsyncOperation[DisplayMuxDevice]: ...
244
+ # System.String Windows.Devices.Display.Core.DisplayMuxDevice::GetDeviceSelector()
245
+ def get_device_selector(cls) -> str: ...
246
+
247
+ @typing.final
248
+ class DisplayMuxDevice(winrt.system.Object, windows_foundation.IClosable, metaclass=DisplayMuxDevice_Static):
249
+ def __enter__(self: Self) -> Self: ...
250
+ def __exit__(self, exc_type: typing.Optional[typing.Type[BaseException]], exc_value: typing.Optional[BaseException], traceback: typing.Optional[types.TracebackType]) -> None: ...
251
+ # System.Void Windows.Devices.Display.Core.DisplayMuxDevice::Close()
252
+ def close(self) -> None: ...
253
+ # Windows.Foundation.Collections.IVectorView`1<Windows.Devices.Display.Core.DisplayTarget> Windows.Devices.Display.Core.DisplayMuxDevice::GetAvailableMuxTargets()
254
+ def get_available_mux_targets(self) -> typing.Sequence[DisplayTarget]: ...
255
+ # Windows.Foundation.IAsyncAction Windows.Devices.Display.Core.DisplayMuxDevice::SetAutomaticTargetSwitching()
256
+ def set_automatic_target_switching(self) -> windows_foundation.IAsyncAction: ...
257
+ # Windows.Foundation.IAsyncAction Windows.Devices.Display.Core.DisplayMuxDevice::SetPreferredTarget(Windows.Devices.Display.Core.DisplayTarget)
258
+ def set_preferred_target(self, target: DisplayTarget, /) -> windows_foundation.IAsyncAction: ...
259
+ # Windows.Foundation.EventRegistrationToken Windows.Devices.Display.Core.DisplayMuxDevice::add_Changed(Windows.Foundation.TypedEventHandler`2<Windows.Devices.Display.Core.DisplayMuxDevice,System.Object>)
260
+ def add_changed(self, handler: windows_foundation.TypedEventHandler[DisplayMuxDevice, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
261
+ # System.Void Windows.Devices.Display.Core.DisplayMuxDevice::remove_Changed(Windows.Foundation.EventRegistrationToken)
262
+ def remove_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
263
+ # Windows.Devices.Display.Core.DisplayTarget Windows.Devices.Display.Core.DisplayMuxDevice::get_CurrentTarget()
264
+ @_property
265
+ def current_target(self) -> DisplayTarget: ...
266
+ # System.String Windows.Devices.Display.Core.DisplayMuxDevice::get_Id()
267
+ @_property
268
+ def id(self) -> str: ...
269
+ # System.Boolean Windows.Devices.Display.Core.DisplayMuxDevice::get_IsActive()
270
+ @_property
271
+ def is_active(self) -> bool: ...
272
+ # System.Boolean Windows.Devices.Display.Core.DisplayMuxDevice::get_IsAutomaticTargetSwitchingEnabled()
273
+ @_property
274
+ def is_automatic_target_switching_enabled(self) -> bool: ...
275
+ # Windows.Devices.Display.Core.DisplayTarget Windows.Devices.Display.Core.DisplayMuxDevice::get_PreferredTarget()
276
+ @_property
277
+ def preferred_target(self) -> DisplayTarget: ...
278
+
279
+ @typing.final
280
+ class DisplayPath(winrt.system.Object):
281
+ # System.Void Windows.Devices.Display.Core.DisplayPath::ApplyPropertiesFromMode(Windows.Devices.Display.Core.DisplayModeInfo)
282
+ def apply_properties_from_mode(self, mode_result: DisplayModeInfo, /) -> None: ...
283
+ # Windows.Foundation.Collections.IVectorView`1<Windows.Devices.Display.Core.DisplayModeInfo> Windows.Devices.Display.Core.DisplayPath::FindModes(Windows.Devices.Display.Core.DisplayModeQueryOptions)
284
+ def find_modes(self, flags: DisplayModeQueryOptions, /) -> typing.Sequence[DisplayModeInfo]: ...
285
+ # Windows.Devices.Display.Core.DisplayWireFormat Windows.Devices.Display.Core.DisplayPath::get_WireFormat()
286
+ @_property
287
+ def wire_format(self) -> DisplayWireFormat: ...
288
+ # System.Void Windows.Devices.Display.Core.DisplayPath::put_WireFormat(Windows.Devices.Display.Core.DisplayWireFormat)
289
+ @wire_format.setter
290
+ def wire_format(self, value: DisplayWireFormat) -> None: ...
291
+ # Windows.Foundation.IReference`1<Windows.Graphics.SizeInt32> Windows.Devices.Display.Core.DisplayPath::get_TargetResolution()
292
+ @_property
293
+ def target_resolution(self) -> typing.Optional[windows_graphics.SizeInt32]: ...
294
+ # System.Void Windows.Devices.Display.Core.DisplayPath::put_TargetResolution(Windows.Foundation.IReference`1<Windows.Graphics.SizeInt32>)
295
+ @target_resolution.setter
296
+ def target_resolution(self, value: typing.Optional[windows_graphics.SizeInt32]) -> None: ...
297
+ # Windows.Foundation.IReference`1<Windows.Graphics.SizeInt32> Windows.Devices.Display.Core.DisplayPath::get_SourceResolution()
298
+ @_property
299
+ def source_resolution(self) -> typing.Optional[windows_graphics.SizeInt32]: ...
300
+ # System.Void Windows.Devices.Display.Core.DisplayPath::put_SourceResolution(Windows.Foundation.IReference`1<Windows.Graphics.SizeInt32>)
301
+ @source_resolution.setter
302
+ def source_resolution(self, value: typing.Optional[windows_graphics.SizeInt32]) -> None: ...
303
+ # Windows.Graphics.DirectX.DirectXPixelFormat Windows.Devices.Display.Core.DisplayPath::get_SourcePixelFormat()
304
+ @_property
305
+ def source_pixel_format(self) -> windows_graphics_directx.DirectXPixelFormat: ...
306
+ # System.Void Windows.Devices.Display.Core.DisplayPath::put_SourcePixelFormat(Windows.Graphics.DirectX.DirectXPixelFormat)
307
+ @source_pixel_format.setter
308
+ def source_pixel_format(self, value: windows_graphics_directx.DirectXPixelFormat) -> None: ...
309
+ # Windows.Devices.Display.Core.DisplayPathScaling Windows.Devices.Display.Core.DisplayPath::get_Scaling()
310
+ @_property
311
+ def scaling(self) -> DisplayPathScaling: ...
312
+ # System.Void Windows.Devices.Display.Core.DisplayPath::put_Scaling(Windows.Devices.Display.Core.DisplayPathScaling)
313
+ @scaling.setter
314
+ def scaling(self, value: DisplayPathScaling) -> None: ...
315
+ # Windows.Devices.Display.Core.DisplayRotation Windows.Devices.Display.Core.DisplayPath::get_Rotation()
316
+ @_property
317
+ def rotation(self) -> DisplayRotation: ...
318
+ # System.Void Windows.Devices.Display.Core.DisplayPath::put_Rotation(Windows.Devices.Display.Core.DisplayRotation)
319
+ @rotation.setter
320
+ def rotation(self, value: DisplayRotation) -> None: ...
321
+ # Windows.Foundation.IReference`1<Windows.Devices.Display.Core.DisplayPresentationRate> Windows.Devices.Display.Core.DisplayPath::get_PresentationRate()
322
+ @_property
323
+ def presentation_rate(self) -> typing.Optional[DisplayPresentationRate]: ...
324
+ # System.Void Windows.Devices.Display.Core.DisplayPath::put_PresentationRate(Windows.Foundation.IReference`1<Windows.Devices.Display.Core.DisplayPresentationRate>)
325
+ @presentation_rate.setter
326
+ def presentation_rate(self, value: typing.Optional[DisplayPresentationRate]) -> None: ...
327
+ # System.Boolean Windows.Devices.Display.Core.DisplayPath::get_IsStereo()
328
+ @_property
329
+ def is_stereo(self) -> bool: ...
330
+ # System.Void Windows.Devices.Display.Core.DisplayPath::put_IsStereo(System.Boolean)
331
+ @is_stereo.setter
332
+ def is_stereo(self, value: bool) -> None: ...
333
+ # Windows.Foundation.IReference`1<System.Boolean> Windows.Devices.Display.Core.DisplayPath::get_IsInterlaced()
334
+ @_property
335
+ def is_interlaced(self) -> typing.Optional[bool]: ...
336
+ # System.Void Windows.Devices.Display.Core.DisplayPath::put_IsInterlaced(Windows.Foundation.IReference`1<System.Boolean>)
337
+ @is_interlaced.setter
338
+ def is_interlaced(self, value: typing.Optional[bool]) -> None: ...
339
+ # Windows.Foundation.Collections.IMap`2<System.Guid,System.Object> Windows.Devices.Display.Core.DisplayPath::get_Properties()
340
+ @_property
341
+ def properties(self) -> typing.MutableMapping[_uuid.UUID, winrt.system.Object]: ...
342
+ # Windows.Devices.Display.Core.DisplayPathStatus Windows.Devices.Display.Core.DisplayPath::get_Status()
343
+ @_property
344
+ def status(self) -> DisplayPathStatus: ...
345
+ # Windows.Devices.Display.Core.DisplayTarget Windows.Devices.Display.Core.DisplayPath::get_Target()
346
+ @_property
347
+ def target(self) -> DisplayTarget: ...
348
+ # Windows.Devices.Display.Core.DisplayView Windows.Devices.Display.Core.DisplayPath::get_View()
349
+ @_property
350
+ def view(self) -> DisplayView: ...
351
+ # Windows.Foundation.IReference`1<Windows.Devices.Display.Core.DisplayPresentationRate> Windows.Devices.Display.Core.DisplayPath::get_PhysicalPresentationRate()
352
+ @_property
353
+ def physical_presentation_rate(self) -> typing.Optional[DisplayPresentationRate]: ...
354
+ # System.Void Windows.Devices.Display.Core.DisplayPath::put_PhysicalPresentationRate(Windows.Foundation.IReference`1<Windows.Devices.Display.Core.DisplayPresentationRate>)
355
+ @physical_presentation_rate.setter
356
+ def physical_presentation_rate(self, value: typing.Optional[DisplayPresentationRate]) -> None: ...
357
+
358
+ @typing.final
359
+ class DisplayPrimaryDescription_Static(winrt._winrt.IInspectable_Static):
360
+ # 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)
361
+ def create_with_properties(cls, extra_properties: typing.Union[typing.Mapping[_uuid.UUID, winrt.system.Object], typing.Iterable[windows_foundation_collections.IKeyValuePair[_uuid.UUID, winrt.system.Object]]], width: winrt.system.UInt32, height: winrt.system.UInt32, pixel_format: windows_graphics_directx.DirectXPixelFormat, color_space: windows_graphics_directx.DirectXColorSpace, is_stereo: bool, multisample_description: typing.Union[windows_graphics_directx_direct3d11.Direct3DMultisampleDescription, typing.Tuple[winrt.system.Int32, winrt.system.Int32]], /) -> DisplayPrimaryDescription: ...
362
+
363
+ @typing.final
364
+ class DisplayPrimaryDescription(winrt.system.Object, metaclass=DisplayPrimaryDescription_Static):
365
+ def __new__(cls: typing.Type[Self], width: winrt.system.UInt32, height: winrt.system.UInt32, pixel_format: windows_graphics_directx.DirectXPixelFormat, color_space: windows_graphics_directx.DirectXColorSpace, is_stereo: bool, multisample_description: typing.Union[windows_graphics_directx_direct3d11.Direct3DMultisampleDescription, typing.Tuple[winrt.system.Int32, winrt.system.Int32]]) -> Self: ...
366
+ # Windows.Graphics.DirectX.DirectXColorSpace Windows.Devices.Display.Core.DisplayPrimaryDescription::get_ColorSpace()
367
+ @_property
368
+ def color_space(self) -> windows_graphics_directx.DirectXColorSpace: ...
369
+ # Windows.Graphics.DirectX.DirectXPixelFormat Windows.Devices.Display.Core.DisplayPrimaryDescription::get_Format()
370
+ @_property
371
+ def format(self) -> windows_graphics_directx.DirectXPixelFormat: ...
372
+ # System.UInt32 Windows.Devices.Display.Core.DisplayPrimaryDescription::get_Height()
373
+ @_property
374
+ def height(self) -> winrt.system.UInt32: ...
375
+ # System.Boolean Windows.Devices.Display.Core.DisplayPrimaryDescription::get_IsStereo()
376
+ @_property
377
+ def is_stereo(self) -> bool: ...
378
+ # Windows.Graphics.DirectX.Direct3D11.Direct3DMultisampleDescription Windows.Devices.Display.Core.DisplayPrimaryDescription::get_MultisampleDescription()
379
+ @_property
380
+ def multisample_description(self) -> windows_graphics_directx_direct3d11.Direct3DMultisampleDescription: ...
381
+ # Windows.Foundation.Collections.IMapView`2<System.Guid,System.Object> Windows.Devices.Display.Core.DisplayPrimaryDescription::get_Properties()
382
+ @_property
383
+ def properties(self) -> typing.Mapping[_uuid.UUID, winrt.system.Object]: ...
384
+ # System.UInt32 Windows.Devices.Display.Core.DisplayPrimaryDescription::get_Width()
385
+ @_property
386
+ def width(self) -> winrt.system.UInt32: ...
387
+
388
+ @typing.final
389
+ class DisplayScanout(winrt.system.Object):
390
+ pass
391
+
392
+ @typing.final
393
+ class DisplaySource(winrt.system.Object):
394
+ # Windows.Storage.Streams.IBuffer Windows.Devices.Display.Core.DisplaySource::GetMetadata(System.Guid)
395
+ def get_metadata(self, key: _uuid.UUID, /) -> winrt.system.Buffer: ...
396
+ # Windows.Foundation.EventRegistrationToken Windows.Devices.Display.Core.DisplaySource::add_StatusChanged(Windows.Foundation.TypedEventHandler`2<Windows.Devices.Display.Core.DisplaySource,System.Object>)
397
+ def add_status_changed(self, handler: windows_foundation.TypedEventHandler[DisplaySource, winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
398
+ # System.Void Windows.Devices.Display.Core.DisplaySource::remove_StatusChanged(Windows.Foundation.EventRegistrationToken)
399
+ def remove_status_changed(self, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
400
+ # Windows.Graphics.DisplayAdapterId Windows.Devices.Display.Core.DisplaySource::get_AdapterId()
401
+ @_property
402
+ def adapter_id(self) -> windows_graphics.DisplayAdapterId: ...
403
+ # System.UInt32 Windows.Devices.Display.Core.DisplaySource::get_SourceId()
404
+ @_property
405
+ def source_id(self) -> winrt.system.UInt32: ...
406
+ # Windows.Devices.Display.Core.DisplaySourceStatus Windows.Devices.Display.Core.DisplaySource::get_Status()
407
+ @_property
408
+ def status(self) -> DisplaySourceStatus: ...
409
+
410
+ @typing.final
411
+ class DisplayState(winrt.system.Object):
412
+ # System.Boolean Windows.Devices.Display.Core.DisplayState::CanConnectTargetToView(Windows.Devices.Display.Core.DisplayTarget,Windows.Devices.Display.Core.DisplayView)
413
+ def can_connect_target_to_view(self, target: DisplayTarget, view: DisplayView, /) -> bool: ...
414
+ # Windows.Devices.Display.Core.DisplayState Windows.Devices.Display.Core.DisplayState::Clone()
415
+ def clone(self) -> DisplayState: ...
416
+ # Windows.Devices.Display.Core.DisplayPath Windows.Devices.Display.Core.DisplayState::ConnectTarget(Windows.Devices.Display.Core.DisplayTarget)
417
+ def connect_target(self, target: DisplayTarget, /) -> DisplayPath: ...
418
+ # Windows.Devices.Display.Core.DisplayPath Windows.Devices.Display.Core.DisplayState::ConnectTarget(Windows.Devices.Display.Core.DisplayTarget,Windows.Devices.Display.Core.DisplayView)
419
+ def connect_target_to_view(self, target: DisplayTarget, view: DisplayView, /) -> DisplayPath: ...
420
+ # System.Void Windows.Devices.Display.Core.DisplayState::DisconnectTarget(Windows.Devices.Display.Core.DisplayTarget)
421
+ def disconnect_target(self, target: DisplayTarget, /) -> None: ...
422
+ # Windows.Devices.Display.Core.DisplayPath Windows.Devices.Display.Core.DisplayState::GetPathForTarget(Windows.Devices.Display.Core.DisplayTarget)
423
+ def get_path_for_target(self, target: DisplayTarget, /) -> DisplayPath: ...
424
+ # Windows.Devices.Display.Core.DisplayView Windows.Devices.Display.Core.DisplayState::GetViewForTarget(Windows.Devices.Display.Core.DisplayTarget)
425
+ def get_view_for_target(self, target: DisplayTarget, /) -> DisplayView: ...
426
+ # Windows.Devices.Display.Core.DisplayStateOperationResult Windows.Devices.Display.Core.DisplayState::TryApply(Windows.Devices.Display.Core.DisplayStateApplyOptions)
427
+ def try_apply(self, options: DisplayStateApplyOptions, /) -> DisplayStateOperationResult: ...
428
+ # Windows.Devices.Display.Core.DisplayStateOperationResult Windows.Devices.Display.Core.DisplayState::TryFunctionalize(Windows.Devices.Display.Core.DisplayStateFunctionalizeOptions)
429
+ def try_functionalize(self, options: DisplayStateFunctionalizeOptions, /) -> DisplayStateOperationResult: ...
430
+ # System.Boolean Windows.Devices.Display.Core.DisplayState::get_IsReadOnly()
431
+ @_property
432
+ def is_read_only(self) -> bool: ...
433
+ # System.Boolean Windows.Devices.Display.Core.DisplayState::get_IsStale()
434
+ @_property
435
+ def is_stale(self) -> bool: ...
436
+ # Windows.Foundation.Collections.IMap`2<System.Guid,System.Object> Windows.Devices.Display.Core.DisplayState::get_Properties()
437
+ @_property
438
+ def properties(self) -> typing.MutableMapping[_uuid.UUID, winrt.system.Object]: ...
439
+ # Windows.Foundation.Collections.IVectorView`1<Windows.Devices.Display.Core.DisplayTarget> Windows.Devices.Display.Core.DisplayState::get_Targets()
440
+ @_property
441
+ def targets(self) -> typing.Sequence[DisplayTarget]: ...
442
+ # Windows.Foundation.Collections.IVectorView`1<Windows.Devices.Display.Core.DisplayView> Windows.Devices.Display.Core.DisplayState::get_Views()
443
+ @_property
444
+ def views(self) -> typing.Sequence[DisplayView]: ...
445
+
446
+ @typing.final
447
+ class DisplayStateOperationResult(winrt.system.Object):
448
+ # Windows.Foundation.HResult Windows.Devices.Display.Core.DisplayStateOperationResult::get_ExtendedErrorCode()
449
+ @_property
450
+ def extended_error_code(self) -> windows_foundation.HResult: ...
451
+ # Windows.Devices.Display.Core.DisplayStateOperationStatus Windows.Devices.Display.Core.DisplayStateOperationResult::get_Status()
452
+ @_property
453
+ def status(self) -> DisplayStateOperationStatus: ...
454
+
455
+ @typing.final
456
+ class DisplaySurface(winrt.system.Object):
457
+ pass
458
+
459
+ @typing.final
460
+ class DisplayTarget(winrt.system.Object):
461
+ # System.Boolean Windows.Devices.Display.Core.DisplayTarget::IsEqual(Windows.Devices.Display.Core.DisplayTarget)
462
+ def is_equal(self, other_target: DisplayTarget, /) -> bool: ...
463
+ # System.Boolean Windows.Devices.Display.Core.DisplayTarget::IsSame(Windows.Devices.Display.Core.DisplayTarget)
464
+ def is_same(self, other_target: DisplayTarget, /) -> bool: ...
465
+ # Windows.Devices.Display.DisplayMonitor Windows.Devices.Display.Core.DisplayTarget::TryGetMonitor()
466
+ def try_get_monitor(self) -> typing.Optional[windows_devices_display.DisplayMonitor]: ...
467
+ # Windows.Devices.Display.Core.DisplayAdapter Windows.Devices.Display.Core.DisplayTarget::get_Adapter()
468
+ @_property
469
+ def adapter(self) -> DisplayAdapter: ...
470
+ # System.UInt32 Windows.Devices.Display.Core.DisplayTarget::get_AdapterRelativeId()
471
+ @_property
472
+ def adapter_relative_id(self) -> winrt.system.UInt32: ...
473
+ # System.String Windows.Devices.Display.Core.DisplayTarget::get_DeviceInterfacePath()
474
+ @_property
475
+ def device_interface_path(self) -> str: ...
476
+ # System.Boolean Windows.Devices.Display.Core.DisplayTarget::get_IsConnected()
477
+ @_property
478
+ def is_connected(self) -> bool: ...
479
+ # System.Boolean Windows.Devices.Display.Core.DisplayTarget::get_IsStale()
480
+ @_property
481
+ def is_stale(self) -> bool: ...
482
+ # System.Boolean Windows.Devices.Display.Core.DisplayTarget::get_IsVirtualModeEnabled()
483
+ @_property
484
+ def is_virtual_mode_enabled(self) -> bool: ...
485
+ # System.Boolean Windows.Devices.Display.Core.DisplayTarget::get_IsVirtualTopologyEnabled()
486
+ @_property
487
+ def is_virtual_topology_enabled(self) -> bool: ...
488
+ # Windows.Devices.Display.Core.DisplayTargetPersistence Windows.Devices.Display.Core.DisplayTarget::get_MonitorPersistence()
489
+ @_property
490
+ def monitor_persistence(self) -> DisplayTargetPersistence: ...
491
+ # Windows.Foundation.Collections.IMapView`2<System.Guid,System.Object> Windows.Devices.Display.Core.DisplayTarget::get_Properties()
492
+ @_property
493
+ def properties(self) -> typing.Mapping[_uuid.UUID, winrt.system.Object]: ...
494
+ # System.String Windows.Devices.Display.Core.DisplayTarget::get_StableMonitorId()
495
+ @_property
496
+ def stable_monitor_id(self) -> str: ...
497
+ # Windows.Devices.Display.DisplayMonitorUsageKind Windows.Devices.Display.Core.DisplayTarget::get_UsageKind()
498
+ @_property
499
+ def usage_kind(self) -> windows_devices_display.DisplayMonitorUsageKind: ...
500
+
501
+ @typing.final
502
+ class DisplayTask(winrt.system.Object):
503
+ # System.Void Windows.Devices.Display.Core.DisplayTask::SetScanout(Windows.Devices.Display.Core.DisplayScanout)
504
+ def set_scanout(self, scanout: DisplayScanout, /) -> None: ...
505
+ # System.Void Windows.Devices.Display.Core.DisplayTask::SetSignal(Windows.Devices.Display.Core.DisplayTaskSignalKind,Windows.Devices.Display.Core.DisplayFence)
506
+ def set_signal(self, signal_kind: DisplayTaskSignalKind, fence: DisplayFence, /) -> None: ...
507
+ # System.Void Windows.Devices.Display.Core.DisplayTask::SetWait(Windows.Devices.Display.Core.DisplayFence,System.UInt64)
508
+ def set_wait(self, ready_fence: DisplayFence, ready_fence_value: winrt.system.UInt64, /) -> None: ...
509
+
510
+ @typing.final
511
+ class DisplayTaskPool(winrt.system.Object):
512
+ # Windows.Devices.Display.Core.DisplayTask Windows.Devices.Display.Core.DisplayTaskPool::CreateTask()
513
+ def create_task(self) -> DisplayTask: ...
514
+ # System.Void Windows.Devices.Display.Core.DisplayTaskPool::ExecuteTask(Windows.Devices.Display.Core.DisplayTask)
515
+ # @deprecated("Use TryExecuteTask instead of ExecuteTask. For more info see MSDN")
516
+ def execute_task(self, task: DisplayTask, /) -> None: ...
517
+ # Windows.Devices.Display.Core.DisplayTaskResult Windows.Devices.Display.Core.DisplayTaskPool::TryExecuteTask(Windows.Devices.Display.Core.DisplayTask)
518
+ def try_execute_task(self, task: DisplayTask, /) -> DisplayTaskResult: ...
519
+
520
+ @typing.final
521
+ class DisplayTaskResult(winrt.system.Object):
522
+ # System.UInt64 Windows.Devices.Display.Core.DisplayTaskResult::get_PresentId()
523
+ @_property
524
+ def present_id(self) -> winrt.system.UInt64: ...
525
+ # Windows.Devices.Display.Core.DisplayPresentStatus Windows.Devices.Display.Core.DisplayTaskResult::get_PresentStatus()
526
+ @_property
527
+ def present_status(self) -> DisplayPresentStatus: ...
528
+ # Windows.Devices.Display.Core.DisplaySourceStatus Windows.Devices.Display.Core.DisplayTaskResult::get_SourceStatus()
529
+ @_property
530
+ def source_status(self) -> DisplaySourceStatus: ...
531
+
532
+ @typing.final
533
+ class DisplayView(winrt.system.Object):
534
+ # System.Void Windows.Devices.Display.Core.DisplayView::SetPrimaryPath(Windows.Devices.Display.Core.DisplayPath)
535
+ def set_primary_path(self, path: DisplayPath, /) -> None: ...
536
+ # Windows.Foundation.IReference`1<Windows.Graphics.SizeInt32> Windows.Devices.Display.Core.DisplayView::get_ContentResolution()
537
+ @_property
538
+ def content_resolution(self) -> typing.Optional[windows_graphics.SizeInt32]: ...
539
+ # System.Void Windows.Devices.Display.Core.DisplayView::put_ContentResolution(Windows.Foundation.IReference`1<Windows.Graphics.SizeInt32>)
540
+ @content_resolution.setter
541
+ def content_resolution(self, value: typing.Optional[windows_graphics.SizeInt32]) -> None: ...
542
+ # Windows.Foundation.Collections.IVectorView`1<Windows.Devices.Display.Core.DisplayPath> Windows.Devices.Display.Core.DisplayView::get_Paths()
543
+ @_property
544
+ def paths(self) -> typing.Sequence[DisplayPath]: ...
545
+ # Windows.Foundation.Collections.IMap`2<System.Guid,System.Object> Windows.Devices.Display.Core.DisplayView::get_Properties()
546
+ @_property
547
+ def properties(self) -> typing.MutableMapping[_uuid.UUID, winrt.system.Object]: ...
548
+
549
+ @typing.final
550
+ class DisplayWireFormat_Static(winrt._winrt.IInspectable_Static):
551
+ # 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)
552
+ def create_with_properties(cls, extra_properties: typing.Union[typing.Mapping[_uuid.UUID, winrt.system.Object], typing.Iterable[windows_foundation_collections.IKeyValuePair[_uuid.UUID, winrt.system.Object]]], pixel_encoding: DisplayWireFormatPixelEncoding, bits_per_channel: winrt.system.Int32, color_space: DisplayWireFormatColorSpace, eotf: DisplayWireFormatEotf, hdr_metadata: DisplayWireFormatHdrMetadata, /) -> DisplayWireFormat: ...
553
+
554
+ @typing.final
555
+ class DisplayWireFormat(winrt.system.Object, metaclass=DisplayWireFormat_Static):
556
+ def __new__(cls: typing.Type[Self], pixel_encoding: DisplayWireFormatPixelEncoding, bits_per_channel: winrt.system.Int32, color_space: DisplayWireFormatColorSpace, eotf: DisplayWireFormatEotf, hdr_metadata: DisplayWireFormatHdrMetadata) -> Self: ...
557
+ # System.Int32 Windows.Devices.Display.Core.DisplayWireFormat::get_BitsPerChannel()
558
+ @_property
559
+ def bits_per_channel(self) -> winrt.system.Int32: ...
560
+ # Windows.Devices.Display.Core.DisplayWireFormatColorSpace Windows.Devices.Display.Core.DisplayWireFormat::get_ColorSpace()
561
+ @_property
562
+ def color_space(self) -> DisplayWireFormatColorSpace: ...
563
+ # Windows.Devices.Display.Core.DisplayWireFormatEotf Windows.Devices.Display.Core.DisplayWireFormat::get_Eotf()
564
+ @_property
565
+ def eotf(self) -> DisplayWireFormatEotf: ...
566
+ # Windows.Devices.Display.Core.DisplayWireFormatHdrMetadata Windows.Devices.Display.Core.DisplayWireFormat::get_HdrMetadata()
567
+ @_property
568
+ def hdr_metadata(self) -> DisplayWireFormatHdrMetadata: ...
569
+ # Windows.Devices.Display.Core.DisplayWireFormatPixelEncoding Windows.Devices.Display.Core.DisplayWireFormat::get_PixelEncoding()
570
+ @_property
571
+ def pixel_encoding(self) -> DisplayWireFormatPixelEncoding: ...
572
+ # Windows.Foundation.Collections.IMapView`2<System.Guid,System.Object> Windows.Devices.Display.Core.DisplayWireFormat::get_Properties()
573
+ @_property
574
+ def properties(self) -> typing.Mapping[_uuid.UUID, winrt.system.Object]: ...
575
+
@@ -0,0 +1,203 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
2
+
3
+ import enum
4
+
5
+ import winrt.system
6
+ from winrt._winrt_windows_devices_display_core import (
7
+ DisplayPresentationRate,
8
+ DisplayAdapter,
9
+ DisplayDevice,
10
+ DisplayFence,
11
+ DisplayManager,
12
+ DisplayManagerChangedEventArgs,
13
+ DisplayManagerDisabledEventArgs,
14
+ DisplayManagerEnabledEventArgs,
15
+ DisplayManagerPathsFailedOrInvalidatedEventArgs,
16
+ DisplayManagerResultWithState,
17
+ DisplayModeInfo,
18
+ DisplayMuxDevice,
19
+ DisplayPath,
20
+ DisplayPrimaryDescription,
21
+ DisplayScanout,
22
+ DisplaySource,
23
+ DisplayState,
24
+ DisplayStateOperationResult,
25
+ DisplaySurface,
26
+ DisplayTarget,
27
+ DisplayTask,
28
+ DisplayTaskPool,
29
+ DisplayTaskResult,
30
+ DisplayView,
31
+ DisplayWireFormat,
32
+ )
33
+
34
+ __all__ = [
35
+ "DisplayBitsPerChannel",
36
+ "DisplayDeviceCapability",
37
+ "DisplayManagerOptions",
38
+ "DisplayManagerResult",
39
+ "DisplayModeQueryOptions",
40
+ "DisplayPathScaling",
41
+ "DisplayPathStatus",
42
+ "DisplayPresentStatus",
43
+ "DisplayRotation",
44
+ "DisplayScanoutOptions",
45
+ "DisplaySourceStatus",
46
+ "DisplayStateApplyOptions",
47
+ "DisplayStateFunctionalizeOptions",
48
+ "DisplayStateOperationStatus",
49
+ "DisplayTargetPersistence",
50
+ "DisplayTaskSignalKind",
51
+ "DisplayWireFormatColorSpace",
52
+ "DisplayWireFormatEotf",
53
+ "DisplayWireFormatHdrMetadata",
54
+ "DisplayWireFormatPixelEncoding",
55
+ "DisplayPresentationRate",
56
+ "DisplayAdapter",
57
+ "DisplayDevice",
58
+ "DisplayFence",
59
+ "DisplayManager",
60
+ "DisplayManagerChangedEventArgs",
61
+ "DisplayManagerDisabledEventArgs",
62
+ "DisplayManagerEnabledEventArgs",
63
+ "DisplayManagerPathsFailedOrInvalidatedEventArgs",
64
+ "DisplayManagerResultWithState",
65
+ "DisplayModeInfo",
66
+ "DisplayMuxDevice",
67
+ "DisplayPath",
68
+ "DisplayPrimaryDescription",
69
+ "DisplayScanout",
70
+ "DisplaySource",
71
+ "DisplayState",
72
+ "DisplayStateOperationResult",
73
+ "DisplaySurface",
74
+ "DisplayTarget",
75
+ "DisplayTask",
76
+ "DisplayTaskPool",
77
+ "DisplayTaskResult",
78
+ "DisplayView",
79
+ "DisplayWireFormat",
80
+ ]
81
+
82
+ class DisplayBitsPerChannel(enum.IntFlag):
83
+ NONE = 0x0
84
+ BPC6 = 0x1
85
+ BPC8 = 0x2
86
+ BPC10 = 0x4
87
+ BPC12 = 0x8
88
+ BPC14 = 0x10
89
+ BPC16 = 0x20
90
+
91
+ class DisplayDeviceCapability(enum.IntEnum):
92
+ FLIP_OVERRIDE = 0
93
+
94
+ class DisplayManagerOptions(enum.IntFlag):
95
+ NONE = 0x0
96
+ ENFORCE_SOURCE_OWNERSHIP = 0x1
97
+ VIRTUAL_REFRESH_RATE_AWARE = 0x2
98
+
99
+ class DisplayManagerResult(enum.IntEnum):
100
+ SUCCESS = 0
101
+ UNKNOWN_FAILURE = 1
102
+ TARGET_ACCESS_DENIED = 2
103
+ TARGET_STALE = 3
104
+ REMOTE_SESSION_NOT_SUPPORTED = 4
105
+
106
+ class DisplayModeQueryOptions(enum.IntFlag):
107
+ NONE = 0x0
108
+ ONLY_PREFERRED_RESOLUTION = 0x1
109
+
110
+ class DisplayPathScaling(enum.IntEnum):
111
+ IDENTITY = 0
112
+ CENTERED = 1
113
+ STRETCHED = 2
114
+ ASPECT_RATIO_STRETCHED = 3
115
+ CUSTOM = 4
116
+ DRIVER_PREFERRED = 5
117
+
118
+ class DisplayPathStatus(enum.IntEnum):
119
+ UNKNOWN = 0
120
+ SUCCEEDED = 1
121
+ PENDING = 2
122
+ FAILED = 3
123
+ FAILED_ASYNC = 4
124
+ INVALIDATED_ASYNC = 5
125
+
126
+ class DisplayPresentStatus(enum.IntEnum):
127
+ SUCCESS = 0
128
+ SOURCE_STATUS_PREVENTED_PRESENT = 1
129
+ SCANOUT_INVALID = 2
130
+ SOURCE_INVALID = 3
131
+ DEVICE_INVALID = 4
132
+ UNKNOWN_FAILURE = 5
133
+
134
+ class DisplayRotation(enum.IntEnum):
135
+ NONE = 0
136
+ CLOCKWISE90_DEGREES = 1
137
+ CLOCKWISE180_DEGREES = 2
138
+ CLOCKWISE270_DEGREES = 3
139
+
140
+ class DisplayScanoutOptions(enum.IntFlag):
141
+ NONE = 0x0
142
+ ALLOW_TEARING = 0x2
143
+
144
+ class DisplaySourceStatus(enum.IntEnum):
145
+ ACTIVE = 0
146
+ POWERED_OFF = 1
147
+ INVALID = 2
148
+ OWNED_BY_ANOTHER_DEVICE = 3
149
+ UNOWNED = 4
150
+
151
+ class DisplayStateApplyOptions(enum.IntFlag):
152
+ NONE = 0x0
153
+ FAIL_IF_STATE_CHANGED = 0x1
154
+ FORCE_REAPPLY = 0x2
155
+ FORCE_MODE_ENUMERATION = 0x4
156
+
157
+ class DisplayStateFunctionalizeOptions(enum.IntFlag):
158
+ NONE = 0x0
159
+ FAIL_IF_STATE_CHANGED = 0x1
160
+ VALIDATE_TOPOLOGY_ONLY = 0x2
161
+
162
+ class DisplayStateOperationStatus(enum.IntEnum):
163
+ SUCCESS = 0
164
+ PARTIAL_FAILURE = 1
165
+ UNKNOWN_FAILURE = 2
166
+ TARGET_OWNERSHIP_LOST = 3
167
+ SYSTEM_STATE_CHANGED = 4
168
+ TOO_MANY_PATHS_FOR_ADAPTER = 5
169
+ MODES_NOT_SUPPORTED = 6
170
+ REMOTE_SESSION_NOT_SUPPORTED = 7
171
+
172
+ class DisplayTargetPersistence(enum.IntEnum):
173
+ NONE = 0
174
+ BOOT_PERSISTED = 1
175
+ TEMPORARY_PERSISTED = 2
176
+ PATH_PERSISTED = 3
177
+
178
+ class DisplayTaskSignalKind(enum.IntEnum):
179
+ ON_PRESENT_FLIP_AWAY = 0
180
+ ON_PRESENT_FLIP_TO = 1
181
+
182
+ class DisplayWireFormatColorSpace(enum.IntEnum):
183
+ BT709 = 0
184
+ BT2020 = 1
185
+ PROFILE_DEFINED_WIDE_COLOR_GAMUT = 2
186
+
187
+ class DisplayWireFormatEotf(enum.IntEnum):
188
+ SDR = 0
189
+ HDR_SMPTE2084 = 1
190
+
191
+ class DisplayWireFormatHdrMetadata(enum.IntEnum):
192
+ NONE = 0
193
+ HDR10 = 1
194
+ HDR10_PLUS = 2
195
+ DOLBY_VISION_LOW_LATENCY = 3
196
+
197
+ class DisplayWireFormatPixelEncoding(enum.IntEnum):
198
+ RGB444 = 0
199
+ YCC444 = 1
200
+ YCC422 = 2
201
+ YCC420 = 3
202
+ INTENSITY = 4
203
+
File without changes
@@ -0,0 +1,32 @@
1
+ Metadata-Version: 2.4
2
+ Name: winrt-Windows.Devices.Display.Core
3
+ Version: 3.2.1
4
+ Summary: Python projection of Windows Runtime (WinRT) APIs
5
+ License-Expression: MIT
6
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
7
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
8
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/CHANGELOG.md
9
+ Classifier: Operating System :: Microsoft :: Windows
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Programming Language :: Python :: Implementation :: CPython
12
+ Classifier: Intended Audience :: Developers
13
+ Requires-Python: >=3.9
14
+ Description-Content-Type: text/markdown
15
+ Requires-Dist: winrt-runtime~=3.2.1.0
16
+ Provides-Extra: all
17
+ Requires-Dist: winrt-Windows.Devices.Display[all]~=3.2.1.0; extra == "all"
18
+ Requires-Dist: winrt-Windows.Foundation[all]~=3.2.1.0; extra == "all"
19
+ Requires-Dist: winrt-Windows.Foundation.Collections[all]~=3.2.1.0; extra == "all"
20
+ Requires-Dist: winrt-Windows.Foundation.Numerics[all]~=3.2.1.0; extra == "all"
21
+ Requires-Dist: winrt-Windows.Graphics[all]~=3.2.1.0; extra == "all"
22
+ Requires-Dist: winrt-Windows.Graphics.DirectX[all]~=3.2.1.0; extra == "all"
23
+ Requires-Dist: winrt-Windows.Graphics.DirectX.Direct3D11[all]~=3.2.1.0; extra == "all"
24
+ Requires-Dist: winrt-Windows.Storage.Streams[all]~=3.2.1.0; extra == "all"
25
+
26
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
27
+
28
+ # winrt-Windows.Devices.Display.Core
29
+
30
+ Windows Runtime (WinRT) APIs for for the `Windows.Devices.Display.Core` namespace.
31
+
32
+ This package provides the `winrt.windows.devices.display.core` module.
@@ -0,0 +1,8 @@
1
+ winrt/_winrt_windows_devices_display_core.cp314-win_amd64.pyd,sha256=3sIakEhUeeM2kvn0QSX7X5gIAwJ3ksQLBO6iAR1nX34,423936
2
+ winrt/_winrt_windows_devices_display_core.pyi,sha256=0YPiO28eV4Q8KG05YgJ88Dy_o-lU0WGmUx0M-KQTwNA,44526
3
+ winrt/windows/devices/display/core/__init__.py,sha256=dZ6sftvwmJEDaMO86_T_lE1j7CfDB94t8QVFunAO1-o,4841
4
+ winrt/windows/devices/display/core/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
5
+ winrt_windows_devices_display_core-3.2.1.dist-info/METADATA,sha256=JMABOffXUBGKIEdNE2R0fBonL_VU4ZeUhWHjm0ef6_k,1618
6
+ winrt_windows_devices_display_core-3.2.1.dist-info/WHEEL,sha256=7k6Wcy588iJYe5lf5K095NLg-uoBTnE-T8eHJ92G4_4,101
7
+ winrt_windows_devices_display_core-3.2.1.dist-info/top_level.txt,sha256=BzwQb4dZRt0NxCXi10ARjWsox7Asmtf_lXrw_KR-D_E,6
8
+ winrt_windows_devices_display_core-3.2.1.dist-info/RECORD,,
@@ -0,0 +1,5 @@
1
+ Wheel-Version: 1.0
2
+ Generator: setuptools (80.9.0)
3
+ Root-Is-Purelib: false
4
+ Tag: cp314-cp314-win_amd64
5
+