win32more-Microsoft.WindowsAppSDK 0.6.1.5.240227000__py2.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.

Potentially problematic release.


This version of win32more-Microsoft.WindowsAppSDK might be problematic. Click here for more details.

Files changed (66) hide show
  1. win32more/Microsoft/Foundation/__init__.py +7 -0
  2. win32more/Microsoft/Graphics/DirectX/__init__.py +167 -0
  3. win32more/Microsoft/Graphics/Display/__init__.py +174 -0
  4. win32more/Microsoft/UI/Composition/Core/__init__.py +52 -0
  5. win32more/Microsoft/UI/Composition/Diagnostics/__init__.py +63 -0
  6. win32more/Microsoft/UI/Composition/Effects/__init__.py +96 -0
  7. win32more/Microsoft/UI/Composition/Interactions/__init__.py +951 -0
  8. win32more/Microsoft/UI/Composition/Scenes/__init__.py +671 -0
  9. win32more/Microsoft/UI/Composition/SystemBackdrops/__init__.py +356 -0
  10. win32more/Microsoft/UI/Composition/__init__.py +4793 -0
  11. win32more/Microsoft/UI/Content/__init__.py +918 -0
  12. win32more/Microsoft/UI/Dispatching/__init__.py +241 -0
  13. win32more/Microsoft/UI/Input/DragDrop/__init__.py +235 -0
  14. win32more/Microsoft/UI/Input/Interop/__init__.py +19 -0
  15. win32more/Microsoft/UI/Input/__init__.py +1927 -0
  16. win32more/Microsoft/UI/System/__init__.py +46 -0
  17. win32more/Microsoft/UI/Text/__init__.py +1090 -0
  18. win32more/Microsoft/UI/Windowing/__init__.py +877 -0
  19. win32more/Microsoft/UI/Xaml/Automation/Peers/__init__.py +3414 -0
  20. win32more/Microsoft/UI/Xaml/Automation/Provider/__init__.py +489 -0
  21. win32more/Microsoft/UI/Xaml/Automation/Text/__init__.py +17 -0
  22. win32more/Microsoft/UI/Xaml/Automation/__init__.py +1607 -0
  23. win32more/Microsoft/UI/Xaml/Controls/AnimatedVisuals/__init__.py +170 -0
  24. win32more/Microsoft/UI/Xaml/Controls/Primitives/__init__.py +6458 -0
  25. win32more/Microsoft/UI/Xaml/Controls/__init__.py +31159 -0
  26. win32more/Microsoft/UI/Xaml/Core/Direct/__init__.py +7 -0
  27. win32more/Microsoft/UI/Xaml/Data/__init__.py +670 -0
  28. win32more/Microsoft/UI/Xaml/Documents/__init__.py +2030 -0
  29. win32more/Microsoft/UI/Xaml/Hosting/__init__.py +329 -0
  30. win32more/Microsoft/UI/Xaml/Input/__init__.py +1985 -0
  31. win32more/Microsoft/UI/Xaml/Interop/__init__.py +148 -0
  32. win32more/Microsoft/UI/Xaml/Markup/__init__.py +391 -0
  33. win32more/Microsoft/UI/Xaml/Media/Animation/__init__.py +4167 -0
  34. win32more/Microsoft/UI/Xaml/Media/Imaging/__init__.py +632 -0
  35. win32more/Microsoft/UI/Xaml/Media/Media3D/__init__.py +373 -0
  36. win32more/Microsoft/UI/Xaml/Media/__init__.py +3510 -0
  37. win32more/Microsoft/UI/Xaml/Navigation/__init__.py +255 -0
  38. win32more/Microsoft/UI/Xaml/Printing/__init__.py +193 -0
  39. win32more/Microsoft/UI/Xaml/Resources/__init__.py +53 -0
  40. win32more/Microsoft/UI/Xaml/Shapes/__init__.py +538 -0
  41. win32more/Microsoft/UI/Xaml/XamlTypeInfo/__init__.py +39 -0
  42. win32more/Microsoft/UI/Xaml/__init__.py +6010 -0
  43. win32more/Microsoft/UI/__init__.py +912 -0
  44. win32more/Microsoft/Web/WebView2/Core/__init__.py +4685 -0
  45. win32more/Microsoft/Windows/AppLifecycle/__init__.py +180 -0
  46. win32more/Microsoft/Windows/AppNotifications/Builder/__init__.py +572 -0
  47. win32more/Microsoft/Windows/AppNotifications/__init__.py +333 -0
  48. win32more/Microsoft/Windows/ApplicationModel/DynamicDependency/__init__.py +244 -0
  49. win32more/Microsoft/Windows/ApplicationModel/Resources/__init__.py +322 -0
  50. win32more/Microsoft/Windows/ApplicationModel/WindowsAppRuntime/__init__.py +114 -0
  51. win32more/Microsoft/Windows/Management/Deployment/__init__.py +1114 -0
  52. win32more/Microsoft/Windows/PushNotifications/__init__.py +146 -0
  53. win32more/Microsoft/Windows/Security/AccessControl/__init__.py +25 -0
  54. win32more/Microsoft/Windows/System/Power/__init__.py +223 -0
  55. win32more/Microsoft/Windows/System/__init__.py +78 -0
  56. win32more/Microsoft/Windows/Widgets/Feeds/Providers/__init__.py +181 -0
  57. win32more/Microsoft/Windows/Widgets/Providers/__init__.py +325 -0
  58. win32more/Microsoft/Windows/Widgets/__init__.py +11 -0
  59. win32more/appsdk/versioninfo.py +3 -0
  60. win32more/dll/arm64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  61. win32more/dll/x64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  62. win32more/dll/x86/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  63. win32more_microsoft_windowsappsdk-0.6.1.5.240227000.dist-info/METADATA +5 -0
  64. win32more_microsoft_windowsappsdk-0.6.1.5.240227000.dist-info/RECORD +66 -0
  65. win32more_microsoft_windowsappsdk-0.6.1.5.240227000.dist-info/WHEEL +5 -0
  66. win32more_microsoft_windowsappsdk-0.6.1.5.240227000.dist-info/licenses/LICENSE (Microsoft.WindowsAppSDK).txt +90 -0
@@ -0,0 +1,7 @@
1
+ from __future__ import annotations
2
+ from win32more.winrt.prelude import *
3
+ import win32more.Microsoft.Foundation
4
+ WindowsAppSDKContract: UInt32 = 65541
5
+
6
+
7
+ make_ready(__name__)
@@ -0,0 +1,167 @@
1
+ from __future__ import annotations
2
+ from win32more.winrt.prelude import *
3
+ import win32more.Microsoft.Graphics.DirectX
4
+ class DirectXAlphaMode(Enum, Int32):
5
+ Unspecified = 0
6
+ Premultiplied = 1
7
+ Straight = 2
8
+ Ignore = 3
9
+ class DirectXColorSpace(Enum, Int32):
10
+ RgbFullG22NoneP709 = 0
11
+ RgbFullG10NoneP709 = 1
12
+ RgbStudioG22NoneP709 = 2
13
+ RgbStudioG22NoneP2020 = 3
14
+ Reserved = 4
15
+ YccFullG22NoneP709X601 = 5
16
+ YccStudioG22LeftP601 = 6
17
+ YccFullG22LeftP601 = 7
18
+ YccStudioG22LeftP709 = 8
19
+ YccFullG22LeftP709 = 9
20
+ YccStudioG22LeftP2020 = 10
21
+ YccFullG22LeftP2020 = 11
22
+ RgbFullG2084NoneP2020 = 12
23
+ YccStudioG2084LeftP2020 = 13
24
+ RgbStudioG2084NoneP2020 = 14
25
+ YccStudioG22TopLeftP2020 = 15
26
+ YccStudioG2084TopLeftP2020 = 16
27
+ RgbFullG22NoneP2020 = 17
28
+ YccStudioGHlgTopLeftP2020 = 18
29
+ YccFullGHlgTopLeftP2020 = 19
30
+ RgbStudioG24NoneP709 = 20
31
+ RgbStudioG24NoneP2020 = 21
32
+ YccStudioG24LeftP709 = 22
33
+ YccStudioG24LeftP2020 = 23
34
+ YccStudioG24TopLeftP2020 = 24
35
+ class DirectXPixelFormat(Enum, Int32):
36
+ Unknown = 0
37
+ R32G32B32A32Typeless = 1
38
+ R32G32B32A32Float = 2
39
+ R32G32B32A32UInt = 3
40
+ R32G32B32A32Int = 4
41
+ R32G32B32Typeless = 5
42
+ R32G32B32Float = 6
43
+ R32G32B32UInt = 7
44
+ R32G32B32Int = 8
45
+ R16G16B16A16Typeless = 9
46
+ R16G16B16A16Float = 10
47
+ R16G16B16A16UIntNormalized = 11
48
+ R16G16B16A16UInt = 12
49
+ R16G16B16A16IntNormalized = 13
50
+ R16G16B16A16Int = 14
51
+ R32G32Typeless = 15
52
+ R32G32Float = 16
53
+ R32G32UInt = 17
54
+ R32G32Int = 18
55
+ R32G8X24Typeless = 19
56
+ D32FloatS8X24UInt = 20
57
+ R32FloatX8X24Typeless = 21
58
+ X32TypelessG8X24UInt = 22
59
+ R10G10B10A2Typeless = 23
60
+ R10G10B10A2UIntNormalized = 24
61
+ R10G10B10A2UInt = 25
62
+ R11G11B10Float = 26
63
+ R8G8B8A8Typeless = 27
64
+ R8G8B8A8UIntNormalized = 28
65
+ R8G8B8A8UIntNormalizedSrgb = 29
66
+ R8G8B8A8UInt = 30
67
+ R8G8B8A8IntNormalized = 31
68
+ R8G8B8A8Int = 32
69
+ R16G16Typeless = 33
70
+ R16G16Float = 34
71
+ R16G16UIntNormalized = 35
72
+ R16G16UInt = 36
73
+ R16G16IntNormalized = 37
74
+ R16G16Int = 38
75
+ R32Typeless = 39
76
+ D32Float = 40
77
+ R32Float = 41
78
+ R32UInt = 42
79
+ R32Int = 43
80
+ R24G8Typeless = 44
81
+ D24UIntNormalizedS8UInt = 45
82
+ R24UIntNormalizedX8Typeless = 46
83
+ X24TypelessG8UInt = 47
84
+ R8G8Typeless = 48
85
+ R8G8UIntNormalized = 49
86
+ R8G8UInt = 50
87
+ R8G8IntNormalized = 51
88
+ R8G8Int = 52
89
+ R16Typeless = 53
90
+ R16Float = 54
91
+ D16UIntNormalized = 55
92
+ R16UIntNormalized = 56
93
+ R16UInt = 57
94
+ R16IntNormalized = 58
95
+ R16Int = 59
96
+ R8Typeless = 60
97
+ R8UIntNormalized = 61
98
+ R8UInt = 62
99
+ R8IntNormalized = 63
100
+ R8Int = 64
101
+ A8UIntNormalized = 65
102
+ R1UIntNormalized = 66
103
+ R9G9B9E5SharedExponent = 67
104
+ R8G8B8G8UIntNormalized = 68
105
+ G8R8G8B8UIntNormalized = 69
106
+ BC1Typeless = 70
107
+ BC1UIntNormalized = 71
108
+ BC1UIntNormalizedSrgb = 72
109
+ BC2Typeless = 73
110
+ BC2UIntNormalized = 74
111
+ BC2UIntNormalizedSrgb = 75
112
+ BC3Typeless = 76
113
+ BC3UIntNormalized = 77
114
+ BC3UIntNormalizedSrgb = 78
115
+ BC4Typeless = 79
116
+ BC4UIntNormalized = 80
117
+ BC4IntNormalized = 81
118
+ BC5Typeless = 82
119
+ BC5UIntNormalized = 83
120
+ BC5IntNormalized = 84
121
+ B5G6R5UIntNormalized = 85
122
+ B5G5R5A1UIntNormalized = 86
123
+ B8G8R8A8UIntNormalized = 87
124
+ B8G8R8X8UIntNormalized = 88
125
+ R10G10B10XRBiasA2UIntNormalized = 89
126
+ B8G8R8A8Typeless = 90
127
+ B8G8R8A8UIntNormalizedSrgb = 91
128
+ B8G8R8X8Typeless = 92
129
+ B8G8R8X8UIntNormalizedSrgb = 93
130
+ BC6HTypeless = 94
131
+ BC6H16UnsignedFloat = 95
132
+ BC6H16Float = 96
133
+ BC7Typeless = 97
134
+ BC7UIntNormalized = 98
135
+ BC7UIntNormalizedSrgb = 99
136
+ Ayuv = 100
137
+ Y410 = 101
138
+ Y416 = 102
139
+ NV12 = 103
140
+ P010 = 104
141
+ P016 = 105
142
+ Opaque420 = 106
143
+ Yuy2 = 107
144
+ Y210 = 108
145
+ Y216 = 109
146
+ NV11 = 110
147
+ AI44 = 111
148
+ IA44 = 112
149
+ P8 = 113
150
+ A8P8 = 114
151
+ B4G4R4A4UIntNormalized = 115
152
+ P208 = 130
153
+ V208 = 131
154
+ V408 = 132
155
+ SamplerFeedbackMinMipOpaque = 189
156
+ SamplerFeedbackMipRegionUsedOpaque = 190
157
+ A4B4G4R4 = 191
158
+ class DirectXPrimitiveTopology(Enum, Int32):
159
+ Undefined = 0
160
+ PointList = 1
161
+ LineList = 2
162
+ LineStrip = 3
163
+ TriangleList = 4
164
+ TriangleStrip = 5
165
+
166
+
167
+ make_ready(__name__)
@@ -0,0 +1,174 @@
1
+ from __future__ import annotations
2
+ from win32more.winrt.prelude import *
3
+ import win32more.Microsoft.Graphics.Display
4
+ import win32more.Microsoft.UI
5
+ import win32more.Microsoft.UI.Dispatching
6
+ import win32more.Windows.Foundation
7
+ import win32more.Windows.Storage.Streams
8
+ class DisplayAdvancedColorInfo(ComPtr):
9
+ extends: IInspectable
10
+ default_interface: win32more.Microsoft.Graphics.Display.IDisplayAdvancedColorInfo
11
+ _classid_ = 'Microsoft.Graphics.Display.DisplayAdvancedColorInfo'
12
+ @winrt_mixinmethod
13
+ def get_CurrentAdvancedColorKind(self: win32more.Microsoft.Graphics.Display.IDisplayAdvancedColorInfo) -> win32more.Microsoft.Graphics.Display.DisplayAdvancedColorKind: ...
14
+ @winrt_mixinmethod
15
+ def get_RedPrimary(self: win32more.Microsoft.Graphics.Display.IDisplayAdvancedColorInfo) -> win32more.Windows.Foundation.Point: ...
16
+ @winrt_mixinmethod
17
+ def get_GreenPrimary(self: win32more.Microsoft.Graphics.Display.IDisplayAdvancedColorInfo) -> win32more.Windows.Foundation.Point: ...
18
+ @winrt_mixinmethod
19
+ def get_BluePrimary(self: win32more.Microsoft.Graphics.Display.IDisplayAdvancedColorInfo) -> win32more.Windows.Foundation.Point: ...
20
+ @winrt_mixinmethod
21
+ def get_WhitePoint(self: win32more.Microsoft.Graphics.Display.IDisplayAdvancedColorInfo) -> win32more.Windows.Foundation.Point: ...
22
+ @winrt_mixinmethod
23
+ def get_MaxLuminanceInNits(self: win32more.Microsoft.Graphics.Display.IDisplayAdvancedColorInfo) -> Double: ...
24
+ @winrt_mixinmethod
25
+ def get_MinLuminanceInNits(self: win32more.Microsoft.Graphics.Display.IDisplayAdvancedColorInfo) -> Double: ...
26
+ @winrt_mixinmethod
27
+ def get_MaxAverageFullFrameLuminanceInNits(self: win32more.Microsoft.Graphics.Display.IDisplayAdvancedColorInfo) -> Double: ...
28
+ @winrt_mixinmethod
29
+ def get_SdrWhiteLevelInNits(self: win32more.Microsoft.Graphics.Display.IDisplayAdvancedColorInfo) -> Double: ...
30
+ @winrt_mixinmethod
31
+ def IsHdrMetadataFormatCurrentlySupported(self: win32more.Microsoft.Graphics.Display.IDisplayAdvancedColorInfo, format: win32more.Microsoft.Graphics.Display.DisplayHdrMetadataFormat) -> Boolean: ...
32
+ @winrt_mixinmethod
33
+ def IsAdvancedColorKindAvailable(self: win32more.Microsoft.Graphics.Display.IDisplayAdvancedColorInfo, kind: win32more.Microsoft.Graphics.Display.DisplayAdvancedColorKind) -> Boolean: ...
34
+ BluePrimary = property(get_BluePrimary, None)
35
+ CurrentAdvancedColorKind = property(get_CurrentAdvancedColorKind, None)
36
+ GreenPrimary = property(get_GreenPrimary, None)
37
+ MaxAverageFullFrameLuminanceInNits = property(get_MaxAverageFullFrameLuminanceInNits, None)
38
+ MaxLuminanceInNits = property(get_MaxLuminanceInNits, None)
39
+ MinLuminanceInNits = property(get_MinLuminanceInNits, None)
40
+ RedPrimary = property(get_RedPrimary, None)
41
+ SdrWhiteLevelInNits = property(get_SdrWhiteLevelInNits, None)
42
+ WhitePoint = property(get_WhitePoint, None)
43
+ class DisplayAdvancedColorKind(Enum, Int32):
44
+ StandardDynamicRange = 0
45
+ WideColorGamut = 1
46
+ HighDynamicRange = 2
47
+ class DisplayHdrMetadataFormat(Enum, Int32):
48
+ Hdr10 = 0
49
+ Hdr10Plus = 1
50
+ class DisplayInformation(ComPtr):
51
+ extends: IInspectable
52
+ implements: Tuple[ContextManagerProtocol]
53
+ default_interface: win32more.Microsoft.Graphics.Display.IDisplayInformation
54
+ _classid_ = 'Microsoft.Graphics.Display.DisplayInformation'
55
+ @winrt_mixinmethod
56
+ def get_IsStereoEnabled(self: win32more.Microsoft.Graphics.Display.IDisplayInformation) -> Boolean: ...
57
+ @winrt_mixinmethod
58
+ def GetColorProfileAsync(self: win32more.Microsoft.Graphics.Display.IDisplayInformation) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Windows.Storage.Streams.IRandomAccessStream]: ...
59
+ @winrt_mixinmethod
60
+ def add_IsStereoEnabledChanged(self: win32more.Microsoft.Graphics.Display.IDisplayInformation, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.Graphics.Display.DisplayInformation, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
61
+ @winrt_mixinmethod
62
+ def remove_IsStereoEnabledChanged(self: win32more.Microsoft.Graphics.Display.IDisplayInformation, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
63
+ @winrt_mixinmethod
64
+ def get_DispatcherQueue(self: win32more.Microsoft.Graphics.Display.IDisplayInformation) -> win32more.Microsoft.UI.Dispatching.DispatcherQueue: ...
65
+ @winrt_mixinmethod
66
+ def GetColorProfile(self: win32more.Microsoft.Graphics.Display.IDisplayInformation) -> win32more.Windows.Storage.Streams.IRandomAccessStream: ...
67
+ @winrt_mixinmethod
68
+ def add_ColorProfileChanged(self: win32more.Microsoft.Graphics.Display.IDisplayInformation, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.Graphics.Display.DisplayInformation, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
69
+ @winrt_mixinmethod
70
+ def remove_ColorProfileChanged(self: win32more.Microsoft.Graphics.Display.IDisplayInformation, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
71
+ @winrt_mixinmethod
72
+ def GetAdvancedColorInfo(self: win32more.Microsoft.Graphics.Display.IDisplayInformation) -> win32more.Microsoft.Graphics.Display.DisplayAdvancedColorInfo: ...
73
+ @winrt_mixinmethod
74
+ def add_AdvancedColorInfoChanged(self: win32more.Microsoft.Graphics.Display.IDisplayInformation, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.Graphics.Display.DisplayInformation, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
75
+ @winrt_mixinmethod
76
+ def remove_AdvancedColorInfoChanged(self: win32more.Microsoft.Graphics.Display.IDisplayInformation, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
77
+ @winrt_mixinmethod
78
+ def add_Destroyed(self: win32more.Microsoft.Graphics.Display.IDisplayInformation, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.Graphics.Display.DisplayInformation, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
79
+ @winrt_mixinmethod
80
+ def remove_Destroyed(self: win32more.Microsoft.Graphics.Display.IDisplayInformation, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
81
+ @winrt_mixinmethod
82
+ def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
83
+ @winrt_classmethod
84
+ def CreateForWindowId(cls: win32more.Microsoft.Graphics.Display.IDisplayInformationStatics, windowId: win32more.Microsoft.UI.WindowId) -> win32more.Microsoft.Graphics.Display.DisplayInformation: ...
85
+ @winrt_classmethod
86
+ def CreateForDisplayId(cls: win32more.Microsoft.Graphics.Display.IDisplayInformationStatics, displayId: win32more.Microsoft.UI.DisplayId) -> win32more.Microsoft.Graphics.Display.DisplayInformation: ...
87
+ DispatcherQueue = property(get_DispatcherQueue, None)
88
+ IsStereoEnabled = property(get_IsStereoEnabled, None)
89
+ IsStereoEnabledChanged = event()
90
+ ColorProfileChanged = event()
91
+ AdvancedColorInfoChanged = event()
92
+ Destroyed = event()
93
+ class IDisplayAdvancedColorInfo(ComPtr):
94
+ extends: IInspectable
95
+ _classid_ = 'Microsoft.Graphics.Display.IDisplayAdvancedColorInfo'
96
+ _iid_ = Guid('{b44f0f47-7065-5175-ba3e-714489c85a3e}')
97
+ @winrt_commethod(6)
98
+ def get_CurrentAdvancedColorKind(self) -> win32more.Microsoft.Graphics.Display.DisplayAdvancedColorKind: ...
99
+ @winrt_commethod(7)
100
+ def get_RedPrimary(self) -> win32more.Windows.Foundation.Point: ...
101
+ @winrt_commethod(8)
102
+ def get_GreenPrimary(self) -> win32more.Windows.Foundation.Point: ...
103
+ @winrt_commethod(9)
104
+ def get_BluePrimary(self) -> win32more.Windows.Foundation.Point: ...
105
+ @winrt_commethod(10)
106
+ def get_WhitePoint(self) -> win32more.Windows.Foundation.Point: ...
107
+ @winrt_commethod(11)
108
+ def get_MaxLuminanceInNits(self) -> Double: ...
109
+ @winrt_commethod(12)
110
+ def get_MinLuminanceInNits(self) -> Double: ...
111
+ @winrt_commethod(13)
112
+ def get_MaxAverageFullFrameLuminanceInNits(self) -> Double: ...
113
+ @winrt_commethod(14)
114
+ def get_SdrWhiteLevelInNits(self) -> Double: ...
115
+ @winrt_commethod(15)
116
+ def IsHdrMetadataFormatCurrentlySupported(self, format: win32more.Microsoft.Graphics.Display.DisplayHdrMetadataFormat) -> Boolean: ...
117
+ @winrt_commethod(16)
118
+ def IsAdvancedColorKindAvailable(self, kind: win32more.Microsoft.Graphics.Display.DisplayAdvancedColorKind) -> Boolean: ...
119
+ BluePrimary = property(get_BluePrimary, None)
120
+ CurrentAdvancedColorKind = property(get_CurrentAdvancedColorKind, None)
121
+ GreenPrimary = property(get_GreenPrimary, None)
122
+ MaxAverageFullFrameLuminanceInNits = property(get_MaxAverageFullFrameLuminanceInNits, None)
123
+ MaxLuminanceInNits = property(get_MaxLuminanceInNits, None)
124
+ MinLuminanceInNits = property(get_MinLuminanceInNits, None)
125
+ RedPrimary = property(get_RedPrimary, None)
126
+ SdrWhiteLevelInNits = property(get_SdrWhiteLevelInNits, None)
127
+ WhitePoint = property(get_WhitePoint, None)
128
+ class IDisplayInformation(ComPtr):
129
+ extends: IInspectable
130
+ _classid_ = 'Microsoft.Graphics.Display.IDisplayInformation'
131
+ _iid_ = Guid('{f0d58d4f-84ce-5b27-b222-4f8f7dc0aaeb}')
132
+ @winrt_commethod(6)
133
+ def get_DispatcherQueue(self) -> win32more.Microsoft.UI.Dispatching.DispatcherQueue: ...
134
+ @winrt_commethod(7)
135
+ def get_IsStereoEnabled(self) -> Boolean: ...
136
+ @winrt_commethod(8)
137
+ def add_IsStereoEnabledChanged(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.Graphics.Display.DisplayInformation, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
138
+ @winrt_commethod(9)
139
+ def remove_IsStereoEnabledChanged(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
140
+ @winrt_commethod(10)
141
+ def GetColorProfileAsync(self) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Windows.Storage.Streams.IRandomAccessStream]: ...
142
+ @winrt_commethod(11)
143
+ def GetColorProfile(self) -> win32more.Windows.Storage.Streams.IRandomAccessStream: ...
144
+ @winrt_commethod(12)
145
+ def add_ColorProfileChanged(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.Graphics.Display.DisplayInformation, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
146
+ @winrt_commethod(13)
147
+ def remove_ColorProfileChanged(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
148
+ @winrt_commethod(14)
149
+ def GetAdvancedColorInfo(self) -> win32more.Microsoft.Graphics.Display.DisplayAdvancedColorInfo: ...
150
+ @winrt_commethod(15)
151
+ def add_AdvancedColorInfoChanged(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.Graphics.Display.DisplayInformation, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
152
+ @winrt_commethod(16)
153
+ def remove_AdvancedColorInfoChanged(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
154
+ @winrt_commethod(17)
155
+ def add_Destroyed(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.Graphics.Display.DisplayInformation, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
156
+ @winrt_commethod(18)
157
+ def remove_Destroyed(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
158
+ DispatcherQueue = property(get_DispatcherQueue, None)
159
+ IsStereoEnabled = property(get_IsStereoEnabled, None)
160
+ IsStereoEnabledChanged = event()
161
+ ColorProfileChanged = event()
162
+ AdvancedColorInfoChanged = event()
163
+ Destroyed = event()
164
+ class IDisplayInformationStatics(ComPtr):
165
+ extends: IInspectable
166
+ _classid_ = 'Microsoft.Graphics.Display.IDisplayInformationStatics'
167
+ _iid_ = Guid('{2de85048-37fa-56c0-ac30-47e2044d7ea8}')
168
+ @winrt_commethod(6)
169
+ def CreateForWindowId(self, windowId: win32more.Microsoft.UI.WindowId) -> win32more.Microsoft.Graphics.Display.DisplayInformation: ...
170
+ @winrt_commethod(7)
171
+ def CreateForDisplayId(self, displayId: win32more.Microsoft.UI.DisplayId) -> win32more.Microsoft.Graphics.Display.DisplayInformation: ...
172
+
173
+
174
+ make_ready(__name__)
@@ -0,0 +1,52 @@
1
+ from __future__ import annotations
2
+ from win32more.winrt.prelude import *
3
+ import win32more.Microsoft.UI.Composition
4
+ import win32more.Microsoft.UI.Composition.Core
5
+ import win32more.Windows.Foundation
6
+ class CompositorController(ComPtr):
7
+ extends: IInspectable
8
+ implements: Tuple[ContextManagerProtocol]
9
+ default_interface: win32more.Microsoft.UI.Composition.Core.ICompositorController
10
+ _classid_ = 'Microsoft.UI.Composition.Core.CompositorController'
11
+ def __init__(self, *args, **kwargs):
12
+ if kwargs:
13
+ super().__init__(**kwargs)
14
+ elif len(args) == 0:
15
+ super().__init__(move=win32more.Microsoft.UI.Composition.Core.CompositorController.CreateInstance(*args))
16
+ else:
17
+ raise ValueError('no matched constructor')
18
+ @winrt_activatemethod
19
+ def CreateInstance(cls) -> win32more.Microsoft.UI.Composition.Core.CompositorController: ...
20
+ @winrt_mixinmethod
21
+ def EnsurePreviousCommitCompletedAsync(self: win32more.Microsoft.UI.Composition.Core.ICompositorController) -> win32more.Windows.Foundation.IAsyncAction: ...
22
+ @winrt_mixinmethod
23
+ def remove_CommitNeeded(self: win32more.Microsoft.UI.Composition.Core.ICompositorController, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
24
+ @winrt_mixinmethod
25
+ def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
26
+ @winrt_mixinmethod
27
+ def get_Compositor(self: win32more.Microsoft.UI.Composition.Core.ICompositorController) -> win32more.Microsoft.UI.Composition.Compositor: ...
28
+ @winrt_mixinmethod
29
+ def add_CommitNeeded(self: win32more.Microsoft.UI.Composition.Core.ICompositorController, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Composition.Core.CompositorController, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
30
+ @winrt_mixinmethod
31
+ def Commit(self: win32more.Microsoft.UI.Composition.Core.ICompositorController) -> Void: ...
32
+ Compositor = property(get_Compositor, None)
33
+ CommitNeeded = event()
34
+ class ICompositorController(ComPtr):
35
+ extends: IInspectable
36
+ _classid_ = 'Microsoft.UI.Composition.Core.ICompositorController'
37
+ _iid_ = Guid('{cc107cdc-558f-5d1a-96a5-a735ac04386b}')
38
+ @winrt_commethod(6)
39
+ def get_Compositor(self) -> win32more.Microsoft.UI.Composition.Compositor: ...
40
+ @winrt_commethod(7)
41
+ def Commit(self) -> Void: ...
42
+ @winrt_commethod(8)
43
+ def EnsurePreviousCommitCompletedAsync(self) -> win32more.Windows.Foundation.IAsyncAction: ...
44
+ @winrt_commethod(9)
45
+ def add_CommitNeeded(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.UI.Composition.Core.CompositorController, IInspectable]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
46
+ @winrt_commethod(10)
47
+ def remove_CommitNeeded(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
48
+ Compositor = property(get_Compositor, None)
49
+ CommitNeeded = event()
50
+
51
+
52
+ make_ready(__name__)
@@ -0,0 +1,63 @@
1
+ from __future__ import annotations
2
+ from win32more.winrt.prelude import *
3
+ import win32more.Microsoft.UI.Composition
4
+ import win32more.Microsoft.UI.Composition.Diagnostics
5
+ class CompositionDebugHeatMaps(ComPtr):
6
+ extends: IInspectable
7
+ default_interface: win32more.Microsoft.UI.Composition.Diagnostics.ICompositionDebugHeatMaps
8
+ _classid_ = 'Microsoft.UI.Composition.Diagnostics.CompositionDebugHeatMaps'
9
+ @winrt_mixinmethod
10
+ def Hide(self: win32more.Microsoft.UI.Composition.Diagnostics.ICompositionDebugHeatMaps, subtree: win32more.Microsoft.UI.Composition.Visual) -> Void: ...
11
+ @winrt_mixinmethod
12
+ def ShowRedraw(self: win32more.Microsoft.UI.Composition.Diagnostics.ICompositionDebugHeatMaps, subtree: win32more.Microsoft.UI.Composition.Visual) -> Void: ...
13
+ @winrt_mixinmethod
14
+ def ShowMemoryUsage(self: win32more.Microsoft.UI.Composition.Diagnostics.ICompositionDebugHeatMaps, subtree: win32more.Microsoft.UI.Composition.Visual) -> Void: ...
15
+ @winrt_mixinmethod
16
+ def ShowOverdraw(self: win32more.Microsoft.UI.Composition.Diagnostics.ICompositionDebugHeatMaps, subtree: win32more.Microsoft.UI.Composition.Visual, contentKinds: win32more.Microsoft.UI.Composition.Diagnostics.CompositionDebugOverdrawContentKinds) -> Void: ...
17
+ class CompositionDebugOverdrawContentKinds(Enum, UInt32):
18
+ None_ = 0
19
+ OffscreenRendered = 1
20
+ Colors = 2
21
+ Effects = 4
22
+ Shadows = 8
23
+ Lights = 16
24
+ Surfaces = 32
25
+ SwapChains = 64
26
+ All = 4294967295
27
+ class CompositionDebugSettings(ComPtr):
28
+ extends: IInspectable
29
+ default_interface: win32more.Microsoft.UI.Composition.Diagnostics.ICompositionDebugSettings
30
+ _classid_ = 'Microsoft.UI.Composition.Diagnostics.CompositionDebugSettings'
31
+ @winrt_mixinmethod
32
+ def get_HeatMaps(self: win32more.Microsoft.UI.Composition.Diagnostics.ICompositionDebugSettings) -> win32more.Microsoft.UI.Composition.Diagnostics.CompositionDebugHeatMaps: ...
33
+ @winrt_classmethod
34
+ def TryGetSettings(cls: win32more.Microsoft.UI.Composition.Diagnostics.ICompositionDebugSettingsStatics, compositor: win32more.Microsoft.UI.Composition.Compositor) -> win32more.Microsoft.UI.Composition.Diagnostics.CompositionDebugSettings: ...
35
+ HeatMaps = property(get_HeatMaps, None)
36
+ class ICompositionDebugHeatMaps(ComPtr):
37
+ extends: IInspectable
38
+ _classid_ = 'Microsoft.UI.Composition.Diagnostics.ICompositionDebugHeatMaps'
39
+ _iid_ = Guid('{815016b8-f645-5c55-87b5-fe2167282b6f}')
40
+ @winrt_commethod(6)
41
+ def Hide(self, subtree: win32more.Microsoft.UI.Composition.Visual) -> Void: ...
42
+ @winrt_commethod(7)
43
+ def ShowMemoryUsage(self, subtree: win32more.Microsoft.UI.Composition.Visual) -> Void: ...
44
+ @winrt_commethod(8)
45
+ def ShowOverdraw(self, subtree: win32more.Microsoft.UI.Composition.Visual, contentKinds: win32more.Microsoft.UI.Composition.Diagnostics.CompositionDebugOverdrawContentKinds) -> Void: ...
46
+ @winrt_commethod(9)
47
+ def ShowRedraw(self, subtree: win32more.Microsoft.UI.Composition.Visual) -> Void: ...
48
+ class ICompositionDebugSettings(ComPtr):
49
+ extends: IInspectable
50
+ _classid_ = 'Microsoft.UI.Composition.Diagnostics.ICompositionDebugSettings'
51
+ _iid_ = Guid('{f4c0c0f6-7f5f-5014-a0d6-c8c7eeecace6}')
52
+ @winrt_commethod(6)
53
+ def get_HeatMaps(self) -> win32more.Microsoft.UI.Composition.Diagnostics.CompositionDebugHeatMaps: ...
54
+ HeatMaps = property(get_HeatMaps, None)
55
+ class ICompositionDebugSettingsStatics(ComPtr):
56
+ extends: IInspectable
57
+ _classid_ = 'Microsoft.UI.Composition.Diagnostics.ICompositionDebugSettingsStatics'
58
+ _iid_ = Guid('{b56f8aab-2b8c-51aa-b974-10e5c517f50e}')
59
+ @winrt_commethod(6)
60
+ def TryGetSettings(self, compositor: win32more.Microsoft.UI.Composition.Compositor) -> win32more.Microsoft.UI.Composition.Diagnostics.CompositionDebugSettings: ...
61
+
62
+
63
+ make_ready(__name__)
@@ -0,0 +1,96 @@
1
+ from __future__ import annotations
2
+ from win32more.winrt.prelude import *
3
+ import win32more.Microsoft.UI.Composition.Effects
4
+ import win32more.Windows.Graphics.Effects
5
+ class ISceneLightingEffect(ComPtr):
6
+ extends: IInspectable
7
+ _classid_ = 'Microsoft.UI.Composition.Effects.ISceneLightingEffect'
8
+ _iid_ = Guid('{eb1e7316-114c-5950-8480-20a29a3bb1ee}')
9
+ @winrt_commethod(6)
10
+ def get_AmbientAmount(self) -> Single: ...
11
+ @winrt_commethod(7)
12
+ def put_AmbientAmount(self, value: Single) -> Void: ...
13
+ @winrt_commethod(8)
14
+ def get_DiffuseAmount(self) -> Single: ...
15
+ @winrt_commethod(9)
16
+ def put_DiffuseAmount(self, value: Single) -> Void: ...
17
+ @winrt_commethod(10)
18
+ def get_NormalMapSource(self) -> win32more.Windows.Graphics.Effects.IGraphicsEffectSource: ...
19
+ @winrt_commethod(11)
20
+ def put_NormalMapSource(self, value: win32more.Windows.Graphics.Effects.IGraphicsEffectSource) -> Void: ...
21
+ @winrt_commethod(12)
22
+ def get_SpecularAmount(self) -> Single: ...
23
+ @winrt_commethod(13)
24
+ def put_SpecularAmount(self, value: Single) -> Void: ...
25
+ @winrt_commethod(14)
26
+ def get_SpecularShine(self) -> Single: ...
27
+ @winrt_commethod(15)
28
+ def put_SpecularShine(self, value: Single) -> Void: ...
29
+ AmbientAmount = property(get_AmbientAmount, put_AmbientAmount)
30
+ DiffuseAmount = property(get_DiffuseAmount, put_DiffuseAmount)
31
+ NormalMapSource = property(get_NormalMapSource, put_NormalMapSource)
32
+ SpecularAmount = property(get_SpecularAmount, put_SpecularAmount)
33
+ SpecularShine = property(get_SpecularShine, put_SpecularShine)
34
+ class ISceneLightingEffect2(ComPtr):
35
+ extends: IInspectable
36
+ _classid_ = 'Microsoft.UI.Composition.Effects.ISceneLightingEffect2'
37
+ _iid_ = Guid('{6b6496b2-468d-50d1-bbe9-593b8263ad80}')
38
+ @winrt_commethod(6)
39
+ def get_ReflectanceModel(self) -> win32more.Microsoft.UI.Composition.Effects.SceneLightingEffectReflectanceModel: ...
40
+ @winrt_commethod(7)
41
+ def put_ReflectanceModel(self, value: win32more.Microsoft.UI.Composition.Effects.SceneLightingEffectReflectanceModel) -> Void: ...
42
+ ReflectanceModel = property(get_ReflectanceModel, put_ReflectanceModel)
43
+ class SceneLightingEffect(ComPtr):
44
+ extends: IInspectable
45
+ default_interface: win32more.Microsoft.UI.Composition.Effects.ISceneLightingEffect
46
+ _classid_ = 'Microsoft.UI.Composition.Effects.SceneLightingEffect'
47
+ def __init__(self, *args, **kwargs):
48
+ if kwargs:
49
+ super().__init__(**kwargs)
50
+ elif len(args) == 0:
51
+ super().__init__(move=win32more.Microsoft.UI.Composition.Effects.SceneLightingEffect.CreateInstance(*args))
52
+ else:
53
+ raise ValueError('no matched constructor')
54
+ @winrt_activatemethod
55
+ def CreateInstance(cls) -> win32more.Microsoft.UI.Composition.Effects.SceneLightingEffect: ...
56
+ @winrt_mixinmethod
57
+ def put_Name(self: win32more.Windows.Graphics.Effects.IGraphicsEffect, name: WinRT_String) -> Void: ...
58
+ @winrt_mixinmethod
59
+ def put_SpecularAmount(self: win32more.Microsoft.UI.Composition.Effects.ISceneLightingEffect, value: Single) -> Void: ...
60
+ @winrt_mixinmethod
61
+ def get_SpecularShine(self: win32more.Microsoft.UI.Composition.Effects.ISceneLightingEffect) -> Single: ...
62
+ @winrt_mixinmethod
63
+ def put_SpecularShine(self: win32more.Microsoft.UI.Composition.Effects.ISceneLightingEffect, value: Single) -> Void: ...
64
+ @winrt_mixinmethod
65
+ def get_ReflectanceModel(self: win32more.Microsoft.UI.Composition.Effects.ISceneLightingEffect2) -> win32more.Microsoft.UI.Composition.Effects.SceneLightingEffectReflectanceModel: ...
66
+ @winrt_mixinmethod
67
+ def put_ReflectanceModel(self: win32more.Microsoft.UI.Composition.Effects.ISceneLightingEffect2, value: win32more.Microsoft.UI.Composition.Effects.SceneLightingEffectReflectanceModel) -> Void: ...
68
+ @winrt_mixinmethod
69
+ def get_Name(self: win32more.Windows.Graphics.Effects.IGraphicsEffect) -> WinRT_String: ...
70
+ @winrt_mixinmethod
71
+ def get_AmbientAmount(self: win32more.Microsoft.UI.Composition.Effects.ISceneLightingEffect) -> Single: ...
72
+ @winrt_mixinmethod
73
+ def put_AmbientAmount(self: win32more.Microsoft.UI.Composition.Effects.ISceneLightingEffect, value: Single) -> Void: ...
74
+ @winrt_mixinmethod
75
+ def get_DiffuseAmount(self: win32more.Microsoft.UI.Composition.Effects.ISceneLightingEffect) -> Single: ...
76
+ @winrt_mixinmethod
77
+ def put_DiffuseAmount(self: win32more.Microsoft.UI.Composition.Effects.ISceneLightingEffect, value: Single) -> Void: ...
78
+ @winrt_mixinmethod
79
+ def get_NormalMapSource(self: win32more.Microsoft.UI.Composition.Effects.ISceneLightingEffect) -> win32more.Windows.Graphics.Effects.IGraphicsEffectSource: ...
80
+ @winrt_mixinmethod
81
+ def put_NormalMapSource(self: win32more.Microsoft.UI.Composition.Effects.ISceneLightingEffect, value: win32more.Windows.Graphics.Effects.IGraphicsEffectSource) -> Void: ...
82
+ @winrt_mixinmethod
83
+ def get_SpecularAmount(self: win32more.Microsoft.UI.Composition.Effects.ISceneLightingEffect) -> Single: ...
84
+ AmbientAmount = property(get_AmbientAmount, put_AmbientAmount)
85
+ DiffuseAmount = property(get_DiffuseAmount, put_DiffuseAmount)
86
+ Name = property(get_Name, put_Name)
87
+ NormalMapSource = property(get_NormalMapSource, put_NormalMapSource)
88
+ ReflectanceModel = property(get_ReflectanceModel, put_ReflectanceModel)
89
+ SpecularAmount = property(get_SpecularAmount, put_SpecularAmount)
90
+ SpecularShine = property(get_SpecularShine, put_SpecularShine)
91
+ class SceneLightingEffectReflectanceModel(Enum, Int32):
92
+ BlinnPhong = 0
93
+ PhysicallyBasedBlinnPhong = 1
94
+
95
+
96
+ make_ready(__name__)