win32more-Microsoft.WindowsAppSDK 0.7.1.7.250401001__py2.py3-none-any.whl → 0.7.1.7.250606001__py2.py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of win32more-Microsoft.WindowsAppSDK might be problematic. Click here for more details.
- win32more/Microsoft/Graphics/Imaging/__init__.py +77 -0
- win32more/Microsoft/Windows/AI/ContentSafety/__init__.py +197 -0
- win32more/Microsoft/Windows/AI/Imaging/__init__.py +330 -0
- win32more/Microsoft/Windows/AI/Text/__init__.py +261 -0
- win32more/Microsoft/Windows/AI/__init__.py +49 -0
- win32more/Microsoft/Windows/ApplicationModel/WindowsAppRuntime/__init__.py +6 -0
- win32more/Microsoft/Windows/Widgets/Providers/__init__.py +24 -0
- win32more/Microsoft/Windows/Widgets/__init__.py +1 -1
- win32more/Microsoft/Windows/Workloads/__init__.py +11 -0
- win32more/appsdk/versioninfo.py +1 -1
- win32more/dll/arm64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
- win32more/dll/arm64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- win32more/dll/x64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
- win32more/dll/x64/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- win32more/dll/x86/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll +0 -0
- win32more/dll/x86/Microsoft.WindowsAppRuntime.Bootstrap.dll +0 -0
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.7.250606001.dist-info}/METADATA +1 -1
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.7.250606001.dist-info}/RECORD +20 -14
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.7.250606001.dist-info}/licenses/LICENSE (Microsoft.WindowsAppSDK).txt +1 -1
- {win32more_microsoft_windowsappsdk-0.7.1.7.250401001.dist-info → win32more_microsoft_windowsappsdk-0.7.1.7.250606001.dist-info}/WHEEL +0 -0
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from win32more._prelude import *
|
|
3
|
+
import win32more.Microsoft.Graphics.Imaging
|
|
4
|
+
import win32more.Windows.Foundation
|
|
5
|
+
import win32more.Windows.Graphics.Imaging
|
|
6
|
+
import win32more.Windows.Storage.Streams
|
|
7
|
+
class IImageBuffer(ComPtr):
|
|
8
|
+
extends: IInspectable
|
|
9
|
+
_classid_ = 'Microsoft.Graphics.Imaging.IImageBuffer'
|
|
10
|
+
_iid_ = Guid('{3baabd0b-1854-51f1-bd2a-74c87858f461}')
|
|
11
|
+
@winrt_commethod(6)
|
|
12
|
+
def get_Buffer(self) -> win32more.Windows.Storage.Streams.IBuffer: ...
|
|
13
|
+
@winrt_commethod(7)
|
|
14
|
+
def get_PixelFormat(self) -> win32more.Microsoft.Graphics.Imaging.ImageBufferPixelFormat: ...
|
|
15
|
+
@winrt_commethod(8)
|
|
16
|
+
def get_PixelHeight(self) -> Int32: ...
|
|
17
|
+
@winrt_commethod(9)
|
|
18
|
+
def get_PixelWidth(self) -> Int32: ...
|
|
19
|
+
@winrt_commethod(10)
|
|
20
|
+
def get_RowStride(self) -> Int32: ...
|
|
21
|
+
@winrt_commethod(11)
|
|
22
|
+
def CopyToByteArray(self, values: FillArray[Byte]) -> Void: ...
|
|
23
|
+
@winrt_commethod(12)
|
|
24
|
+
def CopyToSoftwareBitmap(self) -> win32more.Windows.Graphics.Imaging.SoftwareBitmap: ...
|
|
25
|
+
Buffer = property(get_Buffer, None)
|
|
26
|
+
PixelFormat = property(get_PixelFormat, None)
|
|
27
|
+
PixelHeight = property(get_PixelHeight, None)
|
|
28
|
+
PixelWidth = property(get_PixelWidth, None)
|
|
29
|
+
RowStride = property(get_RowStride, None)
|
|
30
|
+
class IImageBufferStatics(ComPtr):
|
|
31
|
+
extends: IInspectable
|
|
32
|
+
_classid_ = 'Microsoft.Graphics.Imaging.IImageBufferStatics'
|
|
33
|
+
_iid_ = Guid('{35b17bd3-f346-529f-8c0f-3bf96c56eb13}')
|
|
34
|
+
@winrt_commethod(6)
|
|
35
|
+
def CreateForBuffer(self, buffer: win32more.Windows.Storage.Streams.IBuffer, pixelFormat: win32more.Microsoft.Graphics.Imaging.ImageBufferPixelFormat, width: Int32, height: Int32, rowStride: Int32) -> win32more.Microsoft.Graphics.Imaging.ImageBuffer: ...
|
|
36
|
+
@winrt_commethod(7)
|
|
37
|
+
def CreateForSoftwareBitmap(self, softwareBitmap: win32more.Windows.Graphics.Imaging.SoftwareBitmap) -> win32more.Microsoft.Graphics.Imaging.ImageBuffer: ...
|
|
38
|
+
class ImageBuffer(ComPtr):
|
|
39
|
+
extends: IInspectable
|
|
40
|
+
implements: Tuple[ContextManagerProtocol]
|
|
41
|
+
default_interface: win32more.Microsoft.Graphics.Imaging.IImageBuffer
|
|
42
|
+
_classid_ = 'Microsoft.Graphics.Imaging.ImageBuffer'
|
|
43
|
+
@winrt_mixinmethod
|
|
44
|
+
def get_Buffer(self: win32more.Microsoft.Graphics.Imaging.IImageBuffer) -> win32more.Windows.Storage.Streams.IBuffer: ...
|
|
45
|
+
@winrt_mixinmethod
|
|
46
|
+
def get_PixelFormat(self: win32more.Microsoft.Graphics.Imaging.IImageBuffer) -> win32more.Microsoft.Graphics.Imaging.ImageBufferPixelFormat: ...
|
|
47
|
+
@winrt_mixinmethod
|
|
48
|
+
def get_PixelHeight(self: win32more.Microsoft.Graphics.Imaging.IImageBuffer) -> Int32: ...
|
|
49
|
+
@winrt_mixinmethod
|
|
50
|
+
def get_PixelWidth(self: win32more.Microsoft.Graphics.Imaging.IImageBuffer) -> Int32: ...
|
|
51
|
+
@winrt_mixinmethod
|
|
52
|
+
def get_RowStride(self: win32more.Microsoft.Graphics.Imaging.IImageBuffer) -> Int32: ...
|
|
53
|
+
@winrt_mixinmethod
|
|
54
|
+
def CopyToByteArray(self: win32more.Microsoft.Graphics.Imaging.IImageBuffer, values: FillArray[Byte]) -> Void: ...
|
|
55
|
+
@winrt_mixinmethod
|
|
56
|
+
def CopyToSoftwareBitmap(self: win32more.Microsoft.Graphics.Imaging.IImageBuffer) -> win32more.Windows.Graphics.Imaging.SoftwareBitmap: ...
|
|
57
|
+
@winrt_mixinmethod
|
|
58
|
+
def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
|
|
59
|
+
@winrt_classmethod
|
|
60
|
+
def CreateForBuffer(cls: win32more.Microsoft.Graphics.Imaging.IImageBufferStatics, buffer: win32more.Windows.Storage.Streams.IBuffer, pixelFormat: win32more.Microsoft.Graphics.Imaging.ImageBufferPixelFormat, width: Int32, height: Int32, rowStride: Int32) -> win32more.Microsoft.Graphics.Imaging.ImageBuffer: ...
|
|
61
|
+
@winrt_classmethod
|
|
62
|
+
def CreateForSoftwareBitmap(cls: win32more.Microsoft.Graphics.Imaging.IImageBufferStatics, softwareBitmap: win32more.Windows.Graphics.Imaging.SoftwareBitmap) -> win32more.Microsoft.Graphics.Imaging.ImageBuffer: ...
|
|
63
|
+
Buffer = property(get_Buffer, None)
|
|
64
|
+
PixelFormat = property(get_PixelFormat, None)
|
|
65
|
+
PixelHeight = property(get_PixelHeight, None)
|
|
66
|
+
PixelWidth = property(get_PixelWidth, None)
|
|
67
|
+
RowStride = property(get_RowStride, None)
|
|
68
|
+
ImageBufferContract: UInt32 = 65536
|
|
69
|
+
class ImageBufferPixelFormat(Enum, Int32):
|
|
70
|
+
Rgb8 = 137224
|
|
71
|
+
Rgba8 = 30
|
|
72
|
+
Argb8 = 2498570
|
|
73
|
+
Bgra8 = 87
|
|
74
|
+
Gray8 = 62
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
make_ready(__name__)
|
|
@@ -0,0 +1,197 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from win32more._prelude import *
|
|
3
|
+
import win32more.Microsoft.Windows.AI.ContentSafety
|
|
4
|
+
class ContentFilterOptions(ComPtr):
|
|
5
|
+
extends: IInspectable
|
|
6
|
+
default_interface: win32more.Microsoft.Windows.AI.ContentSafety.IContentFilterOptions
|
|
7
|
+
_classid_ = 'Microsoft.Windows.AI.ContentSafety.ContentFilterOptions'
|
|
8
|
+
def __init__(self, *args, **kwargs):
|
|
9
|
+
if kwargs:
|
|
10
|
+
super().__init__(**kwargs)
|
|
11
|
+
elif len(args) == 0:
|
|
12
|
+
super().__init__(move=win32more.Microsoft.Windows.AI.ContentSafety.ContentFilterOptions.CreateInstance(*args))
|
|
13
|
+
else:
|
|
14
|
+
raise ValueError('no matched constructor')
|
|
15
|
+
@winrt_activatemethod
|
|
16
|
+
def CreateInstance(cls) -> win32more.Microsoft.Windows.AI.ContentSafety.ContentFilterOptions: ...
|
|
17
|
+
@winrt_mixinmethod
|
|
18
|
+
def get_PromptMaxAllowedSeverityLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IContentFilterOptions) -> win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity: ...
|
|
19
|
+
@winrt_mixinmethod
|
|
20
|
+
def put_PromptMaxAllowedSeverityLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IContentFilterOptions, value: win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity) -> Void: ...
|
|
21
|
+
@winrt_mixinmethod
|
|
22
|
+
def get_ResponseMaxAllowedSeverityLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IContentFilterOptions) -> win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity: ...
|
|
23
|
+
@winrt_mixinmethod
|
|
24
|
+
def put_ResponseMaxAllowedSeverityLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IContentFilterOptions, value: win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity) -> Void: ...
|
|
25
|
+
@winrt_mixinmethod
|
|
26
|
+
def get_ImageMaxAllowedSeverityLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IContentFilterOptions) -> win32more.Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity: ...
|
|
27
|
+
@winrt_mixinmethod
|
|
28
|
+
def put_ImageMaxAllowedSeverityLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IContentFilterOptions, value: win32more.Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity) -> Void: ...
|
|
29
|
+
ImageMaxAllowedSeverityLevel = property(get_ImageMaxAllowedSeverityLevel, put_ImageMaxAllowedSeverityLevel)
|
|
30
|
+
PromptMaxAllowedSeverityLevel = property(get_PromptMaxAllowedSeverityLevel, put_PromptMaxAllowedSeverityLevel)
|
|
31
|
+
ResponseMaxAllowedSeverityLevel = property(get_ResponseMaxAllowedSeverityLevel, put_ResponseMaxAllowedSeverityLevel)
|
|
32
|
+
ContentSafetyContract: UInt32 = 65536
|
|
33
|
+
class IContentFilterOptions(ComPtr):
|
|
34
|
+
extends: IInspectable
|
|
35
|
+
_classid_ = 'Microsoft.Windows.AI.ContentSafety.IContentFilterOptions'
|
|
36
|
+
_iid_ = Guid('{6808be9f-80d2-5136-8a8a-1f5c52c824ad}')
|
|
37
|
+
@winrt_commethod(6)
|
|
38
|
+
def get_PromptMaxAllowedSeverityLevel(self) -> win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity: ...
|
|
39
|
+
@winrt_commethod(7)
|
|
40
|
+
def put_PromptMaxAllowedSeverityLevel(self, value: win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity) -> Void: ...
|
|
41
|
+
@winrt_commethod(8)
|
|
42
|
+
def get_ResponseMaxAllowedSeverityLevel(self) -> win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity: ...
|
|
43
|
+
@winrt_commethod(9)
|
|
44
|
+
def put_ResponseMaxAllowedSeverityLevel(self, value: win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity) -> Void: ...
|
|
45
|
+
@winrt_commethod(10)
|
|
46
|
+
def get_ImageMaxAllowedSeverityLevel(self) -> win32more.Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity: ...
|
|
47
|
+
@winrt_commethod(11)
|
|
48
|
+
def put_ImageMaxAllowedSeverityLevel(self, value: win32more.Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity) -> Void: ...
|
|
49
|
+
ImageMaxAllowedSeverityLevel = property(get_ImageMaxAllowedSeverityLevel, put_ImageMaxAllowedSeverityLevel)
|
|
50
|
+
PromptMaxAllowedSeverityLevel = property(get_PromptMaxAllowedSeverityLevel, put_PromptMaxAllowedSeverityLevel)
|
|
51
|
+
ResponseMaxAllowedSeverityLevel = property(get_ResponseMaxAllowedSeverityLevel, put_ResponseMaxAllowedSeverityLevel)
|
|
52
|
+
class IImageContentFilterSeverity(ComPtr):
|
|
53
|
+
extends: IInspectable
|
|
54
|
+
_classid_ = 'Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverity'
|
|
55
|
+
_iid_ = Guid('{f1563582-c66a-5861-9995-1440b05191ac}')
|
|
56
|
+
@winrt_commethod(6)
|
|
57
|
+
def get_AdultContentLevel(self) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
58
|
+
@winrt_commethod(7)
|
|
59
|
+
def put_AdultContentLevel(self, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
60
|
+
@winrt_commethod(8)
|
|
61
|
+
def get_RacyContentLevel(self) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
62
|
+
@winrt_commethod(9)
|
|
63
|
+
def put_RacyContentLevel(self, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
64
|
+
@winrt_commethod(10)
|
|
65
|
+
def get_GoryContentLevel(self) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
66
|
+
@winrt_commethod(11)
|
|
67
|
+
def put_GoryContentLevel(self, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
68
|
+
@winrt_commethod(12)
|
|
69
|
+
def get_ViolentContentLevel(self) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
70
|
+
@winrt_commethod(13)
|
|
71
|
+
def put_ViolentContentLevel(self, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
72
|
+
AdultContentLevel = property(get_AdultContentLevel, put_AdultContentLevel)
|
|
73
|
+
GoryContentLevel = property(get_GoryContentLevel, put_GoryContentLevel)
|
|
74
|
+
RacyContentLevel = property(get_RacyContentLevel, put_RacyContentLevel)
|
|
75
|
+
ViolentContentLevel = property(get_ViolentContentLevel, put_ViolentContentLevel)
|
|
76
|
+
class IImageContentFilterSeverityFactory(ComPtr):
|
|
77
|
+
extends: IInspectable
|
|
78
|
+
_classid_ = 'Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverityFactory'
|
|
79
|
+
_iid_ = Guid('{ead11457-81b1-5b81-9ca3-c5b04b4df043}')
|
|
80
|
+
@winrt_commethod(6)
|
|
81
|
+
def CreateInstance(self, severityForALlCategories: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> win32more.Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity: ...
|
|
82
|
+
class ITextContentFilterSeverity(ComPtr):
|
|
83
|
+
extends: IInspectable
|
|
84
|
+
_classid_ = 'Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity'
|
|
85
|
+
_iid_ = Guid('{68c1ee47-c35c-5f4c-a647-b0c0f64aa0d5}')
|
|
86
|
+
@winrt_commethod(6)
|
|
87
|
+
def get_Hate(self) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
88
|
+
@winrt_commethod(7)
|
|
89
|
+
def put_Hate(self, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
90
|
+
@winrt_commethod(8)
|
|
91
|
+
def get_Sexual(self) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
92
|
+
@winrt_commethod(9)
|
|
93
|
+
def put_Sexual(self, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
94
|
+
@winrt_commethod(10)
|
|
95
|
+
def get_Violent(self) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
96
|
+
@winrt_commethod(11)
|
|
97
|
+
def put_Violent(self, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
98
|
+
@winrt_commethod(12)
|
|
99
|
+
def get_SelfHarm(self) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
100
|
+
@winrt_commethod(13)
|
|
101
|
+
def put_SelfHarm(self, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
102
|
+
Hate = property(get_Hate, put_Hate)
|
|
103
|
+
SelfHarm = property(get_SelfHarm, put_SelfHarm)
|
|
104
|
+
Sexual = property(get_Sexual, put_Sexual)
|
|
105
|
+
Violent = property(get_Violent, put_Violent)
|
|
106
|
+
class ITextContentFilterSeverityFactory(ComPtr):
|
|
107
|
+
extends: IInspectable
|
|
108
|
+
_classid_ = 'Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverityFactory'
|
|
109
|
+
_iid_ = Guid('{e0ca501e-4004-501e-8984-442d091607d4}')
|
|
110
|
+
@winrt_commethod(6)
|
|
111
|
+
def CreateInstance(self, severityForAllCategories: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity: ...
|
|
112
|
+
class ImageContentFilterSeverity(ComPtr):
|
|
113
|
+
extends: IInspectable
|
|
114
|
+
default_interface: win32more.Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverity
|
|
115
|
+
_classid_ = 'Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity'
|
|
116
|
+
def __init__(self, *args, **kwargs):
|
|
117
|
+
if kwargs:
|
|
118
|
+
super().__init__(**kwargs)
|
|
119
|
+
elif len(args) == 0:
|
|
120
|
+
super().__init__(move=win32more.Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity.CreateInstance(*args))
|
|
121
|
+
elif len(args) == 1:
|
|
122
|
+
super().__init__(move=win32more.Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity.CreateInstance(*args))
|
|
123
|
+
else:
|
|
124
|
+
raise ValueError('no matched constructor')
|
|
125
|
+
@winrt_overload
|
|
126
|
+
@winrt_activatemethod
|
|
127
|
+
def CreateInstance(cls) -> win32more.Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity: ...
|
|
128
|
+
@CreateInstance.register
|
|
129
|
+
@winrt_factorymethod
|
|
130
|
+
def CreateInstance(cls: win32more.Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverityFactory, severityForALlCategories: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> win32more.Microsoft.Windows.AI.ContentSafety.ImageContentFilterSeverity: ...
|
|
131
|
+
@winrt_mixinmethod
|
|
132
|
+
def get_AdultContentLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverity) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
133
|
+
@winrt_mixinmethod
|
|
134
|
+
def put_AdultContentLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverity, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
135
|
+
@winrt_mixinmethod
|
|
136
|
+
def get_RacyContentLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverity) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
137
|
+
@winrt_mixinmethod
|
|
138
|
+
def put_RacyContentLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverity, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
139
|
+
@winrt_mixinmethod
|
|
140
|
+
def get_GoryContentLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverity) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
141
|
+
@winrt_mixinmethod
|
|
142
|
+
def put_GoryContentLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverity, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
143
|
+
@winrt_mixinmethod
|
|
144
|
+
def get_ViolentContentLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverity) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
145
|
+
@winrt_mixinmethod
|
|
146
|
+
def put_ViolentContentLevel(self: win32more.Microsoft.Windows.AI.ContentSafety.IImageContentFilterSeverity, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
147
|
+
AdultContentLevel = property(get_AdultContentLevel, put_AdultContentLevel)
|
|
148
|
+
GoryContentLevel = property(get_GoryContentLevel, put_GoryContentLevel)
|
|
149
|
+
RacyContentLevel = property(get_RacyContentLevel, put_RacyContentLevel)
|
|
150
|
+
ViolentContentLevel = property(get_ViolentContentLevel, put_ViolentContentLevel)
|
|
151
|
+
class SeverityLevel(Enum, Int32):
|
|
152
|
+
Minimum = 10
|
|
153
|
+
Low = 11
|
|
154
|
+
Medium = 12
|
|
155
|
+
High = 13
|
|
156
|
+
class TextContentFilterSeverity(ComPtr):
|
|
157
|
+
extends: IInspectable
|
|
158
|
+
default_interface: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity
|
|
159
|
+
_classid_ = 'Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity'
|
|
160
|
+
def __init__(self, *args, **kwargs):
|
|
161
|
+
if kwargs:
|
|
162
|
+
super().__init__(**kwargs)
|
|
163
|
+
elif len(args) == 0:
|
|
164
|
+
super().__init__(move=win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity.CreateInstance(*args))
|
|
165
|
+
elif len(args) == 1:
|
|
166
|
+
super().__init__(move=win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity.CreateInstance(*args))
|
|
167
|
+
else:
|
|
168
|
+
raise ValueError('no matched constructor')
|
|
169
|
+
@winrt_overload
|
|
170
|
+
@winrt_activatemethod
|
|
171
|
+
def CreateInstance(cls) -> win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity: ...
|
|
172
|
+
@CreateInstance.register
|
|
173
|
+
@winrt_factorymethod
|
|
174
|
+
def CreateInstance(cls: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverityFactory, severityForAllCategories: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> win32more.Microsoft.Windows.AI.ContentSafety.TextContentFilterSeverity: ...
|
|
175
|
+
@winrt_mixinmethod
|
|
176
|
+
def get_Hate(self: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
177
|
+
@winrt_mixinmethod
|
|
178
|
+
def put_Hate(self: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
179
|
+
@winrt_mixinmethod
|
|
180
|
+
def get_Sexual(self: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
181
|
+
@winrt_mixinmethod
|
|
182
|
+
def put_Sexual(self: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
183
|
+
@winrt_mixinmethod
|
|
184
|
+
def get_Violent(self: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
185
|
+
@winrt_mixinmethod
|
|
186
|
+
def put_Violent(self: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
187
|
+
@winrt_mixinmethod
|
|
188
|
+
def get_SelfHarm(self: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity) -> win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel: ...
|
|
189
|
+
@winrt_mixinmethod
|
|
190
|
+
def put_SelfHarm(self: win32more.Microsoft.Windows.AI.ContentSafety.ITextContentFilterSeverity, value: win32more.Microsoft.Windows.AI.ContentSafety.SeverityLevel) -> Void: ...
|
|
191
|
+
Hate = property(get_Hate, put_Hate)
|
|
192
|
+
SelfHarm = property(get_SelfHarm, put_SelfHarm)
|
|
193
|
+
Sexual = property(get_Sexual, put_Sexual)
|
|
194
|
+
Violent = property(get_Violent, put_Violent)
|
|
195
|
+
|
|
196
|
+
|
|
197
|
+
make_ready(__name__)
|
|
@@ -0,0 +1,330 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from win32more._prelude import *
|
|
3
|
+
import win32more.Microsoft.Graphics.Imaging
|
|
4
|
+
import win32more.Microsoft.Windows.AI
|
|
5
|
+
import win32more.Microsoft.Windows.AI.ContentSafety
|
|
6
|
+
import win32more.Microsoft.Windows.AI.Imaging
|
|
7
|
+
import win32more.Windows.Foundation
|
|
8
|
+
import win32more.Windows.Foundation.Collections
|
|
9
|
+
import win32more.Windows.Graphics
|
|
10
|
+
import win32more.Windows.Graphics.Imaging
|
|
11
|
+
class IImageDescriptionGenerator(ComPtr):
|
|
12
|
+
extends: IInspectable
|
|
13
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.IImageDescriptionGenerator'
|
|
14
|
+
_iid_ = Guid('{576b989e-9829-5682-91b0-a7110fa7d51e}')
|
|
15
|
+
@winrt_commethod(6)
|
|
16
|
+
def DescribeAsync(self, image: win32more.Microsoft.Graphics.Imaging.ImageBuffer, kind: win32more.Microsoft.Windows.AI.Imaging.ImageDescriptionKind, contentFilterOptions: win32more.Microsoft.Windows.AI.ContentSafety.ContentFilterOptions) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Imaging.ImageDescriptionResult, hstr]: ...
|
|
17
|
+
class IImageDescriptionGeneratorStatics(ComPtr):
|
|
18
|
+
extends: IInspectable
|
|
19
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.IImageDescriptionGeneratorStatics'
|
|
20
|
+
_iid_ = Guid('{5fb50b2a-5700-55a7-b413-6073b4b7f175}')
|
|
21
|
+
@winrt_commethod(6)
|
|
22
|
+
def GetReadyState(self) -> win32more.Microsoft.Windows.AI.AIFeatureReadyState: ...
|
|
23
|
+
@winrt_commethod(7)
|
|
24
|
+
def EnsureReadyAsync(self) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.AIFeatureReadyResult, Double]: ...
|
|
25
|
+
@winrt_commethod(8)
|
|
26
|
+
def CreateAsync(self) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Imaging.ImageDescriptionGenerator]: ...
|
|
27
|
+
class IImageDescriptionResult(ComPtr):
|
|
28
|
+
extends: IInspectable
|
|
29
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.IImageDescriptionResult'
|
|
30
|
+
_iid_ = Guid('{a066dd0c-110b-5275-a635-52bed7519a2f}')
|
|
31
|
+
@winrt_commethod(6)
|
|
32
|
+
def get_Description(self) -> hstr: ...
|
|
33
|
+
@winrt_commethod(7)
|
|
34
|
+
def get_Status(self) -> win32more.Microsoft.Windows.AI.Imaging.ImageDescriptionResultStatus: ...
|
|
35
|
+
Description = property(get_Description, None)
|
|
36
|
+
Status = property(get_Status, None)
|
|
37
|
+
class IImageObjectExtractor(ComPtr):
|
|
38
|
+
extends: IInspectable
|
|
39
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.IImageObjectExtractor'
|
|
40
|
+
_iid_ = Guid('{2919fdc0-d772-5fd9-a8b7-ffb56010c99c}')
|
|
41
|
+
@winrt_commethod(6)
|
|
42
|
+
def GetSoftwareBitmapObjectMask(self, hint: win32more.Microsoft.Windows.AI.Imaging.ImageObjectExtractorHint) -> win32more.Windows.Graphics.Imaging.SoftwareBitmap: ...
|
|
43
|
+
@winrt_commethod(7)
|
|
44
|
+
def GetImageBufferObjectMask(self, hint: win32more.Microsoft.Windows.AI.Imaging.ImageObjectExtractorHint) -> win32more.Microsoft.Graphics.Imaging.ImageBuffer: ...
|
|
45
|
+
class IImageObjectExtractorHint(ComPtr):
|
|
46
|
+
extends: IInspectable
|
|
47
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.IImageObjectExtractorHint'
|
|
48
|
+
_iid_ = Guid('{1bd8d67c-8a7a-5fe7-98a5-cbdfeb509452}')
|
|
49
|
+
@winrt_commethod(6)
|
|
50
|
+
def get_IncludeRects(self) -> win32more.Windows.Foundation.Collections.IVectorView[win32more.Windows.Graphics.RectInt32]: ...
|
|
51
|
+
@winrt_commethod(7)
|
|
52
|
+
def get_IncludePoints(self) -> win32more.Windows.Foundation.Collections.IVectorView[win32more.Windows.Graphics.PointInt32]: ...
|
|
53
|
+
@winrt_commethod(8)
|
|
54
|
+
def get_ExcludePoints(self) -> win32more.Windows.Foundation.Collections.IVectorView[win32more.Windows.Graphics.PointInt32]: ...
|
|
55
|
+
ExcludePoints = property(get_ExcludePoints, None)
|
|
56
|
+
IncludePoints = property(get_IncludePoints, None)
|
|
57
|
+
IncludeRects = property(get_IncludeRects, None)
|
|
58
|
+
class IImageObjectExtractorHintFactory(ComPtr):
|
|
59
|
+
extends: IInspectable
|
|
60
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.IImageObjectExtractorHintFactory'
|
|
61
|
+
_iid_ = Guid('{5028f206-145d-5a70-9a51-e17e60cfbad8}')
|
|
62
|
+
@winrt_commethod(6)
|
|
63
|
+
def CreateInstance(self, includeRects: win32more.Windows.Foundation.Collections.IVector[win32more.Windows.Graphics.RectInt32], includePoints: win32more.Windows.Foundation.Collections.IVector[win32more.Windows.Graphics.PointInt32], excludePoints: win32more.Windows.Foundation.Collections.IVector[win32more.Windows.Graphics.PointInt32]) -> win32more.Microsoft.Windows.AI.Imaging.ImageObjectExtractorHint: ...
|
|
64
|
+
class IImageObjectExtractorStatics(ComPtr):
|
|
65
|
+
extends: IInspectable
|
|
66
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.IImageObjectExtractorStatics'
|
|
67
|
+
_iid_ = Guid('{38fa261e-2c33-54cb-9e10-98d50685743d}')
|
|
68
|
+
@winrt_commethod(6)
|
|
69
|
+
def CreateWithSoftwareBitmapAsync(self, softwareBitmap: win32more.Windows.Graphics.Imaging.SoftwareBitmap) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Imaging.ImageObjectExtractor]: ...
|
|
70
|
+
@winrt_commethod(7)
|
|
71
|
+
def CreateWithImageBufferAsync(self, imageBuffer: win32more.Microsoft.Graphics.Imaging.ImageBuffer) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Imaging.ImageObjectExtractor]: ...
|
|
72
|
+
@winrt_commethod(8)
|
|
73
|
+
def GetReadyState(self) -> win32more.Microsoft.Windows.AI.AIFeatureReadyState: ...
|
|
74
|
+
@winrt_commethod(9)
|
|
75
|
+
def EnsureReadyAsync(self) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.AIFeatureReadyResult, Double]: ...
|
|
76
|
+
class IImageScaler(ComPtr):
|
|
77
|
+
extends: IInspectable
|
|
78
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.IImageScaler'
|
|
79
|
+
_iid_ = Guid('{06eec88e-91c5-5326-8128-2807faafa571}')
|
|
80
|
+
@winrt_commethod(6)
|
|
81
|
+
def ScaleSoftwareBitmap(self, softwareBitmap: win32more.Windows.Graphics.Imaging.SoftwareBitmap, width: Int32, height: Int32) -> win32more.Windows.Graphics.Imaging.SoftwareBitmap: ...
|
|
82
|
+
@winrt_commethod(7)
|
|
83
|
+
def ScaleImageBuffer(self, imageBuffer: win32more.Microsoft.Graphics.Imaging.ImageBuffer, width: Int32, height: Int32) -> win32more.Microsoft.Graphics.Imaging.ImageBuffer: ...
|
|
84
|
+
@winrt_commethod(8)
|
|
85
|
+
def get_MaxSupportedScaleFactor(self) -> Int32: ...
|
|
86
|
+
MaxSupportedScaleFactor = property(get_MaxSupportedScaleFactor, None)
|
|
87
|
+
class IImageScalerStatics(ComPtr):
|
|
88
|
+
extends: IInspectable
|
|
89
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.IImageScalerStatics'
|
|
90
|
+
_iid_ = Guid('{75380c81-9c7f-544b-9337-6e638cfb464a}')
|
|
91
|
+
@winrt_commethod(6)
|
|
92
|
+
def GetReadyState(self) -> win32more.Microsoft.Windows.AI.AIFeatureReadyState: ...
|
|
93
|
+
@winrt_commethod(7)
|
|
94
|
+
def EnsureReadyAsync(self) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.AIFeatureReadyResult, Double]: ...
|
|
95
|
+
@winrt_commethod(8)
|
|
96
|
+
def CreateAsync(self) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Imaging.ImageScaler]: ...
|
|
97
|
+
class IRecognizedLine(ComPtr):
|
|
98
|
+
extends: IInspectable
|
|
99
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.IRecognizedLine'
|
|
100
|
+
_iid_ = Guid('{612a6be6-f6bb-53c9-84ce-f0a5e565faa7}')
|
|
101
|
+
@winrt_commethod(6)
|
|
102
|
+
def get_Text(self) -> hstr: ...
|
|
103
|
+
@winrt_commethod(7)
|
|
104
|
+
def get_BoundingBox(self) -> win32more.Microsoft.Windows.AI.Imaging.RecognizedTextBoundingBox: ...
|
|
105
|
+
@winrt_commethod(8)
|
|
106
|
+
def get_Words(self) -> ReceiveArray[win32more.Microsoft.Windows.AI.Imaging.RecognizedWord]: ...
|
|
107
|
+
@winrt_commethod(9)
|
|
108
|
+
def get_Style(self) -> win32more.Microsoft.Windows.AI.Imaging.RecognizedLineStyle: ...
|
|
109
|
+
@winrt_commethod(10)
|
|
110
|
+
def get_LineStyleConfidence(self) -> Single: ...
|
|
111
|
+
BoundingBox = property(get_BoundingBox, None)
|
|
112
|
+
LineStyleConfidence = property(get_LineStyleConfidence, None)
|
|
113
|
+
Style = property(get_Style, None)
|
|
114
|
+
Text = property(get_Text, None)
|
|
115
|
+
Words = property(get_Words, None)
|
|
116
|
+
class IRecognizedText(ComPtr):
|
|
117
|
+
extends: IInspectable
|
|
118
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.IRecognizedText'
|
|
119
|
+
_iid_ = Guid('{ae4766d3-2924-57a6-b3d3-b866f59b9972}')
|
|
120
|
+
@winrt_commethod(6)
|
|
121
|
+
def get_Lines(self) -> ReceiveArray[win32more.Microsoft.Windows.AI.Imaging.RecognizedLine]: ...
|
|
122
|
+
@winrt_commethod(7)
|
|
123
|
+
def get_TextAngle(self) -> Single: ...
|
|
124
|
+
Lines = property(get_Lines, None)
|
|
125
|
+
TextAngle = property(get_TextAngle, None)
|
|
126
|
+
class IRecognizedWord(ComPtr):
|
|
127
|
+
extends: IInspectable
|
|
128
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.IRecognizedWord'
|
|
129
|
+
_iid_ = Guid('{6b53daab-3410-5088-826a-0788a1ee3b52}')
|
|
130
|
+
@winrt_commethod(6)
|
|
131
|
+
def get_Text(self) -> hstr: ...
|
|
132
|
+
@winrt_commethod(7)
|
|
133
|
+
def get_BoundingBox(self) -> win32more.Microsoft.Windows.AI.Imaging.RecognizedTextBoundingBox: ...
|
|
134
|
+
@winrt_commethod(8)
|
|
135
|
+
def get_MatchConfidence(self) -> Single: ...
|
|
136
|
+
BoundingBox = property(get_BoundingBox, None)
|
|
137
|
+
MatchConfidence = property(get_MatchConfidence, None)
|
|
138
|
+
Text = property(get_Text, None)
|
|
139
|
+
class ITextRecognizer(ComPtr):
|
|
140
|
+
extends: IInspectable
|
|
141
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.ITextRecognizer'
|
|
142
|
+
_iid_ = Guid('{be7bf6c0-30f6-570d-bd92-3ffe5665d933}')
|
|
143
|
+
@winrt_commethod(6)
|
|
144
|
+
def RecognizeTextFromImageAsync(self, imageBuffer: win32more.Microsoft.Graphics.Imaging.ImageBuffer) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Imaging.RecognizedText]: ...
|
|
145
|
+
@winrt_commethod(7)
|
|
146
|
+
def RecognizeTextFromImage(self, imageBuffer: win32more.Microsoft.Graphics.Imaging.ImageBuffer) -> win32more.Microsoft.Windows.AI.Imaging.RecognizedText: ...
|
|
147
|
+
class ITextRecognizerStatics(ComPtr):
|
|
148
|
+
extends: IInspectable
|
|
149
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.ITextRecognizerStatics'
|
|
150
|
+
_iid_ = Guid('{3788c2fd-e496-53ab-85a7-e54a135824e9}')
|
|
151
|
+
@winrt_commethod(6)
|
|
152
|
+
def GetReadyState(self) -> win32more.Microsoft.Windows.AI.AIFeatureReadyState: ...
|
|
153
|
+
@winrt_commethod(7)
|
|
154
|
+
def EnsureReadyAsync(self) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.AIFeatureReadyResult, Double]: ...
|
|
155
|
+
@winrt_commethod(8)
|
|
156
|
+
def CreateAsync(self) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Imaging.TextRecognizer]: ...
|
|
157
|
+
ImageDescriptionContract: UInt32 = 65536
|
|
158
|
+
class ImageDescriptionGenerator(ComPtr):
|
|
159
|
+
extends: IInspectable
|
|
160
|
+
implements: Tuple[ContextManagerProtocol]
|
|
161
|
+
default_interface: win32more.Microsoft.Windows.AI.Imaging.IImageDescriptionGenerator
|
|
162
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.ImageDescriptionGenerator'
|
|
163
|
+
@winrt_mixinmethod
|
|
164
|
+
def DescribeAsync(self: win32more.Microsoft.Windows.AI.Imaging.IImageDescriptionGenerator, image: win32more.Microsoft.Graphics.Imaging.ImageBuffer, kind: win32more.Microsoft.Windows.AI.Imaging.ImageDescriptionKind, contentFilterOptions: win32more.Microsoft.Windows.AI.ContentSafety.ContentFilterOptions) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Imaging.ImageDescriptionResult, hstr]: ...
|
|
165
|
+
@winrt_mixinmethod
|
|
166
|
+
def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
|
|
167
|
+
@winrt_classmethod
|
|
168
|
+
def GetReadyState(cls: win32more.Microsoft.Windows.AI.Imaging.IImageDescriptionGeneratorStatics) -> win32more.Microsoft.Windows.AI.AIFeatureReadyState: ...
|
|
169
|
+
@winrt_classmethod
|
|
170
|
+
def EnsureReadyAsync(cls: win32more.Microsoft.Windows.AI.Imaging.IImageDescriptionGeneratorStatics) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.AIFeatureReadyResult, Double]: ...
|
|
171
|
+
@winrt_classmethod
|
|
172
|
+
def CreateAsync(cls: win32more.Microsoft.Windows.AI.Imaging.IImageDescriptionGeneratorStatics) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Imaging.ImageDescriptionGenerator]: ...
|
|
173
|
+
class ImageDescriptionKind(Enum, Int32):
|
|
174
|
+
BriefDescription = 0
|
|
175
|
+
DetailedDescription = 1
|
|
176
|
+
DiagramDescription = 2
|
|
177
|
+
AccessibleDescription = 3
|
|
178
|
+
class ImageDescriptionResult(ComPtr):
|
|
179
|
+
extends: IInspectable
|
|
180
|
+
default_interface: win32more.Microsoft.Windows.AI.Imaging.IImageDescriptionResult
|
|
181
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.ImageDescriptionResult'
|
|
182
|
+
@winrt_mixinmethod
|
|
183
|
+
def get_Description(self: win32more.Microsoft.Windows.AI.Imaging.IImageDescriptionResult) -> hstr: ...
|
|
184
|
+
@winrt_mixinmethod
|
|
185
|
+
def get_Status(self: win32more.Microsoft.Windows.AI.Imaging.IImageDescriptionResult) -> win32more.Microsoft.Windows.AI.Imaging.ImageDescriptionResultStatus: ...
|
|
186
|
+
Description = property(get_Description, None)
|
|
187
|
+
Status = property(get_Status, None)
|
|
188
|
+
class ImageDescriptionResultStatus(Enum, Int32):
|
|
189
|
+
Complete = 0
|
|
190
|
+
InProgress = 1
|
|
191
|
+
BlockedByPolicy = 2
|
|
192
|
+
ImageBlockedByContentModeration = 3
|
|
193
|
+
TextInImageBlockedByContentModeration = 4
|
|
194
|
+
DescriptionTextBlockedByContentModeration = 5
|
|
195
|
+
ImageHasTooMuchText = 6
|
|
196
|
+
InternalError = 7
|
|
197
|
+
class ImageObjectExtractor(ComPtr):
|
|
198
|
+
extends: IInspectable
|
|
199
|
+
implements: Tuple[ContextManagerProtocol]
|
|
200
|
+
default_interface: win32more.Microsoft.Windows.AI.Imaging.IImageObjectExtractor
|
|
201
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.ImageObjectExtractor'
|
|
202
|
+
@winrt_mixinmethod
|
|
203
|
+
def GetSoftwareBitmapObjectMask(self: win32more.Microsoft.Windows.AI.Imaging.IImageObjectExtractor, hint: win32more.Microsoft.Windows.AI.Imaging.ImageObjectExtractorHint) -> win32more.Windows.Graphics.Imaging.SoftwareBitmap: ...
|
|
204
|
+
@winrt_mixinmethod
|
|
205
|
+
def GetImageBufferObjectMask(self: win32more.Microsoft.Windows.AI.Imaging.IImageObjectExtractor, hint: win32more.Microsoft.Windows.AI.Imaging.ImageObjectExtractorHint) -> win32more.Microsoft.Graphics.Imaging.ImageBuffer: ...
|
|
206
|
+
@winrt_mixinmethod
|
|
207
|
+
def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
|
|
208
|
+
@winrt_classmethod
|
|
209
|
+
def CreateWithSoftwareBitmapAsync(cls: win32more.Microsoft.Windows.AI.Imaging.IImageObjectExtractorStatics, softwareBitmap: win32more.Windows.Graphics.Imaging.SoftwareBitmap) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Imaging.ImageObjectExtractor]: ...
|
|
210
|
+
@winrt_classmethod
|
|
211
|
+
def CreateWithImageBufferAsync(cls: win32more.Microsoft.Windows.AI.Imaging.IImageObjectExtractorStatics, imageBuffer: win32more.Microsoft.Graphics.Imaging.ImageBuffer) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Imaging.ImageObjectExtractor]: ...
|
|
212
|
+
@winrt_classmethod
|
|
213
|
+
def GetReadyState(cls: win32more.Microsoft.Windows.AI.Imaging.IImageObjectExtractorStatics) -> win32more.Microsoft.Windows.AI.AIFeatureReadyState: ...
|
|
214
|
+
@winrt_classmethod
|
|
215
|
+
def EnsureReadyAsync(cls: win32more.Microsoft.Windows.AI.Imaging.IImageObjectExtractorStatics) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.AIFeatureReadyResult, Double]: ...
|
|
216
|
+
ImageObjectExtractorContract: UInt32 = 65536
|
|
217
|
+
class ImageObjectExtractorHint(ComPtr):
|
|
218
|
+
extends: IInspectable
|
|
219
|
+
default_interface: win32more.Microsoft.Windows.AI.Imaging.IImageObjectExtractorHint
|
|
220
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.ImageObjectExtractorHint'
|
|
221
|
+
def __init__(self, *args, **kwargs):
|
|
222
|
+
if kwargs:
|
|
223
|
+
super().__init__(**kwargs)
|
|
224
|
+
elif len(args) == 3:
|
|
225
|
+
super().__init__(move=win32more.Microsoft.Windows.AI.Imaging.ImageObjectExtractorHint.CreateInstance(*args))
|
|
226
|
+
else:
|
|
227
|
+
raise ValueError('no matched constructor')
|
|
228
|
+
@winrt_factorymethod
|
|
229
|
+
def CreateInstance(cls: win32more.Microsoft.Windows.AI.Imaging.IImageObjectExtractorHintFactory, includeRects: win32more.Windows.Foundation.Collections.IVector[win32more.Windows.Graphics.RectInt32], includePoints: win32more.Windows.Foundation.Collections.IVector[win32more.Windows.Graphics.PointInt32], excludePoints: win32more.Windows.Foundation.Collections.IVector[win32more.Windows.Graphics.PointInt32]) -> win32more.Microsoft.Windows.AI.Imaging.ImageObjectExtractorHint: ...
|
|
230
|
+
@winrt_mixinmethod
|
|
231
|
+
def get_IncludeRects(self: win32more.Microsoft.Windows.AI.Imaging.IImageObjectExtractorHint) -> win32more.Windows.Foundation.Collections.IVectorView[win32more.Windows.Graphics.RectInt32]: ...
|
|
232
|
+
@winrt_mixinmethod
|
|
233
|
+
def get_IncludePoints(self: win32more.Microsoft.Windows.AI.Imaging.IImageObjectExtractorHint) -> win32more.Windows.Foundation.Collections.IVectorView[win32more.Windows.Graphics.PointInt32]: ...
|
|
234
|
+
@winrt_mixinmethod
|
|
235
|
+
def get_ExcludePoints(self: win32more.Microsoft.Windows.AI.Imaging.IImageObjectExtractorHint) -> win32more.Windows.Foundation.Collections.IVectorView[win32more.Windows.Graphics.PointInt32]: ...
|
|
236
|
+
ExcludePoints = property(get_ExcludePoints, None)
|
|
237
|
+
IncludePoints = property(get_IncludePoints, None)
|
|
238
|
+
IncludeRects = property(get_IncludeRects, None)
|
|
239
|
+
class ImageScaler(ComPtr):
|
|
240
|
+
extends: IInspectable
|
|
241
|
+
implements: Tuple[ContextManagerProtocol]
|
|
242
|
+
default_interface: win32more.Microsoft.Windows.AI.Imaging.IImageScaler
|
|
243
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.ImageScaler'
|
|
244
|
+
@winrt_mixinmethod
|
|
245
|
+
def ScaleSoftwareBitmap(self: win32more.Microsoft.Windows.AI.Imaging.IImageScaler, softwareBitmap: win32more.Windows.Graphics.Imaging.SoftwareBitmap, width: Int32, height: Int32) -> win32more.Windows.Graphics.Imaging.SoftwareBitmap: ...
|
|
246
|
+
@winrt_mixinmethod
|
|
247
|
+
def ScaleImageBuffer(self: win32more.Microsoft.Windows.AI.Imaging.IImageScaler, imageBuffer: win32more.Microsoft.Graphics.Imaging.ImageBuffer, width: Int32, height: Int32) -> win32more.Microsoft.Graphics.Imaging.ImageBuffer: ...
|
|
248
|
+
@winrt_mixinmethod
|
|
249
|
+
def get_MaxSupportedScaleFactor(self: win32more.Microsoft.Windows.AI.Imaging.IImageScaler) -> Int32: ...
|
|
250
|
+
@winrt_mixinmethod
|
|
251
|
+
def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
|
|
252
|
+
@winrt_classmethod
|
|
253
|
+
def GetReadyState(cls: win32more.Microsoft.Windows.AI.Imaging.IImageScalerStatics) -> win32more.Microsoft.Windows.AI.AIFeatureReadyState: ...
|
|
254
|
+
@winrt_classmethod
|
|
255
|
+
def EnsureReadyAsync(cls: win32more.Microsoft.Windows.AI.Imaging.IImageScalerStatics) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.AIFeatureReadyResult, Double]: ...
|
|
256
|
+
@winrt_classmethod
|
|
257
|
+
def CreateAsync(cls: win32more.Microsoft.Windows.AI.Imaging.IImageScalerStatics) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Imaging.ImageScaler]: ...
|
|
258
|
+
MaxSupportedScaleFactor = property(get_MaxSupportedScaleFactor, None)
|
|
259
|
+
ImageScalerContract: UInt32 = 65536
|
|
260
|
+
class RecognizedLine(ComPtr):
|
|
261
|
+
extends: IInspectable
|
|
262
|
+
default_interface: win32more.Microsoft.Windows.AI.Imaging.IRecognizedLine
|
|
263
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.RecognizedLine'
|
|
264
|
+
@winrt_mixinmethod
|
|
265
|
+
def get_Text(self: win32more.Microsoft.Windows.AI.Imaging.IRecognizedLine) -> hstr: ...
|
|
266
|
+
@winrt_mixinmethod
|
|
267
|
+
def get_BoundingBox(self: win32more.Microsoft.Windows.AI.Imaging.IRecognizedLine) -> win32more.Microsoft.Windows.AI.Imaging.RecognizedTextBoundingBox: ...
|
|
268
|
+
@winrt_mixinmethod
|
|
269
|
+
def get_Words(self: win32more.Microsoft.Windows.AI.Imaging.IRecognizedLine) -> ReceiveArray[win32more.Microsoft.Windows.AI.Imaging.RecognizedWord]: ...
|
|
270
|
+
@winrt_mixinmethod
|
|
271
|
+
def get_Style(self: win32more.Microsoft.Windows.AI.Imaging.IRecognizedLine) -> win32more.Microsoft.Windows.AI.Imaging.RecognizedLineStyle: ...
|
|
272
|
+
@winrt_mixinmethod
|
|
273
|
+
def get_LineStyleConfidence(self: win32more.Microsoft.Windows.AI.Imaging.IRecognizedLine) -> Single: ...
|
|
274
|
+
BoundingBox = property(get_BoundingBox, None)
|
|
275
|
+
LineStyleConfidence = property(get_LineStyleConfidence, None)
|
|
276
|
+
Style = property(get_Style, None)
|
|
277
|
+
Text = property(get_Text, None)
|
|
278
|
+
Words = property(get_Words, None)
|
|
279
|
+
class RecognizedLineStyle(Enum, Int32):
|
|
280
|
+
Handwritten = 0
|
|
281
|
+
class RecognizedText(ComPtr):
|
|
282
|
+
extends: IInspectable
|
|
283
|
+
default_interface: win32more.Microsoft.Windows.AI.Imaging.IRecognizedText
|
|
284
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.RecognizedText'
|
|
285
|
+
@winrt_mixinmethod
|
|
286
|
+
def get_Lines(self: win32more.Microsoft.Windows.AI.Imaging.IRecognizedText) -> ReceiveArray[win32more.Microsoft.Windows.AI.Imaging.RecognizedLine]: ...
|
|
287
|
+
@winrt_mixinmethod
|
|
288
|
+
def get_TextAngle(self: win32more.Microsoft.Windows.AI.Imaging.IRecognizedText) -> Single: ...
|
|
289
|
+
Lines = property(get_Lines, None)
|
|
290
|
+
TextAngle = property(get_TextAngle, None)
|
|
291
|
+
class RecognizedTextBoundingBox(Structure):
|
|
292
|
+
_name_ = 'Microsoft.Windows.AI.Imaging.RecognizedTextBoundingBox'
|
|
293
|
+
BottomLeft: win32more.Windows.Foundation.Point
|
|
294
|
+
BottomRight: win32more.Windows.Foundation.Point
|
|
295
|
+
TopLeft: win32more.Windows.Foundation.Point
|
|
296
|
+
TopRight: win32more.Windows.Foundation.Point
|
|
297
|
+
class RecognizedWord(ComPtr):
|
|
298
|
+
extends: IInspectable
|
|
299
|
+
default_interface: win32more.Microsoft.Windows.AI.Imaging.IRecognizedWord
|
|
300
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.RecognizedWord'
|
|
301
|
+
@winrt_mixinmethod
|
|
302
|
+
def get_Text(self: win32more.Microsoft.Windows.AI.Imaging.IRecognizedWord) -> hstr: ...
|
|
303
|
+
@winrt_mixinmethod
|
|
304
|
+
def get_BoundingBox(self: win32more.Microsoft.Windows.AI.Imaging.IRecognizedWord) -> win32more.Microsoft.Windows.AI.Imaging.RecognizedTextBoundingBox: ...
|
|
305
|
+
@winrt_mixinmethod
|
|
306
|
+
def get_MatchConfidence(self: win32more.Microsoft.Windows.AI.Imaging.IRecognizedWord) -> Single: ...
|
|
307
|
+
BoundingBox = property(get_BoundingBox, None)
|
|
308
|
+
MatchConfidence = property(get_MatchConfidence, None)
|
|
309
|
+
Text = property(get_Text, None)
|
|
310
|
+
TextRecognitionContract: UInt32 = 65536
|
|
311
|
+
class TextRecognizer(ComPtr):
|
|
312
|
+
extends: IInspectable
|
|
313
|
+
implements: Tuple[ContextManagerProtocol]
|
|
314
|
+
default_interface: win32more.Microsoft.Windows.AI.Imaging.ITextRecognizer
|
|
315
|
+
_classid_ = 'Microsoft.Windows.AI.Imaging.TextRecognizer'
|
|
316
|
+
@winrt_mixinmethod
|
|
317
|
+
def RecognizeTextFromImageAsync(self: win32more.Microsoft.Windows.AI.Imaging.ITextRecognizer, imageBuffer: win32more.Microsoft.Graphics.Imaging.ImageBuffer) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Imaging.RecognizedText]: ...
|
|
318
|
+
@winrt_mixinmethod
|
|
319
|
+
def RecognizeTextFromImage(self: win32more.Microsoft.Windows.AI.Imaging.ITextRecognizer, imageBuffer: win32more.Microsoft.Graphics.Imaging.ImageBuffer) -> win32more.Microsoft.Windows.AI.Imaging.RecognizedText: ...
|
|
320
|
+
@winrt_mixinmethod
|
|
321
|
+
def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
|
|
322
|
+
@winrt_classmethod
|
|
323
|
+
def GetReadyState(cls: win32more.Microsoft.Windows.AI.Imaging.ITextRecognizerStatics) -> win32more.Microsoft.Windows.AI.AIFeatureReadyState: ...
|
|
324
|
+
@winrt_classmethod
|
|
325
|
+
def EnsureReadyAsync(cls: win32more.Microsoft.Windows.AI.Imaging.ITextRecognizerStatics) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.AIFeatureReadyResult, Double]: ...
|
|
326
|
+
@winrt_classmethod
|
|
327
|
+
def CreateAsync(cls: win32more.Microsoft.Windows.AI.Imaging.ITextRecognizerStatics) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Imaging.TextRecognizer]: ...
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
make_ready(__name__)
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from win32more._prelude import *
|
|
3
|
+
import win32more.Microsoft.Windows.AI
|
|
4
|
+
import win32more.Microsoft.Windows.AI.ContentSafety
|
|
5
|
+
import win32more.Microsoft.Windows.AI.Text
|
|
6
|
+
import win32more.Windows.Foundation
|
|
7
|
+
class ILanguageModel(ComPtr):
|
|
8
|
+
extends: IInspectable
|
|
9
|
+
_classid_ = 'Microsoft.Windows.AI.Text.ILanguageModel'
|
|
10
|
+
_iid_ = Guid('{6331c629-8c86-5bfe-8c4e-9ca5573cc14b}')
|
|
11
|
+
class ILanguageModelContext(ComPtr):
|
|
12
|
+
extends: IInspectable
|
|
13
|
+
_classid_ = 'Microsoft.Windows.AI.Text.ILanguageModelContext'
|
|
14
|
+
_iid_ = Guid('{518b305c-7b69-5a33-8129-d47d6b8eec4e}')
|
|
15
|
+
class ILanguageModelOptions(ComPtr):
|
|
16
|
+
extends: IInspectable
|
|
17
|
+
_classid_ = 'Microsoft.Windows.AI.Text.ILanguageModelOptions'
|
|
18
|
+
_iid_ = Guid('{7f380003-5a09-5f1f-afb0-aa483e3670cc}')
|
|
19
|
+
@winrt_commethod(6)
|
|
20
|
+
def get_Temperature(self) -> Single: ...
|
|
21
|
+
@winrt_commethod(7)
|
|
22
|
+
def put_Temperature(self, value: Single) -> Void: ...
|
|
23
|
+
@winrt_commethod(8)
|
|
24
|
+
def get_TopP(self) -> Single: ...
|
|
25
|
+
@winrt_commethod(9)
|
|
26
|
+
def put_TopP(self, value: Single) -> Void: ...
|
|
27
|
+
@winrt_commethod(10)
|
|
28
|
+
def get_TopK(self) -> UInt32: ...
|
|
29
|
+
@winrt_commethod(11)
|
|
30
|
+
def put_TopK(self, value: UInt32) -> Void: ...
|
|
31
|
+
@winrt_commethod(12)
|
|
32
|
+
def get_ContentFilterOptions(self) -> win32more.Microsoft.Windows.AI.ContentSafety.ContentFilterOptions: ...
|
|
33
|
+
@winrt_commethod(13)
|
|
34
|
+
def put_ContentFilterOptions(self, value: win32more.Microsoft.Windows.AI.ContentSafety.ContentFilterOptions) -> Void: ...
|
|
35
|
+
ContentFilterOptions = property(get_ContentFilterOptions, put_ContentFilterOptions)
|
|
36
|
+
Temperature = property(get_Temperature, put_Temperature)
|
|
37
|
+
TopK = property(get_TopK, put_TopK)
|
|
38
|
+
TopP = property(get_TopP, put_TopP)
|
|
39
|
+
class ILanguageModelResponseResult(ComPtr):
|
|
40
|
+
extends: IInspectable
|
|
41
|
+
_classid_ = 'Microsoft.Windows.AI.Text.ILanguageModelResponseResult'
|
|
42
|
+
_iid_ = Guid('{3a256fff-a426-5d3b-8e4b-3ac84162471e}')
|
|
43
|
+
@winrt_commethod(6)
|
|
44
|
+
def get_Text(self) -> hstr: ...
|
|
45
|
+
@winrt_commethod(7)
|
|
46
|
+
def get_Status(self) -> win32more.Microsoft.Windows.AI.Text.LanguageModelResponseStatus: ...
|
|
47
|
+
@winrt_commethod(8)
|
|
48
|
+
def get_ExtendedError(self) -> win32more.Windows.Foundation.HResult: ...
|
|
49
|
+
ExtendedError = property(get_ExtendedError, None)
|
|
50
|
+
Status = property(get_Status, None)
|
|
51
|
+
Text = property(get_Text, None)
|
|
52
|
+
class ILanguageModelStatics(ComPtr):
|
|
53
|
+
extends: IInspectable
|
|
54
|
+
_classid_ = 'Microsoft.Windows.AI.Text.ILanguageModelStatics'
|
|
55
|
+
_iid_ = Guid('{8f18f9af-6095-553b-8d9d-6bcc98026546}')
|
|
56
|
+
@winrt_commethod(6)
|
|
57
|
+
def GetReadyState(self) -> win32more.Microsoft.Windows.AI.AIFeatureReadyState: ...
|
|
58
|
+
@winrt_commethod(7)
|
|
59
|
+
def EnsureReadyAsync(self) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.AIFeatureReadyResult, Double]: ...
|
|
60
|
+
@winrt_commethod(8)
|
|
61
|
+
def CreateAsync(self) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Text.LanguageModel]: ...
|
|
62
|
+
class ITextRewriter(ComPtr):
|
|
63
|
+
extends: IInspectable
|
|
64
|
+
_classid_ = 'Microsoft.Windows.AI.Text.ITextRewriter'
|
|
65
|
+
_iid_ = Guid('{eb1e7cf0-e110-506c-b0ea-7a288d8e7778}')
|
|
66
|
+
@winrt_commethod(6)
|
|
67
|
+
def RewriteAsync(self, text: hstr) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
|
|
68
|
+
class ITextRewriterFactory(ComPtr):
|
|
69
|
+
extends: IInspectable
|
|
70
|
+
_classid_ = 'Microsoft.Windows.AI.Text.ITextRewriterFactory'
|
|
71
|
+
_iid_ = Guid('{f452e60d-ef50-5bc9-b483-217d5b4e7151}')
|
|
72
|
+
@winrt_commethod(6)
|
|
73
|
+
def CreateInstance(self, languageModel: win32more.Microsoft.Windows.AI.Text.LanguageModel) -> win32more.Microsoft.Windows.AI.Text.TextRewriter: ...
|
|
74
|
+
class ITextSummarizer(ComPtr):
|
|
75
|
+
extends: IInspectable
|
|
76
|
+
_classid_ = 'Microsoft.Windows.AI.Text.ITextSummarizer'
|
|
77
|
+
_iid_ = Guid('{eef548c5-d7bc-50be-a8ab-29e241b78bd1}')
|
|
78
|
+
@winrt_commethod(6)
|
|
79
|
+
def SummarizeAsync(self, text: hstr) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
|
|
80
|
+
@winrt_commethod(7)
|
|
81
|
+
def SummarizeParagraphAsync(self, text: hstr) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
|
|
82
|
+
class ITextSummarizerFactory(ComPtr):
|
|
83
|
+
extends: IInspectable
|
|
84
|
+
_classid_ = 'Microsoft.Windows.AI.Text.ITextSummarizerFactory'
|
|
85
|
+
_iid_ = Guid('{b6a75913-4a1e-59e7-856a-ae7ab2383864}')
|
|
86
|
+
@winrt_commethod(6)
|
|
87
|
+
def CreateInstance(self, languageModel: win32more.Microsoft.Windows.AI.Text.LanguageModel) -> win32more.Microsoft.Windows.AI.Text.TextSummarizer: ...
|
|
88
|
+
class ITextToTableConverter(ComPtr):
|
|
89
|
+
extends: IInspectable
|
|
90
|
+
_classid_ = 'Microsoft.Windows.AI.Text.ITextToTableConverter'
|
|
91
|
+
_iid_ = Guid('{a008d9ad-25ce-5a6b-9ceb-d8e95d04e10b}')
|
|
92
|
+
@winrt_commethod(6)
|
|
93
|
+
def ConvertAsync(self, text: hstr) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.TextToTableResponseResult, hstr]: ...
|
|
94
|
+
class ITextToTableConverterFactory(ComPtr):
|
|
95
|
+
extends: IInspectable
|
|
96
|
+
_classid_ = 'Microsoft.Windows.AI.Text.ITextToTableConverterFactory'
|
|
97
|
+
_iid_ = Guid('{bb84cbb5-19c8-5857-b65d-705aa1486404}')
|
|
98
|
+
@winrt_commethod(6)
|
|
99
|
+
def CreateInstance(self, languageModel: win32more.Microsoft.Windows.AI.Text.LanguageModel) -> win32more.Microsoft.Windows.AI.Text.TextToTableConverter: ...
|
|
100
|
+
class ITextToTableResponseResult(ComPtr):
|
|
101
|
+
extends: IInspectable
|
|
102
|
+
_classid_ = 'Microsoft.Windows.AI.Text.ITextToTableResponseResult'
|
|
103
|
+
_iid_ = Guid('{391fbf11-59cd-575d-834a-9ef823116f98}')
|
|
104
|
+
@winrt_commethod(6)
|
|
105
|
+
def GetRows(self) -> ReceiveArray[win32more.Microsoft.Windows.AI.Text.TextToTableRow]: ...
|
|
106
|
+
@winrt_commethod(7)
|
|
107
|
+
def get_Status(self) -> win32more.Microsoft.Windows.AI.Text.LanguageModelResponseStatus: ...
|
|
108
|
+
@winrt_commethod(8)
|
|
109
|
+
def get_ExtendedError(self) -> win32more.Windows.Foundation.HResult: ...
|
|
110
|
+
ExtendedError = property(get_ExtendedError, None)
|
|
111
|
+
Status = property(get_Status, None)
|
|
112
|
+
class ITextToTableRow(ComPtr):
|
|
113
|
+
extends: IInspectable
|
|
114
|
+
_classid_ = 'Microsoft.Windows.AI.Text.ITextToTableRow'
|
|
115
|
+
_iid_ = Guid('{036294fe-e53c-5e66-93d2-7c92338db881}')
|
|
116
|
+
@winrt_commethod(6)
|
|
117
|
+
def GetColumns(self) -> ReceiveArray[hstr]: ...
|
|
118
|
+
class LanguageModel(ComPtr):
|
|
119
|
+
extends: IInspectable
|
|
120
|
+
implements: Tuple[ContextManagerProtocol]
|
|
121
|
+
default_interface: win32more.Microsoft.Windows.AI.Text.ILanguageModel
|
|
122
|
+
_classid_ = 'Microsoft.Windows.AI.Text.LanguageModel'
|
|
123
|
+
@winrt_mixinmethod
|
|
124
|
+
def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
|
|
125
|
+
@winrt_classmethod
|
|
126
|
+
def GetReadyState(cls: win32more.Microsoft.Windows.AI.Text.ILanguageModelStatics) -> win32more.Microsoft.Windows.AI.AIFeatureReadyState: ...
|
|
127
|
+
@winrt_classmethod
|
|
128
|
+
def EnsureReadyAsync(cls: win32more.Microsoft.Windows.AI.Text.ILanguageModelStatics) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.AIFeatureReadyResult, Double]: ...
|
|
129
|
+
@winrt_classmethod
|
|
130
|
+
def CreateAsync(cls: win32more.Microsoft.Windows.AI.Text.ILanguageModelStatics) -> win32more.Windows.Foundation.IAsyncOperation[win32more.Microsoft.Windows.AI.Text.LanguageModel]: ...
|
|
131
|
+
class LanguageModelContext(ComPtr):
|
|
132
|
+
extends: IInspectable
|
|
133
|
+
implements: Tuple[ContextManagerProtocol]
|
|
134
|
+
default_interface: win32more.Microsoft.Windows.AI.Text.ILanguageModelContext
|
|
135
|
+
_classid_ = 'Microsoft.Windows.AI.Text.LanguageModelContext'
|
|
136
|
+
@winrt_mixinmethod
|
|
137
|
+
def Close(self: win32more.Windows.Foundation.IClosable) -> Void: ...
|
|
138
|
+
LanguageModelContract: UInt32 = 131072
|
|
139
|
+
class LanguageModelOptions(ComPtr):
|
|
140
|
+
extends: IInspectable
|
|
141
|
+
default_interface: win32more.Microsoft.Windows.AI.Text.ILanguageModelOptions
|
|
142
|
+
_classid_ = 'Microsoft.Windows.AI.Text.LanguageModelOptions'
|
|
143
|
+
def __init__(self, *args, **kwargs):
|
|
144
|
+
if kwargs:
|
|
145
|
+
super().__init__(**kwargs)
|
|
146
|
+
elif len(args) == 0:
|
|
147
|
+
super().__init__(move=win32more.Microsoft.Windows.AI.Text.LanguageModelOptions.CreateInstance(*args))
|
|
148
|
+
else:
|
|
149
|
+
raise ValueError('no matched constructor')
|
|
150
|
+
@winrt_activatemethod
|
|
151
|
+
def CreateInstance(cls) -> win32more.Microsoft.Windows.AI.Text.LanguageModelOptions: ...
|
|
152
|
+
@winrt_mixinmethod
|
|
153
|
+
def get_Temperature(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelOptions) -> Single: ...
|
|
154
|
+
@winrt_mixinmethod
|
|
155
|
+
def put_Temperature(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelOptions, value: Single) -> Void: ...
|
|
156
|
+
@winrt_mixinmethod
|
|
157
|
+
def get_TopP(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelOptions) -> Single: ...
|
|
158
|
+
@winrt_mixinmethod
|
|
159
|
+
def put_TopP(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelOptions, value: Single) -> Void: ...
|
|
160
|
+
@winrt_mixinmethod
|
|
161
|
+
def get_TopK(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelOptions) -> UInt32: ...
|
|
162
|
+
@winrt_mixinmethod
|
|
163
|
+
def put_TopK(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelOptions, value: UInt32) -> Void: ...
|
|
164
|
+
@winrt_mixinmethod
|
|
165
|
+
def get_ContentFilterOptions(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelOptions) -> win32more.Microsoft.Windows.AI.ContentSafety.ContentFilterOptions: ...
|
|
166
|
+
@winrt_mixinmethod
|
|
167
|
+
def put_ContentFilterOptions(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelOptions, value: win32more.Microsoft.Windows.AI.ContentSafety.ContentFilterOptions) -> Void: ...
|
|
168
|
+
ContentFilterOptions = property(get_ContentFilterOptions, put_ContentFilterOptions)
|
|
169
|
+
Temperature = property(get_Temperature, put_Temperature)
|
|
170
|
+
TopK = property(get_TopK, put_TopK)
|
|
171
|
+
TopP = property(get_TopP, put_TopP)
|
|
172
|
+
class LanguageModelResponseResult(ComPtr):
|
|
173
|
+
extends: IInspectable
|
|
174
|
+
default_interface: win32more.Microsoft.Windows.AI.Text.ILanguageModelResponseResult
|
|
175
|
+
_classid_ = 'Microsoft.Windows.AI.Text.LanguageModelResponseResult'
|
|
176
|
+
@winrt_mixinmethod
|
|
177
|
+
def get_Text(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelResponseResult) -> hstr: ...
|
|
178
|
+
@winrt_mixinmethod
|
|
179
|
+
def get_Status(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelResponseResult) -> win32more.Microsoft.Windows.AI.Text.LanguageModelResponseStatus: ...
|
|
180
|
+
@winrt_mixinmethod
|
|
181
|
+
def get_ExtendedError(self: win32more.Microsoft.Windows.AI.Text.ILanguageModelResponseResult) -> win32more.Windows.Foundation.HResult: ...
|
|
182
|
+
ExtendedError = property(get_ExtendedError, None)
|
|
183
|
+
Status = property(get_Status, None)
|
|
184
|
+
Text = property(get_Text, None)
|
|
185
|
+
class LanguageModelResponseStatus(Enum, Int32):
|
|
186
|
+
Complete = 0
|
|
187
|
+
InProgress = 1
|
|
188
|
+
BlockedByPolicy = 2
|
|
189
|
+
PromptLargerThanContext = 3
|
|
190
|
+
PromptBlockedByContentModeration = 4
|
|
191
|
+
ResponseBlockedByContentModeration = 5
|
|
192
|
+
Error = 6
|
|
193
|
+
TextIntelligenceContract: UInt32 = 131072
|
|
194
|
+
class TextRewriter(ComPtr):
|
|
195
|
+
extends: IInspectable
|
|
196
|
+
default_interface: win32more.Microsoft.Windows.AI.Text.ITextRewriter
|
|
197
|
+
_classid_ = 'Microsoft.Windows.AI.Text.TextRewriter'
|
|
198
|
+
def __init__(self, *args, **kwargs):
|
|
199
|
+
if kwargs:
|
|
200
|
+
super().__init__(**kwargs)
|
|
201
|
+
elif len(args) == 1:
|
|
202
|
+
super().__init__(move=win32more.Microsoft.Windows.AI.Text.TextRewriter.CreateInstance(*args))
|
|
203
|
+
else:
|
|
204
|
+
raise ValueError('no matched constructor')
|
|
205
|
+
@winrt_factorymethod
|
|
206
|
+
def CreateInstance(cls: win32more.Microsoft.Windows.AI.Text.ITextRewriterFactory, languageModel: win32more.Microsoft.Windows.AI.Text.LanguageModel) -> win32more.Microsoft.Windows.AI.Text.TextRewriter: ...
|
|
207
|
+
@winrt_mixinmethod
|
|
208
|
+
def RewriteAsync(self: win32more.Microsoft.Windows.AI.Text.ITextRewriter, text: hstr) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
|
|
209
|
+
class TextSummarizer(ComPtr):
|
|
210
|
+
extends: IInspectable
|
|
211
|
+
default_interface: win32more.Microsoft.Windows.AI.Text.ITextSummarizer
|
|
212
|
+
_classid_ = 'Microsoft.Windows.AI.Text.TextSummarizer'
|
|
213
|
+
def __init__(self, *args, **kwargs):
|
|
214
|
+
if kwargs:
|
|
215
|
+
super().__init__(**kwargs)
|
|
216
|
+
elif len(args) == 1:
|
|
217
|
+
super().__init__(move=win32more.Microsoft.Windows.AI.Text.TextSummarizer.CreateInstance(*args))
|
|
218
|
+
else:
|
|
219
|
+
raise ValueError('no matched constructor')
|
|
220
|
+
@winrt_factorymethod
|
|
221
|
+
def CreateInstance(cls: win32more.Microsoft.Windows.AI.Text.ITextSummarizerFactory, languageModel: win32more.Microsoft.Windows.AI.Text.LanguageModel) -> win32more.Microsoft.Windows.AI.Text.TextSummarizer: ...
|
|
222
|
+
@winrt_mixinmethod
|
|
223
|
+
def SummarizeAsync(self: win32more.Microsoft.Windows.AI.Text.ITextSummarizer, text: hstr) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
|
|
224
|
+
@winrt_mixinmethod
|
|
225
|
+
def SummarizeParagraphAsync(self: win32more.Microsoft.Windows.AI.Text.ITextSummarizer, text: hstr) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.LanguageModelResponseResult, hstr]: ...
|
|
226
|
+
class TextToTableConverter(ComPtr):
|
|
227
|
+
extends: IInspectable
|
|
228
|
+
default_interface: win32more.Microsoft.Windows.AI.Text.ITextToTableConverter
|
|
229
|
+
_classid_ = 'Microsoft.Windows.AI.Text.TextToTableConverter'
|
|
230
|
+
def __init__(self, *args, **kwargs):
|
|
231
|
+
if kwargs:
|
|
232
|
+
super().__init__(**kwargs)
|
|
233
|
+
elif len(args) == 1:
|
|
234
|
+
super().__init__(move=win32more.Microsoft.Windows.AI.Text.TextToTableConverter.CreateInstance(*args))
|
|
235
|
+
else:
|
|
236
|
+
raise ValueError('no matched constructor')
|
|
237
|
+
@winrt_factorymethod
|
|
238
|
+
def CreateInstance(cls: win32more.Microsoft.Windows.AI.Text.ITextToTableConverterFactory, languageModel: win32more.Microsoft.Windows.AI.Text.LanguageModel) -> win32more.Microsoft.Windows.AI.Text.TextToTableConverter: ...
|
|
239
|
+
@winrt_mixinmethod
|
|
240
|
+
def ConvertAsync(self: win32more.Microsoft.Windows.AI.Text.ITextToTableConverter, text: hstr) -> win32more.Windows.Foundation.IAsyncOperationWithProgress[win32more.Microsoft.Windows.AI.Text.TextToTableResponseResult, hstr]: ...
|
|
241
|
+
class TextToTableResponseResult(ComPtr):
|
|
242
|
+
extends: IInspectable
|
|
243
|
+
default_interface: win32more.Microsoft.Windows.AI.Text.ITextToTableResponseResult
|
|
244
|
+
_classid_ = 'Microsoft.Windows.AI.Text.TextToTableResponseResult'
|
|
245
|
+
@winrt_mixinmethod
|
|
246
|
+
def GetRows(self: win32more.Microsoft.Windows.AI.Text.ITextToTableResponseResult) -> ReceiveArray[win32more.Microsoft.Windows.AI.Text.TextToTableRow]: ...
|
|
247
|
+
@winrt_mixinmethod
|
|
248
|
+
def get_Status(self: win32more.Microsoft.Windows.AI.Text.ITextToTableResponseResult) -> win32more.Microsoft.Windows.AI.Text.LanguageModelResponseStatus: ...
|
|
249
|
+
@winrt_mixinmethod
|
|
250
|
+
def get_ExtendedError(self: win32more.Microsoft.Windows.AI.Text.ITextToTableResponseResult) -> win32more.Windows.Foundation.HResult: ...
|
|
251
|
+
ExtendedError = property(get_ExtendedError, None)
|
|
252
|
+
Status = property(get_Status, None)
|
|
253
|
+
class TextToTableRow(ComPtr):
|
|
254
|
+
extends: IInspectable
|
|
255
|
+
default_interface: win32more.Microsoft.Windows.AI.Text.ITextToTableRow
|
|
256
|
+
_classid_ = 'Microsoft.Windows.AI.Text.TextToTableRow'
|
|
257
|
+
@winrt_mixinmethod
|
|
258
|
+
def GetColumns(self: win32more.Microsoft.Windows.AI.Text.ITextToTableRow) -> ReceiveArray[hstr]: ...
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
make_ready(__name__)
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from win32more._prelude import *
|
|
3
|
+
import win32more.Microsoft.Windows.AI
|
|
4
|
+
import win32more.Windows.Foundation
|
|
5
|
+
AIFeatureReadyContract: UInt32 = 65536
|
|
6
|
+
class AIFeatureReadyResult(ComPtr):
|
|
7
|
+
extends: IInspectable
|
|
8
|
+
default_interface: win32more.Microsoft.Windows.AI.IAIFeatureReadyResult
|
|
9
|
+
_classid_ = 'Microsoft.Windows.AI.AIFeatureReadyResult'
|
|
10
|
+
@winrt_mixinmethod
|
|
11
|
+
def get_Error(self: win32more.Microsoft.Windows.AI.IAIFeatureReadyResult) -> win32more.Windows.Foundation.HResult: ...
|
|
12
|
+
@winrt_mixinmethod
|
|
13
|
+
def get_ErrorDisplayText(self: win32more.Microsoft.Windows.AI.IAIFeatureReadyResult) -> hstr: ...
|
|
14
|
+
@winrt_mixinmethod
|
|
15
|
+
def get_ExtendedError(self: win32more.Microsoft.Windows.AI.IAIFeatureReadyResult) -> win32more.Windows.Foundation.HResult: ...
|
|
16
|
+
@winrt_mixinmethod
|
|
17
|
+
def get_Status(self: win32more.Microsoft.Windows.AI.IAIFeatureReadyResult) -> win32more.Microsoft.Windows.AI.AIFeatureReadyResultState: ...
|
|
18
|
+
Error = property(get_Error, None)
|
|
19
|
+
ErrorDisplayText = property(get_ErrorDisplayText, None)
|
|
20
|
+
ExtendedError = property(get_ExtendedError, None)
|
|
21
|
+
Status = property(get_Status, None)
|
|
22
|
+
class AIFeatureReadyResultState(Enum, Int32):
|
|
23
|
+
InProgress = 0
|
|
24
|
+
Success = 1
|
|
25
|
+
Failure = 2
|
|
26
|
+
class AIFeatureReadyState(Enum, Int32):
|
|
27
|
+
Ready = 0
|
|
28
|
+
NotReady = 1
|
|
29
|
+
NotSupportedOnCurrentSystem = 2
|
|
30
|
+
DisabledByUser = 3
|
|
31
|
+
class IAIFeatureReadyResult(ComPtr):
|
|
32
|
+
extends: IInspectable
|
|
33
|
+
_classid_ = 'Microsoft.Windows.AI.IAIFeatureReadyResult'
|
|
34
|
+
_iid_ = Guid('{936a78a6-c242-5937-9814-e512d4193a6d}')
|
|
35
|
+
@winrt_commethod(6)
|
|
36
|
+
def get_Error(self) -> win32more.Windows.Foundation.HResult: ...
|
|
37
|
+
@winrt_commethod(7)
|
|
38
|
+
def get_ErrorDisplayText(self) -> hstr: ...
|
|
39
|
+
@winrt_commethod(8)
|
|
40
|
+
def get_ExtendedError(self) -> win32more.Windows.Foundation.HResult: ...
|
|
41
|
+
@winrt_commethod(9)
|
|
42
|
+
def get_Status(self) -> win32more.Microsoft.Windows.AI.AIFeatureReadyResultState: ...
|
|
43
|
+
Error = property(get_Error, None)
|
|
44
|
+
ErrorDisplayText = property(get_ErrorDisplayText, None)
|
|
45
|
+
ExtendedError = property(get_ExtendedError, None)
|
|
46
|
+
Status = property(get_Status, None)
|
|
47
|
+
|
|
48
|
+
|
|
49
|
+
make_ready(__name__)
|
|
@@ -189,6 +189,12 @@ class RuntimeCompatibilityChange(Enum, Int32):
|
|
|
189
189
|
FixStuckPointerInputQueue = 56620717
|
|
190
190
|
FixWebViewVisibilityReentrancyCrash = 56852985
|
|
191
191
|
FixWindowCloseFocusCrash = 56873234
|
|
192
|
+
ActivateDirectManipulationManager_CheckCanInit = 56997009
|
|
193
|
+
DwmCoreI_OptimizeFirstFrameLatency = 57345278
|
|
194
|
+
InputStateManager_PenInputCrashX86 = 57003641
|
|
195
|
+
ApplicationDataProvider_ReentrancyProtection = 57688028
|
|
196
|
+
InputPointerSource_FlushReentrancyCrash = 57705537
|
|
197
|
+
WindowChrome_SetTitleBarCrash = 57693465
|
|
192
198
|
RuntimeCompatibilityContract: UInt32 = 65536
|
|
193
199
|
class RuntimeCompatibilityOptions(ComPtr):
|
|
194
200
|
extends: IInspectable
|
|
@@ -100,6 +100,13 @@ class IWidgetInfo2(ComPtr):
|
|
|
100
100
|
@winrt_commethod(6)
|
|
101
101
|
def get_IsPlaceholderContent(self) -> Boolean: ...
|
|
102
102
|
IsPlaceholderContent = property(get_IsPlaceholderContent, None)
|
|
103
|
+
class IWidgetInfo3(ComPtr):
|
|
104
|
+
extends: IInspectable
|
|
105
|
+
_classid_ = 'Microsoft.Windows.Widgets.Providers.IWidgetInfo3'
|
|
106
|
+
_iid_ = Guid('{965538cd-289d-54ab-916e-9315ebf97ea4}')
|
|
107
|
+
@winrt_commethod(6)
|
|
108
|
+
def get_Rank(self) -> Int32: ...
|
|
109
|
+
Rank = property(get_Rank, None)
|
|
103
110
|
class IWidgetManager(ComPtr):
|
|
104
111
|
extends: IInspectable
|
|
105
112
|
_classid_ = 'Microsoft.Windows.Widgets.Providers.IWidgetManager'
|
|
@@ -272,6 +279,15 @@ class IWidgetUpdateRequestOptions2(ComPtr):
|
|
|
272
279
|
@winrt_commethod(7)
|
|
273
280
|
def put_IsPlaceholderContent(self, value: win32more.Windows.Foundation.IReference[Boolean]) -> Void: ...
|
|
274
281
|
IsPlaceholderContent = property(get_IsPlaceholderContent, put_IsPlaceholderContent)
|
|
282
|
+
class IWidgetUpdateRequestOptions3(ComPtr):
|
|
283
|
+
extends: IInspectable
|
|
284
|
+
_classid_ = 'Microsoft.Windows.Widgets.Providers.IWidgetUpdateRequestOptions3'
|
|
285
|
+
_iid_ = Guid('{a78e2a8b-a26c-596a-ade3-db8f4c72fe02}')
|
|
286
|
+
@winrt_commethod(6)
|
|
287
|
+
def get_Rank(self) -> win32more.Windows.Foundation.IReference[Int32]: ...
|
|
288
|
+
@winrt_commethod(7)
|
|
289
|
+
def put_Rank(self, value: win32more.Windows.Foundation.IReference[Int32]) -> Void: ...
|
|
290
|
+
Rank = property(get_Rank, put_Rank)
|
|
275
291
|
class IWidgetUpdateRequestOptionsFactory(ComPtr):
|
|
276
292
|
extends: IInspectable
|
|
277
293
|
_classid_ = 'Microsoft.Windows.Widgets.Providers.IWidgetUpdateRequestOptionsFactory'
|
|
@@ -370,10 +386,13 @@ class WidgetInfo(ComPtr):
|
|
|
370
386
|
def get_LastUpdateTime(self: win32more.Microsoft.Windows.Widgets.Providers.IWidgetInfo) -> win32more.Windows.Foundation.DateTime: ...
|
|
371
387
|
@winrt_mixinmethod
|
|
372
388
|
def get_IsPlaceholderContent(self: win32more.Microsoft.Windows.Widgets.Providers.IWidgetInfo2) -> Boolean: ...
|
|
389
|
+
@winrt_mixinmethod
|
|
390
|
+
def get_Rank(self: win32more.Microsoft.Windows.Widgets.Providers.IWidgetInfo3) -> Int32: ...
|
|
373
391
|
CustomState = property(get_CustomState, None)
|
|
374
392
|
Data = property(get_Data, None)
|
|
375
393
|
IsPlaceholderContent = property(get_IsPlaceholderContent, None)
|
|
376
394
|
LastUpdateTime = property(get_LastUpdateTime, None)
|
|
395
|
+
Rank = property(get_Rank, None)
|
|
377
396
|
Template = property(get_Template, None)
|
|
378
397
|
WidgetContext = property(get_WidgetContext, None)
|
|
379
398
|
class WidgetManager(ComPtr):
|
|
@@ -499,11 +518,16 @@ class WidgetUpdateRequestOptions(ComPtr, metaclass=_WidgetUpdateRequestOptions_M
|
|
|
499
518
|
def get_IsPlaceholderContent(self: win32more.Microsoft.Windows.Widgets.Providers.IWidgetUpdateRequestOptions2) -> win32more.Windows.Foundation.IReference[Boolean]: ...
|
|
500
519
|
@winrt_mixinmethod
|
|
501
520
|
def put_IsPlaceholderContent(self: win32more.Microsoft.Windows.Widgets.Providers.IWidgetUpdateRequestOptions2, value: win32more.Windows.Foundation.IReference[Boolean]) -> Void: ...
|
|
521
|
+
@winrt_mixinmethod
|
|
522
|
+
def get_Rank(self: win32more.Microsoft.Windows.Widgets.Providers.IWidgetUpdateRequestOptions3) -> win32more.Windows.Foundation.IReference[Int32]: ...
|
|
523
|
+
@winrt_mixinmethod
|
|
524
|
+
def put_Rank(self: win32more.Microsoft.Windows.Widgets.Providers.IWidgetUpdateRequestOptions3, value: win32more.Windows.Foundation.IReference[Int32]) -> Void: ...
|
|
502
525
|
@winrt_classmethod
|
|
503
526
|
def get_UnsetValue(cls: win32more.Microsoft.Windows.Widgets.Providers.IWidgetUpdateRequestOptionsStatics) -> hstr: ...
|
|
504
527
|
CustomState = property(get_CustomState, put_CustomState)
|
|
505
528
|
Data = property(get_Data, put_Data)
|
|
506
529
|
IsPlaceholderContent = property(get_IsPlaceholderContent, put_IsPlaceholderContent)
|
|
530
|
+
Rank = property(get_Rank, put_Rank)
|
|
507
531
|
Template = property(get_Template, put_Template)
|
|
508
532
|
WidgetId = property(get_WidgetId, None)
|
|
509
533
|
_WidgetUpdateRequestOptions_Meta_.UnsetValue = property(get_UnsetValue, None)
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
from __future__ import annotations
|
|
2
|
+
from win32more._prelude import *
|
|
3
|
+
import win32more.Microsoft.Windows.Workloads
|
|
4
|
+
class WorkloadPriority(Enum, Int32):
|
|
5
|
+
Undefined = 0
|
|
6
|
+
Background = 1
|
|
7
|
+
Foreground = 9
|
|
8
|
+
WorkloadsContract: UInt32 = 524288
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
make_ready(__name__)
|
win32more/appsdk/versioninfo.py
CHANGED
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: win32more-Microsoft.WindowsAppSDK
|
|
3
|
-
Version: 0.7.1.7.
|
|
3
|
+
Version: 0.7.1.7.250606001
|
|
4
4
|
License-File: LICENSE (Microsoft.WindowsAppSDK).txt
|
|
5
5
|
Requires-Dist: win32more-core==0.7.*
|
|
6
6
|
Requires-Dist: win32more-microsoft-web-webview2<0.8,>=0.7.1.0.2903.40
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
win32more/Microsoft/Foundation/__init__.py,sha256=uBiPB8eC50dANB9oAwfEKdAngit7Tyvfe466OLJ0dI4,174
|
|
2
2
|
win32more/Microsoft/Graphics/DirectX/__init__.py,sha256=0AP9od5oEOgy1AwzARPknJZhIneIwhuxp3rpPkNuxrM,4373
|
|
3
3
|
win32more/Microsoft/Graphics/Display/__init__.py,sha256=1uStDy44oB5s7_nLDdd0edV7LdTRVs4mh-B6iDjptgE,12690
|
|
4
|
+
win32more/Microsoft/Graphics/Imaging/__init__.py,sha256=rbjpO7zbXSgwuH35MXGEwbyQuYK1qj0Mbek2b4tn7kc,4307
|
|
4
5
|
win32more/Microsoft/Security/Authentication/OAuth/__init__.py,sha256=-iHWXAAWCSLnTYUfnqaTawBSv8ggZnRRexeVHwh4hvI,37823
|
|
5
6
|
win32more/Microsoft/UI/__init__.py,sha256=dkMSKdO1ydMgUmqTdgK059HOqIvSk0GMHqqpgBN8_YI,49040
|
|
6
7
|
win32more/Microsoft/UI/Composition/__init__.py,sha256=7KXtcgB_X9e3hEumCgNHY2aPFu2kTZck6Z7jz3ua6XY,320983
|
|
@@ -41,6 +42,10 @@ win32more/Microsoft/UI/Xaml/Printing/__init__.py,sha256=oKlZWjZ3Q-xgqhIdnIbf0zeg
|
|
|
41
42
|
win32more/Microsoft/UI/Xaml/Resources/__init__.py,sha256=rRggZ7zMHnBC-kz6TwK5ZcnyCTQP_cuxrgBIYuYUuj0,3292
|
|
42
43
|
win32more/Microsoft/UI/Xaml/Shapes/__init__.py,sha256=-9rOsbOKuVUbWfD9-JgRnVGGGLh4L9cSd7S12BsBtiI,30987
|
|
43
44
|
win32more/Microsoft/UI/Xaml/XamlTypeInfo/__init__.py,sha256=WgiFUn2yjRD0P3pLBIzLCuS5Egi_W6ebOdf_6kSjPPs,2198
|
|
45
|
+
win32more/Microsoft/Windows/AI/__init__.py,sha256=OVC8NxksWlh_MvSMiVfXy_7zsNYySPVrLG_wnJGaqlw,2217
|
|
46
|
+
win32more/Microsoft/Windows/AI/ContentSafety/__init__.py,sha256=8zyju03OMh4KJG7yB_RyC4zeG8jX13CvMfdOlLxlLs0,14326
|
|
47
|
+
win32more/Microsoft/Windows/AI/Imaging/__init__.py,sha256=T8JHLetBnvvIuXL1C_Rv2yE56PZmcTTMd6ZaaTAmUMI,22761
|
|
48
|
+
win32more/Microsoft/Windows/AI/Text/__init__.py,sha256=7G7SosQVrjYnOTPlE0FuJLiS0hT7ixYscT971c8mbNM,15509
|
|
44
49
|
win32more/Microsoft/Windows/AppLifecycle/__init__.py,sha256=JcccnjDp6lm9OMiS6onwETpC81rrT0nqdJ4Js2XIhXk,9936
|
|
45
50
|
win32more/Microsoft/Windows/AppNotifications/__init__.py,sha256=elg2Hm_WROPnNOAMKVRfBSZr28RowKlum2tmliyc-eo,21171
|
|
46
51
|
win32more/Microsoft/Windows/AppNotifications/Builder/__init__.py,sha256=fbYQ_OKeRgq7hIczBthcPZzDQo610cspTTWnb4aOVg8,43256
|
|
@@ -48,7 +53,7 @@ win32more/Microsoft/Windows/ApplicationModel/Background/__init__.py,sha256=iHD7g
|
|
|
48
53
|
win32more/Microsoft/Windows/ApplicationModel/Background/UniversalBGTask/__init__.py,sha256=tOOyNIiGq-iYEy49nudjsCa4Jj7xzol60On3otXZQPQ,1552
|
|
49
54
|
win32more/Microsoft/Windows/ApplicationModel/DynamicDependency/__init__.py,sha256=2CIzZluAnMNE8KyzUl0LG9c2tmELppDjqQhvznsrrqQ,17620
|
|
50
55
|
win32more/Microsoft/Windows/ApplicationModel/Resources/__init__.py,sha256=wHHg-cUXKVWFqRn7sHwjr4OgkQs1ryUGwgUogy9j8mQ,22061
|
|
51
|
-
win32more/Microsoft/Windows/ApplicationModel/WindowsAppRuntime/__init__.py,sha256=
|
|
56
|
+
win32more/Microsoft/Windows/ApplicationModel/WindowsAppRuntime/__init__.py,sha256=fMOTdJdvy9WKDCe7mjSAzTT4ayCOVjipR6v2j-79FGs,15537
|
|
52
57
|
win32more/Microsoft/Windows/BadgeNotifications/__init__.py,sha256=I3HVubpQqDN3XOlWHZ4sPjea6OpA1iqulp078ekAPaI,2557
|
|
53
58
|
win32more/Microsoft/Windows/Globalization/__init__.py,sha256=U9_5FOQf3cgqNlU0lh_TDzInUxoYi9oyeaG1PcKpNxk,2276
|
|
54
59
|
win32more/Microsoft/Windows/Management/Deployment/__init__.py,sha256=Leue3n92F6OrbIzFd3z7UxyRwG2X2sBl6GlsGNSmlhM,96786
|
|
@@ -58,18 +63,19 @@ win32more/Microsoft/Windows/Security/AccessControl/__init__.py,sha256=qi__JVEKPq
|
|
|
58
63
|
win32more/Microsoft/Windows/Storage/__init__.py,sha256=hyCZxynJAMGh0YuQ7z1YUvdpytoK8VPKx3S0e6WLDjQ,10601
|
|
59
64
|
win32more/Microsoft/Windows/System/__init__.py,sha256=2GQnrlhdzzkVj7IRF4LOTn9nruLVG7T7rhqdNTSPGvA,4393
|
|
60
65
|
win32more/Microsoft/Windows/System/Power/__init__.py,sha256=mzBzuX4Ez5fZBO6ZCtAFuW1Z7ZfRbRQmihxsD_1J_4M,18069
|
|
61
|
-
win32more/Microsoft/Windows/Widgets/__init__.py,sha256=
|
|
66
|
+
win32more/Microsoft/Windows/Widgets/__init__.py,sha256=dW9329PqzNCpTqoIxeHU5Ai-L9QUdFX0KleM3w9Aa_g,251
|
|
62
67
|
win32more/Microsoft/Windows/Widgets/Feeds/Providers/__init__.py,sha256=w7eFaw42idP71iIj2DeKhJk2PhDho7_xeWWeDN-G4pU,28265
|
|
63
68
|
win32more/Microsoft/Windows/Widgets/Notifications/__init__.py,sha256=VlHjcJjaIjTM-CTSpmyhMvi9xDuiP7iHT7X5kaI3YPk,12343
|
|
64
|
-
win32more/Microsoft/Windows/Widgets/Providers/__init__.py,sha256=
|
|
65
|
-
win32more/
|
|
66
|
-
win32more/
|
|
67
|
-
win32more/dll/arm64/Microsoft.
|
|
68
|
-
win32more/dll/
|
|
69
|
-
win32more/dll/x64/Microsoft.
|
|
70
|
-
win32more/dll/
|
|
71
|
-
win32more/dll/x86/Microsoft.
|
|
72
|
-
|
|
73
|
-
win32more_microsoft_windowsappsdk-0.7.1.7.
|
|
74
|
-
win32more_microsoft_windowsappsdk-0.7.1.7.
|
|
75
|
-
win32more_microsoft_windowsappsdk-0.7.1.7.
|
|
69
|
+
win32more/Microsoft/Windows/Widgets/Providers/__init__.py,sha256=TSAVqcXc4LGuHslrDe6IMGBLCbuV1U2fugKMFIawgDE,31820
|
|
70
|
+
win32more/Microsoft/Windows/Workloads/__init__.py,sha256=SBOPevXwOL1k1ujX0sbQUP5Gg8VDWI3nXdrBKZMi4y0,275
|
|
71
|
+
win32more/appsdk/versioninfo.py,sha256=XGsPpziQL2p2GGQlgToAxG5_HBRdo2EpkZM8ZS5lFZE,149
|
|
72
|
+
win32more/dll/arm64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll,sha256=Fy-oB9yQ2xR3-UPZGSgvt1wjHCN--9puctOtx-4eNzo,72224
|
|
73
|
+
win32more/dll/arm64/Microsoft.WindowsAppRuntime.Bootstrap.dll,sha256=09DNH0n6bvzoO8TR8QdcIfQ5f6v-b1V_CKzNRvL90oM,388648
|
|
74
|
+
win32more/dll/x64/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll,sha256=mGmjSuL6yThoR1KTrbDkLLVfdPDw0LyoV8zax-wIP44,79904
|
|
75
|
+
win32more/dll/x64/Microsoft.WindowsAppRuntime.Bootstrap.dll,sha256=CftRGIg4I6yXrV4bPrPj8SFJ991dA4Xdyl7liuoXqq4,396328
|
|
76
|
+
win32more/dll/x86/Microsoft.Windows.ApplicationModel.Background.UniversalBGTask.dll,sha256=37FdKtwtcQUzfCfao0sOwWvWdK_tbBVholQUMlnZs3s,59960
|
|
77
|
+
win32more/dll/x86/Microsoft.WindowsAppRuntime.Bootstrap.dll,sha256=HUzqtW8_IozBwhylxC_1obsrE3cUonWkym-Jcxdc0-I,348216
|
|
78
|
+
win32more_microsoft_windowsappsdk-0.7.1.7.250606001.dist-info/METADATA,sha256=bt81DYac-_fkgU6ee3IP4dke-KoUkUjOQyiVZvQ7_Ss,248
|
|
79
|
+
win32more_microsoft_windowsappsdk-0.7.1.7.250606001.dist-info/WHEEL,sha256=tkmg4JIqwd9H8mL30xA7crRmoStyCtGp0VWshokd1Jc,105
|
|
80
|
+
win32more_microsoft_windowsappsdk-0.7.1.7.250606001.dist-info/licenses/LICENSE (Microsoft.WindowsAppSDK).txt,sha256=-e0AFHYEvcSMfmLRJ9cyRXgc5TkDzvnDhj-KfvgSDMI,12402
|
|
81
|
+
win32more_microsoft_windowsappsdk-0.7.1.7.250606001.dist-info/RECORD,,
|
|
@@ -8,7 +8,7 @@ These license terms are an agreement between you and Microsoft Corporation (or o
|
|
|
8
8
|
|
|
9
9
|
1. INSTALLATION AND USE RIGHTS.
|
|
10
10
|
|
|
11
|
-
a) General. Subject to the terms of this agreement, you may install and use any number of copies of the software to develop and test your applications, solely for use on Windows.
|
|
11
|
+
a) General. Subject to the terms of this agreement, you may install and use any number of copies of the software to develop and test your applications, solely for use on Windows. When building Generative AI applications follow the guidelines in https://learn.microsoft.com/windows/ai/rai.
|
|
12
12
|
|
|
13
13
|
b) Included Microsoft Applications. The software may include other Microsoft applications. These license terms apply to those included applications, if any, unless other license terms are provided with the other Microsoft applications.
|
|
14
14
|
|