win32more-Microsoft.WindowsAppSDK 0.7.1.7.251014001__py2.py3-none-any.whl → 0.7.1.8.250916003__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 (25) hide show
  1. win32more/Microsoft/Foundation/__init__.py +1 -1
  2. win32more/Microsoft/UI/Content/__init__.py +10 -10
  3. win32more/Microsoft/UI/Input/__init__.py +41 -41
  4. win32more/Microsoft/UI/Xaml/__init__.py +2 -2
  5. win32more/Microsoft/Windows/AI/Foundation/__init__.py +46 -0
  6. win32more/Microsoft/Windows/AI/Imaging/__init__.py +36 -0
  7. win32more/Microsoft/Windows/AI/MachineLearning/__init__.py +122 -0
  8. win32more/Microsoft/Windows/AI/Text/__init__.py +238 -1
  9. win32more/Microsoft/Windows/ApplicationModel/Background/UniversalBGTask/__init__.py +2 -4
  10. win32more/Microsoft/Windows/ApplicationModel/WindowsAppRuntime/__init__.py +0 -22
  11. win32more/Microsoft/Windows/Foundation/__init__.py +221 -0
  12. win32more/Microsoft/Windows/Storage/Pickers/__init__.py +258 -0
  13. win32more/Microsoft/Windows/Widgets/Feeds/Providers/__init__.py +8 -0
  14. win32more/Microsoft/Windows/Widgets/__init__.py +1 -1
  15. win32more/appsdk/versioninfo.py +2 -2
  16. win32more/dll/arm64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
  17. win32more/dll/arm64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  18. win32more/dll/x64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
  19. win32more/dll/x64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  20. win32more/dll/x86/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
  21. win32more/dll/x86/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  22. {win32more_microsoft_windowsappsdk-0.7.1.7.251014001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.8.250916003.dist-info}/METADATA +2 -2
  23. {win32more_microsoft_windowsappsdk-0.7.1.7.251014001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.8.250916003.dist-info}/RECORD +25 -21
  24. {win32more_microsoft_windowsappsdk-0.7.1.7.251014001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.8.250916003.dist-info}/licenses/LICENSE (Microsoft.WindowsAppSDK).txt +4 -2
  25. {win32more_microsoft_windowsappsdk-0.7.1.7.251014001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.8.250916003.dist-info}/WHEEL +0 -0
@@ -2,16 +2,167 @@ from __future__ import annotations
2
2
  from win32more._prelude import *
3
3
  import win32more.Microsoft.Windows.AI
4
4
  import win32more.Microsoft.Windows.AI.ContentSafety
5
+ import win32more.Microsoft.Windows.AI.Foundation
5
6
  import win32more.Microsoft.Windows.AI.Text
6
7
  import win32more.Windows.Foundation
8
+ import win32more.Windows.Foundation.Collections
9
+ class ConversationItem(ComPtr):
10
+ extends: IInspectable
11
+ default_interface: win32more.Microsoft.Windows.AI.Text.IConversationItem
12
+ _classid_ = 'Microsoft.Windows.AI.Text.ConversationItem'
13
+ def __init__(self, *args, **kwargs):
14
+ if kwargs:
15
+ super().__init__(**kwargs)
16
+ elif len(args) == 0:
17
+ super().__init__(move=win32more.Microsoft.Windows.AI.Text.ConversationItem.CreateInstance(*args))
18
+ else:
19
+ raise ValueError('no matched constructor')
20
+ @winrt_activatemethod
21
+ def CreateInstance(cls) -> win32more.Microsoft.Windows.AI.Text.ConversationItem: ...
22
+ @winrt_mixinmethod
23
+ def get_Participant(self: win32more.Microsoft.Windows.AI.Text.IConversationItem) -> hstr: ...
24
+ @winrt_mixinmethod
25
+ def put_Participant(self: win32more.Microsoft.Windows.AI.Text.IConversationItem, value: hstr) -> Void: ...
26
+ @winrt_mixinmethod
27
+ def get_Message(self: win32more.Microsoft.Windows.AI.Text.IConversationItem) -> hstr: ...
28
+ @winrt_mixinmethod
29
+ def put_Message(self: win32more.Microsoft.Windows.AI.Text.IConversationItem, value: hstr) -> Void: ...
30
+ Message = property(get_Message, put_Message)
31
+ Participant = property(get_Participant, put_Participant)
32
+ class ConversationSummaryOptions(ComPtr):
33
+ extends: IInspectable
34
+ default_interface: win32more.Microsoft.Windows.AI.Text.IConversationSummaryOptions
35
+ _classid_ = 'Microsoft.Windows.AI.Text.ConversationSummaryOptions'
36
+ def __init__(self, *args, **kwargs):
37
+ if kwargs:
38
+ super().__init__(**kwargs)
39
+ elif len(args) == 0:
40
+ super().__init__(move=win32more.Microsoft.Windows.AI.Text.ConversationSummaryOptions.CreateInstance(*args))
41
+ else:
42
+ raise ValueError('no matched constructor')
43
+ @winrt_activatemethod
44
+ def CreateInstance(cls) -> win32more.Microsoft.Windows.AI.Text.ConversationSummaryOptions: ...
45
+ @winrt_mixinmethod
46
+ def get_InputKind(self: win32more.Microsoft.Windows.AI.Text.IConversationSummaryOptions) -> win32more.Microsoft.Windows.AI.Text.InputKind: ...
47
+ @winrt_mixinmethod
48
+ def put_InputKind(self: win32more.Microsoft.Windows.AI.Text.IConversationSummaryOptions, value: win32more.Microsoft.Windows.AI.Text.InputKind) -> Void: ...
49
+ @winrt_mixinmethod
50
+ def get_IncludeMessageCitations(self: win32more.Microsoft.Windows.AI.Text.IConversationSummaryOptions) -> Boolean: ...
51
+ @winrt_mixinmethod
52
+ def put_IncludeMessageCitations(self: win32more.Microsoft.Windows.AI.Text.IConversationSummaryOptions, value: Boolean) -> Void: ...
53
+ @winrt_mixinmethod
54
+ def get_IncludeParticipantAttribution(self: win32more.Microsoft.Windows.AI.Text.IConversationSummaryOptions) -> Boolean: ...
55
+ @winrt_mixinmethod
56
+ def put_IncludeParticipantAttribution(self: win32more.Microsoft.Windows.AI.Text.IConversationSummaryOptions, value: Boolean) -> Void: ...
57
+ @winrt_mixinmethod
58
+ def get_MaxKeyPoints(self: win32more.Microsoft.Windows.AI.Text.IConversationSummaryOptions) -> UInt32: ...
59
+ @winrt_mixinmethod
60
+ def put_MaxKeyPoints(self: win32more.Microsoft.Windows.AI.Text.IConversationSummaryOptions, value: UInt32) -> Void: ...
61
+ @winrt_mixinmethod
62
+ def get_Language(self: win32more.Microsoft.Windows.AI.Text.IConversationSummaryOptions) -> hstr: ...
63
+ @winrt_mixinmethod
64
+ def put_Language(self: win32more.Microsoft.Windows.AI.Text.IConversationSummaryOptions, value: hstr) -> Void: ...
65
+ IncludeMessageCitations = property(get_IncludeMessageCitations, put_IncludeMessageCitations)
66
+ IncludeParticipantAttribution = property(get_IncludeParticipantAttribution, put_IncludeParticipantAttribution)
67
+ InputKind = property(get_InputKind, put_InputKind)
68
+ Language = property(get_Language, put_Language)
69
+ MaxKeyPoints = property(get_MaxKeyPoints, put_MaxKeyPoints)
70
+ class IConversationItem(ComPtr):
71
+ extends: IInspectable
72
+ _classid_ = 'Microsoft.Windows.AI.Text.IConversationItem'
73
+ _iid_ = Guid('{957b0b85-4d7e-5788-baae-af7cf256bb8e}')
74
+ @winrt_commethod(6)
75
+ def get_Participant(self) -> hstr: ...
76
+ @winrt_commethod(7)
77
+ def put_Participant(self, value: hstr) -> Void: ...
78
+ @winrt_commethod(8)
79
+ def get_Message(self) -> hstr: ...
80
+ @winrt_commethod(9)
81
+ def put_Message(self, value: hstr) -> Void: ...
82
+ Message = property(get_Message, put_Message)
83
+ Participant = property(get_Participant, put_Participant)
84
+ class IConversationSummaryOptions(ComPtr):
85
+ extends: IInspectable
86
+ _classid_ = 'Microsoft.Windows.AI.Text.IConversationSummaryOptions'
87
+ _iid_ = Guid('{360bce9f-fd14-5d0e-bd24-fd78ed3038e6}')
88
+ @winrt_commethod(6)
89
+ def get_InputKind(self) -> win32more.Microsoft.Windows.AI.Text.InputKind: ...
90
+ @winrt_commethod(7)
91
+ def put_InputKind(self, value: win32more.Microsoft.Windows.AI.Text.InputKind) -> Void: ...
92
+ @winrt_commethod(8)
93
+ def get_IncludeMessageCitations(self) -> Boolean: ...
94
+ @winrt_commethod(9)
95
+ def put_IncludeMessageCitations(self, value: Boolean) -> Void: ...
96
+ @winrt_commethod(10)
97
+ def get_IncludeParticipantAttribution(self) -> Boolean: ...
98
+ @winrt_commethod(11)
99
+ def put_IncludeParticipantAttribution(self, value: Boolean) -> Void: ...
100
+ @winrt_commethod(12)
101
+ def get_MaxKeyPoints(self) -> UInt32: ...
102
+ @winrt_commethod(13)
103
+ def put_MaxKeyPoints(self, value: UInt32) -> Void: ...
104
+ @winrt_commethod(14)
105
+ def get_Language(self) -> hstr: ...
106
+ @winrt_commethod(15)
107
+ def put_Language(self, value: hstr) -> Void: ...
108
+ IncludeMessageCitations = property(get_IncludeMessageCitations, put_IncludeMessageCitations)
109
+ IncludeParticipantAttribution = property(get_IncludeParticipantAttribution, put_IncludeParticipantAttribution)
110
+ InputKind = property(get_InputKind, put_InputKind)
111
+ Language = property(get_Language, put_Language)
112
+ MaxKeyPoints = property(get_MaxKeyPoints, put_MaxKeyPoints)
7
113
  class ILanguageModel(ComPtr):
8
114
  extends: IInspectable
9
115
  _classid_ = 'Microsoft.Windows.AI.Text.ILanguageModel'
10
116
  _iid_ = Guid('{6331c629-8c86-5bfe-8c4e-9ca5573cc14b}')
117
+ class ILanguageModel2(ComPtr):
118
+ extends: IInspectable
119
+ _classid_ = 'Microsoft.Windows.AI.Text.ILanguageModel2'
120
+ _iid_ = Guid('{653b714e-f9b3-51cb-954f-5ea58f63ab89}')
121
+ @winrt_commethod(6)
122
+ def GenerateResponseAsync(self, prompt: hstr) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
123
+ @winrt_commethod(7)
124
+ def GenerateResponseAsync2(self, prompt: hstr, options: win32more.Microsoft.Windows.AI.Text.LanguageModelOptions) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
125
+ @winrt_commethod(8)
126
+ def GenerateResponseAsync3(self, context: win32more.Microsoft.Windows.AI.Text.LanguageModelContext, prompt: hstr, options: win32more.Microsoft.Windows.AI.Text.LanguageModelOptions) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
127
+ @winrt_commethod(9)
128
+ def GenerateResponseFromEmbeddingsAsync(self, promptEmbedding: win32more.Windows.Foundation.Collections.IIterable[win32more.Microsoft.Windows.AI.Foundation.EmbeddingVector]) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
129
+ @winrt_commethod(10)
130
+ def GenerateResponseFromEmbeddingsAsync2(self, promptEmbedding: win32more.Windows.Foundation.Collections.IIterable[win32more.Microsoft.Windows.AI.Foundation.EmbeddingVector], options: win32more.Microsoft.Windows.AI.Text.LanguageModelOptions) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
131
+ @winrt_commethod(11)
132
+ def GenerateResponseFromEmbeddingsAsync3(self, context: win32more.Microsoft.Windows.AI.Text.LanguageModelContext, promptEmbedding: win32more.Windows.Foundation.Collections.IIterable[win32more.Microsoft.Windows.AI.Foundation.EmbeddingVector], options: win32more.Microsoft.Windows.AI.Text.LanguageModelOptions) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
133
+ @winrt_commethod(12)
134
+ def GenerateEmbeddingVectors(self, prompt: hstr) -> win32more.Microsoft.Windows.AI.Text.LanguageModelEmbeddingVectorResult: ...
135
+ @winrt_commethod(13)
136
+ def GenerateEmbeddingVectors2(self, prompt: hstr, contentFilterOptions: win32more.Microsoft.Windows.AI.ContentSafety.ContentFilterOptions) -> win32more.Microsoft.Windows.AI.Text.LanguageModelEmbeddingVectorResult: ...
137
+ @winrt_commethod(14)
138
+ def GetUsablePromptLength(self, prompt: hstr) -> UInt64: ...
139
+ @winrt_commethod(15)
140
+ def GetUsablePromptLength2(self, context: win32more.Microsoft.Windows.AI.Text.LanguageModelContext, prompt: hstr) -> UInt64: ...
141
+ @winrt_commethod(16)
142
+ def GetVectorSpaceId(self) -> Guid: ...
143
+ @winrt_commethod(17)
144
+ def CreateContext(self) -> win32more.Microsoft.Windows.AI.Text.LanguageModelContext: ...
145
+ @winrt_commethod(18)
146
+ def CreateContext2(self, systemPrompt: hstr) -> win32more.Microsoft.Windows.AI.Text.LanguageModelContext: ...
147
+ @winrt_commethod(19)
148
+ def CreateContext3(self, systemPrompt: hstr, contentFilterOptions: win32more.Microsoft.Windows.AI.ContentSafety.ContentFilterOptions) -> win32more.Microsoft.Windows.AI.Text.LanguageModelContext: ...
11
149
  class ILanguageModelContext(ComPtr):
12
150
  extends: IInspectable
13
151
  _classid_ = 'Microsoft.Windows.AI.Text.ILanguageModelContext'
14
152
  _iid_ = Guid('{518b305c-7b69-5a33-8129-d47d6b8eec4e}')
153
+ class ILanguageModelEmbeddingVectorResult(ComPtr):
154
+ extends: IInspectable
155
+ _classid_ = 'Microsoft.Windows.AI.Text.ILanguageModelEmbeddingVectorResult'
156
+ _iid_ = Guid('{4dbdb154-ee3c-56f6-a40b-413e95bd5acb}')
157
+ @winrt_commethod(6)
158
+ def get_EmbeddingVectors(self) -> win32more.Windows.Foundation.Collections.IVectorView[win32more.Microsoft.Windows.AI.Foundation.EmbeddingVector]: ...
159
+ @winrt_commethod(7)
160
+ def get_Status(self) -> win32more.Microsoft.Windows.AI.Text.LanguageModelResponseStatus: ...
161
+ @winrt_commethod(8)
162
+ def get_ExtendedError(self) -> win32more.Windows.Foundation.HResult: ...
163
+ EmbeddingVectors = property(get_EmbeddingVectors, None)
164
+ ExtendedError = property(get_ExtendedError, None)
165
+ Status = property(get_Status, None)
15
166
  class ILanguageModelOptions(ComPtr):
16
167
  extends: IInspectable
17
168
  _classid_ = 'Microsoft.Windows.AI.Text.ILanguageModelOptions'
@@ -65,6 +216,12 @@ class ITextRewriter(ComPtr):
65
216
  _iid_ = Guid('{eb1e7cf0-e110-506c-b0ea-7a288d8e7778}')
66
217
  @winrt_commethod(6)
67
218
  def RewriteAsync(self, text: hstr) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
219
+ class ITextRewriter2(ComPtr):
220
+ extends: IInspectable
221
+ _classid_ = 'Microsoft.Windows.AI.Text.ITextRewriter2'
222
+ _iid_ = Guid('{7937d261-13ce-5b24-b17c-fe5cd0be23b6}')
223
+ @winrt_commethod(6)
224
+ def RewriteAsync(self, text: hstr, tone: win32more.Microsoft.Windows.AI.Text.TextRewriteTone) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
68
225
  class ITextRewriterFactory(ComPtr):
69
226
  extends: IInspectable
70
227
  _classid_ = 'Microsoft.Windows.AI.Text.ITextRewriterFactory'
@@ -79,6 +236,24 @@ class ITextSummarizer(ComPtr):
79
236
  def SummarizeAsync(self, text: hstr) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
80
237
  @winrt_commethod(7)
81
238
  def SummarizeParagraphAsync(self, text: hstr) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
239
+ class ITextSummarizer2(ComPtr):
240
+ extends: IInspectable
241
+ _classid_ = 'Microsoft.Windows.AI.Text.ITextSummarizer2'
242
+ _iid_ = Guid('{9e20797d-1ff6-5295-8cb6-d48fb8ba483b}')
243
+ @winrt_commethod(6)
244
+ def SummarizeConversationAsync(self, messages: win32more.Windows.Foundation.Collections.IVectorView[win32more.Microsoft.Windows.AI.Text.ConversationItem], options: win32more.Microsoft.Windows.AI.Text.ConversationSummaryOptions) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
245
+ class ITextSummarizer3(ComPtr):
246
+ extends: IInspectable
247
+ _classid_ = 'Microsoft.Windows.AI.Text.ITextSummarizer3'
248
+ _iid_ = Guid('{493d32b9-dbc9-5d4b-802f-90473850500e}')
249
+ @winrt_commethod(6)
250
+ def IsPromptLargerThanContext(self, messages: PassArray[win32more.Microsoft.Windows.AI.Text.ConversationItem], options: win32more.Microsoft.Windows.AI.Text.ConversationSummaryOptions, cutoffPosition: POINTER(UInt64)) -> Boolean: ...
251
+ class ITextSummarizer4(ComPtr):
252
+ extends: IInspectable
253
+ _classid_ = 'Microsoft.Windows.AI.Text.ITextSummarizer4'
254
+ _iid_ = Guid('{5b7a28c0-7777-52e5-9934-b95b514cf535}')
255
+ @winrt_commethod(6)
256
+ def IsPromptLargerThanContext(self, text: hstr, cutoffPosition: POINTER(UInt64)) -> Boolean: ...
82
257
  class ITextSummarizerFactory(ComPtr):
83
258
  extends: IInspectable
84
259
  _classid_ = 'Microsoft.Windows.AI.Text.ITextSummarizerFactory'
@@ -115,12 +290,43 @@ class ITextToTableRow(ComPtr):
115
290
  _iid_ = Guid('{036294fe-e53c-5e66-93d2-7c92338db881}')
116
291
  @winrt_commethod(6)
117
292
  def GetColumns(self) -> ReceiveArray[hstr]: ...
293
+ class InputKind(Enum, Int32):
294
+ GeneralConversation = 0
295
+ Email = 1
118
296
  class LanguageModel(ComPtr):
119
297
  extends: IInspectable
120
298
  implements: Tuple[ContextManagerProtocol]
121
299
  default_interface: win32more.Microsoft.Windows.AI.Text.ILanguageModel
122
300
  _classid_ = 'Microsoft.Windows.AI.Text.LanguageModel'
123
301
  @winrt_mixinmethod
302
+ def GenerateResponseAsync(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, prompt: hstr) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
303
+ @winrt_mixinmethod
304
+ def GenerateResponseAsync2(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, prompt: hstr, options: win32more.Microsoft.Windows.AI.Text.LanguageModelOptions) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
305
+ @winrt_mixinmethod
306
+ def GenerateResponseAsync3(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, context: win32more.Microsoft.Windows.AI.Text.LanguageModelContext, prompt: hstr, options: win32more.Microsoft.Windows.AI.Text.LanguageModelOptions) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
307
+ @winrt_mixinmethod
308
+ def GenerateResponseFromEmbeddingsAsync(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, promptEmbedding: win32more.Windows.Foundation.Collections.IIterable[win32more.Microsoft.Windows.AI.Foundation.EmbeddingVector]) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
309
+ @winrt_mixinmethod
310
+ def GenerateResponseFromEmbeddingsAsync2(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, promptEmbedding: win32more.Windows.Foundation.Collections.IIterable[win32more.Microsoft.Windows.AI.Foundation.EmbeddingVector], options: win32more.Microsoft.Windows.AI.Text.LanguageModelOptions) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
311
+ @winrt_mixinmethod
312
+ def GenerateResponseFromEmbeddingsAsync3(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, context: win32more.Microsoft.Windows.AI.Text.LanguageModelContext, promptEmbedding: win32more.Windows.Foundation.Collections.IIterable[win32more.Microsoft.Windows.AI.Foundation.EmbeddingVector], options: win32more.Microsoft.Windows.AI.Text.LanguageModelOptions) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
313
+ @winrt_mixinmethod
314
+ def GenerateEmbeddingVectors(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, prompt: hstr) -> win32more.Microsoft.Windows.AI.Text.LanguageModelEmbeddingVectorResult: ...
315
+ @winrt_mixinmethod
316
+ def GenerateEmbeddingVectors2(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, prompt: hstr, contentFilterOptions: win32more.Microsoft.Windows.AI.ContentSafety.ContentFilterOptions) -> win32more.Microsoft.Windows.AI.Text.LanguageModelEmbeddingVectorResult: ...
317
+ @winrt_mixinmethod
318
+ def GetUsablePromptLength(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, prompt: hstr) -> UInt64: ...
319
+ @winrt_mixinmethod
320
+ def GetUsablePromptLength2(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, context: win32more.Microsoft.Windows.AI.Text.LanguageModelContext, prompt: hstr) -> UInt64: ...
321
+ @winrt_mixinmethod
322
+ def GetVectorSpaceId(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2) -> Guid: ...
323
+ @winrt_mixinmethod
324
+ def CreateContext(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2) -> win32more.Microsoft.Windows.AI.Text.LanguageModelContext: ...
325
+ @winrt_mixinmethod
326
+ def CreateContext2(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, systemPrompt: hstr) -> win32more.Microsoft.Windows.AI.Text.LanguageModelContext: ...
327
+ @winrt_mixinmethod
328
+ def CreateContext3(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, systemPrompt: hstr, contentFilterOptions: win32more.Microsoft.Windows.AI.ContentSafety.ContentFilterOptions) -> win32more.Microsoft.Windows.AI.Text.LanguageModelContext: ...
329
+ @winrt_mixinmethod
124
330
  def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
125
331
  @winrt_classmethod
126
332
  def GetReadyState(cls: win32more.Microsoft.Windows.AI.Text.ILanguageModelStatics) -> win32more.Microsoft.Windows.AI.AIFeatureReadyState: ...
@@ -136,6 +342,19 @@ class LanguageModelContext(ComPtr):
136
342
  @winrt_mixinmethod
137
343
  def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
138
344
  LanguageModelContract: UInt32 = 131072
345
+ class LanguageModelEmbeddingVectorResult(ComPtr):
346
+ extends: IInspectable
347
+ default_interface: win32more.Microsoft.Windows.AI.Text.ILanguageModelEmbeddingVectorResult
348
+ _classid_ = 'Microsoft.Windows.AI.Text.LanguageModelEmbeddingVectorResult'
349
+ @winrt_mixinmethod
350
+ def get_EmbeddingVectors(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelEmbeddingVectorResult) -> win32more.Windows.Foundation.Collections.IVectorView[win32more.Microsoft.Windows.AI.Foundation.EmbeddingVector]: ...
351
+ @winrt_mixinmethod
352
+ def get_Status(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelEmbeddingVectorResult) -> win32more.Microsoft.Windows.AI.Text.LanguageModelResponseStatus: ...
353
+ @winrt_mixinmethod
354
+ def get_ExtendedError(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelEmbeddingVectorResult) -> win32more.Windows.Foundation.HResult: ...
355
+ EmbeddingVectors = property(get_EmbeddingVectors, None)
356
+ ExtendedError = property(get_ExtendedError, None)
357
+ Status = property(get_Status, None)
139
358
  class LanguageModelOptions(ComPtr):
140
359
  extends: IInspectable
141
360
  default_interface: win32more.Microsoft.Windows.AI.Text.ILanguageModelOptions
@@ -190,7 +409,13 @@ class LanguageModelResponseStatus(Enum, Int32):
190
409
  PromptBlockedByContentModeration = 4
191
410
  ResponseBlockedByContentModeration = 5
192
411
  Error = 6
193
- TextIntelligenceContract: UInt32 = 131072
412
+ TextIntelligenceContract: UInt32 = 393216
413
+ class TextRewriteTone(Enum, Int32):
414
+ Default = 0
415
+ General = 1
416
+ Casual = 2
417
+ Concise = 3
418
+ Formal = 4
194
419
  class TextRewriter(ComPtr):
195
420
  extends: IInspectable
196
421
  default_interface: win32more.Microsoft.Windows.AI.Text.ITextRewriter
@@ -204,8 +429,12 @@ class TextRewriter(ComPtr):
204
429
  raise ValueError('no matched constructor')
205
430
  @winrt_factorymethod
206
431
  def CreateInstance(cls: win32more.Microsoft.Windows.AI.Text.ITextRewriterFactory, languageModel: win32more.Microsoft.Windows.AI.Text.LanguageModel) -> win32more.Microsoft.Windows.AI.Text.TextRewriter: ...
432
+ @winrt_overload
207
433
  @winrt_mixinmethod
208
434
  def RewriteAsync(self: win32more.Microsoft.Windows.AI.Text.ITextRewriter, text: hstr) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
435
+ @RewriteAsync.register
436
+ @winrt_mixinmethod
437
+ def RewriteAsync(self: win32more.Microsoft.Windows.AI.Text.ITextRewriter2, text: hstr, tone: win32more.Microsoft.Windows.AI.Text.TextRewriteTone) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
209
438
  class TextSummarizer(ComPtr):
210
439
  extends: IInspectable
211
440
  default_interface: win32more.Microsoft.Windows.AI.Text.ITextSummarizer
@@ -223,6 +452,14 @@ class TextSummarizer(ComPtr):
223
452
  def SummarizeAsync(self: win32more.Microsoft.Windows.AI.Text.ITextSummarizer, text: hstr) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
224
453
  @winrt_mixinmethod
225
454
  def SummarizeParagraphAsync(self: win32more.Microsoft.Windows.AI.Text.ITextSummarizer, text: hstr) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
455
+ @winrt_mixinmethod
456
+ def SummarizeConversationAsync(self: win32more.Microsoft.Windows.AI.Text.ITextSummarizer2, messages: win32more.Windows.Foundation.Collections.IVectorView[win32more.Microsoft.Windows.AI.Text.ConversationItem], options: win32more.Microsoft.Windows.AI.Text.ConversationSummaryOptions) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
457
+ @winrt_overload
458
+ @winrt_mixinmethod
459
+ def IsPromptLargerThanContext(self: win32more.Microsoft.Windows.AI.Text.ITextSummarizer3, messages: PassArray[win32more.Microsoft.Windows.AI.Text.ConversationItem], options: win32more.Microsoft.Windows.AI.Text.ConversationSummaryOptions, cutoffPosition: POINTER(UInt64)) -> Boolean: ...
460
+ @IsPromptLargerThanContext.register
461
+ @winrt_mixinmethod
462
+ def IsPromptLargerThanContext(self: win32more.Microsoft.Windows.AI.Text.ITextSummarizer4, text: hstr, cutoffPosition: POINTER(UInt64)) -> Boolean: ...
226
463
  class TextToTableConverter(ComPtr):
227
464
  extends: IInspectable
228
465
  default_interface: win32more.Microsoft.Windows.AI.Text.ITextToTableConverter
@@ -5,9 +5,7 @@ import win32more.Windows.ApplicationModel.Background
5
5
  class ITask(ComPtr):
6
6
  extends: IInspectable
7
7
  _classid_ = 'Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.ITask'
8
- _iid_ = Guid('{d47c97e5-a23f-5b32-8a2e-b93c8cae4299}')
9
- @winrt_commethod(6)
10
- def Run(self, taskInstance: win32more.Windows.ApplicationModel.Background.IBackgroundTaskInstance) -> Void: ...
8
+ _iid_ = Guid('{89cf5f73-8195-590b-8158-bc7d2816ce16}')
11
9
  class Task(ComPtr):
12
10
  extends: IInspectable
13
11
  default_interface: win32more.Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.ITask
@@ -22,7 +20,7 @@ class Task(ComPtr):
22
20
  @winrt_activatemethod
23
21
  def CreateInstance(cls) -> win32more.Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.Task: ...
24
22
  @winrt_mixinmethod
25
- def Run(self: win32more.Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.ITask, taskInstance: win32more.Windows.ApplicationModel.Background.IBackgroundTaskInstance) -> Void: ...
23
+ def Run(self: win32more.Windows.ApplicationModel.Background.IBackgroundTask, taskInstance: win32more.Windows.ApplicationModel.Background.IBackgroundTaskInstance) -> Void: ...
26
24
  UniversalBackgroundTaskContract: UInt32 = 65536
27
25
 
28
26
 
@@ -181,28 +181,6 @@ class ReleaseInfo(ComPtr, metaclass=_ReleaseInfo_Meta_):
181
181
  _ReleaseInfo_Meta_.VersionTag = property(get_VersionTag, None)
182
182
  class RuntimeCompatibilityChange(Enum, Int32):
183
183
  None_ = 0
184
- EnsurePackageReadyVersionSupercedence = 56439870
185
- FixPopupClosingReentrancyCrash = 56870998
186
- FixPopupUnloadingCrash = 56686624
187
- FixRandomUIFreezeInDispatcher = 56545444
188
- FixSetProgressBarIndicatorWidthCrash = 56779522
189
- FixStuckPointerInputQueue = 56620717
190
- FixWebViewVisibilityReentrancyCrash = 56852985
191
- FixWindowCloseFocusCrash = 56873234
192
- ActivateDirectManipulationManager_CheckCanInit = 56997009
193
- DwmCoreI_OptimizeFirstFrameLatency = 57345278
194
- InputStateManager_PenInputCrashX86 = 57003641
195
- ApplicationDataProvider_ReentrancyProtection = 57688028
196
- InputPointerSource_FlushReentrancyCrash = 57705537
197
- WindowChrome_SetTitleBarCrash = 57693465
198
- AppWindow_NoDidPresenterChangeOnRestore = 58567549
199
- DesktopSiteBridge_ActivationErrorCrash = 58821687
200
- DispatcherQueue_PropagateException = 58472221
201
- GetIntermediatePointsImpl_Crash = 58768401
202
- InputPointerSource_ReentrantDisposedCrash = 58635438
203
- NavigationView_ClearSelectedItem = 58987595
204
- XamlIsland_ExitNonClientArea = 58987663
205
- InputPointerSource_FixScrollForInactiveWindowSetting = 56681943
206
184
  RuntimeCompatibilityContract: UInt32 = 65536
207
185
  class RuntimeCompatibilityOptions(ComPtr):
208
186
  extends: IInspectable
@@ -0,0 +1,221 @@
1
+ from __future__ import annotations
2
+ from win32more._prelude import *
3
+ import win32more.Microsoft.Windows.Foundation
4
+ DecimalContract: UInt32 = 65536
5
+ class DecimalHelper(ComPtr):
6
+ extends: IInspectable
7
+ _classid_ = 'Microsoft.Windows.Foundation.DecimalHelper'
8
+ @winrt_classmethod
9
+ def FromBoolean(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: Boolean) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
10
+ @winrt_classmethod
11
+ def FromInt16(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: Int16) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
12
+ @winrt_classmethod
13
+ def FromInt32(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: Int32) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
14
+ @winrt_classmethod
15
+ def FromInt64(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: Int64) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
16
+ @winrt_classmethod
17
+ def FromUInt8(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: Byte) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
18
+ @winrt_classmethod
19
+ def FromUInt16(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: UInt16) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
20
+ @winrt_classmethod
21
+ def FromUInt32(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: UInt32) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
22
+ @winrt_classmethod
23
+ def FromUInt64(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: UInt64) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
24
+ @winrt_classmethod
25
+ def FromSingle(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: Single) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
26
+ @winrt_classmethod
27
+ def FromDouble(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: Double) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
28
+ @winrt_classmethod
29
+ def FromString(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, source: hstr) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
30
+ @winrt_classmethod
31
+ def FromStringInvariant(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, source: hstr) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
32
+ @winrt_classmethod
33
+ def FromStringWithLocale(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, source: hstr, localeName: hstr) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
34
+ @winrt_classmethod
35
+ def TryFromString(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, source: hstr, value: POINTER(win32more.Microsoft.Windows.Foundation.DecimalValue)) -> Boolean: ...
36
+ @winrt_classmethod
37
+ def TryFromStringInvariant(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, source: hstr, value: POINTER(win32more.Microsoft.Windows.Foundation.DecimalValue)) -> Boolean: ...
38
+ @winrt_classmethod
39
+ def TryFromStringWithLocale(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, source: hstr, localeName: hstr, value: POINTER(win32more.Microsoft.Windows.Foundation.DecimalValue)) -> Boolean: ...
40
+ @winrt_classmethod
41
+ def ToBoolean(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Boolean: ...
42
+ @winrt_classmethod
43
+ def ToInt16(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Int16: ...
44
+ @winrt_classmethod
45
+ def ToInt32(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Int32: ...
46
+ @winrt_classmethod
47
+ def ToInt64(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Int64: ...
48
+ @winrt_classmethod
49
+ def ToUInt8(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Byte: ...
50
+ @winrt_classmethod
51
+ def ToUInt16(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> UInt16: ...
52
+ @winrt_classmethod
53
+ def ToUInt32(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> UInt32: ...
54
+ @winrt_classmethod
55
+ def ToUInt64(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> UInt64: ...
56
+ @winrt_classmethod
57
+ def ToSingle(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Single: ...
58
+ @winrt_classmethod
59
+ def ToDouble(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Double: ...
60
+ @winrt_classmethod
61
+ def ToString(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> hstr: ...
62
+ @winrt_classmethod
63
+ def ToStringInvariant(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> hstr: ...
64
+ @winrt_classmethod
65
+ def ToStringWithLocale(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue, localeName: hstr) -> hstr: ...
66
+ @winrt_classmethod
67
+ def Equals(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, left: win32more.Microsoft.Windows.Foundation.DecimalValue, right: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Boolean: ...
68
+ @winrt_classmethod
69
+ def Compare(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, left: win32more.Microsoft.Windows.Foundation.DecimalValue, right: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Int32: ...
70
+ @winrt_classmethod
71
+ def IsValid(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Boolean: ...
72
+ @winrt_classmethod
73
+ def IsInteger(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Boolean: ...
74
+ @winrt_classmethod
75
+ def Scale(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Byte: ...
76
+ @winrt_classmethod
77
+ def Sign(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Int32: ...
78
+ @winrt_classmethod
79
+ def MaxScale(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics) -> Byte: ...
80
+ @winrt_classmethod
81
+ def MaxValue(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
82
+ @winrt_classmethod
83
+ def MinValue(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
84
+ @winrt_classmethod
85
+ def Negate(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
86
+ @winrt_classmethod
87
+ def Abs(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
88
+ @winrt_classmethod
89
+ def Truncate(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
90
+ @winrt_classmethod
91
+ def Floor(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
92
+ @winrt_classmethod
93
+ def Ceiling(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
94
+ @winrt_classmethod
95
+ def Round(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue, decimalPlaces: Int32) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
96
+ @winrt_classmethod
97
+ def Clamp(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue, min: win32more.Microsoft.Windows.Foundation.DecimalValue, max: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
98
+ @winrt_classmethod
99
+ def Add(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, left: win32more.Microsoft.Windows.Foundation.DecimalValue, right: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
100
+ @winrt_classmethod
101
+ def Subtract(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, left: win32more.Microsoft.Windows.Foundation.DecimalValue, right: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
102
+ @winrt_classmethod
103
+ def Multiply(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, left: win32more.Microsoft.Windows.Foundation.DecimalValue, right: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
104
+ @winrt_classmethod
105
+ def Divide(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, left: win32more.Microsoft.Windows.Foundation.DecimalValue, right: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
106
+ @winrt_classmethod
107
+ def Modulo(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, left: win32more.Microsoft.Windows.Foundation.DecimalValue, right: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
108
+ class DecimalValue(Structure):
109
+ _name_ = 'Microsoft.Windows.Foundation.DecimalValue'
110
+ Reserved: UInt16
111
+ Scale: Byte
112
+ Sign: Byte
113
+ Hi32: UInt32
114
+ Lo64: UInt64
115
+ class IDecimalHelperStatics(ComPtr):
116
+ extends: IInspectable
117
+ _classid_ = 'Microsoft.Windows.Foundation.IDecimalHelperStatics'
118
+ _iid_ = Guid('{ba09a415-e26c-55b3-9b76-b3affd556a7f}')
119
+ @winrt_commethod(6)
120
+ def FromBoolean(self, value: Boolean) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
121
+ @winrt_commethod(7)
122
+ def FromInt16(self, value: Int16) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
123
+ @winrt_commethod(8)
124
+ def FromInt32(self, value: Int32) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
125
+ @winrt_commethod(9)
126
+ def FromInt64(self, value: Int64) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
127
+ @winrt_commethod(10)
128
+ def FromUInt8(self, value: Byte) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
129
+ @winrt_commethod(11)
130
+ def FromUInt16(self, value: UInt16) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
131
+ @winrt_commethod(12)
132
+ def FromUInt32(self, value: UInt32) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
133
+ @winrt_commethod(13)
134
+ def FromUInt64(self, value: UInt64) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
135
+ @winrt_commethod(14)
136
+ def FromSingle(self, value: Single) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
137
+ @winrt_commethod(15)
138
+ def FromDouble(self, value: Double) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
139
+ @winrt_commethod(16)
140
+ def FromString(self, source: hstr) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
141
+ @winrt_commethod(17)
142
+ def FromStringInvariant(self, source: hstr) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
143
+ @winrt_commethod(18)
144
+ def FromStringWithLocale(self, source: hstr, localeName: hstr) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
145
+ @winrt_commethod(19)
146
+ def TryFromString(self, source: hstr, value: POINTER(win32more.Microsoft.Windows.Foundation.DecimalValue)) -> Boolean: ...
147
+ @winrt_commethod(20)
148
+ def TryFromStringInvariant(self, source: hstr, value: POINTER(win32more.Microsoft.Windows.Foundation.DecimalValue)) -> Boolean: ...
149
+ @winrt_commethod(21)
150
+ def TryFromStringWithLocale(self, source: hstr, localeName: hstr, value: POINTER(win32more.Microsoft.Windows.Foundation.DecimalValue)) -> Boolean: ...
151
+ @winrt_commethod(22)
152
+ def ToBoolean(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Boolean: ...
153
+ @winrt_commethod(23)
154
+ def ToInt16(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Int16: ...
155
+ @winrt_commethod(24)
156
+ def ToInt32(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Int32: ...
157
+ @winrt_commethod(25)
158
+ def ToInt64(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Int64: ...
159
+ @winrt_commethod(26)
160
+ def ToUInt8(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Byte: ...
161
+ @winrt_commethod(27)
162
+ def ToUInt16(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> UInt16: ...
163
+ @winrt_commethod(28)
164
+ def ToUInt32(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> UInt32: ...
165
+ @winrt_commethod(29)
166
+ def ToUInt64(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> UInt64: ...
167
+ @winrt_commethod(30)
168
+ def ToSingle(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Single: ...
169
+ @winrt_commethod(31)
170
+ def ToDouble(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Double: ...
171
+ @winrt_commethod(32)
172
+ def ToString(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> hstr: ...
173
+ @winrt_commethod(33)
174
+ def ToStringInvariant(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> hstr: ...
175
+ @winrt_commethod(34)
176
+ def ToStringWithLocale(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue, localeName: hstr) -> hstr: ...
177
+ @winrt_commethod(35)
178
+ def Equals(self, left: win32more.Microsoft.Windows.Foundation.DecimalValue, right: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Boolean: ...
179
+ @winrt_commethod(36)
180
+ def Compare(self, left: win32more.Microsoft.Windows.Foundation.DecimalValue, right: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Int32: ...
181
+ @winrt_commethod(37)
182
+ def IsValid(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Boolean: ...
183
+ @winrt_commethod(38)
184
+ def IsInteger(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Boolean: ...
185
+ @winrt_commethod(39)
186
+ def Scale(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Byte: ...
187
+ @winrt_commethod(40)
188
+ def Sign(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Int32: ...
189
+ @winrt_commethod(41)
190
+ def MaxScale(self) -> Byte: ...
191
+ @winrt_commethod(42)
192
+ def MaxValue(self) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
193
+ @winrt_commethod(43)
194
+ def MinValue(self) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
195
+ @winrt_commethod(44)
196
+ def Negate(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
197
+ @winrt_commethod(45)
198
+ def Abs(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
199
+ @winrt_commethod(46)
200
+ def Truncate(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
201
+ @winrt_commethod(47)
202
+ def Floor(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
203
+ @winrt_commethod(48)
204
+ def Ceiling(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
205
+ @winrt_commethod(49)
206
+ def Round(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue, decimalPlaces: Int32) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
207
+ @winrt_commethod(50)
208
+ def Clamp(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue, min: win32more.Microsoft.Windows.Foundation.DecimalValue, max: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
209
+ @winrt_commethod(51)
210
+ def Add(self, left: win32more.Microsoft.Windows.Foundation.DecimalValue, right: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
211
+ @winrt_commethod(52)
212
+ def Subtract(self, left: win32more.Microsoft.Windows.Foundation.DecimalValue, right: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
213
+ @winrt_commethod(53)
214
+ def Multiply(self, left: win32more.Microsoft.Windows.Foundation.DecimalValue, right: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
215
+ @winrt_commethod(54)
216
+ def Divide(self, left: win32more.Microsoft.Windows.Foundation.DecimalValue, right: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
217
+ @winrt_commethod(55)
218
+ def Modulo(self, left: win32more.Microsoft.Windows.Foundation.DecimalValue, right: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
219
+
220
+
221
+ make_ready(__name__)