win32more-Microsoft.WindowsAppSDK 0.7.1.6.250430001__py2.py3-none-any.whl → 0.7.1.7.251107005__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/Imaging/__init__.py +77 -0
- win32more/Microsoft/Security/Authentication/OAuth/__init__.py +591 -0
- win32more/Microsoft/UI/Composition/Core/__init__.py +4 -4
- win32more/Microsoft/UI/Composition/Diagnostics/__init__.py +4 -4
- win32more/Microsoft/UI/Composition/Effects/__init__.py +10 -10
- win32more/Microsoft/UI/Composition/Interactions/__init__.py +93 -93
- win32more/Microsoft/UI/Composition/Scenes/__init__.py +78 -78
- win32more/Microsoft/UI/Composition/SystemBackdrops/__init__.py +42 -42
- win32more/Microsoft/UI/Composition/__init__.py +125 -125
- win32more/Microsoft/UI/Content/__init__.py +676 -35
- win32more/Microsoft/UI/Dispatching/__init__.py +4 -4
- win32more/Microsoft/UI/Input/DragDrop/__init__.py +9 -9
- win32more/Microsoft/UI/Input/__init__.py +53 -45
- win32more/Microsoft/UI/Text/__init__.py +21 -0
- win32more/Microsoft/UI/Windowing/__init__.py +104 -21
- win32more/Microsoft/UI/Xaml/Controls/__init__.py +274 -0
- win32more/Microsoft/UI/Xaml/__init__.py +64 -2
- win32more/Microsoft/Windows/AI/ContentSafety/__init__.py +197 -0
- win32more/Microsoft/Windows/AI/Imaging/__init__.py +366 -0
- win32more/Microsoft/Windows/AI/Text/__init__.py +261 -0
- win32more/Microsoft/Windows/AI/__init__.py +49 -0
- win32more/Microsoft/Windows/AppNotifications/Builder/__init__.py +1 -1
- win32more/Microsoft/Windows/AppNotifications/__init__.py +1 -1
- win32more/Microsoft/Windows/ApplicationModel/Background/UniversalBGTask/__init__.py +29 -0
- win32more/Microsoft/Windows/ApplicationModel/Background/__init__.py +65 -0
- win32more/Microsoft/Windows/ApplicationModel/WindowsAppRuntime/__init__.py +142 -0
- win32more/Microsoft/Windows/BadgeNotifications/__init__.py +53 -0
- win32more/Microsoft/Windows/Media/Capture/__init__.py +196 -0
- win32more/Microsoft/Windows/Widgets/Providers/__init__.py +24 -0
- win32more/Microsoft/Windows/Widgets/__init__.py +1 -1
- win32more/Microsoft/Windows/Workloads/__init__.py +11 -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.7.1.6.250430001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.7.251107005.dist-info}/METADATA +2 -2
- {win32more_microsoft_windowsappsdk-0.7.1.6.250430001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.7.251107005.dist-info}/RECORD +43 -29
- {win32more_microsoft_windowsappsdk-0.7.1.6.250430001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.7.251107005.dist-info}/licenses/LICENSE (Microsoft.WindowsAppSDK).txt +1 -1
- {win32more_microsoft_windowsappsdk-0.7.1.6.250430001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.7.251107005.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,49 @@
|
|
|
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
|
+
InProgress = 0
|
|
24
|
+
Success = 1
|
|
25
|
+
Failure = 2
|
|
26
|
+
class AIFeatureReadyState(Enum, Int32):
|
|
27
|
+
Ready = 0
|
|
28
|
+
NotReady = 1
|
|
29
|
+
NotSupportedOnCurrentSystem = 2
|
|
30
|
+
DisabledByUser = 3
|
|
31
|
+
class IAIFeatureReadyResult(ComPtr):
|
|
32
|
+
extends: IInspectable
|
|
33
|
+
_classid_ = 'Microsoft.Windows.AI.IAIFeatureReadyResult'
|
|
34
|
+
_iid_ = Guid('{936a78a6-c242-5937-9814-e512d4193a6d}')
|
|
35
|
+
@winrt_commethod(6)
|
|
36
|
+
def get_Error(self) -> win32more.Windows.Foundation.HResult: ...
|
|
37
|
+
@winrt_commethod(7)
|
|
38
|
+
def get_ErrorDisplayText(self) -> hstr: ...
|
|
39
|
+
@winrt_commethod(8)
|
|
40
|
+
def get_ExtendedError(self) -> win32more.Windows.Foundation.HResult: ...
|
|
41
|
+
@winrt_commethod(9)
|
|
42
|
+
def get_Status(self) -> win32more.Microsoft.Windows.AI.AIFeatureReadyResultState: ...
|
|
43
|
+
Error = property(get_Error, None)
|
|
44
|
+
ErrorDisplayText = property(get_ErrorDisplayText, None)
|
|
45
|
+
ExtendedError = property(get_ExtendedError, None)
|
|
46
|
+
Status = property(get_Status, None)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
make_ready(__name__)
|
|
@@ -80,7 +80,7 @@ class AppNotificationBuilder(ComPtr):
|
|
|
80
80
|
def SetGroup(self: win32more.Microsoft.Windows.AppNotifications.Builder.IAppNotificationBuilder, group: hstr) -> win32more.Microsoft.Windows.AppNotifications.Builder.AppNotificationBuilder: ...
|
|
81
81
|
@winrt_classmethod
|
|
82
82
|
def IsUrgentScenarioSupported(cls: win32more.Microsoft.Windows.AppNotifications.Builder.IAppNotificationBuilderStatics) -> Boolean: ...
|
|
83
|
-
AppNotificationBuilderContract: UInt32 =
|
|
83
|
+
AppNotificationBuilderContract: UInt32 = 131072
|
|
84
84
|
class AppNotificationButton(ComPtr):
|
|
85
85
|
extends: IInspectable
|
|
86
86
|
default_interface: win32more.Microsoft.Windows.AppNotifications.Builder.IAppNotificationButton
|
|
@@ -169,7 +169,7 @@ class AppNotificationSetting(Enum, Int32):
|
|
|
169
169
|
DisabledByGroupPolicy = 3
|
|
170
170
|
DisabledByManifest = 4
|
|
171
171
|
Unsupported = 5
|
|
172
|
-
AppNotificationsContract: UInt32 =
|
|
172
|
+
AppNotificationsContract: UInt32 = 262144
|
|
173
173
|
class IAppNotification(ComPtr):
|
|
174
174
|
extends: IInspectable
|
|
175
175
|
_classid_ = 'Microsoft.Windows.AppNotifications.IAppNotification'
|
|
@@ -0,0 +1,29 @@
|
|
|
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('{d47c97e5-a23f-5b32-8a2e-b93c8cae4299}')
|
|
9
|
+
@winrt_commethod(6)
|
|
10
|
+
def Run(self, taskInstance: win32more.Windows.ApplicationModel.Background.IBackgroundTaskInstance) -> Void: ...
|
|
11
|
+
class Task(ComPtr):
|
|
12
|
+
extends: IInspectable
|
|
13
|
+
default_interface: win32more.Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.ITask
|
|
14
|
+
_classid_ = 'Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.Task'
|
|
15
|
+
def __init__(self, *args, **kwargs):
|
|
16
|
+
if kwargs:
|
|
17
|
+
super().__init__(**kwargs)
|
|
18
|
+
elif len(args) == 0:
|
|
19
|
+
super().__init__(move=win32more.Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.Task.CreateInstance(*args))
|
|
20
|
+
else:
|
|
21
|
+
raise ValueError('no matched constructor')
|
|
22
|
+
@winrt_activatemethod
|
|
23
|
+
def CreateInstance(cls) -> win32more.Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.Task: ...
|
|
24
|
+
@winrt_mixinmethod
|
|
25
|
+
def Run(self: win32more.Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.ITask, taskInstance: win32more.Windows.ApplicationModel.Background.IBackgroundTaskInstance) -> Void: ...
|
|
26
|
+
UniversalBackgroundTaskContract: UInt32 = 65536
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
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__)
|
|
@@ -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
|
|
@@ -109,6 +111,146 @@ class IDeploymentResultFactory(ComPtr):
|
|
|
109
111
|
_iid_ = Guid('{acd7bdae-4ae6-5cac-8205-1e8c305f953b}')
|
|
110
112
|
@winrt_commethod(6)
|
|
111
113
|
def CreateInstance(self, status: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentStatus, extendedError: win32more.Windows.Foundation.HResult) -> win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentResult: ...
|
|
114
|
+
class IReleaseInfoStatics(ComPtr):
|
|
115
|
+
extends: IInspectable
|
|
116
|
+
_classid_ = 'Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IReleaseInfoStatics'
|
|
117
|
+
_iid_ = Guid('{ed9be8ff-073c-5c66-bf97-ef0ce67405c3}')
|
|
118
|
+
@winrt_commethod(6)
|
|
119
|
+
def get_Major(self) -> UInt16: ...
|
|
120
|
+
@winrt_commethod(7)
|
|
121
|
+
def get_Minor(self) -> UInt16: ...
|
|
122
|
+
@winrt_commethod(8)
|
|
123
|
+
def get_Patch(self) -> UInt16: ...
|
|
124
|
+
@winrt_commethod(9)
|
|
125
|
+
def get_VersionTag(self) -> hstr: ...
|
|
126
|
+
@winrt_commethod(10)
|
|
127
|
+
def get_AsString(self) -> hstr: ...
|
|
128
|
+
AsString = property(get_AsString, None)
|
|
129
|
+
Major = property(get_Major, None)
|
|
130
|
+
Minor = property(get_Minor, None)
|
|
131
|
+
Patch = property(get_Patch, None)
|
|
132
|
+
VersionTag = property(get_VersionTag, None)
|
|
133
|
+
class IRuntimeCompatibilityOptions(ComPtr):
|
|
134
|
+
extends: IInspectable
|
|
135
|
+
_classid_ = 'Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IRuntimeCompatibilityOptions'
|
|
136
|
+
_iid_ = Guid('{d7403bd9-b25d-5b8f-8de1-9dcb57d99f6c}')
|
|
137
|
+
@winrt_commethod(6)
|
|
138
|
+
def get_PatchLevel1(self) -> win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.WindowsAppRuntimeVersion: ...
|
|
139
|
+
@winrt_commethod(7)
|
|
140
|
+
def put_PatchLevel1(self, value: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.WindowsAppRuntimeVersion) -> Void: ...
|
|
141
|
+
@winrt_commethod(8)
|
|
142
|
+
def get_PatchLevel2(self) -> win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.WindowsAppRuntimeVersion: ...
|
|
143
|
+
@winrt_commethod(9)
|
|
144
|
+
def put_PatchLevel2(self, value: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.WindowsAppRuntimeVersion) -> Void: ...
|
|
145
|
+
@winrt_commethod(10)
|
|
146
|
+
def get_DisabledChanges(self) -> win32more.Windows.Foundation.Collections.IVector[win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.RuntimeCompatibilityChange]: ...
|
|
147
|
+
@winrt_commethod(11)
|
|
148
|
+
def Apply(self) -> Void: ...
|
|
149
|
+
DisabledChanges = property(get_DisabledChanges, None)
|
|
150
|
+
PatchLevel1 = property(get_PatchLevel1, put_PatchLevel1)
|
|
151
|
+
PatchLevel2 = property(get_PatchLevel2, put_PatchLevel2)
|
|
152
|
+
class IRuntimeInfoStatics(ComPtr):
|
|
153
|
+
extends: IInspectable
|
|
154
|
+
_classid_ = 'Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IRuntimeInfoStatics'
|
|
155
|
+
_iid_ = Guid('{e5cb9549-8951-590e-a753-8f281cd77ab5}')
|
|
156
|
+
@winrt_commethod(6)
|
|
157
|
+
def get_Version(self) -> win32more.Windows.ApplicationModel.PackageVersion: ...
|
|
158
|
+
@winrt_commethod(7)
|
|
159
|
+
def get_AsString(self) -> hstr: ...
|
|
160
|
+
AsString = property(get_AsString, None)
|
|
161
|
+
Version = property(get_Version, None)
|
|
162
|
+
class _ReleaseInfo_Meta_(ComPtr.__class__):
|
|
163
|
+
pass
|
|
164
|
+
class ReleaseInfo(ComPtr, metaclass=_ReleaseInfo_Meta_):
|
|
165
|
+
extends: IInspectable
|
|
166
|
+
_classid_ = 'Microsoft.Windows.ApplicationModel.WindowsAppRuntime.ReleaseInfo'
|
|
167
|
+
@winrt_classmethod
|
|
168
|
+
def get_Major(cls: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IReleaseInfoStatics) -> UInt16: ...
|
|
169
|
+
@winrt_classmethod
|
|
170
|
+
def get_Minor(cls: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IReleaseInfoStatics) -> UInt16: ...
|
|
171
|
+
@winrt_classmethod
|
|
172
|
+
def get_Patch(cls: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IReleaseInfoStatics) -> UInt16: ...
|
|
173
|
+
@winrt_classmethod
|
|
174
|
+
def get_VersionTag(cls: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IReleaseInfoStatics) -> hstr: ...
|
|
175
|
+
@winrt_classmethod
|
|
176
|
+
def get_AsString(cls: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IReleaseInfoStatics) -> hstr: ...
|
|
177
|
+
_ReleaseInfo_Meta_.AsString = property(get_AsString, None)
|
|
178
|
+
_ReleaseInfo_Meta_.Major = property(get_Major, None)
|
|
179
|
+
_ReleaseInfo_Meta_.Minor = property(get_Minor, None)
|
|
180
|
+
_ReleaseInfo_Meta_.Patch = property(get_Patch, None)
|
|
181
|
+
_ReleaseInfo_Meta_.VersionTag = property(get_VersionTag, None)
|
|
182
|
+
class RuntimeCompatibilityChange(Enum, Int32):
|
|
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
|
+
OrientedVirtualizingPanel_FixBoundsOverflow = 59890418
|
|
207
|
+
ContentIsland_StartupCrashWhenLongRunning = 59707004
|
|
208
|
+
RuntimeCompatibilityContract: UInt32 = 65536
|
|
209
|
+
class RuntimeCompatibilityOptions(ComPtr):
|
|
210
|
+
extends: IInspectable
|
|
211
|
+
default_interface: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IRuntimeCompatibilityOptions
|
|
212
|
+
_classid_ = 'Microsoft.Windows.ApplicationModel.WindowsAppRuntime.RuntimeCompatibilityOptions'
|
|
213
|
+
def __init__(self, *args, **kwargs):
|
|
214
|
+
if kwargs:
|
|
215
|
+
super().__init__(**kwargs)
|
|
216
|
+
elif len(args) == 0:
|
|
217
|
+
super().__init__(move=win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.RuntimeCompatibilityOptions.CreateInstance(*args))
|
|
218
|
+
else:
|
|
219
|
+
raise ValueError('no matched constructor')
|
|
220
|
+
@winrt_activatemethod
|
|
221
|
+
def CreateInstance(cls) -> win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.RuntimeCompatibilityOptions: ...
|
|
222
|
+
@winrt_mixinmethod
|
|
223
|
+
def get_PatchLevel1(self: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IRuntimeCompatibilityOptions) -> win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.WindowsAppRuntimeVersion: ...
|
|
224
|
+
@winrt_mixinmethod
|
|
225
|
+
def put_PatchLevel1(self: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IRuntimeCompatibilityOptions, value: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.WindowsAppRuntimeVersion) -> Void: ...
|
|
226
|
+
@winrt_mixinmethod
|
|
227
|
+
def get_PatchLevel2(self: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IRuntimeCompatibilityOptions) -> win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.WindowsAppRuntimeVersion: ...
|
|
228
|
+
@winrt_mixinmethod
|
|
229
|
+
def put_PatchLevel2(self: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IRuntimeCompatibilityOptions, value: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.WindowsAppRuntimeVersion) -> Void: ...
|
|
230
|
+
@winrt_mixinmethod
|
|
231
|
+
def get_DisabledChanges(self: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IRuntimeCompatibilityOptions) -> win32more.Windows.Foundation.Collections.IVector[win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.RuntimeCompatibilityChange]: ...
|
|
232
|
+
@winrt_mixinmethod
|
|
233
|
+
def Apply(self: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IRuntimeCompatibilityOptions) -> Void: ...
|
|
234
|
+
DisabledChanges = property(get_DisabledChanges, None)
|
|
235
|
+
PatchLevel1 = property(get_PatchLevel1, put_PatchLevel1)
|
|
236
|
+
PatchLevel2 = property(get_PatchLevel2, put_PatchLevel2)
|
|
237
|
+
class _RuntimeInfo_Meta_(ComPtr.__class__):
|
|
238
|
+
pass
|
|
239
|
+
class RuntimeInfo(ComPtr, metaclass=_RuntimeInfo_Meta_):
|
|
240
|
+
extends: IInspectable
|
|
241
|
+
_classid_ = 'Microsoft.Windows.ApplicationModel.WindowsAppRuntime.RuntimeInfo'
|
|
242
|
+
@winrt_classmethod
|
|
243
|
+
def get_Version(cls: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IRuntimeInfoStatics) -> win32more.Windows.ApplicationModel.PackageVersion: ...
|
|
244
|
+
@winrt_classmethod
|
|
245
|
+
def get_AsString(cls: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IRuntimeInfoStatics) -> hstr: ...
|
|
246
|
+
_RuntimeInfo_Meta_.AsString = property(get_AsString, None)
|
|
247
|
+
_RuntimeInfo_Meta_.Version = property(get_Version, None)
|
|
248
|
+
VersionInfoContract: UInt32 = 65536
|
|
249
|
+
class WindowsAppRuntimeVersion(Structure):
|
|
250
|
+
_name_ = 'Microsoft.Windows.ApplicationModel.WindowsAppRuntime.WindowsAppRuntimeVersion'
|
|
251
|
+
Major: UInt32
|
|
252
|
+
Minor: UInt32
|
|
253
|
+
Patch: UInt32
|
|
112
254
|
|
|
113
255
|
|
|
114
256
|
make_ready(__name__)
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from win32more._prelude import *
|
|
3
|
+
import win32more.Microsoft.Windows.BadgeNotifications
|
|
4
|
+
class BadgeNotificationGlyph(Enum, Int32):
|
|
5
|
+
None_ = 0
|
|
6
|
+
Activity = 1
|
|
7
|
+
Alarm = 2
|
|
8
|
+
Alert = 3
|
|
9
|
+
Attention = 4
|
|
10
|
+
Available = 5
|
|
11
|
+
Away = 6
|
|
12
|
+
Busy = 7
|
|
13
|
+
Error = 8
|
|
14
|
+
NewMessage = 9
|
|
15
|
+
Paused = 10
|
|
16
|
+
Playing = 11
|
|
17
|
+
Unavailable = 12
|
|
18
|
+
class _BadgeNotificationManager_Meta_(ComPtr.__class__):
|
|
19
|
+
pass
|
|
20
|
+
class BadgeNotificationManager(ComPtr, metaclass=_BadgeNotificationManager_Meta_):
|
|
21
|
+
extends: IInspectable
|
|
22
|
+
default_interface: win32more.Microsoft.Windows.BadgeNotifications.IBadgeNotificationManager
|
|
23
|
+
_classid_ = 'Microsoft.Windows.BadgeNotifications.BadgeNotificationManager'
|
|
24
|
+
@winrt_mixinmethod
|
|
25
|
+
def SetBadgeAsCount(self: win32more.Microsoft.Windows.BadgeNotifications.IBadgeNotificationManager, notificationCount: UInt32) -> Void: ...
|
|
26
|
+
@winrt_mixinmethod
|
|
27
|
+
def SetBadgeAsGlyph(self: win32more.Microsoft.Windows.BadgeNotifications.IBadgeNotificationManager, glyphValue: win32more.Microsoft.Windows.BadgeNotifications.BadgeNotificationGlyph) -> Void: ...
|
|
28
|
+
@winrt_mixinmethod
|
|
29
|
+
def ClearBadge(self: win32more.Microsoft.Windows.BadgeNotifications.IBadgeNotificationManager) -> Void: ...
|
|
30
|
+
@winrt_classmethod
|
|
31
|
+
def get_Current(cls: win32more.Microsoft.Windows.BadgeNotifications.IBadgeNotificationManagerStatics) -> win32more.Microsoft.Windows.BadgeNotifications.BadgeNotificationManager: ...
|
|
32
|
+
_BadgeNotificationManager_Meta_.Current = property(get_Current, None)
|
|
33
|
+
BadgeNotificationsContract: UInt32 = 65536
|
|
34
|
+
class IBadgeNotificationManager(ComPtr):
|
|
35
|
+
extends: IInspectable
|
|
36
|
+
_classid_ = 'Microsoft.Windows.BadgeNotifications.IBadgeNotificationManager'
|
|
37
|
+
_iid_ = Guid('{11cb6e8f-11ca-53f8-80f6-5330d44ba908}')
|
|
38
|
+
@winrt_commethod(6)
|
|
39
|
+
def SetBadgeAsCount(self, notificationCount: UInt32) -> Void: ...
|
|
40
|
+
@winrt_commethod(7)
|
|
41
|
+
def SetBadgeAsGlyph(self, glyphValue: win32more.Microsoft.Windows.BadgeNotifications.BadgeNotificationGlyph) -> Void: ...
|
|
42
|
+
@winrt_commethod(8)
|
|
43
|
+
def ClearBadge(self) -> Void: ...
|
|
44
|
+
class IBadgeNotificationManagerStatics(ComPtr):
|
|
45
|
+
extends: IInspectable
|
|
46
|
+
_classid_ = 'Microsoft.Windows.BadgeNotifications.IBadgeNotificationManagerStatics'
|
|
47
|
+
_iid_ = Guid('{a6e71616-7c9f-5d22-ad1c-f4ab874087b5}')
|
|
48
|
+
@winrt_commethod(6)
|
|
49
|
+
def get_Current(self) -> win32more.Microsoft.Windows.BadgeNotifications.BadgeNotificationManager: ...
|
|
50
|
+
Current = property(get_Current, None)
|
|
51
|
+
|
|
52
|
+
|
|
53
|
+
make_ready(__name__)
|
|
@@ -0,0 +1,196 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from win32more._prelude import *
|
|
3
|
+
import win32more.Microsoft.UI
|
|
4
|
+
import win32more.Microsoft.Windows.Media.Capture
|
|
5
|
+
import win32more.Windows.Foundation
|
|
6
|
+
import win32more.Windows.Storage
|
|
7
|
+
class CameraCaptureUI(ComPtr):
|
|
8
|
+
extends: IInspectable
|
|
9
|
+
default_interface: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUI
|
|
10
|
+
_classid_ = 'Microsoft.Windows.Media.Capture.CameraCaptureUI'
|
|
11
|
+
def __init__(self, *args, **kwargs):
|
|
12
|
+
if kwargs:
|
|
13
|
+
super().__init__(**kwargs)
|
|
14
|
+
elif len(args) == 1:
|
|
15
|
+
super().__init__(move=win32more.Microsoft.Windows.Media.Capture.CameraCaptureUI.CreateInstance(*args))
|
|
16
|
+
else:
|
|
17
|
+
raise ValueError('no matched constructor')
|
|
18
|
+
@winrt_factorymethod
|
|
19
|
+
def CreateInstance(cls: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIFactory, windowId: win32more.Microsoft.UI.WindowId) -> win32more.Microsoft.Windows.Media.Capture.CameraCaptureUI: ...
|
|
20
|
+
@winrt_mixinmethod
|
|
21
|
+
def get_PhotoSettings(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUI) -> win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIPhotoCaptureSettings: ...
|
|
22
|
+
@winrt_mixinmethod
|
|
23
|
+
def get_VideoSettings(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUI) -> win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIVideoCaptureSettings: ...
|
|
24
|
+
@winrt_mixinmethod
|
|
25
|
+
def CaptureFileAsync(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUI, mode: win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIMode) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Windows.Storage.StorageFile]: ...
|
|
26
|
+
PhotoSettings = property(get_PhotoSettings, None)
|
|
27
|
+
VideoSettings = property(get_VideoSettings, None)
|
|
28
|
+
CameraCaptureUIContract: UInt32 = 65536
|
|
29
|
+
class CameraCaptureUIMaxPhotoResolution(Enum, Int32):
|
|
30
|
+
HighestAvailable = 0
|
|
31
|
+
VerySmallQvga = 1
|
|
32
|
+
SmallVga = 2
|
|
33
|
+
MediumXga = 3
|
|
34
|
+
Large3M = 4
|
|
35
|
+
VeryLarge5M = 5
|
|
36
|
+
class CameraCaptureUIMaxVideoResolution(Enum, Int32):
|
|
37
|
+
HighestAvailable = 0
|
|
38
|
+
LowDefinition = 1
|
|
39
|
+
StandardDefinition = 2
|
|
40
|
+
HighDefinition = 3
|
|
41
|
+
class CameraCaptureUIMode(Enum, Int32):
|
|
42
|
+
PhotoOrVideo = 0
|
|
43
|
+
Photo = 1
|
|
44
|
+
Video = 2
|
|
45
|
+
class CameraCaptureUIPhotoCaptureSettings(ComPtr):
|
|
46
|
+
extends: IInspectable
|
|
47
|
+
default_interface: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings
|
|
48
|
+
_classid_ = 'Microsoft.Windows.Media.Capture.CameraCaptureUIPhotoCaptureSettings'
|
|
49
|
+
def __init__(self, *args, **kwargs):
|
|
50
|
+
if kwargs:
|
|
51
|
+
super().__init__(**kwargs)
|
|
52
|
+
elif len(args) == 0:
|
|
53
|
+
super().__init__(move=win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIPhotoCaptureSettings.CreateInstance(*args))
|
|
54
|
+
else:
|
|
55
|
+
raise ValueError('no matched constructor')
|
|
56
|
+
@winrt_activatemethod
|
|
57
|
+
def CreateInstance(cls) -> win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIPhotoCaptureSettings: ...
|
|
58
|
+
@winrt_mixinmethod
|
|
59
|
+
def get_AllowCropping(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings) -> Boolean: ...
|
|
60
|
+
@winrt_mixinmethod
|
|
61
|
+
def put_AllowCropping(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings, value: Boolean) -> Void: ...
|
|
62
|
+
@winrt_mixinmethod
|
|
63
|
+
def get_CroppedAspectRatio(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings) -> win32more.Windows.Foundation.Size: ...
|
|
64
|
+
@winrt_mixinmethod
|
|
65
|
+
def put_CroppedAspectRatio(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings, value: win32more.Windows.Foundation.Size) -> Void: ...
|
|
66
|
+
@winrt_mixinmethod
|
|
67
|
+
def get_CroppedSizeInPixels(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings) -> win32more.Windows.Foundation.Size: ...
|
|
68
|
+
@winrt_mixinmethod
|
|
69
|
+
def put_CroppedSizeInPixels(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings, value: win32more.Windows.Foundation.Size) -> Void: ...
|
|
70
|
+
@winrt_mixinmethod
|
|
71
|
+
def get_Format(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings) -> win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIPhotoFormat: ...
|
|
72
|
+
@winrt_mixinmethod
|
|
73
|
+
def put_Format(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings, value: win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIPhotoFormat) -> Void: ...
|
|
74
|
+
@winrt_mixinmethod
|
|
75
|
+
def get_MaxResolution(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings) -> win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIMaxPhotoResolution: ...
|
|
76
|
+
@winrt_mixinmethod
|
|
77
|
+
def put_MaxResolution(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings, value: win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIMaxPhotoResolution) -> Void: ...
|
|
78
|
+
AllowCropping = property(get_AllowCropping, put_AllowCropping)
|
|
79
|
+
CroppedAspectRatio = property(get_CroppedAspectRatio, put_CroppedAspectRatio)
|
|
80
|
+
CroppedSizeInPixels = property(get_CroppedSizeInPixels, put_CroppedSizeInPixels)
|
|
81
|
+
Format = property(get_Format, put_Format)
|
|
82
|
+
MaxResolution = property(get_MaxResolution, put_MaxResolution)
|
|
83
|
+
class CameraCaptureUIPhotoFormat(Enum, Int32):
|
|
84
|
+
Jpeg = 0
|
|
85
|
+
Png = 1
|
|
86
|
+
JpegXR = 2
|
|
87
|
+
class CameraCaptureUIVideoCaptureSettings(ComPtr):
|
|
88
|
+
extends: IInspectable
|
|
89
|
+
default_interface: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIVideoCaptureSettings
|
|
90
|
+
_classid_ = 'Microsoft.Windows.Media.Capture.CameraCaptureUIVideoCaptureSettings'
|
|
91
|
+
def __init__(self, *args, **kwargs):
|
|
92
|
+
if kwargs:
|
|
93
|
+
super().__init__(**kwargs)
|
|
94
|
+
elif len(args) == 0:
|
|
95
|
+
super().__init__(move=win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIVideoCaptureSettings.CreateInstance(*args))
|
|
96
|
+
else:
|
|
97
|
+
raise ValueError('no matched constructor')
|
|
98
|
+
@winrt_activatemethod
|
|
99
|
+
def CreateInstance(cls) -> win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIVideoCaptureSettings: ...
|
|
100
|
+
@winrt_mixinmethod
|
|
101
|
+
def get_AllowTrimming(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIVideoCaptureSettings) -> Boolean: ...
|
|
102
|
+
@winrt_mixinmethod
|
|
103
|
+
def put_AllowTrimming(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIVideoCaptureSettings, value: Boolean) -> Void: ...
|
|
104
|
+
@winrt_mixinmethod
|
|
105
|
+
def get_Format(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIVideoCaptureSettings) -> win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIVideoFormat: ...
|
|
106
|
+
@winrt_mixinmethod
|
|
107
|
+
def put_Format(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIVideoCaptureSettings, value: win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIVideoFormat) -> Void: ...
|
|
108
|
+
@winrt_mixinmethod
|
|
109
|
+
def get_MaxDurationInSeconds(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIVideoCaptureSettings) -> Single: ...
|
|
110
|
+
@winrt_mixinmethod
|
|
111
|
+
def put_MaxDurationInSeconds(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIVideoCaptureSettings, value: Single) -> Void: ...
|
|
112
|
+
@winrt_mixinmethod
|
|
113
|
+
def get_MaxResolution(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIVideoCaptureSettings) -> win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIMaxVideoResolution: ...
|
|
114
|
+
@winrt_mixinmethod
|
|
115
|
+
def put_MaxResolution(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIVideoCaptureSettings, value: win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIMaxVideoResolution) -> Void: ...
|
|
116
|
+
AllowTrimming = property(get_AllowTrimming, put_AllowTrimming)
|
|
117
|
+
Format = property(get_Format, put_Format)
|
|
118
|
+
MaxDurationInSeconds = property(get_MaxDurationInSeconds, put_MaxDurationInSeconds)
|
|
119
|
+
MaxResolution = property(get_MaxResolution, put_MaxResolution)
|
|
120
|
+
class CameraCaptureUIVideoFormat(Enum, Int32):
|
|
121
|
+
Mp4 = 0
|
|
122
|
+
Wmv = 1
|
|
123
|
+
class ICameraCaptureUI(ComPtr):
|
|
124
|
+
extends: IInspectable
|
|
125
|
+
_classid_ = 'Microsoft.Windows.Media.Capture.ICameraCaptureUI'
|
|
126
|
+
_iid_ = Guid('{c001d024-c617-5742-9ae1-8fd31be07f6c}')
|
|
127
|
+
@winrt_commethod(6)
|
|
128
|
+
def get_PhotoSettings(self) -> win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIPhotoCaptureSettings: ...
|
|
129
|
+
@winrt_commethod(7)
|
|
130
|
+
def get_VideoSettings(self) -> win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIVideoCaptureSettings: ...
|
|
131
|
+
@winrt_commethod(8)
|
|
132
|
+
def CaptureFileAsync(self, mode: win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIMode) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Windows.Storage.StorageFile]: ...
|
|
133
|
+
PhotoSettings = property(get_PhotoSettings, None)
|
|
134
|
+
VideoSettings = property(get_VideoSettings, None)
|
|
135
|
+
class ICameraCaptureUIFactory(ComPtr):
|
|
136
|
+
extends: IInspectable
|
|
137
|
+
_classid_ = 'Microsoft.Windows.Media.Capture.ICameraCaptureUIFactory'
|
|
138
|
+
_iid_ = Guid('{2b49623d-5f22-5fee-991f-14f24592a3c2}')
|
|
139
|
+
@winrt_commethod(6)
|
|
140
|
+
def CreateInstance(self, windowId: win32more.Microsoft.UI.WindowId) -> win32more.Microsoft.Windows.Media.Capture.CameraCaptureUI: ...
|
|
141
|
+
class ICameraCaptureUIPhotoCaptureSettings(ComPtr):
|
|
142
|
+
extends: IInspectable
|
|
143
|
+
_classid_ = 'Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings'
|
|
144
|
+
_iid_ = Guid('{19fe2155-d018-53fc-bbdc-5781a94687a0}')
|
|
145
|
+
@winrt_commethod(6)
|
|
146
|
+
def get_AllowCropping(self) -> Boolean: ...
|
|
147
|
+
@winrt_commethod(7)
|
|
148
|
+
def put_AllowCropping(self, value: Boolean) -> Void: ...
|
|
149
|
+
@winrt_commethod(8)
|
|
150
|
+
def get_CroppedAspectRatio(self) -> win32more.Windows.Foundation.Size: ...
|
|
151
|
+
@winrt_commethod(9)
|
|
152
|
+
def put_CroppedAspectRatio(self, value: win32more.Windows.Foundation.Size) -> Void: ...
|
|
153
|
+
@winrt_commethod(10)
|
|
154
|
+
def get_CroppedSizeInPixels(self) -> win32more.Windows.Foundation.Size: ...
|
|
155
|
+
@winrt_commethod(11)
|
|
156
|
+
def put_CroppedSizeInPixels(self, value: win32more.Windows.Foundation.Size) -> Void: ...
|
|
157
|
+
@winrt_commethod(12)
|
|
158
|
+
def get_Format(self) -> win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIPhotoFormat: ...
|
|
159
|
+
@winrt_commethod(13)
|
|
160
|
+
def put_Format(self, value: win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIPhotoFormat) -> Void: ...
|
|
161
|
+
@winrt_commethod(14)
|
|
162
|
+
def get_MaxResolution(self) -> win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIMaxPhotoResolution: ...
|
|
163
|
+
@winrt_commethod(15)
|
|
164
|
+
def put_MaxResolution(self, value: win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIMaxPhotoResolution) -> Void: ...
|
|
165
|
+
AllowCropping = property(get_AllowCropping, put_AllowCropping)
|
|
166
|
+
CroppedAspectRatio = property(get_CroppedAspectRatio, put_CroppedAspectRatio)
|
|
167
|
+
CroppedSizeInPixels = property(get_CroppedSizeInPixels, put_CroppedSizeInPixels)
|
|
168
|
+
Format = property(get_Format, put_Format)
|
|
169
|
+
MaxResolution = property(get_MaxResolution, put_MaxResolution)
|
|
170
|
+
class ICameraCaptureUIVideoCaptureSettings(ComPtr):
|
|
171
|
+
extends: IInspectable
|
|
172
|
+
_classid_ = 'Microsoft.Windows.Media.Capture.ICameraCaptureUIVideoCaptureSettings'
|
|
173
|
+
_iid_ = Guid('{47dd74f6-83b7-5123-bbdf-d757201d1ee8}')
|
|
174
|
+
@winrt_commethod(6)
|
|
175
|
+
def get_AllowTrimming(self) -> Boolean: ...
|
|
176
|
+
@winrt_commethod(7)
|
|
177
|
+
def put_AllowTrimming(self, value: Boolean) -> Void: ...
|
|
178
|
+
@winrt_commethod(8)
|
|
179
|
+
def get_Format(self) -> win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIVideoFormat: ...
|
|
180
|
+
@winrt_commethod(9)
|
|
181
|
+
def put_Format(self, value: win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIVideoFormat) -> Void: ...
|
|
182
|
+
@winrt_commethod(10)
|
|
183
|
+
def get_MaxDurationInSeconds(self) -> Single: ...
|
|
184
|
+
@winrt_commethod(11)
|
|
185
|
+
def put_MaxDurationInSeconds(self, value: Single) -> Void: ...
|
|
186
|
+
@winrt_commethod(12)
|
|
187
|
+
def get_MaxResolution(self) -> win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIMaxVideoResolution: ...
|
|
188
|
+
@winrt_commethod(13)
|
|
189
|
+
def put_MaxResolution(self, value: win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIMaxVideoResolution) -> Void: ...
|
|
190
|
+
AllowTrimming = property(get_AllowTrimming, put_AllowTrimming)
|
|
191
|
+
Format = property(get_Format, put_Format)
|
|
192
|
+
MaxDurationInSeconds = property(get_MaxDurationInSeconds, put_MaxDurationInSeconds)
|
|
193
|
+
MaxResolution = property(get_MaxResolution, put_MaxResolution)
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
make_ready(__name__)
|
|
@@ -100,6 +100,13 @@ class IWidgetInfo2(ComPtr):
|
|
|
100
100
|
@winrt_commethod(6)
|
|
101
101
|
def get_IsPlaceholderContent(self) -> Boolean: ...
|
|
102
102
|
IsPlaceholderContent = property(get_IsPlaceholderContent, None)
|
|
103
|
+
class IWidgetInfo3(ComPtr):
|
|
104
|
+
extends: IInspectable
|
|
105
|
+
_classid_ = 'Microsoft.Windows.Widgets.Providers.IWidgetInfo3'
|
|
106
|
+
_iid_ = Guid('{965538cd-289d-54ab-916e-9315ebf97ea4}')
|
|
107
|
+
@winrt_commethod(6)
|
|
108
|
+
def get_Rank(self) -> Int32: ...
|
|
109
|
+
Rank = property(get_Rank, None)
|
|
103
110
|
class IWidgetManager(ComPtr):
|
|
104
111
|
extends: IInspectable
|
|
105
112
|
_classid_ = 'Microsoft.Windows.Widgets.Providers.IWidgetManager'
|
|
@@ -272,6 +279,15 @@ class IWidgetUpdateRequestOptions2(ComPtr):
|
|
|
272
279
|
@winrt_commethod(7)
|
|
273
280
|
def put_IsPlaceholderContent(self, value: win32more.Windows.Foundation.IReference[Boolean]) -> Void: ...
|
|
274
281
|
IsPlaceholderContent = property(get_IsPlaceholderContent, put_IsPlaceholderContent)
|
|
282
|
+
class IWidgetUpdateRequestOptions3(ComPtr):
|
|
283
|
+
extends: IInspectable
|
|
284
|
+
_classid_ = 'Microsoft.Windows.Widgets.Providers.IWidgetUpdateRequestOptions3'
|
|
285
|
+
_iid_ = Guid('{a78e2a8b-a26c-596a-ade3-db8f4c72fe02}')
|
|
286
|
+
@winrt_commethod(6)
|
|
287
|
+
def get_Rank(self) -> win32more.Windows.Foundation.IReference[Int32]: ...
|
|
288
|
+
@winrt_commethod(7)
|
|
289
|
+
def put_Rank(self, value: win32more.Windows.Foundation.IReference[Int32]) -> Void: ...
|
|
290
|
+
Rank = property(get_Rank, put_Rank)
|
|
275
291
|
class IWidgetUpdateRequestOptionsFactory(ComPtr):
|
|
276
292
|
extends: IInspectable
|
|
277
293
|
_classid_ = 'Microsoft.Windows.Widgets.Providers.IWidgetUpdateRequestOptionsFactory'
|
|
@@ -370,10 +386,13 @@ class WidgetInfo(ComPtr):
|
|
|
370
386
|
def get_LastUpdateTime(self: win32more.Microsoft.Windows.Widgets.Providers.IWidgetInfo) -> win32more.Windows.Foundation.DateTime: ...
|
|
371
387
|
@winrt_mixinmethod
|
|
372
388
|
def get_IsPlaceholderContent(self: win32more.Microsoft.Windows.Widgets.Providers.IWidgetInfo2) -> Boolean: ...
|
|
389
|
+
@winrt_mixinmethod
|
|
390
|
+
def get_Rank(self: win32more.Microsoft.Windows.Widgets.Providers.IWidgetInfo3) -> Int32: ...
|
|
373
391
|
CustomState = property(get_CustomState, None)
|
|
374
392
|
Data = property(get_Data, None)
|
|
375
393
|
IsPlaceholderContent = property(get_IsPlaceholderContent, None)
|
|
376
394
|
LastUpdateTime = property(get_LastUpdateTime, None)
|
|
395
|
+
Rank = property(get_Rank, None)
|
|
377
396
|
Template = property(get_Template, None)
|
|
378
397
|
WidgetContext = property(get_WidgetContext, None)
|
|
379
398
|
class WidgetManager(ComPtr):
|
|
@@ -499,11 +518,16 @@ class WidgetUpdateRequestOptions(ComPtr, metaclass=_WidgetUpdateRequestOptions_M
|
|
|
499
518
|
def get_IsPlaceholderContent(self: win32more.Microsoft.Windows.Widgets.Providers.IWidgetUpdateRequestOptions2) -> win32more.Windows.Foundation.IReference[Boolean]: ...
|
|
500
519
|
@winrt_mixinmethod
|
|
501
520
|
def put_IsPlaceholderContent(self: win32more.Microsoft.Windows.Widgets.Providers.IWidgetUpdateRequestOptions2, value: win32more.Windows.Foundation.IReference[Boolean]) -> Void: ...
|
|
521
|
+
@winrt_mixinmethod
|
|
522
|
+
def get_Rank(self: win32more.Microsoft.Windows.Widgets.Providers.IWidgetUpdateRequestOptions3) -> win32more.Windows.Foundation.IReference[Int32]: ...
|
|
523
|
+
@winrt_mixinmethod
|
|
524
|
+
def put_Rank(self: win32more.Microsoft.Windows.Widgets.Providers.IWidgetUpdateRequestOptions3, value: win32more.Windows.Foundation.IReference[Int32]) -> Void: ...
|
|
502
525
|
@winrt_classmethod
|
|
503
526
|
def get_UnsetValue(cls: win32more.Microsoft.Windows.Widgets.Providers.IWidgetUpdateRequestOptionsStatics) -> hstr: ...
|
|
504
527
|
CustomState = property(get_CustomState, put_CustomState)
|
|
505
528
|
Data = property(get_Data, put_Data)
|
|
506
529
|
IsPlaceholderContent = property(get_IsPlaceholderContent, put_IsPlaceholderContent)
|
|
530
|
+
Rank = property(get_Rank, put_Rank)
|
|
507
531
|
Template = property(get_Template, put_Template)
|
|
508
532
|
WidgetId = property(get_WidgetId, None)
|
|
509
533
|
_WidgetUpdateRequestOptions_Meta_.UnsetValue = property(get_UnsetValue, None)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from win32more._prelude import *
|
|
3
|
+
import win32more.Microsoft.Windows.Workloads
|
|
4
|
+
class WorkloadPriority(Enum, Int32):
|
|
5
|
+
Undefined = 0
|
|
6
|
+
Background = 1
|
|
7
|
+
Foreground = 9
|
|
8
|
+
WorkloadsContract: UInt32 = 524288
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
make_ready(__name__)
|