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,221 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from win32more._prelude import *
|
|
3
|
+
import win32more.Microsoft.Windows.Foundation
|
|
4
|
+
DecimalContract: UInt32 = 65536
|
|
5
|
+
class DecimalHelper(ComPtr):
|
|
6
|
+
extends: IInspectable
|
|
7
|
+
_classid_ = 'Microsoft.Windows.Foundation.DecimalHelper'
|
|
8
|
+
@winrt_classmethod
|
|
9
|
+
def FromBoolean(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: Boolean) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
10
|
+
@winrt_classmethod
|
|
11
|
+
def FromInt16(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: Int16) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
12
|
+
@winrt_classmethod
|
|
13
|
+
def FromInt32(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: Int32) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
14
|
+
@winrt_classmethod
|
|
15
|
+
def FromInt64(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: Int64) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
16
|
+
@winrt_classmethod
|
|
17
|
+
def FromUInt8(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: Byte) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
18
|
+
@winrt_classmethod
|
|
19
|
+
def FromUInt16(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: UInt16) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
20
|
+
@winrt_classmethod
|
|
21
|
+
def FromUInt32(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: UInt32) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
22
|
+
@winrt_classmethod
|
|
23
|
+
def FromUInt64(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: UInt64) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
24
|
+
@winrt_classmethod
|
|
25
|
+
def FromSingle(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: Single) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
26
|
+
@winrt_classmethod
|
|
27
|
+
def FromDouble(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: Double) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
28
|
+
@winrt_classmethod
|
|
29
|
+
def FromString(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, source: hstr) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
30
|
+
@winrt_classmethod
|
|
31
|
+
def FromStringInvariant(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, source: hstr) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
32
|
+
@winrt_classmethod
|
|
33
|
+
def FromStringWithLocale(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, source: hstr, localeName: hstr) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
34
|
+
@winrt_classmethod
|
|
35
|
+
def TryFromString(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, source: hstr, value: POINTER(win32more.Microsoft.Windows.Foundation.DecimalValue)) -> Boolean: ...
|
|
36
|
+
@winrt_classmethod
|
|
37
|
+
def TryFromStringInvariant(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, source: hstr, value: POINTER(win32more.Microsoft.Windows.Foundation.DecimalValue)) -> Boolean: ...
|
|
38
|
+
@winrt_classmethod
|
|
39
|
+
def TryFromStringWithLocale(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, source: hstr, localeName: hstr, value: POINTER(win32more.Microsoft.Windows.Foundation.DecimalValue)) -> Boolean: ...
|
|
40
|
+
@winrt_classmethod
|
|
41
|
+
def ToBoolean(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Boolean: ...
|
|
42
|
+
@winrt_classmethod
|
|
43
|
+
def ToInt16(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Int16: ...
|
|
44
|
+
@winrt_classmethod
|
|
45
|
+
def ToInt32(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Int32: ...
|
|
46
|
+
@winrt_classmethod
|
|
47
|
+
def ToInt64(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Int64: ...
|
|
48
|
+
@winrt_classmethod
|
|
49
|
+
def ToUInt8(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Byte: ...
|
|
50
|
+
@winrt_classmethod
|
|
51
|
+
def ToUInt16(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> UInt16: ...
|
|
52
|
+
@winrt_classmethod
|
|
53
|
+
def ToUInt32(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> UInt32: ...
|
|
54
|
+
@winrt_classmethod
|
|
55
|
+
def ToUInt64(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> UInt64: ...
|
|
56
|
+
@winrt_classmethod
|
|
57
|
+
def ToSingle(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Single: ...
|
|
58
|
+
@winrt_classmethod
|
|
59
|
+
def ToDouble(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Double: ...
|
|
60
|
+
@winrt_classmethod
|
|
61
|
+
def ToString(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> hstr: ...
|
|
62
|
+
@winrt_classmethod
|
|
63
|
+
def ToStringInvariant(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> hstr: ...
|
|
64
|
+
@winrt_classmethod
|
|
65
|
+
def ToStringWithLocale(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue, localeName: hstr) -> hstr: ...
|
|
66
|
+
@winrt_classmethod
|
|
67
|
+
def Equals(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, left: win32more.Microsoft.Windows.Foundation.DecimalValue, right: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Boolean: ...
|
|
68
|
+
@winrt_classmethod
|
|
69
|
+
def Compare(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, left: win32more.Microsoft.Windows.Foundation.DecimalValue, right: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Int32: ...
|
|
70
|
+
@winrt_classmethod
|
|
71
|
+
def IsValid(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Boolean: ...
|
|
72
|
+
@winrt_classmethod
|
|
73
|
+
def IsInteger(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Boolean: ...
|
|
74
|
+
@winrt_classmethod
|
|
75
|
+
def Scale(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Byte: ...
|
|
76
|
+
@winrt_classmethod
|
|
77
|
+
def Sign(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Int32: ...
|
|
78
|
+
@winrt_classmethod
|
|
79
|
+
def MaxScale(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics) -> Byte: ...
|
|
80
|
+
@winrt_classmethod
|
|
81
|
+
def MaxValue(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
82
|
+
@winrt_classmethod
|
|
83
|
+
def MinValue(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
84
|
+
@winrt_classmethod
|
|
85
|
+
def Negate(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
86
|
+
@winrt_classmethod
|
|
87
|
+
def Abs(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
88
|
+
@winrt_classmethod
|
|
89
|
+
def Truncate(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
90
|
+
@winrt_classmethod
|
|
91
|
+
def Floor(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
92
|
+
@winrt_classmethod
|
|
93
|
+
def Ceiling(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
94
|
+
@winrt_classmethod
|
|
95
|
+
def Round(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue, decimalPlaces: Int32) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
96
|
+
@winrt_classmethod
|
|
97
|
+
def Clamp(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, value: win32more.Microsoft.Windows.Foundation.DecimalValue, min: win32more.Microsoft.Windows.Foundation.DecimalValue, max: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
98
|
+
@winrt_classmethod
|
|
99
|
+
def Add(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, left: win32more.Microsoft.Windows.Foundation.DecimalValue, right: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
100
|
+
@winrt_classmethod
|
|
101
|
+
def Subtract(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, left: win32more.Microsoft.Windows.Foundation.DecimalValue, right: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
102
|
+
@winrt_classmethod
|
|
103
|
+
def Multiply(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, left: win32more.Microsoft.Windows.Foundation.DecimalValue, right: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
104
|
+
@winrt_classmethod
|
|
105
|
+
def Divide(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, left: win32more.Microsoft.Windows.Foundation.DecimalValue, right: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
106
|
+
@winrt_classmethod
|
|
107
|
+
def Modulo(cls: win32more.Microsoft.Windows.Foundation.IDecimalHelperStatics, left: win32more.Microsoft.Windows.Foundation.DecimalValue, right: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
108
|
+
class DecimalValue(Structure):
|
|
109
|
+
_name_ = 'Microsoft.Windows.Foundation.DecimalValue'
|
|
110
|
+
Reserved: UInt16
|
|
111
|
+
Scale: Byte
|
|
112
|
+
Sign: Byte
|
|
113
|
+
Hi32: UInt32
|
|
114
|
+
Lo64: UInt64
|
|
115
|
+
class IDecimalHelperStatics(ComPtr):
|
|
116
|
+
extends: IInspectable
|
|
117
|
+
_classid_ = 'Microsoft.Windows.Foundation.IDecimalHelperStatics'
|
|
118
|
+
_iid_ = Guid('{ba09a415-e26c-55b3-9b76-b3affd556a7f}')
|
|
119
|
+
@winrt_commethod(6)
|
|
120
|
+
def FromBoolean(self, value: Boolean) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
121
|
+
@winrt_commethod(7)
|
|
122
|
+
def FromInt16(self, value: Int16) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
123
|
+
@winrt_commethod(8)
|
|
124
|
+
def FromInt32(self, value: Int32) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
125
|
+
@winrt_commethod(9)
|
|
126
|
+
def FromInt64(self, value: Int64) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
127
|
+
@winrt_commethod(10)
|
|
128
|
+
def FromUInt8(self, value: Byte) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
129
|
+
@winrt_commethod(11)
|
|
130
|
+
def FromUInt16(self, value: UInt16) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
131
|
+
@winrt_commethod(12)
|
|
132
|
+
def FromUInt32(self, value: UInt32) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
133
|
+
@winrt_commethod(13)
|
|
134
|
+
def FromUInt64(self, value: UInt64) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
135
|
+
@winrt_commethod(14)
|
|
136
|
+
def FromSingle(self, value: Single) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
137
|
+
@winrt_commethod(15)
|
|
138
|
+
def FromDouble(self, value: Double) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
139
|
+
@winrt_commethod(16)
|
|
140
|
+
def FromString(self, source: hstr) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
141
|
+
@winrt_commethod(17)
|
|
142
|
+
def FromStringInvariant(self, source: hstr) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
143
|
+
@winrt_commethod(18)
|
|
144
|
+
def FromStringWithLocale(self, source: hstr, localeName: hstr) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
145
|
+
@winrt_commethod(19)
|
|
146
|
+
def TryFromString(self, source: hstr, value: POINTER(win32more.Microsoft.Windows.Foundation.DecimalValue)) -> Boolean: ...
|
|
147
|
+
@winrt_commethod(20)
|
|
148
|
+
def TryFromStringInvariant(self, source: hstr, value: POINTER(win32more.Microsoft.Windows.Foundation.DecimalValue)) -> Boolean: ...
|
|
149
|
+
@winrt_commethod(21)
|
|
150
|
+
def TryFromStringWithLocale(self, source: hstr, localeName: hstr, value: POINTER(win32more.Microsoft.Windows.Foundation.DecimalValue)) -> Boolean: ...
|
|
151
|
+
@winrt_commethod(22)
|
|
152
|
+
def ToBoolean(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Boolean: ...
|
|
153
|
+
@winrt_commethod(23)
|
|
154
|
+
def ToInt16(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Int16: ...
|
|
155
|
+
@winrt_commethod(24)
|
|
156
|
+
def ToInt32(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Int32: ...
|
|
157
|
+
@winrt_commethod(25)
|
|
158
|
+
def ToInt64(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Int64: ...
|
|
159
|
+
@winrt_commethod(26)
|
|
160
|
+
def ToUInt8(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Byte: ...
|
|
161
|
+
@winrt_commethod(27)
|
|
162
|
+
def ToUInt16(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> UInt16: ...
|
|
163
|
+
@winrt_commethod(28)
|
|
164
|
+
def ToUInt32(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> UInt32: ...
|
|
165
|
+
@winrt_commethod(29)
|
|
166
|
+
def ToUInt64(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> UInt64: ...
|
|
167
|
+
@winrt_commethod(30)
|
|
168
|
+
def ToSingle(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Single: ...
|
|
169
|
+
@winrt_commethod(31)
|
|
170
|
+
def ToDouble(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Double: ...
|
|
171
|
+
@winrt_commethod(32)
|
|
172
|
+
def ToString(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> hstr: ...
|
|
173
|
+
@winrt_commethod(33)
|
|
174
|
+
def ToStringInvariant(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> hstr: ...
|
|
175
|
+
@winrt_commethod(34)
|
|
176
|
+
def ToStringWithLocale(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue, localeName: hstr) -> hstr: ...
|
|
177
|
+
@winrt_commethod(35)
|
|
178
|
+
def Equals(self, left: win32more.Microsoft.Windows.Foundation.DecimalValue, right: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Boolean: ...
|
|
179
|
+
@winrt_commethod(36)
|
|
180
|
+
def Compare(self, left: win32more.Microsoft.Windows.Foundation.DecimalValue, right: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Int32: ...
|
|
181
|
+
@winrt_commethod(37)
|
|
182
|
+
def IsValid(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Boolean: ...
|
|
183
|
+
@winrt_commethod(38)
|
|
184
|
+
def IsInteger(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Boolean: ...
|
|
185
|
+
@winrt_commethod(39)
|
|
186
|
+
def Scale(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Byte: ...
|
|
187
|
+
@winrt_commethod(40)
|
|
188
|
+
def Sign(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> Int32: ...
|
|
189
|
+
@winrt_commethod(41)
|
|
190
|
+
def MaxScale(self) -> Byte: ...
|
|
191
|
+
@winrt_commethod(42)
|
|
192
|
+
def MaxValue(self) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
193
|
+
@winrt_commethod(43)
|
|
194
|
+
def MinValue(self) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
195
|
+
@winrt_commethod(44)
|
|
196
|
+
def Negate(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
197
|
+
@winrt_commethod(45)
|
|
198
|
+
def Abs(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
199
|
+
@winrt_commethod(46)
|
|
200
|
+
def Truncate(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
201
|
+
@winrt_commethod(47)
|
|
202
|
+
def Floor(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
203
|
+
@winrt_commethod(48)
|
|
204
|
+
def Ceiling(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
205
|
+
@winrt_commethod(49)
|
|
206
|
+
def Round(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue, decimalPlaces: Int32) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
207
|
+
@winrt_commethod(50)
|
|
208
|
+
def Clamp(self, value: win32more.Microsoft.Windows.Foundation.DecimalValue, min: win32more.Microsoft.Windows.Foundation.DecimalValue, max: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
209
|
+
@winrt_commethod(51)
|
|
210
|
+
def Add(self, left: win32more.Microsoft.Windows.Foundation.DecimalValue, right: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
211
|
+
@winrt_commethod(52)
|
|
212
|
+
def Subtract(self, left: win32more.Microsoft.Windows.Foundation.DecimalValue, right: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
213
|
+
@winrt_commethod(53)
|
|
214
|
+
def Multiply(self, left: win32more.Microsoft.Windows.Foundation.DecimalValue, right: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
215
|
+
@winrt_commethod(54)
|
|
216
|
+
def Divide(self, left: win32more.Microsoft.Windows.Foundation.DecimalValue, right: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
217
|
+
@winrt_commethod(55)
|
|
218
|
+
def Modulo(self, left: win32more.Microsoft.Windows.Foundation.DecimalValue, right: win32more.Microsoft.Windows.Foundation.DecimalValue) -> win32more.Microsoft.Windows.Foundation.DecimalValue: ...
|
|
219
|
+
|
|
220
|
+
|
|
221
|
+
make_ready(__name__)
|
|
@@ -667,6 +667,7 @@ class IStagePackageOptions(ComPtr):
|
|
|
667
667
|
TargetVolume = property(get_TargetVolume, put_TargetVolume)
|
|
668
668
|
PackageDeploymentContract: UInt32 = 131072
|
|
669
669
|
class PackageDeploymentFeature(Enum, Int32):
|
|
670
|
+
_name_ = 'Microsoft.Windows.Management.Deployment.PackageDeploymentFeature'
|
|
670
671
|
PackageUriScheme_ms_uup = 1
|
|
671
672
|
IsPackageReadyOrNewerAvailable = 2
|
|
672
673
|
RemovePackageByUri = 3
|
|
@@ -766,6 +767,7 @@ class PackageDeploymentProgress(Structure):
|
|
|
766
767
|
Status: win32more.Microsoft.Windows.Management.Deployment.PackageDeploymentProgressStatus
|
|
767
768
|
Progress: Double
|
|
768
769
|
class PackageDeploymentProgressStatus(Enum, Int32):
|
|
770
|
+
_name_ = 'Microsoft.Windows.Management.Deployment.PackageDeploymentProgressStatus'
|
|
769
771
|
Queued = 0
|
|
770
772
|
InProgress = 1
|
|
771
773
|
CompletedSuccess = 2
|
|
@@ -790,10 +792,12 @@ class PackageDeploymentResult(ComPtr):
|
|
|
790
792
|
ExtendedError = property(get_ExtendedError, None)
|
|
791
793
|
Status = property(get_Status, None)
|
|
792
794
|
class PackageDeploymentStatus(Enum, Int32):
|
|
795
|
+
_name_ = 'Microsoft.Windows.Management.Deployment.PackageDeploymentStatus'
|
|
793
796
|
InProgress = 0
|
|
794
797
|
CompletedSuccess = 1
|
|
795
798
|
CompletedFailure = 2
|
|
796
799
|
class PackageReadyOrNewerAvailableStatus(Enum, Int32):
|
|
800
|
+
_name_ = 'Microsoft.Windows.Management.Deployment.PackageReadyOrNewerAvailableStatus'
|
|
797
801
|
NotReady = 0
|
|
798
802
|
Ready = 1
|
|
799
803
|
NewerAvailable = 2
|
|
@@ -1167,6 +1171,7 @@ class StagePackageOptions(ComPtr):
|
|
|
1167
1171
|
StubPackageOption = property(get_StubPackageOption, put_StubPackageOption)
|
|
1168
1172
|
TargetVolume = property(get_TargetVolume, put_TargetVolume)
|
|
1169
1173
|
class StubPackageOption(Enum, Int32):
|
|
1174
|
+
_name_ = 'Microsoft.Windows.Management.Deployment.StubPackageOption'
|
|
1170
1175
|
Default = 0
|
|
1171
1176
|
InstallFull = 1
|
|
1172
1177
|
InstallStub = 2
|
|
@@ -0,0 +1,201 @@
|
|
|
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
|
+
_name_ = 'Microsoft.Windows.Media.Capture.CameraCaptureUIMaxPhotoResolution'
|
|
31
|
+
HighestAvailable = 0
|
|
32
|
+
VerySmallQvga = 1
|
|
33
|
+
SmallVga = 2
|
|
34
|
+
MediumXga = 3
|
|
35
|
+
Large3M = 4
|
|
36
|
+
VeryLarge5M = 5
|
|
37
|
+
class CameraCaptureUIMaxVideoResolution(Enum, Int32):
|
|
38
|
+
_name_ = 'Microsoft.Windows.Media.Capture.CameraCaptureUIMaxVideoResolution'
|
|
39
|
+
HighestAvailable = 0
|
|
40
|
+
LowDefinition = 1
|
|
41
|
+
StandardDefinition = 2
|
|
42
|
+
HighDefinition = 3
|
|
43
|
+
class CameraCaptureUIMode(Enum, Int32):
|
|
44
|
+
_name_ = 'Microsoft.Windows.Media.Capture.CameraCaptureUIMode'
|
|
45
|
+
PhotoOrVideo = 0
|
|
46
|
+
Photo = 1
|
|
47
|
+
Video = 2
|
|
48
|
+
class CameraCaptureUIPhotoCaptureSettings(ComPtr):
|
|
49
|
+
extends: IInspectable
|
|
50
|
+
default_interface: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings
|
|
51
|
+
_classid_ = 'Microsoft.Windows.Media.Capture.CameraCaptureUIPhotoCaptureSettings'
|
|
52
|
+
def __init__(self, *args, **kwargs):
|
|
53
|
+
if kwargs:
|
|
54
|
+
super().__init__(**kwargs)
|
|
55
|
+
elif len(args) == 0:
|
|
56
|
+
super().__init__(move=win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIPhotoCaptureSettings.CreateInstance(*args))
|
|
57
|
+
else:
|
|
58
|
+
raise ValueError('no matched constructor')
|
|
59
|
+
@winrt_activatemethod
|
|
60
|
+
def CreateInstance(cls) -> win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIPhotoCaptureSettings: ...
|
|
61
|
+
@winrt_mixinmethod
|
|
62
|
+
def get_AllowCropping(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings) -> Boolean: ...
|
|
63
|
+
@winrt_mixinmethod
|
|
64
|
+
def put_AllowCropping(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings, value: Boolean) -> Void: ...
|
|
65
|
+
@winrt_mixinmethod
|
|
66
|
+
def get_CroppedAspectRatio(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings) -> win32more.Windows.Foundation.Size: ...
|
|
67
|
+
@winrt_mixinmethod
|
|
68
|
+
def put_CroppedAspectRatio(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings, value: win32more.Windows.Foundation.Size) -> Void: ...
|
|
69
|
+
@winrt_mixinmethod
|
|
70
|
+
def get_CroppedSizeInPixels(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings) -> win32more.Windows.Foundation.Size: ...
|
|
71
|
+
@winrt_mixinmethod
|
|
72
|
+
def put_CroppedSizeInPixels(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings, value: win32more.Windows.Foundation.Size) -> Void: ...
|
|
73
|
+
@winrt_mixinmethod
|
|
74
|
+
def get_Format(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings) -> win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIPhotoFormat: ...
|
|
75
|
+
@winrt_mixinmethod
|
|
76
|
+
def put_Format(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings, value: win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIPhotoFormat) -> Void: ...
|
|
77
|
+
@winrt_mixinmethod
|
|
78
|
+
def get_MaxResolution(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings) -> win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIMaxPhotoResolution: ...
|
|
79
|
+
@winrt_mixinmethod
|
|
80
|
+
def put_MaxResolution(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings, value: win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIMaxPhotoResolution) -> Void: ...
|
|
81
|
+
AllowCropping = property(get_AllowCropping, put_AllowCropping)
|
|
82
|
+
CroppedAspectRatio = property(get_CroppedAspectRatio, put_CroppedAspectRatio)
|
|
83
|
+
CroppedSizeInPixels = property(get_CroppedSizeInPixels, put_CroppedSizeInPixels)
|
|
84
|
+
Format = property(get_Format, put_Format)
|
|
85
|
+
MaxResolution = property(get_MaxResolution, put_MaxResolution)
|
|
86
|
+
class CameraCaptureUIPhotoFormat(Enum, Int32):
|
|
87
|
+
_name_ = 'Microsoft.Windows.Media.Capture.CameraCaptureUIPhotoFormat'
|
|
88
|
+
Jpeg = 0
|
|
89
|
+
Png = 1
|
|
90
|
+
JpegXR = 2
|
|
91
|
+
class CameraCaptureUIVideoCaptureSettings(ComPtr):
|
|
92
|
+
extends: IInspectable
|
|
93
|
+
default_interface: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIVideoCaptureSettings
|
|
94
|
+
_classid_ = 'Microsoft.Windows.Media.Capture.CameraCaptureUIVideoCaptureSettings'
|
|
95
|
+
def __init__(self, *args, **kwargs):
|
|
96
|
+
if kwargs:
|
|
97
|
+
super().__init__(**kwargs)
|
|
98
|
+
elif len(args) == 0:
|
|
99
|
+
super().__init__(move=win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIVideoCaptureSettings.CreateInstance(*args))
|
|
100
|
+
else:
|
|
101
|
+
raise ValueError('no matched constructor')
|
|
102
|
+
@winrt_activatemethod
|
|
103
|
+
def CreateInstance(cls) -> win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIVideoCaptureSettings: ...
|
|
104
|
+
@winrt_mixinmethod
|
|
105
|
+
def get_AllowTrimming(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIVideoCaptureSettings) -> Boolean: ...
|
|
106
|
+
@winrt_mixinmethod
|
|
107
|
+
def put_AllowTrimming(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIVideoCaptureSettings, value: Boolean) -> Void: ...
|
|
108
|
+
@winrt_mixinmethod
|
|
109
|
+
def get_Format(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIVideoCaptureSettings) -> win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIVideoFormat: ...
|
|
110
|
+
@winrt_mixinmethod
|
|
111
|
+
def put_Format(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIVideoCaptureSettings, value: win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIVideoFormat) -> Void: ...
|
|
112
|
+
@winrt_mixinmethod
|
|
113
|
+
def get_MaxDurationInSeconds(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIVideoCaptureSettings) -> Single: ...
|
|
114
|
+
@winrt_mixinmethod
|
|
115
|
+
def put_MaxDurationInSeconds(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIVideoCaptureSettings, value: Single) -> Void: ...
|
|
116
|
+
@winrt_mixinmethod
|
|
117
|
+
def get_MaxResolution(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIVideoCaptureSettings) -> win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIMaxVideoResolution: ...
|
|
118
|
+
@winrt_mixinmethod
|
|
119
|
+
def put_MaxResolution(self: win32more.Microsoft.Windows.Media.Capture.ICameraCaptureUIVideoCaptureSettings, value: win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIMaxVideoResolution) -> Void: ...
|
|
120
|
+
AllowTrimming = property(get_AllowTrimming, put_AllowTrimming)
|
|
121
|
+
Format = property(get_Format, put_Format)
|
|
122
|
+
MaxDurationInSeconds = property(get_MaxDurationInSeconds, put_MaxDurationInSeconds)
|
|
123
|
+
MaxResolution = property(get_MaxResolution, put_MaxResolution)
|
|
124
|
+
class CameraCaptureUIVideoFormat(Enum, Int32):
|
|
125
|
+
_name_ = 'Microsoft.Windows.Media.Capture.CameraCaptureUIVideoFormat'
|
|
126
|
+
Mp4 = 0
|
|
127
|
+
Wmv = 1
|
|
128
|
+
class ICameraCaptureUI(ComPtr):
|
|
129
|
+
extends: IInspectable
|
|
130
|
+
_classid_ = 'Microsoft.Windows.Media.Capture.ICameraCaptureUI'
|
|
131
|
+
_iid_ = Guid('{c001d024-c617-5742-9ae1-8fd31be07f6c}')
|
|
132
|
+
@winrt_commethod(6)
|
|
133
|
+
def get_PhotoSettings(self) -> win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIPhotoCaptureSettings: ...
|
|
134
|
+
@winrt_commethod(7)
|
|
135
|
+
def get_VideoSettings(self) -> win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIVideoCaptureSettings: ...
|
|
136
|
+
@winrt_commethod(8)
|
|
137
|
+
def CaptureFileAsync(self, mode: win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIMode) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Windows.Storage.StorageFile]: ...
|
|
138
|
+
PhotoSettings = property(get_PhotoSettings, None)
|
|
139
|
+
VideoSettings = property(get_VideoSettings, None)
|
|
140
|
+
class ICameraCaptureUIFactory(ComPtr):
|
|
141
|
+
extends: IInspectable
|
|
142
|
+
_classid_ = 'Microsoft.Windows.Media.Capture.ICameraCaptureUIFactory'
|
|
143
|
+
_iid_ = Guid('{2b49623d-5f22-5fee-991f-14f24592a3c2}')
|
|
144
|
+
@winrt_commethod(6)
|
|
145
|
+
def CreateInstance(self, windowId: win32more.Microsoft.UI.WindowId) -> win32more.Microsoft.Windows.Media.Capture.CameraCaptureUI: ...
|
|
146
|
+
class ICameraCaptureUIPhotoCaptureSettings(ComPtr):
|
|
147
|
+
extends: IInspectable
|
|
148
|
+
_classid_ = 'Microsoft.Windows.Media.Capture.ICameraCaptureUIPhotoCaptureSettings'
|
|
149
|
+
_iid_ = Guid('{19fe2155-d018-53fc-bbdc-5781a94687a0}')
|
|
150
|
+
@winrt_commethod(6)
|
|
151
|
+
def get_AllowCropping(self) -> Boolean: ...
|
|
152
|
+
@winrt_commethod(7)
|
|
153
|
+
def put_AllowCropping(self, value: Boolean) -> Void: ...
|
|
154
|
+
@winrt_commethod(8)
|
|
155
|
+
def get_CroppedAspectRatio(self) -> win32more.Windows.Foundation.Size: ...
|
|
156
|
+
@winrt_commethod(9)
|
|
157
|
+
def put_CroppedAspectRatio(self, value: win32more.Windows.Foundation.Size) -> Void: ...
|
|
158
|
+
@winrt_commethod(10)
|
|
159
|
+
def get_CroppedSizeInPixels(self) -> win32more.Windows.Foundation.Size: ...
|
|
160
|
+
@winrt_commethod(11)
|
|
161
|
+
def put_CroppedSizeInPixels(self, value: win32more.Windows.Foundation.Size) -> Void: ...
|
|
162
|
+
@winrt_commethod(12)
|
|
163
|
+
def get_Format(self) -> win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIPhotoFormat: ...
|
|
164
|
+
@winrt_commethod(13)
|
|
165
|
+
def put_Format(self, value: win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIPhotoFormat) -> Void: ...
|
|
166
|
+
@winrt_commethod(14)
|
|
167
|
+
def get_MaxResolution(self) -> win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIMaxPhotoResolution: ...
|
|
168
|
+
@winrt_commethod(15)
|
|
169
|
+
def put_MaxResolution(self, value: win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIMaxPhotoResolution) -> Void: ...
|
|
170
|
+
AllowCropping = property(get_AllowCropping, put_AllowCropping)
|
|
171
|
+
CroppedAspectRatio = property(get_CroppedAspectRatio, put_CroppedAspectRatio)
|
|
172
|
+
CroppedSizeInPixels = property(get_CroppedSizeInPixels, put_CroppedSizeInPixels)
|
|
173
|
+
Format = property(get_Format, put_Format)
|
|
174
|
+
MaxResolution = property(get_MaxResolution, put_MaxResolution)
|
|
175
|
+
class ICameraCaptureUIVideoCaptureSettings(ComPtr):
|
|
176
|
+
extends: IInspectable
|
|
177
|
+
_classid_ = 'Microsoft.Windows.Media.Capture.ICameraCaptureUIVideoCaptureSettings'
|
|
178
|
+
_iid_ = Guid('{47dd74f6-83b7-5123-bbdf-d757201d1ee8}')
|
|
179
|
+
@winrt_commethod(6)
|
|
180
|
+
def get_AllowTrimming(self) -> Boolean: ...
|
|
181
|
+
@winrt_commethod(7)
|
|
182
|
+
def put_AllowTrimming(self, value: Boolean) -> Void: ...
|
|
183
|
+
@winrt_commethod(8)
|
|
184
|
+
def get_Format(self) -> win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIVideoFormat: ...
|
|
185
|
+
@winrt_commethod(9)
|
|
186
|
+
def put_Format(self, value: win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIVideoFormat) -> Void: ...
|
|
187
|
+
@winrt_commethod(10)
|
|
188
|
+
def get_MaxDurationInSeconds(self) -> Single: ...
|
|
189
|
+
@winrt_commethod(11)
|
|
190
|
+
def put_MaxDurationInSeconds(self, value: Single) -> Void: ...
|
|
191
|
+
@winrt_commethod(12)
|
|
192
|
+
def get_MaxResolution(self) -> win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIMaxVideoResolution: ...
|
|
193
|
+
@winrt_commethod(13)
|
|
194
|
+
def put_MaxResolution(self, value: win32more.Microsoft.Windows.Media.Capture.CameraCaptureUIMaxVideoResolution) -> Void: ...
|
|
195
|
+
AllowTrimming = property(get_AllowTrimming, put_AllowTrimming)
|
|
196
|
+
Format = property(get_Format, put_Format)
|
|
197
|
+
MaxDurationInSeconds = property(get_MaxDurationInSeconds, put_MaxDurationInSeconds)
|
|
198
|
+
MaxResolution = property(get_MaxResolution, put_MaxResolution)
|
|
199
|
+
|
|
200
|
+
|
|
201
|
+
make_ready(__name__)
|
|
@@ -81,6 +81,7 @@ class PushNotificationChannel(ComPtr):
|
|
|
81
81
|
ExpirationTime = property(get_ExpirationTime, None)
|
|
82
82
|
Uri = property(get_Uri, None)
|
|
83
83
|
class PushNotificationChannelStatus(Enum, Int32):
|
|
84
|
+
_name_ = 'Microsoft.Windows.PushNotifications.PushNotificationChannelStatus'
|
|
84
85
|
InProgress = 0
|
|
85
86
|
InProgressRetry = 1
|
|
86
87
|
CompletedSuccess = 2
|