win32more-Microsoft.WindowsAppSDK 0.7.1.6.250602001__py2.py3-none-any.whl → 0.7.1.7.250310001__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of win32more-Microsoft.WindowsAppSDK might be problematic. Click here for more details.
- win32more/Microsoft/Foundation/__init__.py +1 -1
- 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/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 +118 -0
- win32more/Microsoft/Windows/BadgeNotifications/__init__.py +53 -0
- win32more/Microsoft/Windows/Media/Capture/__init__.py +196 -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.250602001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.7.250310001.dist-info}/METADATA +2 -2
- {win32more_microsoft_windowsappsdk-0.7.1.6.250602001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.7.250310001.dist-info}/RECORD +35 -27
- {win32more_microsoft_windowsappsdk-0.7.1.6.250602001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.7.250310001.dist-info}/WHEEL +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.6.250602001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.7.250310001.dist-info}/licenses/LICENSE (Microsoft.WindowsAppSDK).txt +0 -0
|
@@ -4136,6 +4136,29 @@ class IWindowVisibilityChangedEventArgs(ComPtr):
|
|
|
4136
4136
|
def get_Visible(self) -> Boolean: ...
|
|
4137
4137
|
Handled = property(get_Handled, put_Handled)
|
|
4138
4138
|
Visible = property(get_Visible, None)
|
|
4139
|
+
class IXamlIsland(ComPtr):
|
|
4140
|
+
extends: IInspectable
|
|
4141
|
+
_classid_ = 'Microsoft.UI.Xaml.IXamlIsland'
|
|
4142
|
+
_iid_ = Guid('{845a5c62-b0f3-5db8-b4ff-4142bbd8a044}')
|
|
4143
|
+
@winrt_commethod(6)
|
|
4144
|
+
def get_Content(self) -> win32more.Microsoft.UI.Xaml.UIElement: ...
|
|
4145
|
+
@winrt_commethod(7)
|
|
4146
|
+
def put_Content(self, value: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
|
|
4147
|
+
@winrt_commethod(8)
|
|
4148
|
+
def get_ContentIsland(self) -> win32more.Microsoft.UI.Content.ContentIsland: ...
|
|
4149
|
+
@winrt_commethod(9)
|
|
4150
|
+
def get_SystemBackdrop(self) -> win32more.Microsoft.UI.Xaml.Media.SystemBackdrop: ...
|
|
4151
|
+
@winrt_commethod(10)
|
|
4152
|
+
def put_SystemBackdrop(self, value: win32more.Microsoft.UI.Xaml.Media.SystemBackdrop) -> Void: ...
|
|
4153
|
+
Content = property(get_Content, put_Content)
|
|
4154
|
+
ContentIsland = property(get_ContentIsland, None)
|
|
4155
|
+
SystemBackdrop = property(get_SystemBackdrop, put_SystemBackdrop)
|
|
4156
|
+
class IXamlIslandFactory(ComPtr):
|
|
4157
|
+
extends: IInspectable
|
|
4158
|
+
_classid_ = 'Microsoft.UI.Xaml.IXamlIslandFactory'
|
|
4159
|
+
_iid_ = Guid('{267f707c-5e18-57b4-9ff7-d11da66e4a11}')
|
|
4160
|
+
@winrt_commethod(6)
|
|
4161
|
+
def CreateInstance(self, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.XamlIsland: ...
|
|
4139
4162
|
class IXamlResourceReferenceFailedEventArgs(ComPtr):
|
|
4140
4163
|
extends: IInspectable
|
|
4141
4164
|
_classid_ = 'Microsoft.UI.Xaml.IXamlResourceReferenceFailedEventArgs'
|
|
@@ -4178,6 +4201,13 @@ class IXamlRoot3(ComPtr):
|
|
|
4178
4201
|
@winrt_commethod(6)
|
|
4179
4202
|
def get_CoordinateConverter(self) -> win32more.Microsoft.UI.Content.ContentCoordinateConverter: ...
|
|
4180
4203
|
CoordinateConverter = property(get_CoordinateConverter, None)
|
|
4204
|
+
class IXamlRoot4(ComPtr):
|
|
4205
|
+
extends: IInspectable
|
|
4206
|
+
_classid_ = 'Microsoft.UI.Xaml.IXamlRoot4'
|
|
4207
|
+
_iid_ = Guid('{377bec22-632b-52be-b26f-5edf7838e5ca}')
|
|
4208
|
+
@winrt_commethod(6)
|
|
4209
|
+
def get_ContentIsland(self) -> win32more.Microsoft.UI.Content.ContentIsland: ...
|
|
4210
|
+
ContentIsland = property(get_ContentIsland, None)
|
|
4181
4211
|
class IXamlRootChangedEventArgs(ComPtr):
|
|
4182
4212
|
extends: IInspectable
|
|
4183
4213
|
_classid_ = 'Microsoft.UI.Xaml.IXamlRootChangedEventArgs'
|
|
@@ -5845,7 +5875,7 @@ class VisualTransition(ComPtr):
|
|
|
5845
5875
|
GeneratedEasingFunction = property(get_GeneratedEasingFunction, put_GeneratedEasingFunction)
|
|
5846
5876
|
Storyboard = property(get_Storyboard, put_Storyboard)
|
|
5847
5877
|
To = property(get_To, put_To)
|
|
5848
|
-
WinUIContract: UInt32 =
|
|
5878
|
+
WinUIContract: UInt32 = 524288
|
|
5849
5879
|
class _Window_Meta_(ComPtr.__class__):
|
|
5850
5880
|
pass
|
|
5851
5881
|
class Window(ComPtr, metaclass=_Window_Meta_):
|
|
@@ -5980,7 +6010,36 @@ class WindowVisibilityChangedEventArgs(ComPtr):
|
|
|
5980
6010
|
def get_Visible(self: win32more.Microsoft.UI.Xaml.IWindowVisibilityChangedEventArgs) -> Boolean: ...
|
|
5981
6011
|
Handled = property(get_Handled, put_Handled)
|
|
5982
6012
|
Visible = property(get_Visible, None)
|
|
5983
|
-
XamlContract: UInt32 =
|
|
6013
|
+
XamlContract: UInt32 = 524288
|
|
6014
|
+
class XamlIsland(ComPtr):
|
|
6015
|
+
extends: IInspectable
|
|
6016
|
+
implements: Tuple[ContextManagerProtocol]
|
|
6017
|
+
default_interface: win32more.Microsoft.UI.Xaml.IXamlIsland
|
|
6018
|
+
_classid_ = 'Microsoft.UI.Xaml.XamlIsland'
|
|
6019
|
+
def __init__(self, *args, **kwargs):
|
|
6020
|
+
if kwargs:
|
|
6021
|
+
super().__init__(**kwargs)
|
|
6022
|
+
elif len(args) == 0:
|
|
6023
|
+
super().__init__(move=win32more.Microsoft.UI.Xaml.XamlIsland.CreateInstance(*args, None, None))
|
|
6024
|
+
else:
|
|
6025
|
+
raise ValueError('no matched constructor')
|
|
6026
|
+
@winrt_factorymethod
|
|
6027
|
+
def CreateInstance(cls: win32more.Microsoft.UI.Xaml.IXamlIslandFactory, baseInterface: IInspectable, innerInterface: POINTER(IInspectable)) -> win32more.Microsoft.UI.Xaml.XamlIsland: ...
|
|
6028
|
+
@winrt_mixinmethod
|
|
6029
|
+
def get_Content(self: win32more.Microsoft.UI.Xaml.IXamlIsland) -> win32more.Microsoft.UI.Xaml.UIElement: ...
|
|
6030
|
+
@winrt_mixinmethod
|
|
6031
|
+
def put_Content(self: win32more.Microsoft.UI.Xaml.IXamlIsland, value: win32more.Microsoft.UI.Xaml.UIElement) -> Void: ...
|
|
6032
|
+
@winrt_mixinmethod
|
|
6033
|
+
def get_ContentIsland(self: win32more.Microsoft.UI.Xaml.IXamlIsland) -> win32more.Microsoft.UI.Content.ContentIsland: ...
|
|
6034
|
+
@winrt_mixinmethod
|
|
6035
|
+
def get_SystemBackdrop(self: win32more.Microsoft.UI.Xaml.IXamlIsland) -> win32more.Microsoft.UI.Xaml.Media.SystemBackdrop: ...
|
|
6036
|
+
@winrt_mixinmethod
|
|
6037
|
+
def put_SystemBackdrop(self: win32more.Microsoft.UI.Xaml.IXamlIsland, value: win32more.Microsoft.UI.Xaml.Media.SystemBackdrop) -> Void: ...
|
|
6038
|
+
@winrt_mixinmethod
|
|
6039
|
+
def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
|
|
6040
|
+
Content = property(get_Content, put_Content)
|
|
6041
|
+
ContentIsland = property(get_ContentIsland, None)
|
|
6042
|
+
SystemBackdrop = property(get_SystemBackdrop, put_SystemBackdrop)
|
|
5984
6043
|
class XamlResourceReferenceFailedEventArgs(ComPtr):
|
|
5985
6044
|
extends: IInspectable
|
|
5986
6045
|
default_interface: win32more.Microsoft.UI.Xaml.IXamlResourceReferenceFailedEventArgs
|
|
@@ -6008,7 +6067,10 @@ class XamlRoot(ComPtr):
|
|
|
6008
6067
|
def get_ContentIslandEnvironment(self: win32more.Microsoft.UI.Xaml.IXamlRoot2) -> win32more.Microsoft.UI.Content.ContentIslandEnvironment: ...
|
|
6009
6068
|
@winrt_mixinmethod
|
|
6010
6069
|
def get_CoordinateConverter(self: win32more.Microsoft.UI.Xaml.IXamlRoot3) -> win32more.Microsoft.UI.Content.ContentCoordinateConverter: ...
|
|
6070
|
+
@winrt_mixinmethod
|
|
6071
|
+
def get_ContentIsland(self: win32more.Microsoft.UI.Xaml.IXamlRoot4) -> win32more.Microsoft.UI.Content.ContentIsland: ...
|
|
6011
6072
|
Content = property(get_Content, None)
|
|
6073
|
+
ContentIsland = property(get_ContentIsland, None)
|
|
6012
6074
|
ContentIslandEnvironment = property(get_ContentIslandEnvironment, None)
|
|
6013
6075
|
CoordinateConverter = property(get_CoordinateConverter, None)
|
|
6014
6076
|
IsHostVisible = property(get_IsHostVisible, None)
|
|
@@ -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,122 @@ 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
|
+
RuntimeCompatibilityContract: UInt32 = 65536
|
|
185
|
+
class RuntimeCompatibilityOptions(ComPtr):
|
|
186
|
+
extends: IInspectable
|
|
187
|
+
default_interface: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IRuntimeCompatibilityOptions
|
|
188
|
+
_classid_ = 'Microsoft.Windows.ApplicationModel.WindowsAppRuntime.RuntimeCompatibilityOptions'
|
|
189
|
+
def __init__(self, *args, **kwargs):
|
|
190
|
+
if kwargs:
|
|
191
|
+
super().__init__(**kwargs)
|
|
192
|
+
elif len(args) == 0:
|
|
193
|
+
super().__init__(move=win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.RuntimeCompatibilityOptions.CreateInstance(*args))
|
|
194
|
+
else:
|
|
195
|
+
raise ValueError('no matched constructor')
|
|
196
|
+
@winrt_activatemethod
|
|
197
|
+
def CreateInstance(cls) -> win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.RuntimeCompatibilityOptions: ...
|
|
198
|
+
@winrt_mixinmethod
|
|
199
|
+
def get_PatchLevel1(self: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IRuntimeCompatibilityOptions) -> win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.WindowsAppRuntimeVersion: ...
|
|
200
|
+
@winrt_mixinmethod
|
|
201
|
+
def put_PatchLevel1(self: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IRuntimeCompatibilityOptions, value: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.WindowsAppRuntimeVersion) -> Void: ...
|
|
202
|
+
@winrt_mixinmethod
|
|
203
|
+
def get_PatchLevel2(self: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IRuntimeCompatibilityOptions) -> win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.WindowsAppRuntimeVersion: ...
|
|
204
|
+
@winrt_mixinmethod
|
|
205
|
+
def put_PatchLevel2(self: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IRuntimeCompatibilityOptions, value: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.WindowsAppRuntimeVersion) -> Void: ...
|
|
206
|
+
@winrt_mixinmethod
|
|
207
|
+
def get_DisabledChanges(self: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IRuntimeCompatibilityOptions) -> win32more.Windows.Foundation.Collections.IVector[win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.RuntimeCompatibilityChange]: ...
|
|
208
|
+
@winrt_mixinmethod
|
|
209
|
+
def Apply(self: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IRuntimeCompatibilityOptions) -> Void: ...
|
|
210
|
+
DisabledChanges = property(get_DisabledChanges, None)
|
|
211
|
+
PatchLevel1 = property(get_PatchLevel1, put_PatchLevel1)
|
|
212
|
+
PatchLevel2 = property(get_PatchLevel2, put_PatchLevel2)
|
|
213
|
+
class _RuntimeInfo_Meta_(ComPtr.__class__):
|
|
214
|
+
pass
|
|
215
|
+
class RuntimeInfo(ComPtr, metaclass=_RuntimeInfo_Meta_):
|
|
216
|
+
extends: IInspectable
|
|
217
|
+
_classid_ = 'Microsoft.Windows.ApplicationModel.WindowsAppRuntime.RuntimeInfo'
|
|
218
|
+
@winrt_classmethod
|
|
219
|
+
def get_Version(cls: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IRuntimeInfoStatics) -> win32more.Windows.ApplicationModel.PackageVersion: ...
|
|
220
|
+
@winrt_classmethod
|
|
221
|
+
def get_AsString(cls: win32more.Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IRuntimeInfoStatics) -> hstr: ...
|
|
222
|
+
_RuntimeInfo_Meta_.AsString = property(get_AsString, None)
|
|
223
|
+
_RuntimeInfo_Meta_.Version = property(get_Version, None)
|
|
224
|
+
VersionInfoContract: UInt32 = 65536
|
|
225
|
+
class WindowsAppRuntimeVersion(Structure):
|
|
226
|
+
_name_ = 'Microsoft.Windows.ApplicationModel.WindowsAppRuntime.WindowsAppRuntimeVersion'
|
|
227
|
+
Major: UInt32
|
|
228
|
+
Minor: UInt32
|
|
229
|
+
Patch: UInt32
|
|
112
230
|
|
|
113
231
|
|
|
114
232
|
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__)
|
win32more/appsdk/versioninfo.py
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
WINDOWSAPPSDK_RELEASE_MAJORMINOR =
|
|
1
|
+
WINDOWSAPPSDK_RELEASE_MAJORMINOR = 0x00010007
|
|
2
2
|
WINDOWSAPPSDK_RELEASE_VERSION_SHORTTAG_W = ''
|
|
3
|
-
WINDOWSAPPSDK_RUNTIME_VERSION_UINT64 =
|
|
3
|
+
WINDOWSAPPSDK_RUNTIME_VERSION_UINT64 = 0x1B5801B3009A0000
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: win32more-Microsoft.WindowsAppSDK
|
|
3
|
-
Version: 0.7.1.
|
|
3
|
+
Version: 0.7.1.7.250310001
|
|
4
4
|
License-File: LICENSE (Microsoft.WindowsAppSDK).txt
|
|
5
5
|
Requires-Dist: win32more-core==0.7.*
|
|
6
|
-
Requires-Dist: win32more-microsoft-web-webview2<0.8,>=0.7.1.0.
|
|
6
|
+
Requires-Dist: win32more-microsoft-web-webview2<0.8,>=0.7.1.0.2903.40
|