winrt-Windows.System.UserProfile 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_userprofile-4!10.0.28000.2705/.gitignore +5 -0
  2. winrt_windows_system_userprofile-4!10.0.28000.2705/LICENSE +22 -0
  3. winrt_windows_system_userprofile-4!10.0.28000.2705/PKG-INFO +51 -0
  4. winrt_windows_system_userprofile-4!10.0.28000.2705/README.md +17 -0
  5. winrt_windows_system_userprofile-4!10.0.28000.2705/pyproject.toml +63 -0
  6. winrt_windows_system_userprofile-4!10.0.28000.2705/winrt/windows/system/userprofile/__init__.py +24 -0
  7. winrt_windows_system_userprofile-3.2.1/winrt/_winrt_windows_system_userprofile.pyi → winrt_windows_system_userprofile-4!10.0.28000.2705/winrt/windows/system/userprofile/__init__.pyi +96 -46
  8. winrt_windows_system_userprofile-4!10.0.28000.2705/winrt/windows/system/userprofile/_table.pywinrt.txt +764 -0
  9. winrt_windows_system_userprofile-3.2.1/PKG-INFO +0 -30
  10. winrt_windows_system_userprofile-3.2.1/README.md +0 -7
  11. winrt_windows_system_userprofile-3.2.1/all-requirements.txt +0 -8
  12. winrt_windows_system_userprofile-3.2.1/py.Windows.System.UserProfile.cpp +0 -3213
  13. winrt_windows_system_userprofile-3.2.1/pyproject.toml +0 -47
  14. winrt_windows_system_userprofile-3.2.1/pywinrt-version.txt +0 -1
  15. winrt_windows_system_userprofile-3.2.1/requirements.txt +0 -3
  16. winrt_windows_system_userprofile-3.2.1/setup.cfg +0 -4
  17. winrt_windows_system_userprofile-3.2.1/setup.py +0 -33
  18. winrt_windows_system_userprofile-3.2.1/winrt/windows/system/userprofile/__init__.py +0 -54
  19. winrt_windows_system_userprofile-3.2.1/winrt_Windows.System.UserProfile.egg-info/PKG-INFO +0 -30
  20. winrt_windows_system_userprofile-3.2.1/winrt_Windows.System.UserProfile.egg-info/SOURCES.txt +0 -15
  21. winrt_windows_system_userprofile-3.2.1/winrt_Windows.System.UserProfile.egg-info/dependency_links.txt +0 -1
  22. winrt_windows_system_userprofile-3.2.1/winrt_Windows.System.UserProfile.egg-info/requires.txt +0 -9
  23. winrt_windows_system_userprofile-3.2.1/winrt_Windows.System.UserProfile.egg-info/top_level.txt +0 -1
  24. {winrt_windows_system_userprofile-3.2.1 → winrt_windows_system_userprofile-4!10.0.28000.2705}/winrt/windows/system/userprofile/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,51 @@
1
+ Metadata-Version: 2.5
2
+ Name: winrt-Windows.System.UserProfile
3
+ Version: 4!10.0.28000.2705
4
+ Summary: PyWinRT projection of the Windows.System.UserProfile 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-globalization[all]>=4!10.0.28000.2705; extra == 'all'
30
+ Requires-Dist: winrt-windows-storage-streams[all]>=4!10.0.28000.2705; extra == 'all'
31
+ Requires-Dist: winrt-windows-storage[all]>=4!10.0.28000.2705; extra == 'all'
32
+ Requires-Dist: winrt-windows-system[all]>=4!10.0.28000.2705; extra == 'all'
33
+ Description-Content-Type: text/markdown
34
+
35
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
36
+
37
+ # winrt-Windows.System.UserProfile
38
+
39
+ Windows Runtime (WinRT) APIs for the `Windows.System.UserProfile` namespace.
40
+
41
+ This package provides the `winrt.windows.system.userprofile` module.
42
+
43
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
44
+ `Microsoft.Windows.SDK.CPP` NuGet package.
45
+
46
+ ```
47
+ pip install winrt-Windows.System.UserProfile
48
+ ```
49
+
50
+ Other WinRT namespaces are packages of their own, so install the package of
51
+ 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.UserProfile
4
+
5
+ Windows Runtime (WinRT) APIs for the `Windows.System.UserProfile` namespace.
6
+
7
+ This package provides the `winrt.windows.system.userprofile` 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.UserProfile
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,63 @@
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.UserProfile"
9
+ version = "4!10.0.28000.2705"
10
+ description = "PyWinRT projection of the Windows.System.UserProfile 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.Globalization[all]>=4!10.0.28000.2705",
40
+ "winrt-Windows.Storage[all]>=4!10.0.28000.2705",
41
+ "winrt-Windows.Storage.Streams[all]>=4!10.0.28000.2705",
42
+ "winrt-Windows.System[all]>=4!10.0.28000.2705",
43
+ ]
44
+
45
+ [project.urls]
46
+ Documentation = "https://pywinrt.readthedocs.io"
47
+ Repository = "https://github.com/pywinrt/pywinrt"
48
+ Changelog = "https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md"
49
+
50
+ [tool.hatch.build.targets.sdist]
51
+ # The text form of the table is what the source distribution carries, and the
52
+ # compiled form is build output wherever it turns up. Hatchling reads no
53
+ # .gitignore above the package, so it has to be told about the latter.
54
+ only-include = ["winrt", "LICENSE", "README.md"]
55
+ exclude = ["**/_table.pywinrt"]
56
+
57
+ [tool.hatch.build.targets.wheel]
58
+ packages = ["winrt"]
59
+ exclude = ["**/_table.pywinrt.txt"]
60
+
61
+ # winrt.table.build_hooks in winrt-table-compiler, which compiles each table
62
+ # the package carries and puts the result beside the __init__.py that loads it.
63
+ [tool.hatch.build.targets.wheel.hooks.winrt-table-compiler]
@@ -0,0 +1,24 @@
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
+ "AccountPictureKind",
10
+ "SetAccountPictureResult",
11
+ "SetImageFeedResult",
12
+ "AdvertisingManager",
13
+ "AdvertisingManagerForUser",
14
+ "AssignedAccessSettings",
15
+ "DiagnosticsSettings",
16
+ "FirstSignInSettings",
17
+ "GlobalizationPreferences",
18
+ "GlobalizationPreferencesForUser",
19
+ "LockScreen",
20
+ "UserInformation",
21
+ "UserProfilePersonalizationSettings",
22
+ ]
23
+
24
+ winrt.runtime._internals.mixin_mapping(FirstSignInSettings)
@@ -1,13 +1,11 @@
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
7
+ from typing_extensions import deprecated
9
8
 
10
- import winrt._winrt
11
9
  import winrt.system
12
10
  import winrt.windows.foundation as windows_foundation
13
11
  import winrt.windows.foundation.collections as windows_foundation_collections
@@ -16,12 +14,44 @@ import winrt.windows.storage as windows_storage
16
14
  import winrt.windows.storage.streams as windows_storage_streams
17
15
  import winrt.windows.system as windows_system
18
16
 
19
- from winrt.windows.system.userprofile import AccountPictureKind, SetAccountPictureResult, SetImageFeedResult
17
+ __all__ = [
18
+ "AccountPictureKind",
19
+ "SetAccountPictureResult",
20
+ "SetImageFeedResult",
21
+ "AdvertisingManager",
22
+ "AdvertisingManagerForUser",
23
+ "AssignedAccessSettings",
24
+ "DiagnosticsSettings",
25
+ "FirstSignInSettings",
26
+ "GlobalizationPreferences",
27
+ "GlobalizationPreferencesForUser",
28
+ "LockScreen",
29
+ "UserInformation",
30
+ "UserProfilePersonalizationSettings",
31
+ ]
20
32
 
21
- Self = typing.TypeVar('Self')
33
+ @deprecated("Use User instead of UserInformation. For more info, see MSDN.")
34
+ class AccountPictureKind(enum.IntEnum):
35
+ SMALL_IMAGE = 0
36
+ LARGE_IMAGE = 1
37
+ VIDEO = 2
38
+
39
+ @deprecated("Use User instead of UserInformation. For more info, see MSDN.")
40
+ class SetAccountPictureResult(enum.IntEnum):
41
+ SUCCESS = 0
42
+ CHANGE_DISABLED = 1
43
+ LARGE_OR_DYNAMIC_ERROR = 2
44
+ VIDEO_FRAME_SIZE_ERROR = 3
45
+ FILE_SIZE_ERROR = 4
46
+ FAILURE = 5
47
+
48
+ class SetImageFeedResult(enum.IntEnum):
49
+ SUCCESS = 0
50
+ CHANGE_DISABLED = 1
51
+ USER_CANCELED = 2
22
52
 
23
53
  @typing.final
24
- class AdvertisingManager_Static(winrt._winrt.IInspectable_Static):
54
+ class AdvertisingManager_Static(winrt.system.Object_Static):
25
55
  # Windows.System.UserProfile.AdvertisingManagerForUser Windows.System.UserProfile.AdvertisingManager::GetForUser(Windows.System.User)
26
56
  def get_for_user(cls, user: windows_system.User, /) -> AdvertisingManagerForUser: ...
27
57
  # System.String Windows.System.UserProfile.AdvertisingManager::get_AdvertisingId()
@@ -30,10 +60,13 @@ class AdvertisingManager_Static(winrt._winrt.IInspectable_Static):
30
60
 
31
61
  @typing.final
32
62
  class AdvertisingManager(winrt.system.Object, metaclass=AdvertisingManager_Static):
33
- pass
63
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
64
+ """A class of static members only, so there is nothing to create."""
34
65
 
35
66
  @typing.final
36
67
  class AdvertisingManagerForUser(winrt.system.Object):
68
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
69
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
37
70
  # System.String Windows.System.UserProfile.AdvertisingManagerForUser::get_AdvertisingId()
38
71
  @_property
39
72
  def advertising_id(self) -> str: ...
@@ -42,7 +75,7 @@ class AdvertisingManagerForUser(winrt.system.Object):
42
75
  def user(self) -> windows_system.User: ...
43
76
 
44
77
  @typing.final
45
- class AssignedAccessSettings_Static(winrt._winrt.IInspectable_Static):
78
+ class AssignedAccessSettings_Static(winrt.system.Object_Static):
46
79
  # Windows.System.UserProfile.AssignedAccessSettings Windows.System.UserProfile.AssignedAccessSettings::GetDefault()
47
80
  def get_default(cls) -> AssignedAccessSettings: ...
48
81
  # Windows.System.UserProfile.AssignedAccessSettings Windows.System.UserProfile.AssignedAccessSettings::GetForUser(Windows.System.User)
@@ -50,6 +83,8 @@ class AssignedAccessSettings_Static(winrt._winrt.IInspectable_Static):
50
83
 
51
84
  @typing.final
52
85
  class AssignedAccessSettings(winrt.system.Object, metaclass=AssignedAccessSettings_Static):
86
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
87
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
53
88
  # System.Boolean Windows.System.UserProfile.AssignedAccessSettings::get_IsEnabled()
54
89
  @_property
55
90
  def is_enabled(self) -> bool: ...
@@ -61,7 +96,7 @@ class AssignedAccessSettings(winrt.system.Object, metaclass=AssignedAccessSettin
61
96
  def user(self) -> windows_system.User: ...
62
97
 
63
98
  @typing.final
64
- class DiagnosticsSettings_Static(winrt._winrt.IInspectable_Static):
99
+ class DiagnosticsSettings_Static(winrt.system.Object_Static):
65
100
  # Windows.System.UserProfile.DiagnosticsSettings Windows.System.UserProfile.DiagnosticsSettings::GetDefault()
66
101
  def get_default(cls) -> DiagnosticsSettings: ...
67
102
  # Windows.System.UserProfile.DiagnosticsSettings Windows.System.UserProfile.DiagnosticsSettings::GetForUser(Windows.System.User)
@@ -69,6 +104,8 @@ class DiagnosticsSettings_Static(winrt._winrt.IInspectable_Static):
69
104
 
70
105
  @typing.final
71
106
  class DiagnosticsSettings(winrt.system.Object, metaclass=DiagnosticsSettings_Static):
107
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
108
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
72
109
  # System.Boolean Windows.System.UserProfile.DiagnosticsSettings::get_CanUseDiagnosticsToTailorExperiences()
73
110
  @_property
74
111
  def can_use_diagnostics_to_tailor_experiences(self) -> bool: ...
@@ -77,16 +114,19 @@ class DiagnosticsSettings(winrt.system.Object, metaclass=DiagnosticsSettings_Sta
77
114
  def user(self) -> windows_system.User: ...
78
115
 
79
116
  @typing.final
80
- class FirstSignInSettings_Static(winrt._winrt.IInspectable_Static):
117
+ class FirstSignInSettings_Static(winrt.system.Object_Static):
81
118
  # Windows.System.UserProfile.FirstSignInSettings Windows.System.UserProfile.FirstSignInSettings::GetDefault()
82
119
  def get_default(cls) -> FirstSignInSettings: ...
83
120
 
84
121
  @typing.final
85
- class FirstSignInSettings(winrt.system.Object, winrt._winrt.Mapping[str, winrt.system.Object], metaclass=FirstSignInSettings_Static):
122
+ class FirstSignInSettings(_cabc.Mapping[str, winrt.system.Object], winrt.system.Object, metaclass=FirstSignInSettings_Static):
123
+ __hash__: typing.ClassVar[None] # type: ignore[assignment]
86
124
  def __len__(self) -> int: ...
87
- def __iter__(self) -> typing.Iterator[str]: ...
125
+ def __iter__(self) -> _cabc.Iterator[str]: ...
88
126
  def __contains__(self, key: object) -> bool: ...
89
127
  def __getitem__(self, key: str) -> 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."""
90
130
  # Windows.Foundation.Collections.IIterator`1<Windows.Foundation.Collections.IKeyValuePair`2<System.String,System.Object>> Windows.System.UserProfile.FirstSignInSettings::First()
91
131
  def first(self) -> windows_foundation_collections.IIterator[windows_foundation_collections.IKeyValuePair[str, winrt.system.Object]]: ...
92
132
  # System.Boolean Windows.System.UserProfile.FirstSignInSettings::HasKey(System.String)
@@ -94,59 +134,62 @@ class FirstSignInSettings(winrt.system.Object, winrt._winrt.Mapping[str, winrt.s
94
134
  # System.Object Windows.System.UserProfile.FirstSignInSettings::Lookup(System.String)
95
135
  def lookup(self, key: str, /) -> winrt.system.Object: ...
96
136
  # System.Void Windows.System.UserProfile.FirstSignInSettings::Split(Windows.Foundation.Collections.IMapView`2<System.String,System.Object>&,Windows.Foundation.Collections.IMapView`2<System.String,System.Object>&)
97
- def split(self) -> typing.Tuple[typing.Mapping[str, winrt.system.Object], typing.Mapping[str, winrt.system.Object]]: ...
137
+ def split(self) -> tuple[_cabc.Mapping[str, winrt.system.Object], _cabc.Mapping[str, winrt.system.Object]]: ...
98
138
  # System.UInt32 Windows.System.UserProfile.FirstSignInSettings::get_Size()
99
139
  @_property
100
140
  def size(self) -> winrt.system.UInt32: ...
101
141
 
102
142
  @typing.final
103
- class GlobalizationPreferences_Static(winrt._winrt.IInspectable_Static):
143
+ class GlobalizationPreferences_Static(winrt.system.Object_Static):
104
144
  # Windows.System.UserProfile.GlobalizationPreferencesForUser Windows.System.UserProfile.GlobalizationPreferences::GetForUser(Windows.System.User)
105
145
  def get_for_user(cls, user: windows_system.User, /) -> GlobalizationPreferencesForUser: ...
106
146
  # System.Boolean Windows.System.UserProfile.GlobalizationPreferences::TrySetHomeGeographicRegion(System.String)
107
147
  def try_set_home_geographic_region(cls, region: str, /) -> bool: ...
108
148
  # System.Boolean Windows.System.UserProfile.GlobalizationPreferences::TrySetLanguages(Windows.Foundation.Collections.IIterable`1<System.String>)
109
- def try_set_languages(cls, language_tags: typing.Iterable[str], /) -> bool: ...
149
+ def try_set_languages(cls, language_tags: _cabc.Iterable[str], /) -> bool: ...
110
150
  # Windows.Foundation.Collections.IVectorView`1<System.String> Windows.System.UserProfile.GlobalizationPreferences::get_Calendars()
111
151
  @_property
112
- def calendars(cls) -> typing.Sequence[str]: ...
152
+ def calendars(cls) -> _cabc.Sequence[str]: ...
113
153
  # Windows.Foundation.Collections.IVectorView`1<System.String> Windows.System.UserProfile.GlobalizationPreferences::get_Clocks()
114
154
  @_property
115
- def clocks(cls) -> typing.Sequence[str]: ...
155
+ def clocks(cls) -> _cabc.Sequence[str]: ...
116
156
  # Windows.Foundation.Collections.IVectorView`1<System.String> Windows.System.UserProfile.GlobalizationPreferences::get_Currencies()
117
157
  @_property
118
- def currencies(cls) -> typing.Sequence[str]: ...
158
+ def currencies(cls) -> _cabc.Sequence[str]: ...
119
159
  # System.String Windows.System.UserProfile.GlobalizationPreferences::get_HomeGeographicRegion()
120
160
  @_property
121
161
  def home_geographic_region(cls) -> str: ...
122
162
  # Windows.Foundation.Collections.IVectorView`1<System.String> Windows.System.UserProfile.GlobalizationPreferences::get_Languages()
123
163
  @_property
124
- def languages(cls) -> typing.Sequence[str]: ...
164
+ def languages(cls) -> _cabc.Sequence[str]: ...
125
165
  # Windows.Globalization.DayOfWeek Windows.System.UserProfile.GlobalizationPreferences::get_WeekStartsOn()
126
166
  @_property
127
167
  def week_starts_on(cls) -> windows_globalization.DayOfWeek: ...
128
168
 
129
169
  @typing.final
130
170
  class GlobalizationPreferences(winrt.system.Object, metaclass=GlobalizationPreferences_Static):
131
- pass
171
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
172
+ """A class of static members only, so there is nothing to create."""
132
173
 
133
174
  @typing.final
134
175
  class GlobalizationPreferencesForUser(winrt.system.Object):
176
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
177
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
135
178
  # Windows.Foundation.Collections.IVectorView`1<System.String> Windows.System.UserProfile.GlobalizationPreferencesForUser::get_Calendars()
136
179
  @_property
137
- def calendars(self) -> typing.Sequence[str]: ...
180
+ def calendars(self) -> _cabc.Sequence[str]: ...
138
181
  # Windows.Foundation.Collections.IVectorView`1<System.String> Windows.System.UserProfile.GlobalizationPreferencesForUser::get_Clocks()
139
182
  @_property
140
- def clocks(self) -> typing.Sequence[str]: ...
183
+ def clocks(self) -> _cabc.Sequence[str]: ...
141
184
  # Windows.Foundation.Collections.IVectorView`1<System.String> Windows.System.UserProfile.GlobalizationPreferencesForUser::get_Currencies()
142
185
  @_property
143
- def currencies(self) -> typing.Sequence[str]: ...
186
+ def currencies(self) -> _cabc.Sequence[str]: ...
144
187
  # System.String Windows.System.UserProfile.GlobalizationPreferencesForUser::get_HomeGeographicRegion()
145
188
  @_property
146
189
  def home_geographic_region(self) -> str: ...
147
190
  # Windows.Foundation.Collections.IVectorView`1<System.String> Windows.System.UserProfile.GlobalizationPreferencesForUser::get_Languages()
148
191
  @_property
149
- def languages(self) -> typing.Sequence[str]: ...
192
+ def languages(self) -> _cabc.Sequence[str]: ...
150
193
  # Windows.System.User Windows.System.UserProfile.GlobalizationPreferencesForUser::get_User()
151
194
  @_property
152
195
  def user(self) -> windows_system.User: ...
@@ -155,7 +198,7 @@ class GlobalizationPreferencesForUser(winrt.system.Object):
155
198
  def week_starts_on(self) -> windows_globalization.DayOfWeek: ...
156
199
 
157
200
  @typing.final
158
- class LockScreen_Static(winrt._winrt.IInspectable_Static):
201
+ class LockScreen_Static(winrt.system.Object_Static):
159
202
  # Windows.Storage.Streams.IRandomAccessStream Windows.System.UserProfile.LockScreen::GetImageStream()
160
203
  def get_image_stream(cls) -> windows_storage_streams.IRandomAccessStream: ...
161
204
  # Windows.Foundation.IAsyncOperation`1<Windows.System.UserProfile.SetImageFeedResult> Windows.System.UserProfile.LockScreen::RequestSetImageFeedAsync(Windows.Foundation.Uri)
@@ -172,62 +215,67 @@ class LockScreen_Static(winrt._winrt.IInspectable_Static):
172
215
 
173
216
  @typing.final
174
217
  class LockScreen(winrt.system.Object, metaclass=LockScreen_Static):
175
- pass
218
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
219
+ """A class of static members only, so there is nothing to create."""
176
220
 
177
221
  @typing.final
178
- class UserInformation_Static(winrt._winrt.IInspectable_Static):
222
+ class UserInformation_Static(winrt.system.Object_Static):
179
223
  # Windows.Storage.IStorageFile Windows.System.UserProfile.UserInformation::GetAccountPicture(Windows.System.UserProfile.AccountPictureKind)
180
- # @deprecated("Use User instead of UserInformation. For more info, see MSDN.")
224
+ @deprecated("Use User instead of UserInformation. For more info, see MSDN.")
181
225
  def get_account_picture(cls, kind: AccountPictureKind, /) -> windows_storage.IStorageFile: ...
182
226
  # Windows.Foundation.IAsyncOperation`1<System.String> Windows.System.UserProfile.UserInformation::GetDisplayNameAsync()
183
- # @deprecated("Use User instead of UserInformation. For more info, see MSDN.")
227
+ @deprecated("Use User instead of UserInformation. For more info, see MSDN.")
184
228
  def get_display_name_async(cls) -> windows_foundation.IAsyncOperation[str]: ...
185
229
  # Windows.Foundation.IAsyncOperation`1<System.String> Windows.System.UserProfile.UserInformation::GetDomainNameAsync()
186
- # @deprecated("Use User instead of UserInformation. For more info, see MSDN.")
230
+ @deprecated("Use User instead of UserInformation. For more info, see MSDN.")
187
231
  def get_domain_name_async(cls) -> windows_foundation.IAsyncOperation[str]: ...
188
232
  # Windows.Foundation.IAsyncOperation`1<System.String> Windows.System.UserProfile.UserInformation::GetFirstNameAsync()
189
- # @deprecated("Use User instead of UserInformation. For more info, see MSDN.")
233
+ @deprecated("Use User instead of UserInformation. For more info, see MSDN.")
190
234
  def get_first_name_async(cls) -> windows_foundation.IAsyncOperation[str]: ...
191
235
  # Windows.Foundation.IAsyncOperation`1<System.String> Windows.System.UserProfile.UserInformation::GetLastNameAsync()
192
- # @deprecated("Use User instead of UserInformation. For more info, see MSDN.")
236
+ @deprecated("Use User instead of UserInformation. For more info, see MSDN.")
193
237
  def get_last_name_async(cls) -> windows_foundation.IAsyncOperation[str]: ...
194
238
  # Windows.Foundation.IAsyncOperation`1<System.String> Windows.System.UserProfile.UserInformation::GetPrincipalNameAsync()
195
- # @deprecated("Use User instead of UserInformation. For more info, see MSDN.")
239
+ @deprecated("Use User instead of UserInformation. For more info, see MSDN.")
196
240
  def get_principal_name_async(cls) -> windows_foundation.IAsyncOperation[str]: ...
197
241
  # Windows.Foundation.IAsyncOperation`1<Windows.Foundation.Uri> Windows.System.UserProfile.UserInformation::GetSessionInitiationProtocolUriAsync()
198
- # @deprecated("Use User instead of UserInformation. For more info, see MSDN.")
242
+ @deprecated("Use User instead of UserInformation. For more info, see MSDN.")
199
243
  def get_session_initiation_protocol_uri_async(cls) -> windows_foundation.IAsyncOperation[windows_foundation.Uri]: ...
200
244
  # Windows.Foundation.IAsyncOperation`1<Windows.System.UserProfile.SetAccountPictureResult> Windows.System.UserProfile.UserInformation::SetAccountPictureAsync(Windows.Storage.IStorageFile)
201
- # @deprecated("Use User instead of UserInformation. For more info, see MSDN.")
245
+ @deprecated("Use User instead of UserInformation. For more info, see MSDN.")
202
246
  def set_account_picture_async(cls, image: windows_storage.IStorageFile, /) -> windows_foundation.IAsyncOperation[SetAccountPictureResult]: ...
203
247
  # Windows.Foundation.IAsyncOperation`1<Windows.System.UserProfile.SetAccountPictureResult> Windows.System.UserProfile.UserInformation::SetAccountPictureFromStreamAsync(Windows.Storage.Streams.IRandomAccessStream)
204
- # @deprecated("Use User instead of UserInformation. For more info, see MSDN.")
248
+ @deprecated("Use User instead of UserInformation. For more info, see MSDN.")
205
249
  def set_account_picture_from_stream_async(cls, image: windows_storage_streams.IRandomAccessStream, /) -> windows_foundation.IAsyncOperation[SetAccountPictureResult]: ...
206
250
  # Windows.Foundation.IAsyncOperation`1<Windows.System.UserProfile.SetAccountPictureResult> Windows.System.UserProfile.UserInformation::SetAccountPicturesAsync(Windows.Storage.IStorageFile,Windows.Storage.IStorageFile,Windows.Storage.IStorageFile)
207
- # @deprecated("Use User instead of UserInformation. For more info, see MSDN.")
251
+ @deprecated("Use User instead of UserInformation. For more info, see MSDN.")
208
252
  def set_account_pictures_async(cls, small_image: windows_storage.IStorageFile, large_image: windows_storage.IStorageFile, video: windows_storage.IStorageFile, /) -> windows_foundation.IAsyncOperation[SetAccountPictureResult]: ...
209
253
  # Windows.Foundation.IAsyncOperation`1<Windows.System.UserProfile.SetAccountPictureResult> Windows.System.UserProfile.UserInformation::SetAccountPicturesFromStreamsAsync(Windows.Storage.Streams.IRandomAccessStream,Windows.Storage.Streams.IRandomAccessStream,Windows.Storage.Streams.IRandomAccessStream)
210
- # @deprecated("Use User instead of UserInformation. For more info, see MSDN.")
254
+ @deprecated("Use User instead of UserInformation. For more info, see MSDN.")
211
255
  def set_account_pictures_from_streams_async(cls, small_image: windows_storage_streams.IRandomAccessStream, large_image: windows_storage_streams.IRandomAccessStream, video: windows_storage_streams.IRandomAccessStream, /) -> windows_foundation.IAsyncOperation[SetAccountPictureResult]: ...
212
256
  # Windows.Foundation.EventRegistrationToken Windows.System.UserProfile.UserInformation::add_AccountPictureChanged(Windows.Foundation.EventHandler`1<System.Object>)
213
- # @deprecated("Use User instead of UserInformation. For more info, see MSDN.")
257
+ @deprecated("Use User instead of UserInformation. For more info, see MSDN.")
214
258
  def add_account_picture_changed(cls, change_handler: windows_foundation.EventHandler[winrt.system.Object], /) -> windows_foundation.EventRegistrationToken: ...
215
259
  # System.Void Windows.System.UserProfile.UserInformation::remove_AccountPictureChanged(Windows.Foundation.EventRegistrationToken)
216
- # @deprecated("Use User instead of UserInformation. For more info, see MSDN.")
217
- def remove_account_picture_changed(cls, token: typing.Union[windows_foundation.EventRegistrationToken, typing.Tuple[winrt.system.Int64]], /) -> None: ...
260
+ @deprecated("Use User instead of UserInformation. For more info, see MSDN.")
261
+ def remove_account_picture_changed(cls, token: windows_foundation.EventRegistrationToken, /) -> None: ...
218
262
  # System.Boolean Windows.System.UserProfile.UserInformation::get_AccountPictureChangeEnabled()
219
263
  @_property
264
+ @deprecated("Use User instead of UserInformation. For more info, see MSDN.")
220
265
  def account_picture_change_enabled(cls) -> bool: ...
221
266
  # System.Boolean Windows.System.UserProfile.UserInformation::get_NameAccessAllowed()
222
267
  @_property
268
+ @deprecated("Use User instead of UserInformation. For more info, see MSDN.")
223
269
  def name_access_allowed(cls) -> bool: ...
224
270
 
225
271
  @typing.final
272
+ @deprecated("Use User instead of UserInformation. For more info, see MSDN.")
226
273
  class UserInformation(winrt.system.Object, metaclass=UserInformation_Static):
227
- pass
274
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
275
+ """A class of static members only, so there is nothing to create."""
228
276
 
229
277
  @typing.final
230
- class UserProfilePersonalizationSettings_Static(winrt._winrt.IInspectable_Static):
278
+ class UserProfilePersonalizationSettings_Static(winrt.system.Object_Static):
231
279
  # System.Boolean Windows.System.UserProfile.UserProfilePersonalizationSettings::IsSupported()
232
280
  def is_supported(cls) -> bool: ...
233
281
  # Windows.System.UserProfile.UserProfilePersonalizationSettings Windows.System.UserProfile.UserProfilePersonalizationSettings::get_Current()
@@ -236,6 +284,8 @@ class UserProfilePersonalizationSettings_Static(winrt._winrt.IInspectable_Static
236
284
 
237
285
  @typing.final
238
286
  class UserProfilePersonalizationSettings(winrt.system.Object, metaclass=UserProfilePersonalizationSettings_Static):
287
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
288
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
239
289
  # Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.System.UserProfile.UserProfilePersonalizationSettings::TrySetLockScreenImageAsync(Windows.Storage.StorageFile)
240
290
  def try_set_lock_screen_image_async(self, image_file: windows_storage.StorageFile, /) -> windows_foundation.IAsyncOperation[bool]: ...
241
291
  # Windows.Foundation.IAsyncOperation`1<System.Boolean> Windows.System.UserProfile.UserProfilePersonalizationSettings::TrySetWallpaperImageAsync(Windows.Storage.StorageFile)