win32more-Microsoft.WindowsAppSDK 0.7.1.7.251107005__py2.py3-none-any.whl → 0.8.1.8.251003001__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.
Files changed (71) hide show
  1. win32more/Microsoft/Foundation/__init__.py +1 -1
  2. win32more/Microsoft/Graphics/DirectX/__init__.py +4 -0
  3. win32more/Microsoft/Graphics/Display/__init__.py +2 -0
  4. win32more/Microsoft/Graphics/Imaging/__init__.py +1 -0
  5. win32more/Microsoft/Security/Authentication/OAuth/__init__.py +2 -0
  6. win32more/Microsoft/UI/Composition/Diagnostics/__init__.py +1 -0
  7. win32more/Microsoft/UI/Composition/Effects/__init__.py +1 -0
  8. win32more/Microsoft/UI/Composition/Interactions/__init__.py +7 -0
  9. win32more/Microsoft/UI/Composition/Scenes/__init__.py +4 -0
  10. win32more/Microsoft/UI/Composition/SystemBackdrops/__init__.py +4 -0
  11. win32more/Microsoft/UI/Composition/__init__.py +21 -0
  12. win32more/Microsoft/UI/Content/__init__.py +14 -10
  13. win32more/Microsoft/UI/Dispatching/__init__.py +2 -0
  14. win32more/Microsoft/UI/Input/DragDrop/__init__.py +2 -0
  15. win32more/Microsoft/UI/Input/__init__.py +55 -41
  16. win32more/Microsoft/UI/Text/__init__.py +25 -0
  17. win32more/Microsoft/UI/Windowing/__init__.py +8 -0
  18. win32more/Microsoft/UI/Xaml/Automation/Peers/__init__.py +12 -0
  19. win32more/Microsoft/UI/Xaml/Automation/Text/__init__.py +2 -0
  20. win32more/Microsoft/UI/Xaml/Automation/__init__.py +21 -0
  21. win32more/Microsoft/UI/Xaml/Controls/Primitives/__init__.py +19 -0
  22. win32more/Microsoft/UI/Xaml/Controls/__init__.py +95 -0
  23. win32more/Microsoft/UI/Xaml/Data/__init__.py +3 -0
  24. win32more/Microsoft/UI/Xaml/Documents/__init__.py +2 -0
  25. win32more/Microsoft/UI/Xaml/Hosting/__init__.py +1 -0
  26. win32more/Microsoft/UI/Xaml/Input/__init__.py +11 -0
  27. win32more/Microsoft/UI/Xaml/Interop/__init__.py +1 -0
  28. win32more/Microsoft/UI/Xaml/Media/Animation/__init__.py +6 -0
  29. win32more/Microsoft/UI/Xaml/Media/Imaging/__init__.py +3 -0
  30. win32more/Microsoft/UI/Xaml/Media/__init__.py +14 -0
  31. win32more/Microsoft/UI/Xaml/Navigation/__init__.py +2 -0
  32. win32more/Microsoft/UI/Xaml/Printing/__init__.py +1 -0
  33. win32more/Microsoft/UI/Xaml/__init__.py +39 -2
  34. win32more/Microsoft/Windows/AI/ContentSafety/__init__.py +1 -0
  35. win32more/Microsoft/Windows/AI/Foundation/__init__.py +46 -0
  36. win32more/Microsoft/Windows/AI/Imaging/__init__.py +3 -0
  37. win32more/Microsoft/Windows/AI/MachineLearning/__init__.py +125 -0
  38. win32more/Microsoft/Windows/AI/Text/__init__.py +241 -1
  39. win32more/Microsoft/Windows/AI/__init__.py +2 -0
  40. win32more/Microsoft/Windows/AppLifecycle/__init__.py +1 -0
  41. win32more/Microsoft/Windows/AppNotifications/Builder/__init__.py +6 -0
  42. win32more/Microsoft/Windows/AppNotifications/__init__.py +3 -0
  43. win32more/Microsoft/Windows/ApplicationModel/Background/UniversalBGTask/__init__.py +2 -4
  44. win32more/Microsoft/Windows/ApplicationModel/DynamicDependency/__init__.py +2 -0
  45. win32more/Microsoft/Windows/ApplicationModel/Resources/__init__.py +1 -0
  46. win32more/Microsoft/Windows/ApplicationModel/WindowsAppRuntime/__init__.py +2 -24
  47. win32more/Microsoft/Windows/BadgeNotifications/__init__.py +1 -0
  48. win32more/Microsoft/Windows/Foundation/__init__.py +221 -0
  49. win32more/Microsoft/Windows/Management/Deployment/__init__.py +5 -0
  50. win32more/Microsoft/Windows/Media/Capture/__init__.py +5 -0
  51. win32more/Microsoft/Windows/PushNotifications/__init__.py +1 -0
  52. win32more/Microsoft/Windows/Storage/Pickers/__init__.py +260 -0
  53. win32more/Microsoft/Windows/Storage/__init__.py +2 -0
  54. win32more/Microsoft/Windows/System/Power/__init__.py +8 -0
  55. win32more/Microsoft/Windows/Widgets/Feeds/Providers/__init__.py +8 -0
  56. win32more/Microsoft/Windows/Widgets/Notifications/__init__.py +2 -0
  57. win32more/Microsoft/Windows/Widgets/__init__.py +2 -1
  58. win32more/Microsoft/Windows/Workloads/__init__.py +1 -0
  59. win32more/appsdk/versioninfo.py +2 -2
  60. win32more/dll/arm64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
  61. win32more/dll/arm64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  62. win32more/dll/x64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
  63. win32more/dll/x64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  64. win32more/dll/x86/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
  65. win32more/dll/x86/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
  66. win32more_microsoft_windowsappsdk-0.8.1.8.251003001.dist-info/METADATA +6 -0
  67. win32more_microsoft_windowsappsdk-0.8.1.8.251003001.dist-info/RECORD +85 -0
  68. {win32more_microsoft_windowsappsdk-0.7.1.7.251107005.dist-info → win32more_microsoft_windowsappsdk-0.8.1.8.251003001.dist-info}/WHEEL +1 -1
  69. {win32more_microsoft_windowsappsdk-0.7.1.7.251107005.dist-info → win32more_microsoft_windowsappsdk-0.8.1.8.251003001.dist-info}/licenses/LICENSE (Microsoft.WindowsAppSDK).txt +4 -2
  70. win32more_microsoft_windowsappsdk-0.7.1.7.251107005.dist-info/METADATA +0 -6
  71. win32more_microsoft_windowsappsdk-0.7.1.7.251107005.dist-info/RECORD +0 -81
@@ -0,0 +1,125 @@
1
+ from __future__ import annotations
2
+ from win32more._prelude import *
3
+ import win32more.Microsoft.Windows.AI.MachineLearning
4
+ import win32more.Windows.ApplicationModel
5
+ import win32more.Windows.Foundation
6
+ import win32more.Windows.Foundation.Collections
7
+ class ExecutionProvider(ComPtr):
8
+ extends: IInspectable
9
+ default_interface: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProvider
10
+ _classid_ = 'Microsoft.Windows.AI.MachineLearning.ExecutionProvider'
11
+ @winrt_mixinmethod
12
+ def get_Name(self: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProvider) -> hstr: ...
13
+ @winrt_mixinmethod
14
+ def get_LibraryPath(self: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProvider) -> hstr: ...
15
+ @winrt_mixinmethod
16
+ def get_PackageId(self: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProvider) -> win32more.Windows.ApplicationModel.PackageId: ...
17
+ @winrt_mixinmethod
18
+ def get_ReadyState(self: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProvider) -> win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProviderReadyState: ...
19
+ @winrt_mixinmethod
20
+ def get_Certification(self: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProvider) -> win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProviderCertification: ...
21
+ @winrt_mixinmethod
22
+ def EnsureReadyAsync(self: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProvider) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProviderReadyResult, Double]: ...
23
+ @winrt_mixinmethod
24
+ def TryRegister(self: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProvider) -> Boolean: ...
25
+ Certification = property(get_Certification, None)
26
+ LibraryPath = property(get_LibraryPath, None)
27
+ Name = property(get_Name, None)
28
+ PackageId = property(get_PackageId, None)
29
+ ReadyState = property(get_ReadyState, None)
30
+ class ExecutionProviderCatalog(ComPtr):
31
+ extends: IInspectable
32
+ default_interface: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProviderCatalog
33
+ _classid_ = 'Microsoft.Windows.AI.MachineLearning.ExecutionProviderCatalog'
34
+ @winrt_mixinmethod
35
+ def FindAllProviders(self: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProviderCatalog) -> ReceiveArray[win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProvider]: ...
36
+ @winrt_mixinmethod
37
+ def EnsureAndRegisterCertifiedAsync(self: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProviderCatalog) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Windows.Foundation.Collections.IVector[win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProvider], Double]: ...
38
+ @winrt_mixinmethod
39
+ def RegisterCertifiedAsync(self: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProviderCatalog) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Windows.Foundation.Collections.IVector[win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProvider], Double]: ...
40
+ @winrt_classmethod
41
+ def GetDefault(cls: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProviderCatalogStatics) -> win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProviderCatalog: ...
42
+ class ExecutionProviderCertification(Enum, Int32):
43
+ _name_ = 'Microsoft.Windows.AI.MachineLearning.ExecutionProviderCertification'
44
+ Unknown = 0
45
+ Certified = 1
46
+ Uncertified = 2
47
+ class ExecutionProviderReadyResult(ComPtr):
48
+ extends: IInspectable
49
+ default_interface: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProviderReadyResult
50
+ _classid_ = 'Microsoft.Windows.AI.MachineLearning.ExecutionProviderReadyResult'
51
+ @winrt_mixinmethod
52
+ def get_Status(self: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProviderReadyResult) -> win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProviderReadyResultState: ...
53
+ @winrt_mixinmethod
54
+ def get_ExtendedError(self: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProviderReadyResult) -> win32more.Windows.Foundation.HResult: ...
55
+ @winrt_mixinmethod
56
+ def get_DiagnosticText(self: win32more.Microsoft.Windows.AI.MachineLearning.IExecutionProviderReadyResult) -> hstr: ...
57
+ DiagnosticText = property(get_DiagnosticText, None)
58
+ ExtendedError = property(get_ExtendedError, None)
59
+ Status = property(get_Status, None)
60
+ class ExecutionProviderReadyResultState(Enum, Int32):
61
+ _name_ = 'Microsoft.Windows.AI.MachineLearning.ExecutionProviderReadyResultState'
62
+ InProgress = 0
63
+ Success = 1
64
+ Failure = 2
65
+ class ExecutionProviderReadyState(Enum, Int32):
66
+ _name_ = 'Microsoft.Windows.AI.MachineLearning.ExecutionProviderReadyState'
67
+ Ready = 0
68
+ NotReady = 1
69
+ NotPresent = 2
70
+ class IExecutionProvider(ComPtr):
71
+ extends: IInspectable
72
+ _classid_ = 'Microsoft.Windows.AI.MachineLearning.IExecutionProvider'
73
+ _iid_ = Guid('{98356468-cf23-504f-b29c-9347781925ff}')
74
+ @winrt_commethod(6)
75
+ def get_Name(self) -> hstr: ...
76
+ @winrt_commethod(7)
77
+ def get_LibraryPath(self) -> hstr: ...
78
+ @winrt_commethod(8)
79
+ def get_PackageId(self) -> win32more.Windows.ApplicationModel.PackageId: ...
80
+ @winrt_commethod(9)
81
+ def get_ReadyState(self) -> win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProviderReadyState: ...
82
+ @winrt_commethod(10)
83
+ def get_Certification(self) -> win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProviderCertification: ...
84
+ @winrt_commethod(11)
85
+ def EnsureReadyAsync(self) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProviderReadyResult, Double]: ...
86
+ @winrt_commethod(12)
87
+ def TryRegister(self) -> Boolean: ...
88
+ Certification = property(get_Certification, None)
89
+ LibraryPath = property(get_LibraryPath, None)
90
+ Name = property(get_Name, None)
91
+ PackageId = property(get_PackageId, None)
92
+ ReadyState = property(get_ReadyState, None)
93
+ class IExecutionProviderCatalog(ComPtr):
94
+ extends: IInspectable
95
+ _classid_ = 'Microsoft.Windows.AI.MachineLearning.IExecutionProviderCatalog'
96
+ _iid_ = Guid('{aa9bfe14-2222-5921-8002-4d2a205ea03c}')
97
+ @winrt_commethod(6)
98
+ def FindAllProviders(self) -> ReceiveArray[win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProvider]: ...
99
+ @winrt_commethod(7)
100
+ def EnsureAndRegisterCertifiedAsync(self) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Windows.Foundation.Collections.IVector[win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProvider], Double]: ...
101
+ @winrt_commethod(8)
102
+ def RegisterCertifiedAsync(self) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Windows.Foundation.Collections.IVector[win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProvider], Double]: ...
103
+ class IExecutionProviderCatalogStatics(ComPtr):
104
+ extends: IInspectable
105
+ _classid_ = 'Microsoft.Windows.AI.MachineLearning.IExecutionProviderCatalogStatics'
106
+ _iid_ = Guid('{550def98-2611-5433-afb8-43673b610848}')
107
+ @winrt_commethod(6)
108
+ def GetDefault(self) -> win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProviderCatalog: ...
109
+ class IExecutionProviderReadyResult(ComPtr):
110
+ extends: IInspectable
111
+ _classid_ = 'Microsoft.Windows.AI.MachineLearning.IExecutionProviderReadyResult'
112
+ _iid_ = Guid('{91c1724d-93c7-5284-adbe-ba2bd7be7c79}')
113
+ @winrt_commethod(6)
114
+ def get_Status(self) -> win32more.Microsoft.Windows.AI.MachineLearning.ExecutionProviderReadyResultState: ...
115
+ @winrt_commethod(7)
116
+ def get_ExtendedError(self) -> win32more.Windows.Foundation.HResult: ...
117
+ @winrt_commethod(8)
118
+ def get_DiagnosticText(self) -> hstr: ...
119
+ DiagnosticText = property(get_DiagnosticText, None)
120
+ ExtendedError = property(get_ExtendedError, None)
121
+ Status = property(get_Status, None)
122
+ MachineLearningContract: UInt32 = 131072
123
+
124
+
125
+ make_ready(__name__)
@@ -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,44 @@ 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
+ _name_ = 'Microsoft.Windows.AI.Text.InputKind'
295
+ GeneralConversation = 0
296
+ Email = 1
118
297
  class LanguageModel(ComPtr):
119
298
  extends: IInspectable
120
299
  implements: Tuple[ContextManagerProtocol]
121
300
  default_interface: win32more.Microsoft.Windows.AI.Text.ILanguageModel
122
301
  _classid_ = 'Microsoft.Windows.AI.Text.LanguageModel'
123
302
  @winrt_mixinmethod
303
+ def GenerateResponseAsync(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, prompt: hstr) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
304
+ @winrt_mixinmethod
305
+ 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]: ...
306
+ @winrt_mixinmethod
307
+ 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]: ...
308
+ @winrt_mixinmethod
309
+ 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]: ...
310
+ @winrt_mixinmethod
311
+ 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]: ...
312
+ @winrt_mixinmethod
313
+ 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]: ...
314
+ @winrt_mixinmethod
315
+ def GenerateEmbeddingVectors(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, prompt: hstr) -> win32more.Microsoft.Windows.AI.Text.LanguageModelEmbeddingVectorResult: ...
316
+ @winrt_mixinmethod
317
+ def GenerateEmbeddingVectors2(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, prompt: hstr, contentFilterOptions: win32more.Microsoft.Windows.AI.ContentSafety.ContentFilterOptions) -> win32more.Microsoft.Windows.AI.Text.LanguageModelEmbeddingVectorResult: ...
318
+ @winrt_mixinmethod
319
+ def GetUsablePromptLength(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, prompt: hstr) -> UInt64: ...
320
+ @winrt_mixinmethod
321
+ def GetUsablePromptLength2(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, context: win32more.Microsoft.Windows.AI.Text.LanguageModelContext, prompt: hstr) -> UInt64: ...
322
+ @winrt_mixinmethod
323
+ def GetVectorSpaceId(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2) -> Guid: ...
324
+ @winrt_mixinmethod
325
+ def CreateContext(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2) -> win32more.Microsoft.Windows.AI.Text.LanguageModelContext: ...
326
+ @winrt_mixinmethod
327
+ def CreateContext2(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, systemPrompt: hstr) -> win32more.Microsoft.Windows.AI.Text.LanguageModelContext: ...
328
+ @winrt_mixinmethod
329
+ def CreateContext3(self: win32more.Microsoft.Windows.AI.Text.ILanguageModel2, systemPrompt: hstr, contentFilterOptions: win32more.Microsoft.Windows.AI.ContentSafety.ContentFilterOptions) -> win32more.Microsoft.Windows.AI.Text.LanguageModelContext: ...
330
+ @winrt_mixinmethod
124
331
  def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
125
332
  @winrt_classmethod
126
333
  def GetReadyState(cls: win32more.Microsoft.Windows.AI.Text.ILanguageModelStatics) -> win32more.Microsoft.Windows.AI.AIFeatureReadyState: ...
@@ -136,6 +343,19 @@ class LanguageModelContext(ComPtr):
136
343
  @winrt_mixinmethod
137
344
  def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
138
345
  LanguageModelContract: UInt32 = 131072
346
+ class LanguageModelEmbeddingVectorResult(ComPtr):
347
+ extends: IInspectable
348
+ default_interface: win32more.Microsoft.Windows.AI.Text.ILanguageModelEmbeddingVectorResult
349
+ _classid_ = 'Microsoft.Windows.AI.Text.LanguageModelEmbeddingVectorResult'
350
+ @winrt_mixinmethod
351
+ def get_EmbeddingVectors(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelEmbeddingVectorResult) -> win32more.Windows.Foundation.Collections.IVectorView[win32more.Microsoft.Windows.AI.Foundation.EmbeddingVector]: ...
352
+ @winrt_mixinmethod
353
+ def get_Status(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelEmbeddingVectorResult) -> win32more.Microsoft.Windows.AI.Text.LanguageModelResponseStatus: ...
354
+ @winrt_mixinmethod
355
+ def get_ExtendedError(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelEmbeddingVectorResult) -> win32more.Windows.Foundation.HResult: ...
356
+ EmbeddingVectors = property(get_EmbeddingVectors, None)
357
+ ExtendedError = property(get_ExtendedError, None)
358
+ Status = property(get_Status, None)
139
359
  class LanguageModelOptions(ComPtr):
140
360
  extends: IInspectable
141
361
  default_interface: win32more.Microsoft.Windows.AI.Text.ILanguageModelOptions
@@ -183,6 +403,7 @@ class LanguageModelResponseResult(ComPtr):
183
403
  Status = property(get_Status, None)
184
404
  Text = property(get_Text, None)
185
405
  class LanguageModelResponseStatus(Enum, Int32):
406
+ _name_ = 'Microsoft.Windows.AI.Text.LanguageModelResponseStatus'
186
407
  Complete = 0
187
408
  InProgress = 1
188
409
  BlockedByPolicy = 2
@@ -190,7 +411,14 @@ class LanguageModelResponseStatus(Enum, Int32):
190
411
  PromptBlockedByContentModeration = 4
191
412
  ResponseBlockedByContentModeration = 5
192
413
  Error = 6
193
- TextIntelligenceContract: UInt32 = 196608
414
+ TextIntelligenceContract: UInt32 = 393216
415
+ class TextRewriteTone(Enum, Int32):
416
+ _name_ = 'Microsoft.Windows.AI.Text.TextRewriteTone'
417
+ Default = 0
418
+ General = 1
419
+ Casual = 2
420
+ Concise = 3
421
+ Formal = 4
194
422
  class TextRewriter(ComPtr):
195
423
  extends: IInspectable
196
424
  default_interface: win32more.Microsoft.Windows.AI.Text.ITextRewriter
@@ -204,8 +432,12 @@ class TextRewriter(ComPtr):
204
432
  raise ValueError('no matched constructor')
205
433
  @winrt_factorymethod
206
434
  def CreateInstance(cls: win32more.Microsoft.Windows.AI.Text.ITextRewriterFactory, languageModel: win32more.Microsoft.Windows.AI.Text.LanguageModel) -> win32more.Microsoft.Windows.AI.Text.TextRewriter: ...
435
+ @winrt_overload
207
436
  @winrt_mixinmethod
208
437
  def RewriteAsync(self: win32more.Microsoft.Windows.AI.Text.ITextRewriter, text: hstr) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
438
+ @RewriteAsync.register
439
+ @winrt_mixinmethod
440
+ 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
441
  class TextSummarizer(ComPtr):
210
442
  extends: IInspectable
211
443
  default_interface: win32more.Microsoft.Windows.AI.Text.ITextSummarizer
@@ -223,6 +455,14 @@ class TextSummarizer(ComPtr):
223
455
  def SummarizeAsync(self: win32more.Microsoft.Windows.AI.Text.ITextSummarizer, text: hstr) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
224
456
  @winrt_mixinmethod
225
457
  def SummarizeParagraphAsync(self: win32more.Microsoft.Windows.AI.Text.ITextSummarizer, text: hstr) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
458
+ @winrt_mixinmethod
459
+ 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]: ...
460
+ @winrt_overload
461
+ @winrt_mixinmethod
462
+ 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: ...
463
+ @IsPromptLargerThanContext.register
464
+ @winrt_mixinmethod
465
+ def IsPromptLargerThanContext(self: win32more.Microsoft.Windows.AI.Text.ITextSummarizer4, text: hstr, cutoffPosition: POINTER(UInt64)) -> Boolean: ...
226
466
  class TextToTableConverter(ComPtr):
227
467
  extends: IInspectable
228
468
  default_interface: win32more.Microsoft.Windows.AI.Text.ITextToTableConverter
@@ -20,10 +20,12 @@ class AIFeatureReadyResult(ComPtr):
20
20
  ExtendedError = property(get_ExtendedError, None)
21
21
  Status = property(get_Status, None)
22
22
  class AIFeatureReadyResultState(Enum, Int32):
23
+ _name_ = 'Microsoft.Windows.AI.AIFeatureReadyResultState'
23
24
  InProgress = 0
24
25
  Success = 1
25
26
  Failure = 2
26
27
  class AIFeatureReadyState(Enum, Int32):
28
+ _name_ = 'Microsoft.Windows.AI.AIFeatureReadyState'
27
29
  Ready = 0
28
30
  NotReady = 1
29
31
  NotSupportedOnCurrentSystem = 2
@@ -63,6 +63,7 @@ class AppInstance(ComPtr):
63
63
  Activated = event(add_Activated, remove_Activated)
64
64
  AppLifecycleContract: UInt32 = 131072
65
65
  class ExtendedActivationKind(Enum, Int32):
66
+ _name_ = 'Microsoft.Windows.AppLifecycle.ExtendedActivationKind'
66
67
  Launch = 0
67
68
  Search = 1
68
69
  ShareTarget = 2
@@ -5,6 +5,7 @@ import win32more.Microsoft.Windows.AppNotifications.Builder
5
5
  import win32more.Windows.Foundation
6
6
  import win32more.Windows.Foundation.Collections
7
7
  class AppNotificationAudioLooping(Enum, Int32):
8
+ _name_ = 'Microsoft.Windows.AppNotifications.Builder.AppNotificationAudioLooping'
8
9
  None_ = 0
9
10
  Loop = 1
10
11
  class AppNotificationBuilder(ComPtr):
@@ -166,6 +167,7 @@ class AppNotificationButton(ComPtr):
166
167
  TargetAppId = property(get_TargetAppId, put_TargetAppId)
167
168
  ToolTip = property(get_ToolTip, put_ToolTip)
168
169
  class AppNotificationButtonStyle(Enum, Int32):
170
+ _name_ = 'Microsoft.Windows.AppNotifications.Builder.AppNotificationButtonStyle'
169
171
  Default = 0
170
172
  Success = 1
171
173
  Critical = 2
@@ -204,9 +206,11 @@ class AppNotificationComboBox(ComPtr):
204
206
  SelectedItem = property(get_SelectedItem, put_SelectedItem)
205
207
  Title = property(get_Title, put_Title)
206
208
  class AppNotificationDuration(Enum, Int32):
209
+ _name_ = 'Microsoft.Windows.AppNotifications.Builder.AppNotificationDuration'
207
210
  Default = 0
208
211
  Long = 1
209
212
  class AppNotificationImageCrop(Enum, Int32):
213
+ _name_ = 'Microsoft.Windows.AppNotifications.Builder.AppNotificationImageCrop'
210
214
  Default = 0
211
215
  Circle = 1
212
216
  class AppNotificationProgressBar(ComPtr):
@@ -259,12 +263,14 @@ class AppNotificationProgressBar(ComPtr):
259
263
  Value = property(get_Value, put_Value)
260
264
  ValueStringOverride = property(get_ValueStringOverride, put_ValueStringOverride)
261
265
  class AppNotificationScenario(Enum, Int32):
266
+ _name_ = 'Microsoft.Windows.AppNotifications.Builder.AppNotificationScenario'
262
267
  Default = 0
263
268
  Reminder = 1
264
269
  Alarm = 2
265
270
  IncomingCall = 3
266
271
  Urgent = 4
267
272
  class AppNotificationSoundEvent(Enum, Int32):
273
+ _name_ = 'Microsoft.Windows.AppNotifications.Builder.AppNotificationSoundEvent'
268
274
  Default = 0
269
275
  IM = 1
270
276
  Mail = 2
@@ -118,6 +118,7 @@ class AppNotificationManager(ComPtr, metaclass=_AppNotificationManager_Meta_):
118
118
  _AppNotificationManager_Meta_.Default = property(get_Default, None)
119
119
  NotificationInvoked = event(add_NotificationInvoked, remove_NotificationInvoked)
120
120
  class AppNotificationPriority(Enum, Int32):
121
+ _name_ = 'Microsoft.Windows.AppNotifications.AppNotificationPriority'
121
122
  Default = 0
122
123
  High = 1
123
124
  class AppNotificationProgressData(ComPtr):
@@ -159,10 +160,12 @@ class AppNotificationProgressData(ComPtr):
159
160
  Value = property(get_Value, put_Value)
160
161
  ValueStringOverride = property(get_ValueStringOverride, put_ValueStringOverride)
161
162
  class AppNotificationProgressResult(Enum, Int32):
163
+ _name_ = 'Microsoft.Windows.AppNotifications.AppNotificationProgressResult'
162
164
  Succeeded = 0
163
165
  AppNotificationNotFound = 1
164
166
  Unsupported = 2
165
167
  class AppNotificationSetting(Enum, Int32):
168
+ _name_ = 'Microsoft.Windows.AppNotifications.AppNotificationSetting'
166
169
  Enabled = 0
167
170
  DisabledForApplication = 1
168
171
  DisabledForUser = 2
@@ -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
 
@@ -221,10 +221,12 @@ class PackageDependencyContextId(Structure):
221
221
  _name_ = 'Microsoft.Windows.ApplicationModel.DynamicDependency.PackageDependencyContextId'
222
222
  Id: UInt64
223
223
  class PackageDependencyLifetimeArtifactKind(Enum, Int32):
224
+ _name_ = 'Microsoft.Windows.ApplicationModel.DynamicDependency.PackageDependencyLifetimeArtifactKind'
224
225
  Process = 0
225
226
  FilePath = 1
226
227
  RegistryKey = 2
227
228
  class PackageDependencyProcessorArchitectures(Enum, UInt32):
229
+ _name_ = 'Microsoft.Windows.ApplicationModel.DynamicDependency.PackageDependencyProcessorArchitectures'
228
230
  None_ = 0
229
231
  Neutral = 1
230
232
  X86 = 2
@@ -213,6 +213,7 @@ class ResourceCandidate(ComPtr):
213
213
  ValueAsBytes = property(get_ValueAsBytes, None)
214
214
  ValueAsString = property(get_ValueAsString, None)
215
215
  class ResourceCandidateKind(Enum, Int32):
216
+ _name_ = 'Microsoft.Windows.ApplicationModel.Resources.ResourceCandidateKind'
216
217
  Unknown = 0
217
218
  String = 1
218
219
  FilePath = 2
@@ -59,6 +59,7 @@ class DeploymentResult(ComPtr):
59
59
  ExtendedError = property(get_ExtendedError, None)
60
60
  Status = property(get_Status, None)
61
61
  class DeploymentStatus(Enum, Int32):
62
+ _name_ = 'Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentStatus'
62
63
  Unknown = 0
63
64
  Ok = 1
64
65
  PackageInstallRequired = 2
@@ -180,31 +181,8 @@ class ReleaseInfo(ComPtr, metaclass=_ReleaseInfo_Meta_):
180
181
  _ReleaseInfo_Meta_.Patch = property(get_Patch, None)
181
182
  _ReleaseInfo_Meta_.VersionTag = property(get_VersionTag, None)
182
183
  class RuntimeCompatibilityChange(Enum, Int32):
184
+ _name_ = 'Microsoft.Windows.ApplicationModel.WindowsAppRuntime.RuntimeCompatibilityChange'
183
185
  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
- OrientedVirtualizingPanel_FixBoundsOverflow = 59890418
207
- ContentIsland_StartupCrashWhenLongRunning = 59707004
208
186
  RuntimeCompatibilityContract: UInt32 = 65536
209
187
  class RuntimeCompatibilityOptions(ComPtr):
210
188
  extends: IInspectable
@@ -2,6 +2,7 @@ from __future__ import annotations
2
2
  from win32more._prelude import *
3
3
  import win32more.Microsoft.Windows.BadgeNotifications
4
4
  class BadgeNotificationGlyph(Enum, Int32):
5
+ _name_ = 'Microsoft.Windows.BadgeNotifications.BadgeNotificationGlyph'
5
6
  None_ = 0
6
7
  Activity = 1
7
8
  Alarm = 2