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,322 @@
1
+ from __future__ import annotations
2
+ from win32more.winrt.prelude import *
3
+ import win32more.Microsoft.Windows.ApplicationModel.Resources
4
+ import win32more.Windows.Foundation
5
+ import win32more.Windows.Foundation.Collections
6
+ class IKnownResourceQualifierNameStatics(ComPtr):
7
+ extends: IInspectable
8
+ _classid_ = 'Microsoft.Windows.ApplicationModel.Resources.IKnownResourceQualifierNameStatics'
9
+ _iid_ = Guid('{dd6cdedc-559b-50c8-ac53-82fe21f915f3}')
10
+ @winrt_commethod(6)
11
+ def get_Contrast(self) -> WinRT_String: ...
12
+ @winrt_commethod(7)
13
+ def get_Custom(self) -> WinRT_String: ...
14
+ @winrt_commethod(8)
15
+ def get_DeviceFamily(self) -> WinRT_String: ...
16
+ @winrt_commethod(9)
17
+ def get_HomeRegion(self) -> WinRT_String: ...
18
+ @winrt_commethod(10)
19
+ def get_Language(self) -> WinRT_String: ...
20
+ @winrt_commethod(11)
21
+ def get_LayoutDirection(self) -> WinRT_String: ...
22
+ @winrt_commethod(12)
23
+ def get_Scale(self) -> WinRT_String: ...
24
+ @winrt_commethod(13)
25
+ def get_TargetSize(self) -> WinRT_String: ...
26
+ @winrt_commethod(14)
27
+ def get_Theme(self) -> WinRT_String: ...
28
+ Contrast = property(get_Contrast, None)
29
+ Custom = property(get_Custom, None)
30
+ DeviceFamily = property(get_DeviceFamily, None)
31
+ HomeRegion = property(get_HomeRegion, None)
32
+ Language = property(get_Language, None)
33
+ LayoutDirection = property(get_LayoutDirection, None)
34
+ Scale = property(get_Scale, None)
35
+ TargetSize = property(get_TargetSize, None)
36
+ Theme = property(get_Theme, None)
37
+ class IResourceCandidate(ComPtr):
38
+ extends: IInspectable
39
+ _classid_ = 'Microsoft.Windows.ApplicationModel.Resources.IResourceCandidate'
40
+ _iid_ = Guid('{6c54bc0c-ef1e-57b8-b478-34fece737356}')
41
+ @winrt_commethod(6)
42
+ def get_ValueAsString(self) -> WinRT_String: ...
43
+ @winrt_commethod(7)
44
+ def get_ValueAsBytes(self) -> ReceiveArray[Byte]: ...
45
+ @winrt_commethod(8)
46
+ def get_Kind(self) -> win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceCandidateKind: ...
47
+ @winrt_commethod(9)
48
+ def get_QualifierValues(self) -> win32more.Windows.Foundation.Collections.IMapView[WinRT_String, WinRT_String]: ...
49
+ Kind = property(get_Kind, None)
50
+ QualifierValues = property(get_QualifierValues, None)
51
+ ValueAsBytes = property(get_ValueAsBytes, None)
52
+ ValueAsString = property(get_ValueAsString, None)
53
+ class IResourceCandidateFactory(ComPtr):
54
+ extends: IInspectable
55
+ _classid_ = 'Microsoft.Windows.ApplicationModel.Resources.IResourceCandidateFactory'
56
+ _iid_ = Guid('{bb2b30f8-c19b-5f43-88d9-69ad728a32f4}')
57
+ @winrt_commethod(6)
58
+ def CreateInstance(self, kind: win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceCandidateKind, data: WinRT_String) -> win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceCandidate: ...
59
+ @winrt_commethod(7)
60
+ def CreateInstance2(self, data: PassArray[Byte]) -> win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceCandidate: ...
61
+ class IResourceContext(ComPtr):
62
+ extends: IInspectable
63
+ _classid_ = 'Microsoft.Windows.ApplicationModel.Resources.IResourceContext'
64
+ _iid_ = Guid('{96fb48dc-f77d-55ff-af12-34861e3d4939}')
65
+ @winrt_commethod(6)
66
+ def get_QualifierValues(self) -> win32more.Windows.Foundation.Collections.IMap[WinRT_String, WinRT_String]: ...
67
+ QualifierValues = property(get_QualifierValues, None)
68
+ class IResourceContext2(ComPtr):
69
+ extends: IInspectable
70
+ _classid_ = 'Microsoft.Windows.ApplicationModel.Resources.IResourceContext2'
71
+ _iid_ = Guid('{7a3b1158-798c-5949-969d-03510b9ce6ca}')
72
+ class IResourceLoader(ComPtr):
73
+ extends: IInspectable
74
+ _classid_ = 'Microsoft.Windows.ApplicationModel.Resources.IResourceLoader'
75
+ _iid_ = Guid('{bc3f76bf-da46-54cd-8715-8b8aaf16eaac}')
76
+ @winrt_commethod(6)
77
+ def GetString(self, resourceId: WinRT_String) -> WinRT_String: ...
78
+ @winrt_commethod(7)
79
+ def GetStringForUri(self, resourceUri: win32more.Windows.Foundation.Uri) -> WinRT_String: ...
80
+ class IResourceLoaderFactory(ComPtr):
81
+ extends: IInspectable
82
+ _classid_ = 'Microsoft.Windows.ApplicationModel.Resources.IResourceLoaderFactory'
83
+ _iid_ = Guid('{871f83aa-fb34-50d6-b9b9-2c35f3ffc004}')
84
+ @winrt_commethod(6)
85
+ def CreateInstance(self, fileName: WinRT_String) -> win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceLoader: ...
86
+ @winrt_commethod(7)
87
+ def CreateInstance2(self, fileName: WinRT_String, resourceMap: WinRT_String) -> win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceLoader: ...
88
+ class IResourceLoaderStatics(ComPtr):
89
+ extends: IInspectable
90
+ _classid_ = 'Microsoft.Windows.ApplicationModel.Resources.IResourceLoaderStatics'
91
+ _iid_ = Guid('{ec9c894a-1466-5f2f-8eee-a70cbd2b51bb}')
92
+ @winrt_commethod(6)
93
+ def GetDefaultResourceFilePath(self) -> WinRT_String: ...
94
+ class IResourceManager(ComPtr):
95
+ extends: IInspectable
96
+ _classid_ = 'Microsoft.Windows.ApplicationModel.Resources.IResourceManager'
97
+ _iid_ = Guid('{ac2291ef-81be-5c99-a0ae-bcee0180b8a8}')
98
+ @winrt_commethod(6)
99
+ def get_MainResourceMap(self) -> win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceMap: ...
100
+ @winrt_commethod(7)
101
+ def CreateResourceContext(self) -> win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceContext: ...
102
+ @winrt_commethod(8)
103
+ def add_ResourceNotFound(self, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceManager, win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceNotFoundEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
104
+ @winrt_commethod(9)
105
+ def remove_ResourceNotFound(self, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
106
+ MainResourceMap = property(get_MainResourceMap, None)
107
+ ResourceNotFound = event()
108
+ class IResourceManager2(ComPtr):
109
+ extends: IInspectable
110
+ _classid_ = 'Microsoft.Windows.ApplicationModel.Resources.IResourceManager2'
111
+ _iid_ = Guid('{7ec10160-a154-5c42-8268-30e306b1f585}')
112
+ class IResourceManagerFactory(ComPtr):
113
+ extends: IInspectable
114
+ _classid_ = 'Microsoft.Windows.ApplicationModel.Resources.IResourceManagerFactory'
115
+ _iid_ = Guid('{d6acf18f-458a-535b-a5c4-ac2dc4e49099}')
116
+ @winrt_commethod(6)
117
+ def CreateInstance(self, fileName: WinRT_String) -> win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceManager: ...
118
+ class IResourceMap(ComPtr):
119
+ extends: IInspectable
120
+ _classid_ = 'Microsoft.Windows.ApplicationModel.Resources.IResourceMap'
121
+ _iid_ = Guid('{4abbd9bc-df4e-5c7b-812c-7e7bb0c22377}')
122
+ @winrt_commethod(6)
123
+ def get_ResourceCount(self) -> UInt32: ...
124
+ @winrt_commethod(7)
125
+ def GetSubtree(self, reference: WinRT_String) -> win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceMap: ...
126
+ @winrt_commethod(8)
127
+ def TryGetSubtree(self, reference: WinRT_String) -> win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceMap: ...
128
+ @winrt_commethod(9)
129
+ def GetValue(self, resource: WinRT_String) -> win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceCandidate: ...
130
+ @winrt_commethod(10)
131
+ def GetValueWithContext(self, resource: WinRT_String, context: win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceContext) -> win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceCandidate: ...
132
+ @winrt_commethod(11)
133
+ def GetValueByIndex(self, index: UInt32) -> win32more.Windows.Foundation.Collections.IKeyValuePair[WinRT_String, win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceCandidate]: ...
134
+ @winrt_commethod(12)
135
+ def GetValueByIndexWithContext(self, index: UInt32, context: win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceContext) -> win32more.Windows.Foundation.Collections.IKeyValuePair[WinRT_String, win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceCandidate]: ...
136
+ @winrt_commethod(13)
137
+ def TryGetValue(self, resource: WinRT_String) -> win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceCandidate: ...
138
+ @winrt_commethod(14)
139
+ def TryGetValueWithContext(self, resource: WinRT_String, context: win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceContext) -> win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceCandidate: ...
140
+ ResourceCount = property(get_ResourceCount, None)
141
+ class IResourceNotFoundEventArgs(ComPtr):
142
+ extends: IInspectable
143
+ _classid_ = 'Microsoft.Windows.ApplicationModel.Resources.IResourceNotFoundEventArgs'
144
+ _iid_ = Guid('{64abb08b-e77d-5b26-830f-15941e0e8200}')
145
+ @winrt_commethod(6)
146
+ def get_Context(self) -> win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceContext: ...
147
+ @winrt_commethod(7)
148
+ def get_Name(self) -> WinRT_String: ...
149
+ @winrt_commethod(8)
150
+ def SetResolvedCandidate(self, candidate: win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceCandidate) -> Void: ...
151
+ Context = property(get_Context, None)
152
+ Name = property(get_Name, None)
153
+ class _KnownResourceQualifierName_Meta_(ComPtr.__class__):
154
+ pass
155
+ class KnownResourceQualifierName(ComPtr, metaclass=_KnownResourceQualifierName_Meta_):
156
+ extends: IInspectable
157
+ _classid_ = 'Microsoft.Windows.ApplicationModel.Resources.KnownResourceQualifierName'
158
+ @winrt_classmethod
159
+ def get_Contrast(cls: win32more.Microsoft.Windows.ApplicationModel.Resources.IKnownResourceQualifierNameStatics) -> WinRT_String: ...
160
+ @winrt_classmethod
161
+ def get_Custom(cls: win32more.Microsoft.Windows.ApplicationModel.Resources.IKnownResourceQualifierNameStatics) -> WinRT_String: ...
162
+ @winrt_classmethod
163
+ def get_DeviceFamily(cls: win32more.Microsoft.Windows.ApplicationModel.Resources.IKnownResourceQualifierNameStatics) -> WinRT_String: ...
164
+ @winrt_classmethod
165
+ def get_HomeRegion(cls: win32more.Microsoft.Windows.ApplicationModel.Resources.IKnownResourceQualifierNameStatics) -> WinRT_String: ...
166
+ @winrt_classmethod
167
+ def get_Language(cls: win32more.Microsoft.Windows.ApplicationModel.Resources.IKnownResourceQualifierNameStatics) -> WinRT_String: ...
168
+ @winrt_classmethod
169
+ def get_LayoutDirection(cls: win32more.Microsoft.Windows.ApplicationModel.Resources.IKnownResourceQualifierNameStatics) -> WinRT_String: ...
170
+ @winrt_classmethod
171
+ def get_Scale(cls: win32more.Microsoft.Windows.ApplicationModel.Resources.IKnownResourceQualifierNameStatics) -> WinRT_String: ...
172
+ @winrt_classmethod
173
+ def get_TargetSize(cls: win32more.Microsoft.Windows.ApplicationModel.Resources.IKnownResourceQualifierNameStatics) -> WinRT_String: ...
174
+ @winrt_classmethod
175
+ def get_Theme(cls: win32more.Microsoft.Windows.ApplicationModel.Resources.IKnownResourceQualifierNameStatics) -> WinRT_String: ...
176
+ _KnownResourceQualifierName_Meta_.Contrast = property(get_Contrast, None)
177
+ _KnownResourceQualifierName_Meta_.Custom = property(get_Custom, None)
178
+ _KnownResourceQualifierName_Meta_.DeviceFamily = property(get_DeviceFamily, None)
179
+ _KnownResourceQualifierName_Meta_.HomeRegion = property(get_HomeRegion, None)
180
+ _KnownResourceQualifierName_Meta_.Language = property(get_Language, None)
181
+ _KnownResourceQualifierName_Meta_.LayoutDirection = property(get_LayoutDirection, None)
182
+ _KnownResourceQualifierName_Meta_.Scale = property(get_Scale, None)
183
+ _KnownResourceQualifierName_Meta_.TargetSize = property(get_TargetSize, None)
184
+ _KnownResourceQualifierName_Meta_.Theme = property(get_Theme, None)
185
+ MrtCoreContract: UInt32 = 65536
186
+ class ResourceCandidate(ComPtr):
187
+ extends: IInspectable
188
+ default_interface: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceCandidate
189
+ _classid_ = 'Microsoft.Windows.ApplicationModel.Resources.ResourceCandidate'
190
+ def __init__(self, *args, **kwargs):
191
+ if kwargs:
192
+ super().__init__(**kwargs)
193
+ elif len(args) == 1:
194
+ super().__init__(move=win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceCandidate.CreateInstance2(*args))
195
+ elif len(args) == 2:
196
+ super().__init__(move=win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceCandidate.CreateInstance(*args))
197
+ else:
198
+ raise ValueError('no matched constructor')
199
+ @winrt_factorymethod
200
+ def CreateInstance2(cls: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceCandidateFactory, data: PassArray[Byte]) -> win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceCandidate: ...
201
+ @winrt_factorymethod
202
+ def CreateInstance(cls: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceCandidateFactory, kind: win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceCandidateKind, data: WinRT_String) -> win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceCandidate: ...
203
+ @winrt_mixinmethod
204
+ def get_ValueAsString(self: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceCandidate) -> WinRT_String: ...
205
+ @winrt_mixinmethod
206
+ def get_ValueAsBytes(self: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceCandidate) -> ReceiveArray[Byte]: ...
207
+ @winrt_mixinmethod
208
+ def get_Kind(self: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceCandidate) -> win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceCandidateKind: ...
209
+ @winrt_mixinmethod
210
+ def get_QualifierValues(self: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceCandidate) -> win32more.Windows.Foundation.Collections.IMapView[WinRT_String, WinRT_String]: ...
211
+ Kind = property(get_Kind, None)
212
+ QualifierValues = property(get_QualifierValues, None)
213
+ ValueAsBytes = property(get_ValueAsBytes, None)
214
+ ValueAsString = property(get_ValueAsString, None)
215
+ class ResourceCandidateKind(Enum, Int32):
216
+ Unknown = 0
217
+ String = 1
218
+ FilePath = 2
219
+ EmbeddedData = 3
220
+ class ResourceContext(ComPtr):
221
+ extends: IInspectable
222
+ default_interface: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceContext
223
+ _classid_ = 'Microsoft.Windows.ApplicationModel.Resources.ResourceContext'
224
+ @winrt_mixinmethod
225
+ def get_QualifierValues(self: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceContext) -> win32more.Windows.Foundation.Collections.IMap[WinRT_String, WinRT_String]: ...
226
+ QualifierValues = property(get_QualifierValues, None)
227
+ class ResourceLoader(ComPtr):
228
+ extends: IInspectable
229
+ default_interface: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceLoader
230
+ _classid_ = 'Microsoft.Windows.ApplicationModel.Resources.ResourceLoader'
231
+ def __init__(self, *args, **kwargs):
232
+ if kwargs:
233
+ super().__init__(**kwargs)
234
+ elif len(args) == 0:
235
+ super().__init__(move=win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceLoader.CreateInstance(*args))
236
+ elif len(args) == 1:
237
+ super().__init__(move=win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceLoader.CreateInstance(*args))
238
+ elif len(args) == 2:
239
+ super().__init__(move=win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceLoader.CreateInstance2(*args))
240
+ else:
241
+ raise ValueError('no matched constructor')
242
+ @winrt_overload
243
+ @winrt_activatemethod
244
+ def CreateInstance(cls) -> win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceLoader: ...
245
+ @CreateInstance.register
246
+ @winrt_factorymethod
247
+ def CreateInstance(cls: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceLoaderFactory, fileName: WinRT_String) -> win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceLoader: ...
248
+ @winrt_factorymethod
249
+ def CreateInstance2(cls: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceLoaderFactory, fileName: WinRT_String, resourceMap: WinRT_String) -> win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceLoader: ...
250
+ @winrt_mixinmethod
251
+ def GetString(self: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceLoader, resourceId: WinRT_String) -> WinRT_String: ...
252
+ @winrt_mixinmethod
253
+ def GetStringForUri(self: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceLoader, resourceUri: win32more.Windows.Foundation.Uri) -> WinRT_String: ...
254
+ @winrt_classmethod
255
+ def GetDefaultResourceFilePath(cls: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceLoaderStatics) -> WinRT_String: ...
256
+ class ResourceManager(ComPtr):
257
+ extends: IInspectable
258
+ default_interface: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceManager
259
+ _classid_ = 'Microsoft.Windows.ApplicationModel.Resources.ResourceManager'
260
+ def __init__(self, *args, **kwargs):
261
+ if kwargs:
262
+ super().__init__(**kwargs)
263
+ elif len(args) == 0:
264
+ super().__init__(move=win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceManager.CreateInstance(*args))
265
+ elif len(args) == 1:
266
+ super().__init__(move=win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceManager.CreateInstance(*args))
267
+ else:
268
+ raise ValueError('no matched constructor')
269
+ @winrt_overload
270
+ @winrt_activatemethod
271
+ def CreateInstance(cls) -> win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceManager: ...
272
+ @CreateInstance.register
273
+ @winrt_factorymethod
274
+ def CreateInstance(cls: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceManagerFactory, fileName: WinRT_String) -> win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceManager: ...
275
+ @winrt_mixinmethod
276
+ def get_MainResourceMap(self: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceManager) -> win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceMap: ...
277
+ @winrt_mixinmethod
278
+ def CreateResourceContext(self: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceManager) -> win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceContext: ...
279
+ @winrt_mixinmethod
280
+ def add_ResourceNotFound(self: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceManager, handler: win32more.Windows.Foundation.TypedEventHandler[win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceManager, win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceNotFoundEventArgs]) -> win32more.Windows.Foundation.EventRegistrationToken: ...
281
+ @winrt_mixinmethod
282
+ def remove_ResourceNotFound(self: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceManager, token: win32more.Windows.Foundation.EventRegistrationToken) -> Void: ...
283
+ MainResourceMap = property(get_MainResourceMap, None)
284
+ ResourceNotFound = event()
285
+ class ResourceMap(ComPtr):
286
+ extends: IInspectable
287
+ default_interface: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceMap
288
+ _classid_ = 'Microsoft.Windows.ApplicationModel.Resources.ResourceMap'
289
+ @winrt_mixinmethod
290
+ def get_ResourceCount(self: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceMap) -> UInt32: ...
291
+ @winrt_mixinmethod
292
+ def GetSubtree(self: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceMap, reference: WinRT_String) -> win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceMap: ...
293
+ @winrt_mixinmethod
294
+ def TryGetSubtree(self: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceMap, reference: WinRT_String) -> win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceMap: ...
295
+ @winrt_mixinmethod
296
+ def GetValue(self: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceMap, resource: WinRT_String) -> win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceCandidate: ...
297
+ @winrt_mixinmethod
298
+ def GetValueWithContext(self: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceMap, resource: WinRT_String, context: win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceContext) -> win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceCandidate: ...
299
+ @winrt_mixinmethod
300
+ def GetValueByIndex(self: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceMap, index: UInt32) -> win32more.Windows.Foundation.Collections.IKeyValuePair[WinRT_String, win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceCandidate]: ...
301
+ @winrt_mixinmethod
302
+ def GetValueByIndexWithContext(self: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceMap, index: UInt32, context: win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceContext) -> win32more.Windows.Foundation.Collections.IKeyValuePair[WinRT_String, win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceCandidate]: ...
303
+ @winrt_mixinmethod
304
+ def TryGetValue(self: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceMap, resource: WinRT_String) -> win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceCandidate: ...
305
+ @winrt_mixinmethod
306
+ def TryGetValueWithContext(self: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceMap, resource: WinRT_String, context: win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceContext) -> win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceCandidate: ...
307
+ ResourceCount = property(get_ResourceCount, None)
308
+ class ResourceNotFoundEventArgs(ComPtr):
309
+ extends: IInspectable
310
+ default_interface: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceNotFoundEventArgs
311
+ _classid_ = 'Microsoft.Windows.ApplicationModel.Resources.ResourceNotFoundEventArgs'
312
+ @winrt_mixinmethod
313
+ def get_Context(self: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceNotFoundEventArgs) -> win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceContext: ...
314
+ @winrt_mixinmethod
315
+ def get_Name(self: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceNotFoundEventArgs) -> WinRT_String: ...
316
+ @winrt_mixinmethod
317
+ def SetResolvedCandidate(self: win32more.Microsoft.Windows.ApplicationModel.Resources.IResourceNotFoundEventArgs, candidate: win32more.Microsoft.Windows.ApplicationModel.Resources.ResourceCandidate) -> Void: ...
318
+ Context = property(get_Context, None)
319
+ Name = property(get_Name, None)
320
+
321
+
322
+ make_ready(__name__)
@@ -0,0 +1,114 @@
1
+ from __future__ import annotations
2
+ from win32more.winrt.prelude import *
3
+ import win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime
4
+ import win32more.Windows.Foundation
5
+ DeploymentContract: UInt32 = 262144
6
+ class DeploymentInitializeOptions(ComPtr):
7
+ extends: IInspectable
8
+ default_interface: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IDeploymentInitializeOptions
9
+ _classid_ = 'Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentInitializeOptions'
10
+ def __init__(self, *args, **kwargs):
11
+ if kwargs:
12
+ super().__init__(**kwargs)
13
+ elif len(args) == 0:
14
+ super().__init__(move=win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentInitializeOptions.CreateInstance(*args))
15
+ else:
16
+ raise ValueError('no matched constructor')
17
+ @winrt_activatemethod
18
+ def CreateInstance(cls) -> win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentInitializeOptions: ...
19
+ @winrt_mixinmethod
20
+ def get_ForceDeployment(self: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IDeploymentInitializeOptions) -> Boolean: ...
21
+ @winrt_mixinmethod
22
+ def put_ForceDeployment(self: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IDeploymentInitializeOptions, value: Boolean) -> Void: ...
23
+ @winrt_mixinmethod
24
+ def get_OnErrorShowUI(self: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IDeploymentInitializeOptions2) -> Boolean: ...
25
+ @winrt_mixinmethod
26
+ def put_OnErrorShowUI(self: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IDeploymentInitializeOptions2, value: Boolean) -> Void: ...
27
+ ForceDeployment = property(get_ForceDeployment, put_ForceDeployment)
28
+ OnErrorShowUI = property(get_OnErrorShowUI, put_OnErrorShowUI)
29
+ class DeploymentManager(ComPtr):
30
+ extends: IInspectable
31
+ _classid_ = 'Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentManager'
32
+ @winrt_overload
33
+ @winrt_classmethod
34
+ def Initialize(cls: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IDeploymentManagerStatics2, deploymentInitializeOptions: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentInitializeOptions) -> win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentResult: ...
35
+ @winrt_classmethod
36
+ def GetStatus(cls: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IDeploymentManagerStatics) -> win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentResult: ...
37
+ @Initialize.register
38
+ @winrt_classmethod
39
+ def Initialize(cls: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IDeploymentManagerStatics) -> win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentResult: ...
40
+ class DeploymentResult(ComPtr):
41
+ extends: IInspectable
42
+ default_interface: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IDeploymentResult
43
+ _classid_ = 'Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentResult'
44
+ def __init__(self, *args, **kwargs):
45
+ if kwargs:
46
+ super().__init__(**kwargs)
47
+ elif len(args) == 2:
48
+ super().__init__(move=win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentResult.CreateInstance(*args))
49
+ else:
50
+ raise ValueError('no matched constructor')
51
+ @winrt_factorymethod
52
+ def CreateInstance(cls: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IDeploymentResultFactory, status: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentStatus, extendedError: win32more.Windows.Foundation.HResult) -> win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentResult: ...
53
+ @winrt_mixinmethod
54
+ def get_Status(self: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IDeploymentResult) -> win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentStatus: ...
55
+ @winrt_mixinmethod
56
+ def get_ExtendedError(self: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IDeploymentResult) -> win32more.Windows.Foundation.HResult: ...
57
+ ExtendedError = property(get_ExtendedError, None)
58
+ Status = property(get_Status, None)
59
+ class DeploymentStatus(Enum, Int32):
60
+ Unknown = 0
61
+ Ok = 1
62
+ PackageInstallRequired = 2
63
+ PackageInstallFailed = 3
64
+ class IDeploymentInitializeOptions(ComPtr):
65
+ extends: IInspectable
66
+ _classid_ = 'Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IDeploymentInitializeOptions'
67
+ _iid_ = Guid('{578a5fd4-9d7f-5e01-97b8-d8ea61db4027}')
68
+ @winrt_commethod(6)
69
+ def get_ForceDeployment(self) -> Boolean: ...
70
+ @winrt_commethod(7)
71
+ def put_ForceDeployment(self, value: Boolean) -> Void: ...
72
+ ForceDeployment = property(get_ForceDeployment, put_ForceDeployment)
73
+ class IDeploymentInitializeOptions2(ComPtr):
74
+ extends: IInspectable
75
+ _classid_ = 'Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IDeploymentInitializeOptions2'
76
+ _iid_ = Guid('{ad902820-149f-5e16-a566-9b2363997de2}')
77
+ @winrt_commethod(6)
78
+ def get_OnErrorShowUI(self) -> Boolean: ...
79
+ @winrt_commethod(7)
80
+ def put_OnErrorShowUI(self, value: Boolean) -> Void: ...
81
+ OnErrorShowUI = property(get_OnErrorShowUI, put_OnErrorShowUI)
82
+ class IDeploymentManagerStatics(ComPtr):
83
+ extends: IInspectable
84
+ _classid_ = 'Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IDeploymentManagerStatics'
85
+ _iid_ = Guid('{6782a9d0-bfd0-50ea-81b0-32e9ed37cdf0}')
86
+ @winrt_commethod(6)
87
+ def GetStatus(self) -> win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentResult: ...
88
+ @winrt_commethod(7)
89
+ def Initialize(self) -> win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentResult: ...
90
+ class IDeploymentManagerStatics2(ComPtr):
91
+ extends: IInspectable
92
+ _classid_ = 'Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IDeploymentManagerStatics2'
93
+ _iid_ = Guid('{f49c16ee-6ebc-5f15-bebb-2ba49f8c0b30}')
94
+ @winrt_commethod(6)
95
+ def Initialize(self, deploymentInitializeOptions: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentInitializeOptions) -> win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentResult: ...
96
+ class IDeploymentResult(ComPtr):
97
+ extends: IInspectable
98
+ _classid_ = 'Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IDeploymentResult'
99
+ _iid_ = Guid('{27203f62-463d-587a-8eb7-870098901078}')
100
+ @winrt_commethod(6)
101
+ def get_Status(self) -> win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentStatus: ...
102
+ @winrt_commethod(7)
103
+ def get_ExtendedError(self) -> win32more.Windows.Foundation.HResult: ...
104
+ ExtendedError = property(get_ExtendedError, None)
105
+ Status = property(get_Status, None)
106
+ class IDeploymentResultFactory(ComPtr):
107
+ extends: IInspectable
108
+ _classid_ = 'Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IDeploymentResultFactory'
109
+ _iid_ = Guid('{acd7bdae-4ae6-5cac-8205-1e8c305f953b}')
110
+ @winrt_commethod(6)
111
+ def CreateInstance(self, status: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentStatus, extendedError: win32more.Windows.Foundation.HResult) -> win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentResult: ...
112
+
113
+
114
+ make_ready(__name__)