win32more-Microsoft.WindowsAppSDK 0.7.1.6.250430001__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.
- win32more/Microsoft/Foundation/__init__.py +1 -1
- win32more/Microsoft/Graphics/DirectX/__init__.py +4 -0
- win32more/Microsoft/Graphics/Display/__init__.py +2 -0
- win32more/Microsoft/Graphics/Imaging/__init__.py +78 -0
- win32more/Microsoft/Security/Authentication/OAuth/__init__.py +593 -0
- win32more/Microsoft/UI/Composition/Core/__init__.py +4 -4
- win32more/Microsoft/UI/Composition/Diagnostics/__init__.py +5 -4
- win32more/Microsoft/UI/Composition/Effects/__init__.py +11 -10
- win32more/Microsoft/UI/Composition/Interactions/__init__.py +100 -93
- win32more/Microsoft/UI/Composition/Scenes/__init__.py +82 -78
- win32more/Microsoft/UI/Composition/SystemBackdrops/__init__.py +46 -42
- win32more/Microsoft/UI/Composition/__init__.py +146 -125
- win32more/Microsoft/UI/Content/__init__.py +677 -32
- win32more/Microsoft/UI/Dispatching/__init__.py +6 -4
- win32more/Microsoft/UI/Input/DragDrop/__init__.py +11 -9
- win32more/Microsoft/UI/Input/__init__.py +88 -66
- win32more/Microsoft/UI/Text/__init__.py +46 -0
- win32more/Microsoft/UI/Windowing/__init__.py +112 -21
- win32more/Microsoft/UI/Xaml/Automation/Peers/__init__.py +12 -0
- win32more/Microsoft/UI/Xaml/Automation/Text/__init__.py +2 -0
- win32more/Microsoft/UI/Xaml/Automation/__init__.py +21 -0
- win32more/Microsoft/UI/Xaml/Controls/Primitives/__init__.py +19 -0
- win32more/Microsoft/UI/Xaml/Controls/__init__.py +369 -0
- win32more/Microsoft/UI/Xaml/Data/__init__.py +3 -0
- win32more/Microsoft/UI/Xaml/Documents/__init__.py +2 -0
- win32more/Microsoft/UI/Xaml/Hosting/__init__.py +1 -0
- win32more/Microsoft/UI/Xaml/Input/__init__.py +11 -0
- win32more/Microsoft/UI/Xaml/Interop/__init__.py +1 -0
- win32more/Microsoft/UI/Xaml/Media/Animation/__init__.py +6 -0
- win32more/Microsoft/UI/Xaml/Media/Imaging/__init__.py +3 -0
- win32more/Microsoft/UI/Xaml/Media/__init__.py +14 -0
- win32more/Microsoft/UI/Xaml/Navigation/__init__.py +2 -0
- win32more/Microsoft/UI/Xaml/Printing/__init__.py +1 -0
- win32more/Microsoft/UI/Xaml/__init__.py +101 -2
- win32more/Microsoft/Windows/AI/ContentSafety/__init__.py +198 -0
- win32more/Microsoft/Windows/AI/Foundation/__init__.py +46 -0
- win32more/Microsoft/Windows/AI/Imaging/__init__.py +369 -0
- win32more/Microsoft/Windows/AI/MachineLearning/__init__.py +125 -0
- win32more/Microsoft/Windows/AI/Text/__init__.py +501 -0
- win32more/Microsoft/Windows/AI/__init__.py +51 -0
- win32more/Microsoft/Windows/AppLifecycle/__init__.py +1 -0
- win32more/Microsoft/Windows/AppNotifications/Builder/__init__.py +7 -1
- win32more/Microsoft/Windows/AppNotifications/__init__.py +4 -1
- win32more/Microsoft/Windows/ApplicationModel/Background/UniversalBGTask/__init__.py +27 -0
- win32more/Microsoft/Windows/ApplicationModel/Background/__init__.py +65 -0
- win32more/Microsoft/Windows/ApplicationModel/DynamicDependency/__init__.py +2 -0
- win32more/Microsoft/Windows/ApplicationModel/Resources/__init__.py +1 -0
- win32more/Microsoft/Windows/ApplicationModel/WindowsAppRuntime/__init__.py +120 -0
- win32more/Microsoft/Windows/BadgeNotifications/__init__.py +54 -0
- win32more/Microsoft/Windows/Foundation/__init__.py +221 -0
- win32more/Microsoft/Windows/Management/Deployment/__init__.py +5 -0
- win32more/Microsoft/Windows/Media/Capture/__init__.py +201 -0
- win32more/Microsoft/Windows/PushNotifications/__init__.py +1 -0
- win32more/Microsoft/Windows/Storage/Pickers/__init__.py +260 -0
- win32more/Microsoft/Windows/Storage/__init__.py +2 -0
- win32more/Microsoft/Windows/System/Power/__init__.py +8 -0
- win32more/Microsoft/Windows/Widgets/Feeds/Providers/__init__.py +8 -0
- win32more/Microsoft/Windows/Widgets/Notifications/__init__.py +2 -0
- win32more/Microsoft/Windows/Widgets/Providers/__init__.py +24 -0
- win32more/Microsoft/Windows/Widgets/__init__.py +2 -1
- win32more/Microsoft/Windows/Workloads/__init__.py +12 -0
- win32more/appsdk/versioninfo.py +2 -2
- win32more/dll/arm64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
- win32more/dll/arm64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- win32more/dll/x64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
- win32more/dll/x64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- win32more/dll/x86/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
- win32more/dll/x86/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- win32more_microsoft_windowsappsdk-0.8.1.8.251003001.dist-info/METADATA +6 -0
- win32more_microsoft_windowsappsdk-0.8.1.8.251003001.dist-info/RECORD +85 -0
- {win32more_microsoft_windowsappsdk-0.7.1.6.250430001.dist-info → win32more_microsoft_windowsappsdk-0.8.1.8.251003001.dist-info}/WHEEL +1 -1
- {win32more_microsoft_windowsappsdk-0.7.1.6.250430001.dist-info → win32more_microsoft_windowsappsdk-0.8.1.8.251003001.dist-info}/licenses/LICENSE (Microsoft.WindowsAppSDK).txt +5 -3
- win32more_microsoft_windowsappsdk-0.7.1.6.250430001.dist-info/METADATA +0 -6
- win32more_microsoft_windowsappsdk-0.7.1.6.250430001.dist-info/RECORD +0 -67
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from win32more._prelude import *
|
|
3
|
+
import win32more.Microsoft.Windows.AI
|
|
4
|
+
import win32more.Windows.Foundation
|
|
5
|
+
AIFeatureReadyContract: UInt32 = 65536
|
|
6
|
+
class AIFeatureReadyResult(ComPtr):
|
|
7
|
+
extends: IInspectable
|
|
8
|
+
default_interface: win32more.Microsoft.Windows.AI.IAIFeatureReadyResult
|
|
9
|
+
_classid_ = 'Microsoft.Windows.AI.AIFeatureReadyResult'
|
|
10
|
+
@winrt_mixinmethod
|
|
11
|
+
def get_Error(self: win32more.Microsoft.Windows.AI.IAIFeatureReadyResult) -> win32more.Windows.Foundation.HResult: ...
|
|
12
|
+
@winrt_mixinmethod
|
|
13
|
+
def get_ErrorDisplayText(self: win32more.Microsoft.Windows.AI.IAIFeatureReadyResult) -> hstr: ...
|
|
14
|
+
@winrt_mixinmethod
|
|
15
|
+
def get_ExtendedError(self: win32more.Microsoft.Windows.AI.IAIFeatureReadyResult) -> win32more.Windows.Foundation.HResult: ...
|
|
16
|
+
@winrt_mixinmethod
|
|
17
|
+
def get_Status(self: win32more.Microsoft.Windows.AI.IAIFeatureReadyResult) -> win32more.Microsoft.Windows.AI.AIFeatureReadyResultState: ...
|
|
18
|
+
Error = property(get_Error, None)
|
|
19
|
+
ErrorDisplayText = property(get_ErrorDisplayText, None)
|
|
20
|
+
ExtendedError = property(get_ExtendedError, None)
|
|
21
|
+
Status = property(get_Status, None)
|
|
22
|
+
class AIFeatureReadyResultState(Enum, Int32):
|
|
23
|
+
_name_ = 'Microsoft.Windows.AI.AIFeatureReadyResultState'
|
|
24
|
+
InProgress = 0
|
|
25
|
+
Success = 1
|
|
26
|
+
Failure = 2
|
|
27
|
+
class AIFeatureReadyState(Enum, Int32):
|
|
28
|
+
_name_ = 'Microsoft.Windows.AI.AIFeatureReadyState'
|
|
29
|
+
Ready = 0
|
|
30
|
+
NotReady = 1
|
|
31
|
+
NotSupportedOnCurrentSystem = 2
|
|
32
|
+
DisabledByUser = 3
|
|
33
|
+
class IAIFeatureReadyResult(ComPtr):
|
|
34
|
+
extends: IInspectable
|
|
35
|
+
_classid_ = 'Microsoft.Windows.AI.IAIFeatureReadyResult'
|
|
36
|
+
_iid_ = Guid('{936a78a6-c242-5937-9814-e512d4193a6d}')
|
|
37
|
+
@winrt_commethod(6)
|
|
38
|
+
def get_Error(self) -> win32more.Windows.Foundation.HResult: ...
|
|
39
|
+
@winrt_commethod(7)
|
|
40
|
+
def get_ErrorDisplayText(self) -> hstr: ...
|
|
41
|
+
@winrt_commethod(8)
|
|
42
|
+
def get_ExtendedError(self) -> win32more.Windows.Foundation.HResult: ...
|
|
43
|
+
@winrt_commethod(9)
|
|
44
|
+
def get_Status(self) -> win32more.Microsoft.Windows.AI.AIFeatureReadyResultState: ...
|
|
45
|
+
Error = property(get_Error, None)
|
|
46
|
+
ErrorDisplayText = property(get_ErrorDisplayText, None)
|
|
47
|
+
ExtendedError = property(get_ExtendedError, None)
|
|
48
|
+
Status = property(get_Status, None)
|
|
49
|
+
|
|
50
|
+
|
|
51
|
+
make_ready(__name__)
|
|
@@ -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):
|
|
@@ -80,7 +81,7 @@ class AppNotificationBuilder(ComPtr):
|
|
|
80
81
|
def SetGroup(self: win32more.Microsoft.Windows.AppNotifications.Builder.IAppNotificationBuilder, group: hstr) -> win32more.Microsoft.Windows.AppNotifications.Builder.AppNotificationBuilder: ...
|
|
81
82
|
@winrt_classmethod
|
|
82
83
|
def IsUrgentScenarioSupported(cls: win32more.Microsoft.Windows.AppNotifications.Builder.IAppNotificationBuilderStatics) -> Boolean: ...
|
|
83
|
-
AppNotificationBuilderContract: UInt32 =
|
|
84
|
+
AppNotificationBuilderContract: UInt32 = 131072
|
|
84
85
|
class AppNotificationButton(ComPtr):
|
|
85
86
|
extends: IInspectable
|
|
86
87
|
default_interface: win32more.Microsoft.Windows.AppNotifications.Builder.IAppNotificationButton
|
|
@@ -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,17 +160,19 @@ 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
|
|
169
172
|
DisabledByGroupPolicy = 3
|
|
170
173
|
DisabledByManifest = 4
|
|
171
174
|
Unsupported = 5
|
|
172
|
-
AppNotificationsContract: UInt32 =
|
|
175
|
+
AppNotificationsContract: UInt32 = 262144
|
|
173
176
|
class IAppNotification(ComPtr):
|
|
174
177
|
extends: IInspectable
|
|
175
178
|
_classid_ = 'Microsoft.Windows.AppNotifications.IAppNotification'
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from win32more._prelude import *
|
|
3
|
+
import win32more.Microsoft.Windows.ApplicationModel.Background.UniversalBGTask
|
|
4
|
+
import win32more.Windows.ApplicationModel.Background
|
|
5
|
+
class ITask(ComPtr):
|
|
6
|
+
extends: IInspectable
|
|
7
|
+
_classid_ = 'Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.ITask'
|
|
8
|
+
_iid_ = Guid('{89cf5f73-8195-590b-8158-bc7d2816ce16}')
|
|
9
|
+
class Task(ComPtr):
|
|
10
|
+
extends: IInspectable
|
|
11
|
+
default_interface: win32more.Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.ITask
|
|
12
|
+
_classid_ = 'Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.Task'
|
|
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.ApplicationModel.Background.UniversalBGTask.Task.CreateInstance(*args))
|
|
18
|
+
else:
|
|
19
|
+
raise ValueError('no matched constructor')
|
|
20
|
+
@winrt_activatemethod
|
|
21
|
+
def CreateInstance(cls) -> win32more.Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.Task: ...
|
|
22
|
+
@winrt_mixinmethod
|
|
23
|
+
def Run(self: win32more.Windows.ApplicationModel.Background.IBackgroundTask, taskInstance: win32more.Windows.ApplicationModel.Background.IBackgroundTaskInstance) -> Void: ...
|
|
24
|
+
UniversalBackgroundTaskContract: UInt32 = 65536
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
make_ready(__name__)
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from win32more._prelude import *
|
|
3
|
+
import win32more.Microsoft.Windows.ApplicationModel.Background
|
|
4
|
+
import win32more.Windows.ApplicationModel.Background
|
|
5
|
+
class BackgroundTaskBuilder(ComPtr):
|
|
6
|
+
extends: IInspectable
|
|
7
|
+
default_interface: win32more.Microsoft.Windows.ApplicationModel.Background.IBackgroundTaskBuilder
|
|
8
|
+
_classid_ = 'Microsoft.Windows.ApplicationModel.Background.BackgroundTaskBuilder'
|
|
9
|
+
def __init__(self, *args, **kwargs):
|
|
10
|
+
if kwargs:
|
|
11
|
+
super().__init__(**kwargs)
|
|
12
|
+
elif len(args) == 0:
|
|
13
|
+
super().__init__(move=win32more.Microsoft.Windows.ApplicationModel.Background.BackgroundTaskBuilder.CreateInstance(*args))
|
|
14
|
+
else:
|
|
15
|
+
raise ValueError('no matched constructor')
|
|
16
|
+
@winrt_activatemethod
|
|
17
|
+
def CreateInstance(cls) -> win32more.Microsoft.Windows.ApplicationModel.Background.BackgroundTaskBuilder: ...
|
|
18
|
+
@winrt_mixinmethod
|
|
19
|
+
def SetTrigger(self: win32more.Microsoft.Windows.ApplicationModel.Background.IBackgroundTaskBuilder, trigger: win32more.Windows.ApplicationModel.Background.IBackgroundTrigger) -> Void: ...
|
|
20
|
+
@winrt_mixinmethod
|
|
21
|
+
def SetTaskEntryPointClsid(self: win32more.Microsoft.Windows.ApplicationModel.Background.IBackgroundTaskBuilder, clsId: Guid) -> Void: ...
|
|
22
|
+
@winrt_mixinmethod
|
|
23
|
+
def AddCondition(self: win32more.Microsoft.Windows.ApplicationModel.Background.IBackgroundTaskBuilder, condition: win32more.Windows.ApplicationModel.Background.IBackgroundCondition) -> Void: ...
|
|
24
|
+
@winrt_mixinmethod
|
|
25
|
+
def put_Name(self: win32more.Microsoft.Windows.ApplicationModel.Background.IBackgroundTaskBuilder, value: hstr) -> Void: ...
|
|
26
|
+
@winrt_mixinmethod
|
|
27
|
+
def get_Name(self: win32more.Microsoft.Windows.ApplicationModel.Background.IBackgroundTaskBuilder) -> hstr: ...
|
|
28
|
+
@winrt_mixinmethod
|
|
29
|
+
def put_TaskGroup(self: win32more.Microsoft.Windows.ApplicationModel.Background.IBackgroundTaskBuilder, value: win32more.Windows.ApplicationModel.Background.BackgroundTaskRegistrationGroup) -> Void: ...
|
|
30
|
+
@winrt_mixinmethod
|
|
31
|
+
def get_TaskGroup(self: win32more.Microsoft.Windows.ApplicationModel.Background.IBackgroundTaskBuilder) -> win32more.Windows.ApplicationModel.Background.BackgroundTaskRegistrationGroup: ...
|
|
32
|
+
@winrt_mixinmethod
|
|
33
|
+
def Register(self: win32more.Microsoft.Windows.ApplicationModel.Background.IBackgroundTaskBuilder) -> win32more.Windows.ApplicationModel.Background.BackgroundTaskRegistration: ...
|
|
34
|
+
@winrt_mixinmethod
|
|
35
|
+
def Register2(self: win32more.Microsoft.Windows.ApplicationModel.Background.IBackgroundTaskBuilder, name: hstr) -> win32more.Windows.ApplicationModel.Background.BackgroundTaskRegistration: ...
|
|
36
|
+
Name = property(get_Name, put_Name)
|
|
37
|
+
TaskGroup = property(get_TaskGroup, put_TaskGroup)
|
|
38
|
+
BackgroundTaskContract: UInt32 = 65536
|
|
39
|
+
class IBackgroundTaskBuilder(ComPtr):
|
|
40
|
+
extends: IInspectable
|
|
41
|
+
_classid_ = 'Microsoft.Windows.ApplicationModel.Background.IBackgroundTaskBuilder'
|
|
42
|
+
_iid_ = Guid('{32a355a0-75ca-5cb8-9f8e-2c4ea62d1ee3}')
|
|
43
|
+
@winrt_commethod(6)
|
|
44
|
+
def SetTrigger(self, trigger: win32more.Windows.ApplicationModel.Background.IBackgroundTrigger) -> Void: ...
|
|
45
|
+
@winrt_commethod(7)
|
|
46
|
+
def SetTaskEntryPointClsid(self, clsId: Guid) -> Void: ...
|
|
47
|
+
@winrt_commethod(8)
|
|
48
|
+
def AddCondition(self, condition: win32more.Windows.ApplicationModel.Background.IBackgroundCondition) -> Void: ...
|
|
49
|
+
@winrt_commethod(9)
|
|
50
|
+
def put_Name(self, value: hstr) -> Void: ...
|
|
51
|
+
@winrt_commethod(10)
|
|
52
|
+
def get_Name(self) -> hstr: ...
|
|
53
|
+
@winrt_commethod(11)
|
|
54
|
+
def put_TaskGroup(self, value: win32more.Windows.ApplicationModel.Background.BackgroundTaskRegistrationGroup) -> Void: ...
|
|
55
|
+
@winrt_commethod(12)
|
|
56
|
+
def get_TaskGroup(self) -> win32more.Windows.ApplicationModel.Background.BackgroundTaskRegistrationGroup: ...
|
|
57
|
+
@winrt_commethod(13)
|
|
58
|
+
def Register(self) -> win32more.Windows.ApplicationModel.Background.BackgroundTaskRegistration: ...
|
|
59
|
+
@winrt_commethod(14)
|
|
60
|
+
def Register2(self, name: hstr) -> win32more.Windows.ApplicationModel.Background.BackgroundTaskRegistration: ...
|
|
61
|
+
Name = property(get_Name, put_Name)
|
|
62
|
+
TaskGroup = property(get_TaskGroup, put_TaskGroup)
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
make_ready(__name__)
|
|
@@ -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
|
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
from __future__ import annotations
|
|
2
2
|
from win32more._prelude import *
|
|
3
3
|
import win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime
|
|
4
|
+
import win32more.Windows.ApplicationModel
|
|
4
5
|
import win32more.Windows.Foundation
|
|
6
|
+
import win32more.Windows.Foundation.Collections
|
|
5
7
|
DeploymentContract: UInt32 = 262144
|
|
6
8
|
class DeploymentInitializeOptions(ComPtr):
|
|
7
9
|
extends: IInspectable
|
|
@@ -57,6 +59,7 @@ class DeploymentResult(ComPtr):
|
|
|
57
59
|
ExtendedError = property(get_ExtendedError, None)
|
|
58
60
|
Status = property(get_Status, None)
|
|
59
61
|
class DeploymentStatus(Enum, Int32):
|
|
62
|
+
_name_ = 'Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentStatus'
|
|
60
63
|
Unknown = 0
|
|
61
64
|
Ok = 1
|
|
62
65
|
PackageInstallRequired = 2
|
|
@@ -109,6 +112,123 @@ class IDeploymentResultFactory(ComPtr):
|
|
|
109
112
|
_iid_ = Guid('{acd7bdae-4ae6-5cac-8205-1e8c305f953b}')
|
|
110
113
|
@winrt_commethod(6)
|
|
111
114
|
def CreateInstance(self, status: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentStatus, extendedError: win32more.Windows.Foundation.HResult) -> win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentResult: ...
|
|
115
|
+
class IReleaseInfoStatics(ComPtr):
|
|
116
|
+
extends: IInspectable
|
|
117
|
+
_classid_ = 'Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IReleaseInfoStatics'
|
|
118
|
+
_iid_ = Guid('{ed9be8ff-073c-5c66-bf97-ef0ce67405c3}')
|
|
119
|
+
@winrt_commethod(6)
|
|
120
|
+
def get_Major(self) -> UInt16: ...
|
|
121
|
+
@winrt_commethod(7)
|
|
122
|
+
def get_Minor(self) -> UInt16: ...
|
|
123
|
+
@winrt_commethod(8)
|
|
124
|
+
def get_Patch(self) -> UInt16: ...
|
|
125
|
+
@winrt_commethod(9)
|
|
126
|
+
def get_VersionTag(self) -> hstr: ...
|
|
127
|
+
@winrt_commethod(10)
|
|
128
|
+
def get_AsString(self) -> hstr: ...
|
|
129
|
+
AsString = property(get_AsString, None)
|
|
130
|
+
Major = property(get_Major, None)
|
|
131
|
+
Minor = property(get_Minor, None)
|
|
132
|
+
Patch = property(get_Patch, None)
|
|
133
|
+
VersionTag = property(get_VersionTag, None)
|
|
134
|
+
class IRuntimeCompatibilityOptions(ComPtr):
|
|
135
|
+
extends: IInspectable
|
|
136
|
+
_classid_ = 'Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IRuntimeCompatibilityOptions'
|
|
137
|
+
_iid_ = Guid('{d7403bd9-b25d-5b8f-8de1-9dcb57d99f6c}')
|
|
138
|
+
@winrt_commethod(6)
|
|
139
|
+
def get_PatchLevel1(self) -> win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.WindowsAppRuntimeVersion: ...
|
|
140
|
+
@winrt_commethod(7)
|
|
141
|
+
def put_PatchLevel1(self, value: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.WindowsAppRuntimeVersion) -> Void: ...
|
|
142
|
+
@winrt_commethod(8)
|
|
143
|
+
def get_PatchLevel2(self) -> win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.WindowsAppRuntimeVersion: ...
|
|
144
|
+
@winrt_commethod(9)
|
|
145
|
+
def put_PatchLevel2(self, value: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.WindowsAppRuntimeVersion) -> Void: ...
|
|
146
|
+
@winrt_commethod(10)
|
|
147
|
+
def get_DisabledChanges(self) -> win32more.Windows.Foundation.Collections.IVector[win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.RuntimeCompatibilityChange]: ...
|
|
148
|
+
@winrt_commethod(11)
|
|
149
|
+
def Apply(self) -> Void: ...
|
|
150
|
+
DisabledChanges = property(get_DisabledChanges, None)
|
|
151
|
+
PatchLevel1 = property(get_PatchLevel1, put_PatchLevel1)
|
|
152
|
+
PatchLevel2 = property(get_PatchLevel2, put_PatchLevel2)
|
|
153
|
+
class IRuntimeInfoStatics(ComPtr):
|
|
154
|
+
extends: IInspectable
|
|
155
|
+
_classid_ = 'Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IRuntimeInfoStatics'
|
|
156
|
+
_iid_ = Guid('{e5cb9549-8951-590e-a753-8f281cd77ab5}')
|
|
157
|
+
@winrt_commethod(6)
|
|
158
|
+
def get_Version(self) -> win32more.Windows.ApplicationModel.PackageVersion: ...
|
|
159
|
+
@winrt_commethod(7)
|
|
160
|
+
def get_AsString(self) -> hstr: ...
|
|
161
|
+
AsString = property(get_AsString, None)
|
|
162
|
+
Version = property(get_Version, None)
|
|
163
|
+
class _ReleaseInfo_Meta_(ComPtr.__class__):
|
|
164
|
+
pass
|
|
165
|
+
class ReleaseInfo(ComPtr, metaclass=_ReleaseInfo_Meta_):
|
|
166
|
+
extends: IInspectable
|
|
167
|
+
_classid_ = 'Microsoft.Windows.ApplicationModel.WindowsAppRuntime.ReleaseInfo'
|
|
168
|
+
@winrt_classmethod
|
|
169
|
+
def get_Major(cls: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IReleaseInfoStatics) -> UInt16: ...
|
|
170
|
+
@winrt_classmethod
|
|
171
|
+
def get_Minor(cls: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IReleaseInfoStatics) -> UInt16: ...
|
|
172
|
+
@winrt_classmethod
|
|
173
|
+
def get_Patch(cls: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IReleaseInfoStatics) -> UInt16: ...
|
|
174
|
+
@winrt_classmethod
|
|
175
|
+
def get_VersionTag(cls: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IReleaseInfoStatics) -> hstr: ...
|
|
176
|
+
@winrt_classmethod
|
|
177
|
+
def get_AsString(cls: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IReleaseInfoStatics) -> hstr: ...
|
|
178
|
+
_ReleaseInfo_Meta_.AsString = property(get_AsString, None)
|
|
179
|
+
_ReleaseInfo_Meta_.Major = property(get_Major, None)
|
|
180
|
+
_ReleaseInfo_Meta_.Minor = property(get_Minor, None)
|
|
181
|
+
_ReleaseInfo_Meta_.Patch = property(get_Patch, None)
|
|
182
|
+
_ReleaseInfo_Meta_.VersionTag = property(get_VersionTag, None)
|
|
183
|
+
class RuntimeCompatibilityChange(Enum, Int32):
|
|
184
|
+
_name_ = 'Microsoft.Windows.ApplicationModel.WindowsAppRuntime.RuntimeCompatibilityChange'
|
|
185
|
+
None_ = 0
|
|
186
|
+
RuntimeCompatibilityContract: UInt32 = 65536
|
|
187
|
+
class RuntimeCompatibilityOptions(ComPtr):
|
|
188
|
+
extends: IInspectable
|
|
189
|
+
default_interface: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IRuntimeCompatibilityOptions
|
|
190
|
+
_classid_ = 'Microsoft.Windows.ApplicationModel.WindowsAppRuntime.RuntimeCompatibilityOptions'
|
|
191
|
+
def __init__(self, *args, **kwargs):
|
|
192
|
+
if kwargs:
|
|
193
|
+
super().__init__(**kwargs)
|
|
194
|
+
elif len(args) == 0:
|
|
195
|
+
super().__init__(move=win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.RuntimeCompatibilityOptions.CreateInstance(*args))
|
|
196
|
+
else:
|
|
197
|
+
raise ValueError('no matched constructor')
|
|
198
|
+
@winrt_activatemethod
|
|
199
|
+
def CreateInstance(cls) -> win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.RuntimeCompatibilityOptions: ...
|
|
200
|
+
@winrt_mixinmethod
|
|
201
|
+
def get_PatchLevel1(self: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IRuntimeCompatibilityOptions) -> win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.WindowsAppRuntimeVersion: ...
|
|
202
|
+
@winrt_mixinmethod
|
|
203
|
+
def put_PatchLevel1(self: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IRuntimeCompatibilityOptions, value: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.WindowsAppRuntimeVersion) -> Void: ...
|
|
204
|
+
@winrt_mixinmethod
|
|
205
|
+
def get_PatchLevel2(self: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IRuntimeCompatibilityOptions) -> win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.WindowsAppRuntimeVersion: ...
|
|
206
|
+
@winrt_mixinmethod
|
|
207
|
+
def put_PatchLevel2(self: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IRuntimeCompatibilityOptions, value: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.WindowsAppRuntimeVersion) -> Void: ...
|
|
208
|
+
@winrt_mixinmethod
|
|
209
|
+
def get_DisabledChanges(self: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IRuntimeCompatibilityOptions) -> win32more.Windows.Foundation.Collections.IVector[win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.RuntimeCompatibilityChange]: ...
|
|
210
|
+
@winrt_mixinmethod
|
|
211
|
+
def Apply(self: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IRuntimeCompatibilityOptions) -> Void: ...
|
|
212
|
+
DisabledChanges = property(get_DisabledChanges, None)
|
|
213
|
+
PatchLevel1 = property(get_PatchLevel1, put_PatchLevel1)
|
|
214
|
+
PatchLevel2 = property(get_PatchLevel2, put_PatchLevel2)
|
|
215
|
+
class _RuntimeInfo_Meta_(ComPtr.__class__):
|
|
216
|
+
pass
|
|
217
|
+
class RuntimeInfo(ComPtr, metaclass=_RuntimeInfo_Meta_):
|
|
218
|
+
extends: IInspectable
|
|
219
|
+
_classid_ = 'Microsoft.Windows.ApplicationModel.WindowsAppRuntime.RuntimeInfo'
|
|
220
|
+
@winrt_classmethod
|
|
221
|
+
def get_Version(cls: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IRuntimeInfoStatics) -> win32more.Windows.ApplicationModel.PackageVersion: ...
|
|
222
|
+
@winrt_classmethod
|
|
223
|
+
def get_AsString(cls: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IRuntimeInfoStatics) -> hstr: ...
|
|
224
|
+
_RuntimeInfo_Meta_.AsString = property(get_AsString, None)
|
|
225
|
+
_RuntimeInfo_Meta_.Version = property(get_Version, None)
|
|
226
|
+
VersionInfoContract: UInt32 = 65536
|
|
227
|
+
class WindowsAppRuntimeVersion(Structure):
|
|
228
|
+
_name_ = 'Microsoft.Windows.ApplicationModel.WindowsAppRuntime.WindowsAppRuntimeVersion'
|
|
229
|
+
Major: UInt32
|
|
230
|
+
Minor: UInt32
|
|
231
|
+
Patch: UInt32
|
|
112
232
|
|
|
113
233
|
|
|
114
234
|
make_ready(__name__)
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from win32more._prelude import *
|
|
3
|
+
import win32more.Microsoft.Windows.BadgeNotifications
|
|
4
|
+
class BadgeNotificationGlyph(Enum, Int32):
|
|
5
|
+
_name_ = 'Microsoft.Windows.BadgeNotifications.BadgeNotificationGlyph'
|
|
6
|
+
None_ = 0
|
|
7
|
+
Activity = 1
|
|
8
|
+
Alarm = 2
|
|
9
|
+
Alert = 3
|
|
10
|
+
Attention = 4
|
|
11
|
+
Available = 5
|
|
12
|
+
Away = 6
|
|
13
|
+
Busy = 7
|
|
14
|
+
Error = 8
|
|
15
|
+
NewMessage = 9
|
|
16
|
+
Paused = 10
|
|
17
|
+
Playing = 11
|
|
18
|
+
Unavailable = 12
|
|
19
|
+
class _BadgeNotificationManager_Meta_(ComPtr.__class__):
|
|
20
|
+
pass
|
|
21
|
+
class BadgeNotificationManager(ComPtr, metaclass=_BadgeNotificationManager_Meta_):
|
|
22
|
+
extends: IInspectable
|
|
23
|
+
default_interface: win32more.Microsoft.Windows.BadgeNotifications.IBadgeNotificationManager
|
|
24
|
+
_classid_ = 'Microsoft.Windows.BadgeNotifications.BadgeNotificationManager'
|
|
25
|
+
@winrt_mixinmethod
|
|
26
|
+
def SetBadgeAsCount(self: win32more.Microsoft.Windows.BadgeNotifications.IBadgeNotificationManager, notificationCount: UInt32) -> Void: ...
|
|
27
|
+
@winrt_mixinmethod
|
|
28
|
+
def SetBadgeAsGlyph(self: win32more.Microsoft.Windows.BadgeNotifications.IBadgeNotificationManager, glyphValue: win32more.Microsoft.Windows.BadgeNotifications.BadgeNotificationGlyph) -> Void: ...
|
|
29
|
+
@winrt_mixinmethod
|
|
30
|
+
def ClearBadge(self: win32more.Microsoft.Windows.BadgeNotifications.IBadgeNotificationManager) -> Void: ...
|
|
31
|
+
@winrt_classmethod
|
|
32
|
+
def get_Current(cls: win32more.Microsoft.Windows.BadgeNotifications.IBadgeNotificationManagerStatics) -> win32more.Microsoft.Windows.BadgeNotifications.BadgeNotificationManager: ...
|
|
33
|
+
_BadgeNotificationManager_Meta_.Current = property(get_Current, None)
|
|
34
|
+
BadgeNotificationsContract: UInt32 = 65536
|
|
35
|
+
class IBadgeNotificationManager(ComPtr):
|
|
36
|
+
extends: IInspectable
|
|
37
|
+
_classid_ = 'Microsoft.Windows.BadgeNotifications.IBadgeNotificationManager'
|
|
38
|
+
_iid_ = Guid('{11cb6e8f-11ca-53f8-80f6-5330d44ba908}')
|
|
39
|
+
@winrt_commethod(6)
|
|
40
|
+
def SetBadgeAsCount(self, notificationCount: UInt32) -> Void: ...
|
|
41
|
+
@winrt_commethod(7)
|
|
42
|
+
def SetBadgeAsGlyph(self, glyphValue: win32more.Microsoft.Windows.BadgeNotifications.BadgeNotificationGlyph) -> Void: ...
|
|
43
|
+
@winrt_commethod(8)
|
|
44
|
+
def ClearBadge(self) -> Void: ...
|
|
45
|
+
class IBadgeNotificationManagerStatics(ComPtr):
|
|
46
|
+
extends: IInspectable
|
|
47
|
+
_classid_ = 'Microsoft.Windows.BadgeNotifications.IBadgeNotificationManagerStatics'
|
|
48
|
+
_iid_ = Guid('{a6e71616-7c9f-5d22-ad1c-f4ab874087b5}')
|
|
49
|
+
@winrt_commethod(6)
|
|
50
|
+
def get_Current(self) -> win32more.Microsoft.Windows.BadgeNotifications.BadgeNotificationManager: ...
|
|
51
|
+
Current = property(get_Current, None)
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
make_ready(__name__)
|