win32more-Microsoft.WindowsAppSDK 0.7.1.7.251107005__py2.py3-none-any.whl → 0.8.1.8.251003001__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +1 -0
- win32more/Microsoft/Security/Authentication/OAuth/__init__.py +2 -0
- win32more/Microsoft/UI/Composition/Diagnostics/__init__.py +1 -0
- win32more/Microsoft/UI/Composition/Effects/__init__.py +1 -0
- win32more/Microsoft/UI/Composition/Interactions/__init__.py +7 -0
- win32more/Microsoft/UI/Composition/Scenes/__init__.py +4 -0
- win32more/Microsoft/UI/Composition/SystemBackdrops/__init__.py +4 -0
- win32more/Microsoft/UI/Composition/__init__.py +21 -0
- win32more/Microsoft/UI/Content/__init__.py +14 -10
- win32more/Microsoft/UI/Dispatching/__init__.py +2 -0
- win32more/Microsoft/UI/Input/DragDrop/__init__.py +2 -0
- win32more/Microsoft/UI/Input/__init__.py +55 -41
- win32more/Microsoft/UI/Text/__init__.py +25 -0
- win32more/Microsoft/UI/Windowing/__init__.py +8 -0
- 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 +95 -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 +39 -2
- win32more/Microsoft/Windows/AI/ContentSafety/__init__.py +1 -0
- win32more/Microsoft/Windows/AI/Foundation/__init__.py +46 -0
- win32more/Microsoft/Windows/AI/Imaging/__init__.py +3 -0
- win32more/Microsoft/Windows/AI/MachineLearning/__init__.py +125 -0
- win32more/Microsoft/Windows/AI/Text/__init__.py +241 -1
- win32more/Microsoft/Windows/AI/__init__.py +2 -0
- win32more/Microsoft/Windows/AppLifecycle/__init__.py +1 -0
- win32more/Microsoft/Windows/AppNotifications/Builder/__init__.py +6 -0
- win32more/Microsoft/Windows/AppNotifications/__init__.py +3 -0
- win32more/Microsoft/Windows/ApplicationModel/Background/UniversalBGTask/__init__.py +2 -4
- 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 +2 -24
- win32more/Microsoft/Windows/BadgeNotifications/__init__.py +1 -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 +5 -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/__init__.py +2 -1
- win32more/Microsoft/Windows/Workloads/__init__.py +1 -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.7.251107005.dist-info → win32more_microsoft_windowsappsdk-0.8.1.8.251003001.dist-info}/WHEEL +1 -1
- {win32more_microsoft_windowsappsdk-0.7.1.7.251107005.dist-info → win32more_microsoft_windowsappsdk-0.8.1.8.251003001.dist-info}/licenses/LICENSE (Microsoft.WindowsAppSDK).txt +4 -2
- win32more_microsoft_windowsappsdk-0.7.1.7.251107005.dist-info/METADATA +0 -6
- win32more_microsoft_windowsappsdk-0.7.1.7.251107005.dist-info/RECORD +0 -81
|
@@ -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
|
|
@@ -27,6 +27,7 @@ class CameraCaptureUI(ComPtr):
|
|
|
27
27
|
VideoSettings = property(get_VideoSettings, None)
|
|
28
28
|
CameraCaptureUIContract: UInt32 = 65536
|
|
29
29
|
class CameraCaptureUIMaxPhotoResolution(Enum, Int32):
|
|
30
|
+
_name_ = 'Microsoft.Windows.Media.Capture.CameraCaptureUIMaxPhotoResolution'
|
|
30
31
|
HighestAvailable = 0
|
|
31
32
|
VerySmallQvga = 1
|
|
32
33
|
SmallVga = 2
|
|
@@ -34,11 +35,13 @@ class CameraCaptureUIMaxPhotoResolution(Enum, Int32):
|
|
|
34
35
|
Large3M = 4
|
|
35
36
|
VeryLarge5M = 5
|
|
36
37
|
class CameraCaptureUIMaxVideoResolution(Enum, Int32):
|
|
38
|
+
_name_ = 'Microsoft.Windows.Media.Capture.CameraCaptureUIMaxVideoResolution'
|
|
37
39
|
HighestAvailable = 0
|
|
38
40
|
LowDefinition = 1
|
|
39
41
|
StandardDefinition = 2
|
|
40
42
|
HighDefinition = 3
|
|
41
43
|
class CameraCaptureUIMode(Enum, Int32):
|
|
44
|
+
_name_ = 'Microsoft.Windows.Media.Capture.CameraCaptureUIMode'
|
|
42
45
|
PhotoOrVideo = 0
|
|
43
46
|
Photo = 1
|
|
44
47
|
Video = 2
|
|
@@ -81,6 +84,7 @@ class CameraCaptureUIPhotoCaptureSettings(ComPtr):
|
|
|
81
84
|
Format = property(get_Format, put_Format)
|
|
82
85
|
MaxResolution = property(get_MaxResolution, put_MaxResolution)
|
|
83
86
|
class CameraCaptureUIPhotoFormat(Enum, Int32):
|
|
87
|
+
_name_ = 'Microsoft.Windows.Media.Capture.CameraCaptureUIPhotoFormat'
|
|
84
88
|
Jpeg = 0
|
|
85
89
|
Png = 1
|
|
86
90
|
JpegXR = 2
|
|
@@ -118,6 +122,7 @@ class CameraCaptureUIVideoCaptureSettings(ComPtr):
|
|
|
118
122
|
MaxDurationInSeconds = property(get_MaxDurationInSeconds, put_MaxDurationInSeconds)
|
|
119
123
|
MaxResolution = property(get_MaxResolution, put_MaxResolution)
|
|
120
124
|
class CameraCaptureUIVideoFormat(Enum, Int32):
|
|
125
|
+
_name_ = 'Microsoft.Windows.Media.Capture.CameraCaptureUIVideoFormat'
|
|
121
126
|
Mp4 = 0
|
|
122
127
|
Wmv = 1
|
|
123
128
|
class ICameraCaptureUI(ComPtr):
|
|
@@ -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
|
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from win32more._prelude import *
|
|
3
|
+
import win32more.Microsoft.UI
|
|
4
|
+
import win32more.Microsoft.Windows.Storage.Pickers
|
|
5
|
+
import win32more.Windows.Foundation
|
|
6
|
+
import win32more.Windows.Foundation.Collections
|
|
7
|
+
class FileOpenPicker(ComPtr):
|
|
8
|
+
extends: IInspectable
|
|
9
|
+
default_interface: win32more.Microsoft.Windows.Storage.Pickers.IFileOpenPicker
|
|
10
|
+
_classid_ = 'Microsoft.Windows.Storage.Pickers.FileOpenPicker'
|
|
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.Storage.Pickers.FileOpenPicker.CreateInstance(*args))
|
|
16
|
+
else:
|
|
17
|
+
raise ValueError('no matched constructor')
|
|
18
|
+
@winrt_factorymethod
|
|
19
|
+
def CreateInstance(cls: win32more.Microsoft.Windows.Storage.Pickers.IFileOpenPickerFactory, windowId: win32more.Microsoft.UI.WindowId) -> win32more.Microsoft.Windows.Storage.Pickers.FileOpenPicker: ...
|
|
20
|
+
@winrt_mixinmethod
|
|
21
|
+
def get_ViewMode(self: win32more.Microsoft.Windows.Storage.Pickers.IFileOpenPicker) -> win32more.Microsoft.Windows.Storage.Pickers.PickerViewMode: ...
|
|
22
|
+
@winrt_mixinmethod
|
|
23
|
+
def put_ViewMode(self: win32more.Microsoft.Windows.Storage.Pickers.IFileOpenPicker, value: win32more.Microsoft.Windows.Storage.Pickers.PickerViewMode) -> Void: ...
|
|
24
|
+
@winrt_mixinmethod
|
|
25
|
+
def get_SuggestedStartLocation(self: win32more.Microsoft.Windows.Storage.Pickers.IFileOpenPicker) -> win32more.Microsoft.Windows.Storage.Pickers.PickerLocationId: ...
|
|
26
|
+
@winrt_mixinmethod
|
|
27
|
+
def put_SuggestedStartLocation(self: win32more.Microsoft.Windows.Storage.Pickers.IFileOpenPicker, value: win32more.Microsoft.Windows.Storage.Pickers.PickerLocationId) -> Void: ...
|
|
28
|
+
@winrt_mixinmethod
|
|
29
|
+
def get_CommitButtonText(self: win32more.Microsoft.Windows.Storage.Pickers.IFileOpenPicker) -> hstr: ...
|
|
30
|
+
@winrt_mixinmethod
|
|
31
|
+
def put_CommitButtonText(self: win32more.Microsoft.Windows.Storage.Pickers.IFileOpenPicker, value: hstr) -> Void: ...
|
|
32
|
+
@winrt_mixinmethod
|
|
33
|
+
def get_FileTypeFilter(self: win32more.Microsoft.Windows.Storage.Pickers.IFileOpenPicker) -> win32more.Windows.Foundation.Collections.IVector[hstr]: ...
|
|
34
|
+
@winrt_mixinmethod
|
|
35
|
+
def PickSingleFileAsync(self: win32more.Microsoft.Windows.Storage.Pickers.IFileOpenPicker) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.Storage.Pickers.PickFileResult]: ...
|
|
36
|
+
@winrt_mixinmethod
|
|
37
|
+
def PickMultipleFilesAsync(self: win32more.Microsoft.Windows.Storage.Pickers.IFileOpenPicker) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Windows.Foundation.Collections.IVectorView[win32more.Microsoft.Windows.Storage.Pickers.PickFileResult]]: ...
|
|
38
|
+
CommitButtonText = property(get_CommitButtonText, put_CommitButtonText)
|
|
39
|
+
FileTypeFilter = property(get_FileTypeFilter, None)
|
|
40
|
+
SuggestedStartLocation = property(get_SuggestedStartLocation, put_SuggestedStartLocation)
|
|
41
|
+
ViewMode = property(get_ViewMode, put_ViewMode)
|
|
42
|
+
class FileSavePicker(ComPtr):
|
|
43
|
+
extends: IInspectable
|
|
44
|
+
default_interface: win32more.Microsoft.Windows.Storage.Pickers.IFileSavePicker
|
|
45
|
+
_classid_ = 'Microsoft.Windows.Storage.Pickers.FileSavePicker'
|
|
46
|
+
def __init__(self, *args, **kwargs):
|
|
47
|
+
if kwargs:
|
|
48
|
+
super().__init__(**kwargs)
|
|
49
|
+
elif len(args) == 1:
|
|
50
|
+
super().__init__(move=win32more.Microsoft.Windows.Storage.Pickers.FileSavePicker.CreateInstance(*args))
|
|
51
|
+
else:
|
|
52
|
+
raise ValueError('no matched constructor')
|
|
53
|
+
@winrt_factorymethod
|
|
54
|
+
def CreateInstance(cls: win32more.Microsoft.Windows.Storage.Pickers.IFileSavePickerFactory, windowId: win32more.Microsoft.UI.WindowId) -> win32more.Microsoft.Windows.Storage.Pickers.FileSavePicker: ...
|
|
55
|
+
@winrt_mixinmethod
|
|
56
|
+
def get_SuggestedStartLocation(self: win32more.Microsoft.Windows.Storage.Pickers.IFileSavePicker) -> win32more.Microsoft.Windows.Storage.Pickers.PickerLocationId: ...
|
|
57
|
+
@winrt_mixinmethod
|
|
58
|
+
def put_SuggestedStartLocation(self: win32more.Microsoft.Windows.Storage.Pickers.IFileSavePicker, value: win32more.Microsoft.Windows.Storage.Pickers.PickerLocationId) -> Void: ...
|
|
59
|
+
@winrt_mixinmethod
|
|
60
|
+
def get_CommitButtonText(self: win32more.Microsoft.Windows.Storage.Pickers.IFileSavePicker) -> hstr: ...
|
|
61
|
+
@winrt_mixinmethod
|
|
62
|
+
def put_CommitButtonText(self: win32more.Microsoft.Windows.Storage.Pickers.IFileSavePicker, value: hstr) -> Void: ...
|
|
63
|
+
@winrt_mixinmethod
|
|
64
|
+
def get_FileTypeChoices(self: win32more.Microsoft.Windows.Storage.Pickers.IFileSavePicker) -> win32more.Windows.Foundation.Collections.IMap[hstr, win32more.Windows.Foundation.Collections.IVector[hstr]]: ...
|
|
65
|
+
@winrt_mixinmethod
|
|
66
|
+
def get_DefaultFileExtension(self: win32more.Microsoft.Windows.Storage.Pickers.IFileSavePicker) -> hstr: ...
|
|
67
|
+
@winrt_mixinmethod
|
|
68
|
+
def put_DefaultFileExtension(self: win32more.Microsoft.Windows.Storage.Pickers.IFileSavePicker, value: hstr) -> Void: ...
|
|
69
|
+
@winrt_mixinmethod
|
|
70
|
+
def get_SuggestedFileName(self: win32more.Microsoft.Windows.Storage.Pickers.IFileSavePicker) -> hstr: ...
|
|
71
|
+
@winrt_mixinmethod
|
|
72
|
+
def put_SuggestedFileName(self: win32more.Microsoft.Windows.Storage.Pickers.IFileSavePicker, value: hstr) -> Void: ...
|
|
73
|
+
@winrt_mixinmethod
|
|
74
|
+
def get_SuggestedFolder(self: win32more.Microsoft.Windows.Storage.Pickers.IFileSavePicker) -> hstr: ...
|
|
75
|
+
@winrt_mixinmethod
|
|
76
|
+
def put_SuggestedFolder(self: win32more.Microsoft.Windows.Storage.Pickers.IFileSavePicker, value: hstr) -> Void: ...
|
|
77
|
+
@winrt_mixinmethod
|
|
78
|
+
def PickSaveFileAsync(self: win32more.Microsoft.Windows.Storage.Pickers.IFileSavePicker) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.Storage.Pickers.PickFileResult]: ...
|
|
79
|
+
CommitButtonText = property(get_CommitButtonText, put_CommitButtonText)
|
|
80
|
+
DefaultFileExtension = property(get_DefaultFileExtension, put_DefaultFileExtension)
|
|
81
|
+
FileTypeChoices = property(get_FileTypeChoices, None)
|
|
82
|
+
SuggestedFileName = property(get_SuggestedFileName, put_SuggestedFileName)
|
|
83
|
+
SuggestedFolder = property(get_SuggestedFolder, put_SuggestedFolder)
|
|
84
|
+
SuggestedStartLocation = property(get_SuggestedStartLocation, put_SuggestedStartLocation)
|
|
85
|
+
class FolderPicker(ComPtr):
|
|
86
|
+
extends: IInspectable
|
|
87
|
+
default_interface: win32more.Microsoft.Windows.Storage.Pickers.IFolderPicker
|
|
88
|
+
_classid_ = 'Microsoft.Windows.Storage.Pickers.FolderPicker'
|
|
89
|
+
def __init__(self, *args, **kwargs):
|
|
90
|
+
if kwargs:
|
|
91
|
+
super().__init__(**kwargs)
|
|
92
|
+
elif len(args) == 1:
|
|
93
|
+
super().__init__(move=win32more.Microsoft.Windows.Storage.Pickers.FolderPicker.CreateInstance(*args))
|
|
94
|
+
else:
|
|
95
|
+
raise ValueError('no matched constructor')
|
|
96
|
+
@winrt_factorymethod
|
|
97
|
+
def CreateInstance(cls: win32more.Microsoft.Windows.Storage.Pickers.IFolderPickerFactory, windowId: win32more.Microsoft.UI.WindowId) -> win32more.Microsoft.Windows.Storage.Pickers.FolderPicker: ...
|
|
98
|
+
@winrt_mixinmethod
|
|
99
|
+
def get_ViewMode(self: win32more.Microsoft.Windows.Storage.Pickers.IFolderPicker) -> win32more.Microsoft.Windows.Storage.Pickers.PickerViewMode: ...
|
|
100
|
+
@winrt_mixinmethod
|
|
101
|
+
def put_ViewMode(self: win32more.Microsoft.Windows.Storage.Pickers.IFolderPicker, value: win32more.Microsoft.Windows.Storage.Pickers.PickerViewMode) -> Void: ...
|
|
102
|
+
@winrt_mixinmethod
|
|
103
|
+
def get_SuggestedStartLocation(self: win32more.Microsoft.Windows.Storage.Pickers.IFolderPicker) -> win32more.Microsoft.Windows.Storage.Pickers.PickerLocationId: ...
|
|
104
|
+
@winrt_mixinmethod
|
|
105
|
+
def put_SuggestedStartLocation(self: win32more.Microsoft.Windows.Storage.Pickers.IFolderPicker, value: win32more.Microsoft.Windows.Storage.Pickers.PickerLocationId) -> Void: ...
|
|
106
|
+
@winrt_mixinmethod
|
|
107
|
+
def get_CommitButtonText(self: win32more.Microsoft.Windows.Storage.Pickers.IFolderPicker) -> hstr: ...
|
|
108
|
+
@winrt_mixinmethod
|
|
109
|
+
def put_CommitButtonText(self: win32more.Microsoft.Windows.Storage.Pickers.IFolderPicker, value: hstr) -> Void: ...
|
|
110
|
+
@winrt_mixinmethod
|
|
111
|
+
def PickSingleFolderAsync(self: win32more.Microsoft.Windows.Storage.Pickers.IFolderPicker) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.Storage.Pickers.PickFolderResult]: ...
|
|
112
|
+
CommitButtonText = property(get_CommitButtonText, put_CommitButtonText)
|
|
113
|
+
SuggestedStartLocation = property(get_SuggestedStartLocation, put_SuggestedStartLocation)
|
|
114
|
+
ViewMode = property(get_ViewMode, put_ViewMode)
|
|
115
|
+
class IFileOpenPicker(ComPtr):
|
|
116
|
+
extends: IInspectable
|
|
117
|
+
_classid_ = 'Microsoft.Windows.Storage.Pickers.IFileOpenPicker'
|
|
118
|
+
_iid_ = Guid('{9d00f175-c783-51bd-8c93-fb63695d3abc}')
|
|
119
|
+
@winrt_commethod(6)
|
|
120
|
+
def get_ViewMode(self) -> win32more.Microsoft.Windows.Storage.Pickers.PickerViewMode: ...
|
|
121
|
+
@winrt_commethod(7)
|
|
122
|
+
def put_ViewMode(self, value: win32more.Microsoft.Windows.Storage.Pickers.PickerViewMode) -> Void: ...
|
|
123
|
+
@winrt_commethod(8)
|
|
124
|
+
def get_SuggestedStartLocation(self) -> win32more.Microsoft.Windows.Storage.Pickers.PickerLocationId: ...
|
|
125
|
+
@winrt_commethod(9)
|
|
126
|
+
def put_SuggestedStartLocation(self, value: win32more.Microsoft.Windows.Storage.Pickers.PickerLocationId) -> Void: ...
|
|
127
|
+
@winrt_commethod(10)
|
|
128
|
+
def get_CommitButtonText(self) -> hstr: ...
|
|
129
|
+
@winrt_commethod(11)
|
|
130
|
+
def put_CommitButtonText(self, value: hstr) -> Void: ...
|
|
131
|
+
@winrt_commethod(12)
|
|
132
|
+
def get_FileTypeFilter(self) -> win32more.Windows.Foundation.Collections.IVector[hstr]: ...
|
|
133
|
+
@winrt_commethod(13)
|
|
134
|
+
def PickSingleFileAsync(self) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.Storage.Pickers.PickFileResult]: ...
|
|
135
|
+
@winrt_commethod(14)
|
|
136
|
+
def PickMultipleFilesAsync(self) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Windows.Foundation.Collections.IVectorView[win32more.Microsoft.Windows.Storage.Pickers.PickFileResult]]: ...
|
|
137
|
+
CommitButtonText = property(get_CommitButtonText, put_CommitButtonText)
|
|
138
|
+
FileTypeFilter = property(get_FileTypeFilter, None)
|
|
139
|
+
SuggestedStartLocation = property(get_SuggestedStartLocation, put_SuggestedStartLocation)
|
|
140
|
+
ViewMode = property(get_ViewMode, put_ViewMode)
|
|
141
|
+
class IFileOpenPickerFactory(ComPtr):
|
|
142
|
+
extends: IInspectable
|
|
143
|
+
_classid_ = 'Microsoft.Windows.Storage.Pickers.IFileOpenPickerFactory'
|
|
144
|
+
_iid_ = Guid('{315e86d7-d7a2-5d81-b379-7af78207b1af}')
|
|
145
|
+
@winrt_commethod(6)
|
|
146
|
+
def CreateInstance(self, windowId: win32more.Microsoft.UI.WindowId) -> win32more.Microsoft.Windows.Storage.Pickers.FileOpenPicker: ...
|
|
147
|
+
class IFileSavePicker(ComPtr):
|
|
148
|
+
extends: IInspectable
|
|
149
|
+
_classid_ = 'Microsoft.Windows.Storage.Pickers.IFileSavePicker'
|
|
150
|
+
_iid_ = Guid('{79f1f4df-741b-59b2-aa06-fe9ac817b7dd}')
|
|
151
|
+
@winrt_commethod(6)
|
|
152
|
+
def get_SuggestedStartLocation(self) -> win32more.Microsoft.Windows.Storage.Pickers.PickerLocationId: ...
|
|
153
|
+
@winrt_commethod(7)
|
|
154
|
+
def put_SuggestedStartLocation(self, value: win32more.Microsoft.Windows.Storage.Pickers.PickerLocationId) -> Void: ...
|
|
155
|
+
@winrt_commethod(8)
|
|
156
|
+
def get_CommitButtonText(self) -> hstr: ...
|
|
157
|
+
@winrt_commethod(9)
|
|
158
|
+
def put_CommitButtonText(self, value: hstr) -> Void: ...
|
|
159
|
+
@winrt_commethod(10)
|
|
160
|
+
def get_FileTypeChoices(self) -> win32more.Windows.Foundation.Collections.IMap[hstr, win32more.Windows.Foundation.Collections.IVector[hstr]]: ...
|
|
161
|
+
@winrt_commethod(11)
|
|
162
|
+
def get_DefaultFileExtension(self) -> hstr: ...
|
|
163
|
+
@winrt_commethod(12)
|
|
164
|
+
def put_DefaultFileExtension(self, value: hstr) -> Void: ...
|
|
165
|
+
@winrt_commethod(13)
|
|
166
|
+
def get_SuggestedFileName(self) -> hstr: ...
|
|
167
|
+
@winrt_commethod(14)
|
|
168
|
+
def put_SuggestedFileName(self, value: hstr) -> Void: ...
|
|
169
|
+
@winrt_commethod(15)
|
|
170
|
+
def get_SuggestedFolder(self) -> hstr: ...
|
|
171
|
+
@winrt_commethod(16)
|
|
172
|
+
def put_SuggestedFolder(self, value: hstr) -> Void: ...
|
|
173
|
+
@winrt_commethod(17)
|
|
174
|
+
def PickSaveFileAsync(self) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.Storage.Pickers.PickFileResult]: ...
|
|
175
|
+
CommitButtonText = property(get_CommitButtonText, put_CommitButtonText)
|
|
176
|
+
DefaultFileExtension = property(get_DefaultFileExtension, put_DefaultFileExtension)
|
|
177
|
+
FileTypeChoices = property(get_FileTypeChoices, None)
|
|
178
|
+
SuggestedFileName = property(get_SuggestedFileName, put_SuggestedFileName)
|
|
179
|
+
SuggestedFolder = property(get_SuggestedFolder, put_SuggestedFolder)
|
|
180
|
+
SuggestedStartLocation = property(get_SuggestedStartLocation, put_SuggestedStartLocation)
|
|
181
|
+
class IFileSavePickerFactory(ComPtr):
|
|
182
|
+
extends: IInspectable
|
|
183
|
+
_classid_ = 'Microsoft.Windows.Storage.Pickers.IFileSavePickerFactory'
|
|
184
|
+
_iid_ = Guid('{2e256696-30b6-5a05-a8f5-c752db6dd268}')
|
|
185
|
+
@winrt_commethod(6)
|
|
186
|
+
def CreateInstance(self, windowId: win32more.Microsoft.UI.WindowId) -> win32more.Microsoft.Windows.Storage.Pickers.FileSavePicker: ...
|
|
187
|
+
class IFolderPicker(ComPtr):
|
|
188
|
+
extends: IInspectable
|
|
189
|
+
_classid_ = 'Microsoft.Windows.Storage.Pickers.IFolderPicker'
|
|
190
|
+
_iid_ = Guid('{3ef0d1ca-97c6-5873-8ea2-02c450174290}')
|
|
191
|
+
@winrt_commethod(6)
|
|
192
|
+
def get_ViewMode(self) -> win32more.Microsoft.Windows.Storage.Pickers.PickerViewMode: ...
|
|
193
|
+
@winrt_commethod(7)
|
|
194
|
+
def put_ViewMode(self, value: win32more.Microsoft.Windows.Storage.Pickers.PickerViewMode) -> Void: ...
|
|
195
|
+
@winrt_commethod(8)
|
|
196
|
+
def get_SuggestedStartLocation(self) -> win32more.Microsoft.Windows.Storage.Pickers.PickerLocationId: ...
|
|
197
|
+
@winrt_commethod(9)
|
|
198
|
+
def put_SuggestedStartLocation(self, value: win32more.Microsoft.Windows.Storage.Pickers.PickerLocationId) -> Void: ...
|
|
199
|
+
@winrt_commethod(10)
|
|
200
|
+
def get_CommitButtonText(self) -> hstr: ...
|
|
201
|
+
@winrt_commethod(11)
|
|
202
|
+
def put_CommitButtonText(self, value: hstr) -> Void: ...
|
|
203
|
+
@winrt_commethod(12)
|
|
204
|
+
def PickSingleFolderAsync(self) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.Storage.Pickers.PickFolderResult]: ...
|
|
205
|
+
CommitButtonText = property(get_CommitButtonText, put_CommitButtonText)
|
|
206
|
+
SuggestedStartLocation = property(get_SuggestedStartLocation, put_SuggestedStartLocation)
|
|
207
|
+
ViewMode = property(get_ViewMode, put_ViewMode)
|
|
208
|
+
class IFolderPickerFactory(ComPtr):
|
|
209
|
+
extends: IInspectable
|
|
210
|
+
_classid_ = 'Microsoft.Windows.Storage.Pickers.IFolderPickerFactory'
|
|
211
|
+
_iid_ = Guid('{e1550d89-b389-5886-8395-022b1588d6a8}')
|
|
212
|
+
@winrt_commethod(6)
|
|
213
|
+
def CreateInstance(self, windowId: win32more.Microsoft.UI.WindowId) -> win32more.Microsoft.Windows.Storage.Pickers.FolderPicker: ...
|
|
214
|
+
class IPickFileResult(ComPtr):
|
|
215
|
+
extends: IInspectable
|
|
216
|
+
_classid_ = 'Microsoft.Windows.Storage.Pickers.IPickFileResult'
|
|
217
|
+
_iid_ = Guid('{e6f2e3d6-7bb0-5d81-9e7d-6fd35a1f25ab}')
|
|
218
|
+
@winrt_commethod(6)
|
|
219
|
+
def get_Path(self) -> hstr: ...
|
|
220
|
+
Path = property(get_Path, None)
|
|
221
|
+
class IPickFolderResult(ComPtr):
|
|
222
|
+
extends: IInspectable
|
|
223
|
+
_classid_ = 'Microsoft.Windows.Storage.Pickers.IPickFolderResult'
|
|
224
|
+
_iid_ = Guid('{6f7fd316-fe29-59d1-9343-c49cf5cde680}')
|
|
225
|
+
@winrt_commethod(6)
|
|
226
|
+
def get_Path(self) -> hstr: ...
|
|
227
|
+
Path = property(get_Path, None)
|
|
228
|
+
class PickFileResult(ComPtr):
|
|
229
|
+
extends: IInspectable
|
|
230
|
+
default_interface: win32more.Microsoft.Windows.Storage.Pickers.IPickFileResult
|
|
231
|
+
_classid_ = 'Microsoft.Windows.Storage.Pickers.PickFileResult'
|
|
232
|
+
@winrt_mixinmethod
|
|
233
|
+
def get_Path(self: win32more.Microsoft.Windows.Storage.Pickers.IPickFileResult) -> hstr: ...
|
|
234
|
+
Path = property(get_Path, None)
|
|
235
|
+
class PickFolderResult(ComPtr):
|
|
236
|
+
extends: IInspectable
|
|
237
|
+
default_interface: win32more.Microsoft.Windows.Storage.Pickers.IPickFolderResult
|
|
238
|
+
_classid_ = 'Microsoft.Windows.Storage.Pickers.PickFolderResult'
|
|
239
|
+
@winrt_mixinmethod
|
|
240
|
+
def get_Path(self: win32more.Microsoft.Windows.Storage.Pickers.IPickFolderResult) -> hstr: ...
|
|
241
|
+
Path = property(get_Path, None)
|
|
242
|
+
class PickerLocationId(Enum, Int32):
|
|
243
|
+
_name_ = 'Microsoft.Windows.Storage.Pickers.PickerLocationId'
|
|
244
|
+
DocumentsLibrary = 0
|
|
245
|
+
ComputerFolder = 1
|
|
246
|
+
Desktop = 2
|
|
247
|
+
Downloads = 3
|
|
248
|
+
MusicLibrary = 5
|
|
249
|
+
PicturesLibrary = 6
|
|
250
|
+
VideosLibrary = 7
|
|
251
|
+
Objects3D = 8
|
|
252
|
+
Unspecified = 9
|
|
253
|
+
class PickerViewMode(Enum, Int32):
|
|
254
|
+
_name_ = 'Microsoft.Windows.Storage.Pickers.PickerViewMode'
|
|
255
|
+
List = 0
|
|
256
|
+
Thumbnail = 1
|
|
257
|
+
StoragePickersContract: UInt32 = 65544
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
make_ready(__name__)
|
|
@@ -87,9 +87,11 @@ class ApplicationDataContainer(ComPtr):
|
|
|
87
87
|
Values = property(get_Values, None)
|
|
88
88
|
ApplicationDataContract: UInt32 = 131072
|
|
89
89
|
class ApplicationDataCreateDisposition(Enum, Int32):
|
|
90
|
+
_name_ = 'Microsoft.Windows.Storage.ApplicationDataCreateDisposition'
|
|
90
91
|
Always = 0
|
|
91
92
|
Existing = 1
|
|
92
93
|
class ApplicationDataLocality(Enum, Int32):
|
|
94
|
+
_name_ = 'Microsoft.Windows.Storage.ApplicationDataLocality'
|
|
93
95
|
Local = 0
|
|
94
96
|
LocalCache = 3
|
|
95
97
|
SharedLocal = 4
|
|
@@ -3,15 +3,18 @@ from win32more._prelude import *
|
|
|
3
3
|
import win32more.Microsoft.Windows.System.Power
|
|
4
4
|
import win32more.Windows.Foundation
|
|
5
5
|
class BatteryStatus(Enum, Int32):
|
|
6
|
+
_name_ = 'Microsoft.Windows.System.Power.BatteryStatus'
|
|
6
7
|
NotPresent = 0
|
|
7
8
|
Discharging = 1
|
|
8
9
|
Idle = 2
|
|
9
10
|
Charging = 3
|
|
10
11
|
class DisplayStatus(Enum, Int32):
|
|
12
|
+
_name_ = 'Microsoft.Windows.System.Power.DisplayStatus'
|
|
11
13
|
Off = 0
|
|
12
14
|
On = 1
|
|
13
15
|
Dimmed = 2
|
|
14
16
|
class EffectivePowerMode(Enum, Int32):
|
|
17
|
+
_name_ = 'Microsoft.Windows.System.Power.EffectivePowerMode'
|
|
15
18
|
BatterySaver = 0
|
|
16
19
|
BetterBattery = 1
|
|
17
20
|
Balanced = 2
|
|
@@ -20,6 +23,7 @@ class EffectivePowerMode(Enum, Int32):
|
|
|
20
23
|
GameMode = 5
|
|
21
24
|
MixedReality = 6
|
|
22
25
|
class EnergySaverStatus(Enum, Int32):
|
|
26
|
+
_name_ = 'Microsoft.Windows.System.Power.EnergySaverStatus'
|
|
23
27
|
Uninitialized = 0
|
|
24
28
|
Disabled = 1
|
|
25
29
|
Off = 2
|
|
@@ -215,18 +219,22 @@ class PowerManager(ComPtr, metaclass=_PowerManager_Meta_):
|
|
|
215
219
|
_PowerManager_Meta_.UserPresenceStatusChanged = event(add_UserPresenceStatusChanged, remove_UserPresenceStatusChanged)
|
|
216
220
|
PowerNotificationsContract: UInt32 = 131072
|
|
217
221
|
class PowerSourceKind(Enum, Int32):
|
|
222
|
+
_name_ = 'Microsoft.Windows.System.Power.PowerSourceKind'
|
|
218
223
|
AC = 0
|
|
219
224
|
DC = 1
|
|
220
225
|
class PowerSupplyStatus(Enum, Int32):
|
|
226
|
+
_name_ = 'Microsoft.Windows.System.Power.PowerSupplyStatus'
|
|
221
227
|
NotPresent = 0
|
|
222
228
|
Inadequate = 1
|
|
223
229
|
Adequate = 2
|
|
224
230
|
class SystemSuspendStatus(Enum, Int32):
|
|
231
|
+
_name_ = 'Microsoft.Windows.System.Power.SystemSuspendStatus'
|
|
225
232
|
Uninitialized = 0
|
|
226
233
|
Entering = 1
|
|
227
234
|
AutoResume = 2
|
|
228
235
|
ManualResume = 3
|
|
229
236
|
class UserPresenceStatus(Enum, Int32):
|
|
237
|
+
_name_ = 'Microsoft.Windows.System.Power.UserPresenceStatus'
|
|
230
238
|
Present = 0
|
|
231
239
|
Absent = 1
|
|
232
240
|
|
|
@@ -89,6 +89,8 @@ class FeedManager(ComPtr):
|
|
|
89
89
|
def SendMessageToContent(self: win32more.Microsoft.Windows.Widgets.Feeds.Providers.IFeedManager2, feedProviderDefinitionId: hstr, feedDefinitionId: hstr, message: hstr) -> Void: ...
|
|
90
90
|
@winrt_mixinmethod
|
|
91
91
|
def TryShowAnnouncement(self: win32more.Microsoft.Windows.Widgets.Feeds.Providers.IFeedManager2, feedProviderDefinitionId: hstr, feedDefinitionId: hstr, announcement: win32more.Microsoft.Windows.Widgets.Notifications.FeedAnnouncement) -> Void: ...
|
|
92
|
+
@winrt_mixinmethod
|
|
93
|
+
def TryRemoveAnnouncementById(self: win32more.Microsoft.Windows.Widgets.Feeds.Providers.IFeedManager3, feedProviderDefinitionId: hstr, feedDefinitionId: hstr, announcementId: hstr) -> Void: ...
|
|
92
94
|
@winrt_classmethod
|
|
93
95
|
def GetDefault(cls: win32more.Microsoft.Windows.Widgets.Feeds.Providers.IFeedManagerStatics) -> win32more.Microsoft.Windows.Widgets.Feeds.Providers.FeedManager: ...
|
|
94
96
|
class FeedMessageReceivedArgs(ComPtr):
|
|
@@ -288,6 +290,12 @@ class IFeedManager2(ComPtr):
|
|
|
288
290
|
def SendMessageToContent(self, feedProviderDefinitionId: hstr, feedDefinitionId: hstr, message: hstr) -> Void: ...
|
|
289
291
|
@winrt_commethod(7)
|
|
290
292
|
def TryShowAnnouncement(self, feedProviderDefinitionId: hstr, feedDefinitionId: hstr, announcement: win32more.Microsoft.Windows.Widgets.Notifications.FeedAnnouncement) -> Void: ...
|
|
293
|
+
class IFeedManager3(ComPtr):
|
|
294
|
+
extends: IInspectable
|
|
295
|
+
_classid_ = 'Microsoft.Windows.Widgets.Feeds.Providers.IFeedManager3'
|
|
296
|
+
_iid_ = Guid('{a6af915b-0cdc-46f1-a4d6-10d8c644984a}')
|
|
297
|
+
@winrt_commethod(6)
|
|
298
|
+
def TryRemoveAnnouncementById(self, feedProviderDefinitionId: hstr, feedDefinitionId: hstr, announcementId: hstr) -> Void: ...
|
|
291
299
|
class IFeedManagerStatics(ComPtr):
|
|
292
300
|
extends: IInspectable
|
|
293
301
|
_classid_ = 'Microsoft.Windows.Widgets.Feeds.Providers.IFeedManagerStatics'
|