winrt-Windows.System.Profile 3.2.1__tar.gz → 4!10.0.28000.2705__tar.gz

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.
Files changed (24) hide show
  1. winrt_windows_system_profile-4!10.0.28000.2705/.gitignore +5 -0
  2. winrt_windows_system_profile-4!10.0.28000.2705/LICENSE +22 -0
  3. winrt_windows_system_profile-4!10.0.28000.2705/PKG-INFO +49 -0
  4. winrt_windows_system_profile-4!10.0.28000.2705/README.md +17 -0
  5. winrt_windows_system_profile-4!10.0.28000.2705/pyproject.toml +61 -0
  6. winrt_windows_system_profile-4!10.0.28000.2705/winrt/windows/system/profile/__init__.py +32 -0
  7. winrt_windows_system_profile-3.2.1/winrt/_winrt_windows_system_profile.pyi → winrt_windows_system_profile-4!10.0.28000.2705/winrt/windows/system/profile/__init__.pyi +115 -47
  8. winrt_windows_system_profile-4!10.0.28000.2705/winrt/windows/system/profile/_table.pywinrt.txt +712 -0
  9. winrt_windows_system_profile-3.2.1/PKG-INFO +0 -28
  10. winrt_windows_system_profile-3.2.1/README.md +0 -7
  11. winrt_windows_system_profile-3.2.1/all-requirements.txt +0 -6
  12. winrt_windows_system_profile-3.2.1/py.Windows.System.Profile.cpp +0 -3188
  13. winrt_windows_system_profile-3.2.1/pyproject.toml +0 -47
  14. winrt_windows_system_profile-3.2.1/pywinrt-version.txt +0 -1
  15. winrt_windows_system_profile-3.2.1/requirements.txt +0 -3
  16. winrt_windows_system_profile-3.2.1/setup.cfg +0 -4
  17. winrt_windows_system_profile-3.2.1/setup.py +0 -33
  18. winrt_windows_system_profile-3.2.1/winrt/windows/system/profile/__init__.py +0 -76
  19. winrt_windows_system_profile-3.2.1/winrt_Windows.System.Profile.egg-info/PKG-INFO +0 -28
  20. winrt_windows_system_profile-3.2.1/winrt_Windows.System.Profile.egg-info/SOURCES.txt +0 -15
  21. winrt_windows_system_profile-3.2.1/winrt_Windows.System.Profile.egg-info/dependency_links.txt +0 -1
  22. winrt_windows_system_profile-3.2.1/winrt_Windows.System.Profile.egg-info/requires.txt +0 -7
  23. winrt_windows_system_profile-3.2.1/winrt_Windows.System.Profile.egg-info/top_level.txt +0 -1
  24. {winrt_windows_system_profile-3.2.1 → winrt_windows_system_profile-4!10.0.28000.2705}/winrt/windows/system/profile/py.typed +0 -0
@@ -0,0 +1,5 @@
1
+ *.egg-info
2
+ *.tar.gz
3
+ *.whl
4
+ build/
5
+ dist/
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation. All rights reserved.
4
+ Copyright (c) 2021-2026 David Lechner <david@pybricks.com>
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE
@@ -0,0 +1,49 @@
1
+ Metadata-Version: 2.5
2
+ Name: winrt-Windows.System.Profile
3
+ Version: 4!10.0.28000.2705
4
+ Summary: PyWinRT projection of the Windows.System.Profile namespace
5
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
6
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Operating System :: Microsoft :: Windows
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3.14
17
+ Classifier: Programming Language :: Python :: 3.15
18
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
19
+ Classifier: Programming Language :: Python :: Implementation :: CPython
20
+ Classifier: Typing :: Typed
21
+ Requires-Python: >=3.11
22
+ Requires-Dist: winrt-runtime<5,>=4.0.0
23
+ Requires-Dist: winrt-windows-foundation-collections>=4!10.0.28000.2705
24
+ Requires-Dist: winrt-windows-foundation>=4!10.0.28000.2705
25
+ Requires-Dist: winrt-windows-storage-streams>=4!10.0.28000.2705
26
+ Provides-Extra: all
27
+ Requires-Dist: winrt-windows-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
28
+ Requires-Dist: winrt-windows-foundation[all]>=4!10.0.28000.2705; extra == 'all'
29
+ Requires-Dist: winrt-windows-storage-streams[all]>=4!10.0.28000.2705; extra == 'all'
30
+ Requires-Dist: winrt-windows-system[all]>=4!10.0.28000.2705; extra == 'all'
31
+ Description-Content-Type: text/markdown
32
+
33
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
34
+
35
+ # winrt-Windows.System.Profile
36
+
37
+ Windows Runtime (WinRT) APIs for the `Windows.System.Profile` namespace.
38
+
39
+ This package provides the `winrt.windows.system.profile` module.
40
+
41
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
42
+ `Microsoft.Windows.SDK.CPP` NuGet package.
43
+
44
+ ```
45
+ pip install winrt-Windows.System.Profile
46
+ ```
47
+
48
+ Other WinRT namespaces are packages of their own, so install the package of
49
+ each namespace your code imports from.
@@ -0,0 +1,17 @@
1
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
2
+
3
+ # winrt-Windows.System.Profile
4
+
5
+ Windows Runtime (WinRT) APIs for the `Windows.System.Profile` namespace.
6
+
7
+ This package provides the `winrt.windows.system.profile` module.
8
+
9
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
10
+ `Microsoft.Windows.SDK.CPP` NuGet package.
11
+
12
+ ```
13
+ pip install winrt-Windows.System.Profile
14
+ ```
15
+
16
+ Other WinRT namespaces are packages of their own, so install the package of
17
+ each namespace your code imports from.
@@ -0,0 +1,61 @@
1
+ # WARNING: Please don't edit this file. It was automatically generated.
2
+
3
+ [build-system]
4
+ requires = ["hatchling", "winrt-table-compiler>=4.0.0,<5"]
5
+ build-backend = "hatchling.build"
6
+
7
+ [project]
8
+ name = "winrt-Windows.System.Profile"
9
+ version = "4!10.0.28000.2705"
10
+ description = "PyWinRT projection of the Windows.System.Profile namespace"
11
+ readme = "README.md"
12
+ license = "MIT"
13
+ license-files = ["LICENSE"]
14
+ classifiers = [
15
+ "Operating System :: Microsoft :: Windows",
16
+ "Programming Language :: Python :: 3",
17
+ "Programming Language :: Python :: 3.11",
18
+ "Programming Language :: Python :: 3.12",
19
+ "Programming Language :: Python :: 3.13",
20
+ "Programming Language :: Python :: 3.14",
21
+ "Programming Language :: Python :: 3.15",
22
+ "Programming Language :: Python :: Implementation :: CPython",
23
+ "Intended Audience :: Developers",
24
+ "Programming Language :: Python :: Free Threading :: 2 - Beta",
25
+ "Typing :: Typed",
26
+ ]
27
+ requires-python = ">=3.11"
28
+ dependencies = [
29
+ "winrt-runtime>=4.0.0,<5",
30
+ "winrt-Windows.Foundation>=4!10.0.28000.2705",
31
+ "winrt-Windows.Foundation.Collections>=4!10.0.28000.2705",
32
+ "winrt-Windows.Storage.Streams>=4!10.0.28000.2705",
33
+ ]
34
+
35
+ [project.optional-dependencies]
36
+ all = [
37
+ "winrt-Windows.Foundation[all]>=4!10.0.28000.2705",
38
+ "winrt-Windows.Foundation.Collections[all]>=4!10.0.28000.2705",
39
+ "winrt-Windows.Storage.Streams[all]>=4!10.0.28000.2705",
40
+ "winrt-Windows.System[all]>=4!10.0.28000.2705",
41
+ ]
42
+
43
+ [project.urls]
44
+ Documentation = "https://pywinrt.readthedocs.io"
45
+ Repository = "https://github.com/pywinrt/pywinrt"
46
+ Changelog = "https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md"
47
+
48
+ [tool.hatch.build.targets.sdist]
49
+ # The text form of the table is what the source distribution carries, and the
50
+ # compiled form is build output wherever it turns up. Hatchling reads no
51
+ # .gitignore above the package, so it has to be told about the latter.
52
+ only-include = ["winrt", "LICENSE", "README.md"]
53
+ exclude = ["**/_table.pywinrt"]
54
+
55
+ [tool.hatch.build.targets.wheel]
56
+ packages = ["winrt"]
57
+ exclude = ["**/_table.pywinrt.txt"]
58
+
59
+ # winrt.table.build_hooks in winrt-table-compiler, which compiles each table
60
+ # the package carries and puts the result beside the __init__.py that loads it.
61
+ [tool.hatch.build.targets.wheel.hooks.winrt-table-compiler]
@@ -0,0 +1,32 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import winrt.runtime._internals
4
+ import winrt.system
5
+
6
+ winrt.runtime._internals.load_projection(__spec__)
7
+
8
+ __all__ = [
9
+ "PlatformAutomaticAppSignInPolicy",
10
+ "PlatformDataCollectionLevel",
11
+ "SystemIdentificationSource",
12
+ "SystemOutOfBoxExperienceState",
13
+ "UnsupportedAppRequirementReasons",
14
+ "AnalyticsInfo",
15
+ "AnalyticsVersionInfo",
16
+ "AppApplicability",
17
+ "EducationSettings",
18
+ "HardwareIdentification",
19
+ "HardwareToken",
20
+ "KnownRetailInfoProperties",
21
+ "PlatformAutomaticAppSignInManager",
22
+ "PlatformDiagnosticsAndUsageDataSettings",
23
+ "RetailInfo",
24
+ "SharedModeSettings",
25
+ "SmartAppControlPolicy",
26
+ "SystemIdentification",
27
+ "SystemIdentificationInfo",
28
+ "SystemSetupInfo",
29
+ "UnsupportedAppRequirement",
30
+ "WindowsIntegrityPolicy",
31
+ ]
32
+
@@ -1,27 +1,71 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v3.2.1
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
2
 
3
- import datetime
4
- import sys
5
- import types
3
+ import collections.abc as _cabc
4
+ import enum
6
5
  import typing
7
- import uuid as _uuid
8
6
  from builtins import property as _property
9
7
 
10
- import winrt._winrt
11
8
  import winrt.system
12
9
  import winrt.windows.foundation as windows_foundation
13
10
  import winrt.windows.foundation.collections as windows_foundation_collections
14
11
  import winrt.windows.storage.streams as windows_storage_streams
15
12
  import winrt.windows.system as windows_system
16
13
 
17
- from winrt.windows.system.profile import PlatformAutomaticAppSignInPolicy, PlatformDataCollectionLevel, SystemIdentificationSource, SystemOutOfBoxExperienceState, UnsupportedAppRequirementReasons
18
-
19
- Self = typing.TypeVar('Self')
14
+ __all__ = [
15
+ "PlatformAutomaticAppSignInPolicy",
16
+ "PlatformDataCollectionLevel",
17
+ "SystemIdentificationSource",
18
+ "SystemOutOfBoxExperienceState",
19
+ "UnsupportedAppRequirementReasons",
20
+ "AnalyticsInfo",
21
+ "AnalyticsVersionInfo",
22
+ "AppApplicability",
23
+ "EducationSettings",
24
+ "HardwareIdentification",
25
+ "HardwareToken",
26
+ "KnownRetailInfoProperties",
27
+ "PlatformAutomaticAppSignInManager",
28
+ "PlatformDiagnosticsAndUsageDataSettings",
29
+ "RetailInfo",
30
+ "SharedModeSettings",
31
+ "SmartAppControlPolicy",
32
+ "SystemIdentification",
33
+ "SystemIdentificationInfo",
34
+ "SystemSetupInfo",
35
+ "UnsupportedAppRequirement",
36
+ "WindowsIntegrityPolicy",
37
+ ]
38
+
39
+ class PlatformAutomaticAppSignInPolicy(enum.IntEnum):
40
+ UNKNOWN = 0
41
+ PERMISSION_REQUIRED = 1
42
+ ALWAYS_ALLOWED = 2
43
+
44
+ class PlatformDataCollectionLevel(enum.IntEnum):
45
+ SECURITY = 0
46
+ BASIC = 1
47
+ ENHANCED = 2
48
+ FULL = 3
49
+
50
+ class SystemIdentificationSource(enum.IntEnum):
51
+ NONE = 0
52
+ TPM = 1
53
+ UEFI = 2
54
+ REGISTRY = 3
55
+
56
+ class SystemOutOfBoxExperienceState(enum.IntEnum):
57
+ NOT_STARTED = 0
58
+ IN_PROGRESS = 1
59
+ COMPLETED = 2
60
+
61
+ class UnsupportedAppRequirementReasons(enum.IntFlag):
62
+ UNKNOWN = 0x0
63
+ DENIED_BY_SYSTEM = 0x1
20
64
 
21
65
  @typing.final
22
- class AnalyticsInfo_Static(winrt._winrt.IInspectable_Static):
66
+ class AnalyticsInfo_Static(winrt.system.Object_Static):
23
67
  # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Collections.IMapView`2<System.String,System.String>> Windows.System.Profile.AnalyticsInfo::GetSystemPropertiesAsync(Windows.Foundation.Collections.IIterable`1<System.String>)
24
- def get_system_properties_async(cls, attribute_names: typing.Iterable[str], /) -> windows_foundation.IAsyncOperation[typing.Mapping[str, str]]: ...
68
+ def get_system_properties_async(cls, attribute_names: _cabc.Iterable[str], /) -> windows_foundation.IAsyncOperation[_cabc.Mapping[str, str]]: ...
25
69
  # System.String Windows.System.Profile.AnalyticsInfo::get_DeviceForm()
26
70
  @_property
27
71
  def device_form(cls) -> str: ...
@@ -31,10 +75,13 @@ class AnalyticsInfo_Static(winrt._winrt.IInspectable_Static):
31
75
 
32
76
  @typing.final
33
77
  class AnalyticsInfo(winrt.system.Object, metaclass=AnalyticsInfo_Static):
34
- pass
78
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
79
+ """A class of static members only, so there is nothing to create."""
35
80
 
36
81
  @typing.final
37
82
  class AnalyticsVersionInfo(winrt.system.Object):
83
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
84
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
38
85
  # System.String Windows.System.Profile.AnalyticsVersionInfo::get_DeviceFamily()
39
86
  @_property
40
87
  def device_family(self) -> str: ...
@@ -46,47 +93,52 @@ class AnalyticsVersionInfo(winrt.system.Object):
46
93
  def product_name(self) -> str: ...
47
94
 
48
95
  @typing.final
49
- class AppApplicability_Static(winrt._winrt.IInspectable_Static):
96
+ class AppApplicability_Static(winrt.system.Object_Static):
50
97
  # Windows.Foundation.Collections.IVectorView`1<Windows.System.Profile.UnsupportedAppRequirement> Windows.System.Profile.AppApplicability::GetUnsupportedAppRequirements(Windows.Foundation.Collections.IIterable`1<System.String>)
51
- def get_unsupported_app_requirements(cls, capabilities: typing.Iterable[str], /) -> typing.Sequence[UnsupportedAppRequirement]: ...
98
+ def get_unsupported_app_requirements(cls, capabilities: _cabc.Iterable[str], /) -> _cabc.Sequence[UnsupportedAppRequirement]: ...
52
99
 
53
100
  @typing.final
54
101
  class AppApplicability(winrt.system.Object, metaclass=AppApplicability_Static):
55
- pass
102
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
103
+ """A class of static members only, so there is nothing to create."""
56
104
 
57
105
  @typing.final
58
- class EducationSettings_Static(winrt._winrt.IInspectable_Static):
106
+ class EducationSettings_Static(winrt.system.Object_Static):
59
107
  # System.Boolean Windows.System.Profile.EducationSettings::get_IsEducationEnvironment()
60
108
  @_property
61
109
  def is_education_environment(cls) -> bool: ...
62
110
 
63
111
  @typing.final
64
112
  class EducationSettings(winrt.system.Object, metaclass=EducationSettings_Static):
65
- pass
113
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
114
+ """A class of static members only, so there is nothing to create."""
66
115
 
67
116
  @typing.final
68
- class HardwareIdentification_Static(winrt._winrt.IInspectable_Static):
117
+ class HardwareIdentification_Static(winrt.system.Object_Static):
69
118
  # Windows.System.Profile.HardwareToken Windows.System.Profile.HardwareIdentification::GetPackageSpecificToken(Windows.Storage.Streams.IBuffer)
70
- def get_package_specific_token(cls, nonce: winrt.system.Buffer, /) -> HardwareToken: ...
119
+ def get_package_specific_token(cls, nonce: winrt.system.ReadableBuffer, /) -> HardwareToken: ...
71
120
 
72
121
  @typing.final
73
122
  class HardwareIdentification(winrt.system.Object, metaclass=HardwareIdentification_Static):
74
- pass
123
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
124
+ """A class of static members only, so there is nothing to create."""
75
125
 
76
126
  @typing.final
77
127
  class HardwareToken(winrt.system.Object):
128
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
129
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
78
130
  # Windows.Storage.Streams.IBuffer Windows.System.Profile.HardwareToken::get_Certificate()
79
131
  @_property
80
- def certificate(self) -> winrt.system.Buffer: ...
132
+ def certificate(self) -> windows_storage_streams.IBuffer: ...
81
133
  # Windows.Storage.Streams.IBuffer Windows.System.Profile.HardwareToken::get_Id()
82
134
  @_property
83
- def id(self) -> winrt.system.Buffer: ...
135
+ def id(self) -> windows_storage_streams.IBuffer: ...
84
136
  # Windows.Storage.Streams.IBuffer Windows.System.Profile.HardwareToken::get_Signature()
85
137
  @_property
86
- def signature(self) -> winrt.system.Buffer: ...
138
+ def signature(self) -> windows_storage_streams.IBuffer: ...
87
139
 
88
140
  @typing.final
89
- class KnownRetailInfoProperties_Static(winrt._winrt.IInspectable_Static):
141
+ class KnownRetailInfoProperties_Static(winrt.system.Object_Static):
90
142
  # System.String Windows.System.Profile.KnownRetailInfoProperties::get_BatteryLifeDescription()
91
143
  @_property
92
144
  def battery_life_description(cls) -> str: ...
@@ -156,49 +208,56 @@ class KnownRetailInfoProperties_Static(winrt._winrt.IInspectable_Static):
156
208
 
157
209
  @typing.final
158
210
  class KnownRetailInfoProperties(winrt.system.Object, metaclass=KnownRetailInfoProperties_Static):
159
- pass
211
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
212
+ """A class of static members only, so there is nothing to create."""
160
213
 
161
214
  @typing.final
162
- class PlatformAutomaticAppSignInManager_Static(winrt._winrt.IInspectable_Static):
215
+ class PlatformAutomaticAppSignInManager_Static(winrt.system.Object_Static):
163
216
  # Windows.System.Profile.PlatformAutomaticAppSignInPolicy Windows.System.Profile.PlatformAutomaticAppSignInManager::get_Policy()
164
217
  @_property
165
218
  def policy(cls) -> PlatformAutomaticAppSignInPolicy: ...
166
219
 
167
220
  @typing.final
168
221
  class PlatformAutomaticAppSignInManager(winrt.system.Object, metaclass=PlatformAutomaticAppSignInManager_Static):
169
- pass
222
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
223
+ """A class of static members only, so there is nothing to create."""
170
224
 
171
225
  @typing.final
172
- class PlatformDiagnosticsAndUsageDataSettings_Static(winrt._winrt.IInspectable_Static):
226
+ class PlatformDiagnosticsAndUsageDataSettings_Static(winrt.system.Object_Static):
173
227
  # System.Boolean Windows.System.Profile.PlatformDiagnosticsAndUsageDataSettings::CanCollectDiagnostics(Windows.System.Profile.PlatformDataCollectionLevel)
174
228
  def can_collect_diagnostics(cls, level: PlatformDataCollectionLevel, /) -> bool: ...
175
229
  # Windows.Foundation.EventRegistrationToken Windows.System.Profile.PlatformDiagnosticsAndUsageDataSettings::add_CollectionLevelChanged(Windows.Foundation.EventHandler`1<System.Object>)
176
230
  def add_collection_level_changed(cls, handler: windows_foundation.EventHandler[winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
177
231
  # System.Void Windows.System.Profile.PlatformDiagnosticsAndUsageDataSettings::remove_CollectionLevelChanged(Windows.Foundation.EventRegistrationToken)
178
- def remove_collection_level_changed(cls, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
232
+ def remove_collection_level_changed(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
179
233
  # Windows.System.Profile.PlatformDataCollectionLevel Windows.System.Profile.PlatformDiagnosticsAndUsageDataSettings::get_CollectionLevel()
180
234
  @_property
181
235
  def collection_level(cls) -> PlatformDataCollectionLevel: ...
182
236
 
183
237
  @typing.final
184
238
  class PlatformDiagnosticsAndUsageDataSettings(winrt.system.Object, metaclass=PlatformDiagnosticsAndUsageDataSettings_Static):
185
- pass
239
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
240
+ """A class of static members only, so there is nothing to create."""
186
241
 
187
242
  @typing.final
188
- class RetailInfo_Static(winrt._winrt.IInspectable_Static):
243
+ class RetailInfo_Static(winrt.system.Object_Static):
189
244
  # System.Boolean Windows.System.Profile.RetailInfo::get_IsDemoModeEnabled()
190
245
  @_property
191
246
  def is_demo_mode_enabled(cls) -> bool: ...
192
247
  # Windows.Foundation.Collections.IMapView`2<System.String,System.Object> Windows.System.Profile.RetailInfo::get_Properties()
193
248
  @_property
194
- def properties(cls) -> typing.Mapping[str, winrt.system.Object]: ...
249
+ def properties(cls) -> _cabc.Mapping[str, winrt.system.Object]: ...
250
+ # System.Boolean Windows.System.Profile.RetailInfo::get_IsDemoModeEnabledEx()
251
+ @_property
252
+ def is_demo_mode_enabled_ex(cls) -> bool: ...
195
253
 
196
254
  @typing.final
197
255
  class RetailInfo(winrt.system.Object, metaclass=RetailInfo_Static):
198
- pass
256
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
257
+ """A class of static members only, so there is nothing to create."""
199
258
 
200
259
  @typing.final
201
- class SharedModeSettings_Static(winrt._winrt.IInspectable_Static):
260
+ class SharedModeSettings_Static(winrt.system.Object_Static):
202
261
  # System.Boolean Windows.System.Profile.SharedModeSettings::get_IsEnabled()
203
262
  @_property
204
263
  def is_enabled(cls) -> bool: ...
@@ -208,24 +267,26 @@ class SharedModeSettings_Static(winrt._winrt.IInspectable_Static):
208
267
 
209
268
  @typing.final
210
269
  class SharedModeSettings(winrt.system.Object, metaclass=SharedModeSettings_Static):
211
- pass
270
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
271
+ """A class of static members only, so there is nothing to create."""
212
272
 
213
273
  @typing.final
214
- class SmartAppControlPolicy_Static(winrt._winrt.IInspectable_Static):
274
+ class SmartAppControlPolicy_Static(winrt.system.Object_Static):
215
275
  # Windows.Foundation.EventRegistrationToken Windows.System.Profile.SmartAppControlPolicy::add_Changed(Windows.Foundation.EventHandler`1<System.Object>)
216
276
  def add_changed(cls, handler: windows_foundation.EventHandler[winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
217
277
  # System.Void Windows.System.Profile.SmartAppControlPolicy::remove_Changed(Windows.Foundation.EventRegistrationToken)
218
- def remove_changed(cls, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
278
+ def remove_changed(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
219
279
  # System.Boolean Windows.System.Profile.SmartAppControlPolicy::get_IsEnabled()
220
280
  @_property
221
281
  def is_enabled(cls) -> bool: ...
222
282
 
223
283
  @typing.final
224
284
  class SmartAppControlPolicy(winrt.system.Object, metaclass=SmartAppControlPolicy_Static):
225
- pass
285
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
286
+ """A class of static members only, so there is nothing to create."""
226
287
 
227
288
  @typing.final
228
- class SystemIdentification_Static(winrt._winrt.IInspectable_Static):
289
+ class SystemIdentification_Static(winrt.system.Object_Static):
229
290
  # Windows.System.Profile.SystemIdentificationInfo Windows.System.Profile.SystemIdentification::GetSystemIdForPublisher()
230
291
  def get_system_id_for_publisher(cls) -> SystemIdentificationInfo: ...
231
292
  # Windows.System.Profile.SystemIdentificationInfo Windows.System.Profile.SystemIdentification::GetSystemIdForUser(Windows.System.User)
@@ -233,33 +294,39 @@ class SystemIdentification_Static(winrt._winrt.IInspectable_Static):
233
294
 
234
295
  @typing.final
235
296
  class SystemIdentification(winrt.system.Object, metaclass=SystemIdentification_Static):
236
- pass
297
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
298
+ """A class of static members only, so there is nothing to create."""
237
299
 
238
300
  @typing.final
239
301
  class SystemIdentificationInfo(winrt.system.Object):
302
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
303
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
240
304
  # Windows.Storage.Streams.IBuffer Windows.System.Profile.SystemIdentificationInfo::get_Id()
241
305
  @_property
242
- def id(self) -> winrt.system.Buffer: ...
306
+ def id(self) -> windows_storage_streams.IBuffer: ...
243
307
  # Windows.System.Profile.SystemIdentificationSource Windows.System.Profile.SystemIdentificationInfo::get_Source()
244
308
  @_property
245
309
  def source(self) -> SystemIdentificationSource: ...
246
310
 
247
311
  @typing.final
248
- class SystemSetupInfo_Static(winrt._winrt.IInspectable_Static):
312
+ class SystemSetupInfo_Static(winrt.system.Object_Static):
249
313
  # Windows.Foundation.EventRegistrationToken Windows.System.Profile.SystemSetupInfo::add_OutOfBoxExperienceStateChanged(Windows.Foundation.EventHandler`1<System.Object>)
250
314
  def add_out_of_box_experience_state_changed(cls, handler: windows_foundation.EventHandler[winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
251
315
  # System.Void Windows.System.Profile.SystemSetupInfo::remove_OutOfBoxExperienceStateChanged(Windows.Foundation.EventRegistrationToken)
252
- def remove_out_of_box_experience_state_changed(cls, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
316
+ def remove_out_of_box_experience_state_changed(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
253
317
  # Windows.System.Profile.SystemOutOfBoxExperienceState Windows.System.Profile.SystemSetupInfo::get_OutOfBoxExperienceState()
254
318
  @_property
255
319
  def out_of_box_experience_state(cls) -> SystemOutOfBoxExperienceState: ...
256
320
 
257
321
  @typing.final
258
322
  class SystemSetupInfo(winrt.system.Object, metaclass=SystemSetupInfo_Static):
259
- pass
323
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
324
+ """A class of static members only, so there is nothing to create."""
260
325
 
261
326
  @typing.final
262
327
  class UnsupportedAppRequirement(winrt.system.Object):
328
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
329
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
263
330
  # Windows.System.Profile.UnsupportedAppRequirementReasons Windows.System.Profile.UnsupportedAppRequirement::get_Reasons()
264
331
  @_property
265
332
  def reasons(self) -> UnsupportedAppRequirementReasons: ...
@@ -268,11 +335,11 @@ class UnsupportedAppRequirement(winrt.system.Object):
268
335
  def requirement(self) -> str: ...
269
336
 
270
337
  @typing.final
271
- class WindowsIntegrityPolicy_Static(winrt._winrt.IInspectable_Static):
338
+ class WindowsIntegrityPolicy_Static(winrt.system.Object_Static):
272
339
  # Windows.Foundation.EventRegistrationToken Windows.System.Profile.WindowsIntegrityPolicy::add_PolicyChanged(Windows.Foundation.EventHandler`1<System.Object>)
273
340
  def add_policy_changed(cls, handler: windows_foundation.EventHandler[winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
274
341
  # System.Void Windows.System.Profile.WindowsIntegrityPolicy::remove_PolicyChanged(Windows.Foundation.EventRegistrationToken)
275
- def remove_policy_changed(cls, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
342
+ def remove_policy_changed(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
276
343
  # System.Boolean Windows.System.Profile.WindowsIntegrityPolicy::get_CanDisable()
277
344
  @_property
278
345
  def can_disable(cls) -> bool: ...
@@ -288,5 +355,6 @@ class WindowsIntegrityPolicy_Static(winrt._winrt.IInspectable_Static):
288
355
 
289
356
  @typing.final
290
357
  class WindowsIntegrityPolicy(winrt.system.Object, metaclass=WindowsIntegrityPolicy_Static):
291
- pass
358
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
359
+ """A class of static members only, so there is nothing to create."""
292
360