winrt-Windows.ApplicationModel.UserDataAccounts 2.1.0__tar.gz → 2.2.0__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.
- {winrt_windows_applicationmodel_userdataaccounts-2.1.0 → winrt_windows_applicationmodel_userdataaccounts-2.2.0}/PKG-INFO +11 -11
- winrt_windows_applicationmodel_userdataaccounts-2.2.0/all-requirements.txt +10 -0
- {winrt_windows_applicationmodel_userdataaccounts-2.1.0 → winrt_windows_applicationmodel_userdataaccounts-2.2.0}/py.Windows.ApplicationModel.UserDataAccounts.cpp +347 -48
- {winrt_windows_applicationmodel_userdataaccounts-2.1.0 → winrt_windows_applicationmodel_userdataaccounts-2.2.0}/pyproject.toml +3 -2
- winrt_windows_applicationmodel_userdataaccounts-2.2.0/pywinrt-version.txt +1 -0
- {winrt_windows_applicationmodel_userdataaccounts-2.1.0 → winrt_windows_applicationmodel_userdataaccounts-2.2.0}/requirements.txt +2 -2
- {winrt_windows_applicationmodel_userdataaccounts-2.1.0 → winrt_windows_applicationmodel_userdataaccounts-2.2.0}/winrt/_winrt_windows_applicationmodel_userdataaccounts.pyi +1 -1
- {winrt_windows_applicationmodel_userdataaccounts-2.1.0 → winrt_windows_applicationmodel_userdataaccounts-2.2.0}/winrt/windows/applicationmodel/userdataaccounts/__init__.py +1 -1
- {winrt_windows_applicationmodel_userdataaccounts-2.1.0 → winrt_windows_applicationmodel_userdataaccounts-2.2.0}/winrt_Windows.ApplicationModel.UserDataAccounts.egg-info/PKG-INFO +11 -11
- winrt_windows_applicationmodel_userdataaccounts-2.2.0/winrt_Windows.ApplicationModel.UserDataAccounts.egg-info/requires.txt +11 -0
- winrt_windows_applicationmodel_userdataaccounts-2.1.0/all-requirements.txt +0 -10
- winrt_windows_applicationmodel_userdataaccounts-2.1.0/pywinrt-version.txt +0 -1
- winrt_windows_applicationmodel_userdataaccounts-2.1.0/winrt_Windows.ApplicationModel.UserDataAccounts.egg-info/requires.txt +0 -11
- {winrt_windows_applicationmodel_userdataaccounts-2.1.0 → winrt_windows_applicationmodel_userdataaccounts-2.2.0}/README.md +0 -0
- {winrt_windows_applicationmodel_userdataaccounts-2.1.0 → winrt_windows_applicationmodel_userdataaccounts-2.2.0}/setup.cfg +0 -0
- {winrt_windows_applicationmodel_userdataaccounts-2.1.0 → winrt_windows_applicationmodel_userdataaccounts-2.2.0}/setup.py +0 -0
- {winrt_windows_applicationmodel_userdataaccounts-2.1.0 → winrt_windows_applicationmodel_userdataaccounts-2.2.0}/winrt/windows/applicationmodel/userdataaccounts/py.typed +0 -0
- {winrt_windows_applicationmodel_userdataaccounts-2.1.0 → winrt_windows_applicationmodel_userdataaccounts-2.2.0}/winrt_Windows.ApplicationModel.UserDataAccounts.egg-info/SOURCES.txt +0 -0
- {winrt_windows_applicationmodel_userdataaccounts-2.1.0 → winrt_windows_applicationmodel_userdataaccounts-2.2.0}/winrt_Windows.ApplicationModel.UserDataAccounts.egg-info/dependency_links.txt +0 -0
- {winrt_windows_applicationmodel_userdataaccounts-2.1.0 → winrt_windows_applicationmodel_userdataaccounts-2.2.0}/winrt_Windows.ApplicationModel.UserDataAccounts.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.ApplicationModel.UserDataAccounts
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.2.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -10,18 +10,18 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
|
-
Requires-Python: <3.
|
|
13
|
+
Requires-Python: <3.14,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.
|
|
15
|
+
Requires-Dist: winrt-runtime==2.2.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.ApplicationModel.Appointments[all]==2.
|
|
18
|
-
Requires-Dist: winrt-Windows.ApplicationModel.Contacts[all]==2.
|
|
19
|
-
Requires-Dist: winrt-Windows.ApplicationModel.Email[all]==2.
|
|
20
|
-
Requires-Dist: winrt-Windows.ApplicationModel.UserDataTasks[all]==2.
|
|
21
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.
|
|
22
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.
|
|
23
|
-
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.
|
|
24
|
-
Requires-Dist: winrt-Windows.System[all]==2.
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel.Appointments[all]==2.2.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.ApplicationModel.Contacts[all]==2.2.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.ApplicationModel.Email[all]==2.2.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.ApplicationModel.UserDataTasks[all]==2.2.0; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.2.0; extra == "all"
|
|
22
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.2.0; extra == "all"
|
|
23
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.2.0; extra == "all"
|
|
24
|
+
Requires-Dist: winrt-Windows.System[all]==2.2.0; extra == "all"
|
|
25
25
|
|
|
26
26
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
27
27
|
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
|
+
|
|
3
|
+
winrt-Windows.ApplicationModel.Appointments[all]==2.2.0
|
|
4
|
+
winrt-Windows.ApplicationModel.Contacts[all]==2.2.0
|
|
5
|
+
winrt-Windows.ApplicationModel.Email[all]==2.2.0
|
|
6
|
+
winrt-Windows.ApplicationModel.UserDataTasks[all]==2.2.0
|
|
7
|
+
winrt-Windows.Foundation[all]==2.2.0
|
|
8
|
+
winrt-Windows.Foundation.Collections[all]==2.2.0
|
|
9
|
+
winrt-Windows.Storage.Streams[all]==2.2.0
|
|
10
|
+
winrt-Windows.System[all]==2.2.0
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.
|
|
1
|
+
// WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
2
|
|
|
3
3
|
#include "py.Windows.ApplicationModel.UserDataAccounts.h"
|
|
4
4
|
|
|
@@ -29,7 +29,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
29
29
|
{
|
|
30
30
|
try
|
|
31
31
|
{
|
|
32
|
-
|
|
32
|
+
static std::optional<bool> is_overload_present{};
|
|
33
|
+
|
|
34
|
+
if (!is_overload_present.has_value())
|
|
35
|
+
{
|
|
36
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccount", L"DeleteAsync", 0);
|
|
37
|
+
}
|
|
38
|
+
|
|
39
|
+
if (!is_overload_present.value())
|
|
33
40
|
{
|
|
34
41
|
py::set_arg_count_version_error(0);
|
|
35
42
|
return nullptr;
|
|
@@ -58,7 +65,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
58
65
|
{
|
|
59
66
|
try
|
|
60
67
|
{
|
|
61
|
-
|
|
68
|
+
static std::optional<bool> is_overload_present{};
|
|
69
|
+
|
|
70
|
+
if (!is_overload_present.has_value())
|
|
71
|
+
{
|
|
72
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccount", L"FindAppointmentCalendarsAsync", 0);
|
|
73
|
+
}
|
|
74
|
+
|
|
75
|
+
if (!is_overload_present.value())
|
|
62
76
|
{
|
|
63
77
|
py::set_arg_count_version_error(0);
|
|
64
78
|
return nullptr;
|
|
@@ -87,7 +101,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
87
101
|
{
|
|
88
102
|
try
|
|
89
103
|
{
|
|
90
|
-
|
|
104
|
+
static std::optional<bool> is_overload_present{};
|
|
105
|
+
|
|
106
|
+
if (!is_overload_present.has_value())
|
|
107
|
+
{
|
|
108
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccount", L"FindContactAnnotationListsAsync", 0);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
if (!is_overload_present.value())
|
|
91
112
|
{
|
|
92
113
|
py::set_arg_count_version_error(0);
|
|
93
114
|
return nullptr;
|
|
@@ -116,7 +137,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
116
137
|
{
|
|
117
138
|
try
|
|
118
139
|
{
|
|
119
|
-
|
|
140
|
+
static std::optional<bool> is_overload_present{};
|
|
141
|
+
|
|
142
|
+
if (!is_overload_present.has_value())
|
|
143
|
+
{
|
|
144
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccount", L"FindContactGroupsAsync", 0);
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
if (!is_overload_present.value())
|
|
120
148
|
{
|
|
121
149
|
py::set_arg_count_version_error(0);
|
|
122
150
|
return nullptr;
|
|
@@ -145,7 +173,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
145
173
|
{
|
|
146
174
|
try
|
|
147
175
|
{
|
|
148
|
-
|
|
176
|
+
static std::optional<bool> is_overload_present{};
|
|
177
|
+
|
|
178
|
+
if (!is_overload_present.has_value())
|
|
179
|
+
{
|
|
180
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccount", L"FindContactListsAsync", 0);
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
if (!is_overload_present.value())
|
|
149
184
|
{
|
|
150
185
|
py::set_arg_count_version_error(0);
|
|
151
186
|
return nullptr;
|
|
@@ -174,7 +209,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
174
209
|
{
|
|
175
210
|
try
|
|
176
211
|
{
|
|
177
|
-
|
|
212
|
+
static std::optional<bool> is_overload_present{};
|
|
213
|
+
|
|
214
|
+
if (!is_overload_present.has_value())
|
|
215
|
+
{
|
|
216
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccount", L"FindEmailMailboxesAsync", 0);
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
if (!is_overload_present.value())
|
|
178
220
|
{
|
|
179
221
|
py::set_arg_count_version_error(0);
|
|
180
222
|
return nullptr;
|
|
@@ -203,7 +245,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
203
245
|
{
|
|
204
246
|
try
|
|
205
247
|
{
|
|
206
|
-
|
|
248
|
+
static std::optional<bool> is_overload_present{};
|
|
249
|
+
|
|
250
|
+
if (!is_overload_present.has_value())
|
|
251
|
+
{
|
|
252
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccount", L"FindUserDataTaskListsAsync", 0);
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
if (!is_overload_present.value())
|
|
207
256
|
{
|
|
208
257
|
py::set_arg_count_version_error(0);
|
|
209
258
|
return nullptr;
|
|
@@ -232,7 +281,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
232
281
|
{
|
|
233
282
|
try
|
|
234
283
|
{
|
|
235
|
-
|
|
284
|
+
static std::optional<bool> is_overload_present{};
|
|
285
|
+
|
|
286
|
+
if (!is_overload_present.has_value())
|
|
287
|
+
{
|
|
288
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccount", L"SaveAsync", 0);
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
if (!is_overload_present.value())
|
|
236
292
|
{
|
|
237
293
|
py::set_arg_count_version_error(0);
|
|
238
294
|
return nullptr;
|
|
@@ -261,7 +317,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
261
317
|
{
|
|
262
318
|
try
|
|
263
319
|
{
|
|
264
|
-
|
|
320
|
+
static std::optional<bool> is_overload_present{};
|
|
321
|
+
|
|
322
|
+
if (!is_overload_present.has_value())
|
|
323
|
+
{
|
|
324
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccount", L"TryShowCreateContactGroupAsync", 0);
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
if (!is_overload_present.value())
|
|
265
328
|
{
|
|
266
329
|
py::set_arg_count_version_error(0);
|
|
267
330
|
return nullptr;
|
|
@@ -286,7 +349,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
286
349
|
{
|
|
287
350
|
try
|
|
288
351
|
{
|
|
289
|
-
|
|
352
|
+
static std::optional<bool> is_property_present{};
|
|
353
|
+
|
|
354
|
+
if (!is_property_present.has_value())
|
|
355
|
+
{
|
|
356
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccount", L"UserDisplayName");
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
if (!is_property_present.value())
|
|
290
360
|
{
|
|
291
361
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
292
362
|
return nullptr;
|
|
@@ -311,7 +381,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
311
381
|
|
|
312
382
|
try
|
|
313
383
|
{
|
|
314
|
-
|
|
384
|
+
static std::optional<bool> is_property_present{};
|
|
385
|
+
|
|
386
|
+
if (!is_property_present.has_value())
|
|
387
|
+
{
|
|
388
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccount", L"UserDisplayName");
|
|
389
|
+
}
|
|
390
|
+
|
|
391
|
+
if (!is_property_present.value())
|
|
315
392
|
{
|
|
316
393
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
317
394
|
return -1;
|
|
@@ -333,7 +410,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
333
410
|
{
|
|
334
411
|
try
|
|
335
412
|
{
|
|
336
|
-
|
|
413
|
+
static std::optional<bool> is_property_present{};
|
|
414
|
+
|
|
415
|
+
if (!is_property_present.has_value())
|
|
416
|
+
{
|
|
417
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccount", L"OtherAppReadAccess");
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
if (!is_property_present.value())
|
|
337
421
|
{
|
|
338
422
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
339
423
|
return nullptr;
|
|
@@ -358,7 +442,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
358
442
|
|
|
359
443
|
try
|
|
360
444
|
{
|
|
361
|
-
|
|
445
|
+
static std::optional<bool> is_property_present{};
|
|
446
|
+
|
|
447
|
+
if (!is_property_present.has_value())
|
|
448
|
+
{
|
|
449
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccount", L"OtherAppReadAccess");
|
|
450
|
+
}
|
|
451
|
+
|
|
452
|
+
if (!is_property_present.value())
|
|
362
453
|
{
|
|
363
454
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
364
455
|
return -1;
|
|
@@ -380,7 +471,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
380
471
|
{
|
|
381
472
|
try
|
|
382
473
|
{
|
|
383
|
-
|
|
474
|
+
static std::optional<bool> is_property_present{};
|
|
475
|
+
|
|
476
|
+
if (!is_property_present.has_value())
|
|
477
|
+
{
|
|
478
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccount", L"Icon");
|
|
479
|
+
}
|
|
480
|
+
|
|
481
|
+
if (!is_property_present.value())
|
|
384
482
|
{
|
|
385
483
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
386
484
|
return nullptr;
|
|
@@ -405,7 +503,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
405
503
|
|
|
406
504
|
try
|
|
407
505
|
{
|
|
408
|
-
|
|
506
|
+
static std::optional<bool> is_property_present{};
|
|
507
|
+
|
|
508
|
+
if (!is_property_present.has_value())
|
|
509
|
+
{
|
|
510
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccount", L"Icon");
|
|
511
|
+
}
|
|
512
|
+
|
|
513
|
+
if (!is_property_present.value())
|
|
409
514
|
{
|
|
410
515
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
411
516
|
return -1;
|
|
@@ -427,7 +532,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
427
532
|
{
|
|
428
533
|
try
|
|
429
534
|
{
|
|
430
|
-
|
|
535
|
+
static std::optional<bool> is_property_present{};
|
|
536
|
+
|
|
537
|
+
if (!is_property_present.has_value())
|
|
538
|
+
{
|
|
539
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccount", L"DeviceAccountTypeId");
|
|
540
|
+
}
|
|
541
|
+
|
|
542
|
+
if (!is_property_present.value())
|
|
431
543
|
{
|
|
432
544
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
433
545
|
return nullptr;
|
|
@@ -446,7 +558,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
446
558
|
{
|
|
447
559
|
try
|
|
448
560
|
{
|
|
449
|
-
|
|
561
|
+
static std::optional<bool> is_property_present{};
|
|
562
|
+
|
|
563
|
+
if (!is_property_present.has_value())
|
|
564
|
+
{
|
|
565
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccount", L"Id");
|
|
566
|
+
}
|
|
567
|
+
|
|
568
|
+
if (!is_property_present.value())
|
|
450
569
|
{
|
|
451
570
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
452
571
|
return nullptr;
|
|
@@ -465,7 +584,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
465
584
|
{
|
|
466
585
|
try
|
|
467
586
|
{
|
|
468
|
-
|
|
587
|
+
static std::optional<bool> is_property_present{};
|
|
588
|
+
|
|
589
|
+
if (!is_property_present.has_value())
|
|
590
|
+
{
|
|
591
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccount", L"PackageFamilyName");
|
|
592
|
+
}
|
|
593
|
+
|
|
594
|
+
if (!is_property_present.value())
|
|
469
595
|
{
|
|
470
596
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
471
597
|
return nullptr;
|
|
@@ -484,7 +610,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
484
610
|
{
|
|
485
611
|
try
|
|
486
612
|
{
|
|
487
|
-
|
|
613
|
+
static std::optional<bool> is_property_present{};
|
|
614
|
+
|
|
615
|
+
if (!is_property_present.has_value())
|
|
616
|
+
{
|
|
617
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccount", L"IsProtectedUnderLock");
|
|
618
|
+
}
|
|
619
|
+
|
|
620
|
+
if (!is_property_present.value())
|
|
488
621
|
{
|
|
489
622
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
490
623
|
return nullptr;
|
|
@@ -509,7 +642,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
509
642
|
|
|
510
643
|
try
|
|
511
644
|
{
|
|
512
|
-
|
|
645
|
+
static std::optional<bool> is_property_present{};
|
|
646
|
+
|
|
647
|
+
if (!is_property_present.has_value())
|
|
648
|
+
{
|
|
649
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccount", L"IsProtectedUnderLock");
|
|
650
|
+
}
|
|
651
|
+
|
|
652
|
+
if (!is_property_present.value())
|
|
513
653
|
{
|
|
514
654
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
515
655
|
return -1;
|
|
@@ -531,7 +671,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
531
671
|
{
|
|
532
672
|
try
|
|
533
673
|
{
|
|
534
|
-
|
|
674
|
+
static std::optional<bool> is_property_present{};
|
|
675
|
+
|
|
676
|
+
if (!is_property_present.has_value())
|
|
677
|
+
{
|
|
678
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccount", L"EnterpriseId");
|
|
679
|
+
}
|
|
680
|
+
|
|
681
|
+
if (!is_property_present.value())
|
|
535
682
|
{
|
|
536
683
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
537
684
|
return nullptr;
|
|
@@ -550,7 +697,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
550
697
|
{
|
|
551
698
|
try
|
|
552
699
|
{
|
|
553
|
-
|
|
700
|
+
static std::optional<bool> is_property_present{};
|
|
701
|
+
|
|
702
|
+
if (!is_property_present.has_value())
|
|
703
|
+
{
|
|
704
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccount", L"DisplayName");
|
|
705
|
+
}
|
|
706
|
+
|
|
707
|
+
if (!is_property_present.value())
|
|
554
708
|
{
|
|
555
709
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
556
710
|
return nullptr;
|
|
@@ -575,7 +729,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
575
729
|
|
|
576
730
|
try
|
|
577
731
|
{
|
|
578
|
-
|
|
732
|
+
static std::optional<bool> is_property_present{};
|
|
733
|
+
|
|
734
|
+
if (!is_property_present.has_value())
|
|
735
|
+
{
|
|
736
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccount", L"DisplayName");
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
if (!is_property_present.value())
|
|
579
740
|
{
|
|
580
741
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
581
742
|
return -1;
|
|
@@ -597,7 +758,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
597
758
|
{
|
|
598
759
|
try
|
|
599
760
|
{
|
|
600
|
-
|
|
761
|
+
static std::optional<bool> is_property_present{};
|
|
762
|
+
|
|
763
|
+
if (!is_property_present.has_value())
|
|
764
|
+
{
|
|
765
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccount", L"ExplictReadAccessPackageFamilyNames");
|
|
766
|
+
}
|
|
767
|
+
|
|
768
|
+
if (!is_property_present.value())
|
|
601
769
|
{
|
|
602
770
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
603
771
|
return nullptr;
|
|
@@ -616,7 +784,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
616
784
|
{
|
|
617
785
|
try
|
|
618
786
|
{
|
|
619
|
-
|
|
787
|
+
static std::optional<bool> is_property_present{};
|
|
788
|
+
|
|
789
|
+
if (!is_property_present.has_value())
|
|
790
|
+
{
|
|
791
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccount", L"CanShowCreateContactGroup");
|
|
792
|
+
}
|
|
793
|
+
|
|
794
|
+
if (!is_property_present.value())
|
|
620
795
|
{
|
|
621
796
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
622
797
|
return nullptr;
|
|
@@ -641,7 +816,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
641
816
|
|
|
642
817
|
try
|
|
643
818
|
{
|
|
644
|
-
|
|
819
|
+
static std::optional<bool> is_property_present{};
|
|
820
|
+
|
|
821
|
+
if (!is_property_present.has_value())
|
|
822
|
+
{
|
|
823
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccount", L"CanShowCreateContactGroup");
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
if (!is_property_present.value())
|
|
645
827
|
{
|
|
646
828
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
647
829
|
return -1;
|
|
@@ -663,7 +845,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
663
845
|
{
|
|
664
846
|
try
|
|
665
847
|
{
|
|
666
|
-
|
|
848
|
+
static std::optional<bool> is_property_present{};
|
|
849
|
+
|
|
850
|
+
if (!is_property_present.has_value())
|
|
851
|
+
{
|
|
852
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccount", L"ProviderProperties");
|
|
853
|
+
}
|
|
854
|
+
|
|
855
|
+
if (!is_property_present.value())
|
|
667
856
|
{
|
|
668
857
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
669
858
|
return nullptr;
|
|
@@ -765,7 +954,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
765
954
|
{
|
|
766
955
|
try
|
|
767
956
|
{
|
|
768
|
-
|
|
957
|
+
static std::optional<bool> is_overload_present{};
|
|
958
|
+
|
|
959
|
+
if (!is_overload_present.has_value())
|
|
960
|
+
{
|
|
961
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccountManager", L"GetForUser", 1);
|
|
962
|
+
}
|
|
963
|
+
|
|
964
|
+
if (!is_overload_present.value())
|
|
769
965
|
{
|
|
770
966
|
py::set_arg_count_version_error(1);
|
|
771
967
|
return nullptr;
|
|
@@ -796,7 +992,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
796
992
|
{
|
|
797
993
|
try
|
|
798
994
|
{
|
|
799
|
-
|
|
995
|
+
static std::optional<bool> is_overload_present{};
|
|
996
|
+
|
|
997
|
+
if (!is_overload_present.has_value())
|
|
998
|
+
{
|
|
999
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccountManager", L"RequestStoreAsync", 1);
|
|
1000
|
+
}
|
|
1001
|
+
|
|
1002
|
+
if (!is_overload_present.value())
|
|
800
1003
|
{
|
|
801
1004
|
py::set_arg_count_version_error(1);
|
|
802
1005
|
return nullptr;
|
|
@@ -827,7 +1030,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
827
1030
|
{
|
|
828
1031
|
try
|
|
829
1032
|
{
|
|
830
|
-
|
|
1033
|
+
static std::optional<bool> is_overload_present{};
|
|
1034
|
+
|
|
1035
|
+
if (!is_overload_present.has_value())
|
|
1036
|
+
{
|
|
1037
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccountManager", L"ShowAccountErrorResolverAsync", 1);
|
|
1038
|
+
}
|
|
1039
|
+
|
|
1040
|
+
if (!is_overload_present.value())
|
|
831
1041
|
{
|
|
832
1042
|
py::set_arg_count_version_error(1);
|
|
833
1043
|
return nullptr;
|
|
@@ -858,7 +1068,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
858
1068
|
{
|
|
859
1069
|
try
|
|
860
1070
|
{
|
|
861
|
-
|
|
1071
|
+
static std::optional<bool> is_overload_present{};
|
|
1072
|
+
|
|
1073
|
+
if (!is_overload_present.has_value())
|
|
1074
|
+
{
|
|
1075
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccountManager", L"ShowAccountSettingsAsync", 1);
|
|
1076
|
+
}
|
|
1077
|
+
|
|
1078
|
+
if (!is_overload_present.value())
|
|
862
1079
|
{
|
|
863
1080
|
py::set_arg_count_version_error(1);
|
|
864
1081
|
return nullptr;
|
|
@@ -889,7 +1106,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
889
1106
|
{
|
|
890
1107
|
try
|
|
891
1108
|
{
|
|
892
|
-
|
|
1109
|
+
static std::optional<bool> is_overload_present{};
|
|
1110
|
+
|
|
1111
|
+
if (!is_overload_present.has_value())
|
|
1112
|
+
{
|
|
1113
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccountManager", L"ShowAddAccountAsync", 1);
|
|
1114
|
+
}
|
|
1115
|
+
|
|
1116
|
+
if (!is_overload_present.value())
|
|
893
1117
|
{
|
|
894
1118
|
py::set_arg_count_version_error(1);
|
|
895
1119
|
return nullptr;
|
|
@@ -989,7 +1213,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
989
1213
|
{
|
|
990
1214
|
try
|
|
991
1215
|
{
|
|
992
|
-
|
|
1216
|
+
static std::optional<bool> is_overload_present{};
|
|
1217
|
+
|
|
1218
|
+
if (!is_overload_present.has_value())
|
|
1219
|
+
{
|
|
1220
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccountManagerForUser", L"RequestStoreAsync", 1);
|
|
1221
|
+
}
|
|
1222
|
+
|
|
1223
|
+
if (!is_overload_present.value())
|
|
993
1224
|
{
|
|
994
1225
|
py::set_arg_count_version_error(1);
|
|
995
1226
|
return nullptr;
|
|
@@ -1016,7 +1247,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
1016
1247
|
{
|
|
1017
1248
|
try
|
|
1018
1249
|
{
|
|
1019
|
-
|
|
1250
|
+
static std::optional<bool> is_property_present{};
|
|
1251
|
+
|
|
1252
|
+
if (!is_property_present.has_value())
|
|
1253
|
+
{
|
|
1254
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccountManagerForUser", L"User");
|
|
1255
|
+
}
|
|
1256
|
+
|
|
1257
|
+
if (!is_property_present.value())
|
|
1020
1258
|
{
|
|
1021
1259
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1022
1260
|
return nullptr;
|
|
@@ -1107,7 +1345,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
1107
1345
|
{
|
|
1108
1346
|
try
|
|
1109
1347
|
{
|
|
1110
|
-
|
|
1348
|
+
static std::optional<bool> is_overload_present{};
|
|
1349
|
+
|
|
1350
|
+
if (!is_overload_present.has_value())
|
|
1351
|
+
{
|
|
1352
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccountStore", L"CreateAccountAsync", 1);
|
|
1353
|
+
}
|
|
1354
|
+
|
|
1355
|
+
if (!is_overload_present.value())
|
|
1111
1356
|
{
|
|
1112
1357
|
py::set_arg_count_version_error(1);
|
|
1113
1358
|
return nullptr;
|
|
@@ -1127,7 +1372,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
1127
1372
|
{
|
|
1128
1373
|
try
|
|
1129
1374
|
{
|
|
1130
|
-
|
|
1375
|
+
static std::optional<bool> is_overload_present{};
|
|
1376
|
+
|
|
1377
|
+
if (!is_overload_present.has_value())
|
|
1378
|
+
{
|
|
1379
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccountStore", L"CreateAccountAsync", 2);
|
|
1380
|
+
}
|
|
1381
|
+
|
|
1382
|
+
if (!is_overload_present.value())
|
|
1131
1383
|
{
|
|
1132
1384
|
py::set_arg_count_version_error(2);
|
|
1133
1385
|
return nullptr;
|
|
@@ -1148,7 +1400,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
1148
1400
|
{
|
|
1149
1401
|
try
|
|
1150
1402
|
{
|
|
1151
|
-
|
|
1403
|
+
static std::optional<bool> is_overload_present{};
|
|
1404
|
+
|
|
1405
|
+
if (!is_overload_present.has_value())
|
|
1406
|
+
{
|
|
1407
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccountStore", L"CreateAccountAsync", 3);
|
|
1408
|
+
}
|
|
1409
|
+
|
|
1410
|
+
if (!is_overload_present.value())
|
|
1152
1411
|
{
|
|
1153
1412
|
py::set_arg_count_version_error(3);
|
|
1154
1413
|
return nullptr;
|
|
@@ -1181,7 +1440,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
1181
1440
|
{
|
|
1182
1441
|
try
|
|
1183
1442
|
{
|
|
1184
|
-
|
|
1443
|
+
static std::optional<bool> is_overload_present{};
|
|
1444
|
+
|
|
1445
|
+
if (!is_overload_present.has_value())
|
|
1446
|
+
{
|
|
1447
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccountStore", L"FindAccountsAsync", 0);
|
|
1448
|
+
}
|
|
1449
|
+
|
|
1450
|
+
if (!is_overload_present.value())
|
|
1185
1451
|
{
|
|
1186
1452
|
py::set_arg_count_version_error(0);
|
|
1187
1453
|
return nullptr;
|
|
@@ -1210,7 +1476,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
1210
1476
|
{
|
|
1211
1477
|
try
|
|
1212
1478
|
{
|
|
1213
|
-
|
|
1479
|
+
static std::optional<bool> is_overload_present{};
|
|
1480
|
+
|
|
1481
|
+
if (!is_overload_present.has_value())
|
|
1482
|
+
{
|
|
1483
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccountStore", L"GetAccountAsync", 1);
|
|
1484
|
+
}
|
|
1485
|
+
|
|
1486
|
+
if (!is_overload_present.value())
|
|
1214
1487
|
{
|
|
1215
1488
|
py::set_arg_count_version_error(1);
|
|
1216
1489
|
return nullptr;
|
|
@@ -1237,7 +1510,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
1237
1510
|
{
|
|
1238
1511
|
try
|
|
1239
1512
|
{
|
|
1240
|
-
|
|
1513
|
+
static std::optional<bool> is_event_present{};
|
|
1514
|
+
|
|
1515
|
+
if (!is_event_present.has_value())
|
|
1516
|
+
{
|
|
1517
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccountStore", L"StoreChanged");
|
|
1518
|
+
}
|
|
1519
|
+
|
|
1520
|
+
if (!is_event_present.value())
|
|
1241
1521
|
{
|
|
1242
1522
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
1243
1523
|
return nullptr;
|
|
@@ -1258,7 +1538,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
1258
1538
|
{
|
|
1259
1539
|
try
|
|
1260
1540
|
{
|
|
1261
|
-
|
|
1541
|
+
static std::optional<bool> is_event_present{};
|
|
1542
|
+
|
|
1543
|
+
if (!is_event_present.has_value())
|
|
1544
|
+
{
|
|
1545
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccountStore", L"StoreChanged");
|
|
1546
|
+
}
|
|
1547
|
+
|
|
1548
|
+
if (!is_event_present.value())
|
|
1262
1549
|
{
|
|
1263
1550
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
1264
1551
|
return nullptr;
|
|
@@ -1355,7 +1642,14 @@ namespace py::cpp::Windows::ApplicationModel::UserDataAccounts
|
|
|
1355
1642
|
{
|
|
1356
1643
|
try
|
|
1357
1644
|
{
|
|
1358
|
-
|
|
1645
|
+
static std::optional<bool> is_overload_present{};
|
|
1646
|
+
|
|
1647
|
+
if (!is_overload_present.has_value())
|
|
1648
|
+
{
|
|
1649
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.ApplicationModel.UserDataAccounts.UserDataAccountStoreChangedEventArgs", L"GetDeferral", 0);
|
|
1650
|
+
}
|
|
1651
|
+
|
|
1652
|
+
if (!is_overload_present.value())
|
|
1359
1653
|
{
|
|
1360
1654
|
py::set_arg_count_version_error(0);
|
|
1361
1655
|
return nullptr;
|
|
@@ -1471,7 +1765,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_userdataaccounts(void) noe
|
|
|
1471
1765
|
return nullptr;
|
|
1472
1766
|
}
|
|
1473
1767
|
|
|
1474
|
-
|
|
1768
|
+
py::pytype_handle UserDataAccount_type{py::register_python_type(module.get(), &type_spec_UserDataAccount, object_bases.get(), nullptr)};
|
|
1769
|
+
if (!UserDataAccount_type)
|
|
1475
1770
|
{
|
|
1476
1771
|
return nullptr;
|
|
1477
1772
|
}
|
|
@@ -1482,22 +1777,26 @@ PyMODINIT_FUNC PyInit__winrt_windows_applicationmodel_userdataaccounts(void) noe
|
|
|
1482
1777
|
return nullptr;
|
|
1483
1778
|
}
|
|
1484
1779
|
|
|
1485
|
-
|
|
1780
|
+
py::pytype_handle UserDataAccountManager_type{py::register_python_type(module.get(), &type_spec_UserDataAccountManager, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_UserDataAccountManager_Static.get()))};
|
|
1781
|
+
if (!UserDataAccountManager_type)
|
|
1486
1782
|
{
|
|
1487
1783
|
return nullptr;
|
|
1488
1784
|
}
|
|
1489
1785
|
|
|
1490
|
-
|
|
1786
|
+
py::pytype_handle UserDataAccountManagerForUser_type{py::register_python_type(module.get(), &type_spec_UserDataAccountManagerForUser, object_bases.get(), nullptr)};
|
|
1787
|
+
if (!UserDataAccountManagerForUser_type)
|
|
1491
1788
|
{
|
|
1492
1789
|
return nullptr;
|
|
1493
1790
|
}
|
|
1494
1791
|
|
|
1495
|
-
|
|
1792
|
+
py::pytype_handle UserDataAccountStore_type{py::register_python_type(module.get(), &type_spec_UserDataAccountStore, object_bases.get(), nullptr)};
|
|
1793
|
+
if (!UserDataAccountStore_type)
|
|
1496
1794
|
{
|
|
1497
1795
|
return nullptr;
|
|
1498
1796
|
}
|
|
1499
1797
|
|
|
1500
|
-
|
|
1798
|
+
py::pytype_handle UserDataAccountStoreChangedEventArgs_type{py::register_python_type(module.get(), &type_spec_UserDataAccountStoreChangedEventArgs, object_bases.get(), nullptr)};
|
|
1799
|
+
if (!UserDataAccountStoreChangedEventArgs_type)
|
|
1501
1800
|
{
|
|
1502
1801
|
return nullptr;
|
|
1503
1802
|
}
|
|
@@ -16,7 +16,7 @@ classifiers = [
|
|
|
16
16
|
"Intended Audience :: Developers",
|
|
17
17
|
]
|
|
18
18
|
dynamic = ["version", "dependencies", "optional-dependencies"]
|
|
19
|
-
requires-python = ">=3.9,<3.
|
|
19
|
+
requires-python = ">=3.9,<3.14"
|
|
20
20
|
|
|
21
21
|
[project.urls]
|
|
22
22
|
# Homepage = "https://github.com/pywinrt/pywinrt"
|
|
@@ -36,7 +36,8 @@ optional-dependencies.all = { file = "all-requirements.txt" }
|
|
|
36
36
|
# use local winrt-sdk build dependency
|
|
37
37
|
environment = { PYTHONPATH="../winrt-sdk/src" }
|
|
38
38
|
# don't install winrt-sdk from PyPI
|
|
39
|
-
build-frontend = { name = "build", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
39
|
+
build-frontend = { name = "build[uv]", args = ["--skip-dependency-check", "--no-isolation"] }
|
|
40
|
+
before-build = "uv pip install setuptools"
|
|
40
41
|
# don't build for PyPy
|
|
41
42
|
skip = "pp*"
|
|
42
43
|
# suppress warnings about ARM64 testing
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
2.2.0
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.
|
|
1
|
+
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
|
|
2
2
|
|
|
3
|
-
winrt-runtime==2.
|
|
3
|
+
winrt-runtime==2.2.0
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.ApplicationModel.UserDataAccounts
|
|
3
|
-
Version: 2.
|
|
3
|
+
Version: 2.2.0
|
|
4
4
|
Summary: Python projection of Windows Runtime (WinRT) APIs
|
|
5
5
|
License: MIT
|
|
6
6
|
Project-URL: Documentation, https://pywinrt.readthedocs.io
|
|
@@ -10,18 +10,18 @@ Classifier: Operating System :: Microsoft :: Windows
|
|
|
10
10
|
Classifier: Programming Language :: Python :: 3
|
|
11
11
|
Classifier: Programming Language :: Python :: Implementation :: CPython
|
|
12
12
|
Classifier: Intended Audience :: Developers
|
|
13
|
-
Requires-Python: <3.
|
|
13
|
+
Requires-Python: <3.14,>=3.9
|
|
14
14
|
Description-Content-Type: text/markdown
|
|
15
|
-
Requires-Dist: winrt-runtime==2.
|
|
15
|
+
Requires-Dist: winrt-runtime==2.2.0
|
|
16
16
|
Provides-Extra: all
|
|
17
|
-
Requires-Dist: winrt-Windows.ApplicationModel.Appointments[all]==2.
|
|
18
|
-
Requires-Dist: winrt-Windows.ApplicationModel.Contacts[all]==2.
|
|
19
|
-
Requires-Dist: winrt-Windows.ApplicationModel.Email[all]==2.
|
|
20
|
-
Requires-Dist: winrt-Windows.ApplicationModel.UserDataTasks[all]==2.
|
|
21
|
-
Requires-Dist: winrt-Windows.Foundation[all]==2.
|
|
22
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.
|
|
23
|
-
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.
|
|
24
|
-
Requires-Dist: winrt-Windows.System[all]==2.
|
|
17
|
+
Requires-Dist: winrt-Windows.ApplicationModel.Appointments[all]==2.2.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.ApplicationModel.Contacts[all]==2.2.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.ApplicationModel.Email[all]==2.2.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.ApplicationModel.UserDataTasks[all]==2.2.0; extra == "all"
|
|
21
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.2.0; extra == "all"
|
|
22
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.2.0; extra == "all"
|
|
23
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.2.0; extra == "all"
|
|
24
|
+
Requires-Dist: winrt-Windows.System[all]==2.2.0; extra == "all"
|
|
25
25
|
|
|
26
26
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
27
27
|
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
winrt-runtime==2.2.0
|
|
2
|
+
|
|
3
|
+
[all]
|
|
4
|
+
winrt-Windows.ApplicationModel.Appointments[all]==2.2.0
|
|
5
|
+
winrt-Windows.ApplicationModel.Contacts[all]==2.2.0
|
|
6
|
+
winrt-Windows.ApplicationModel.Email[all]==2.2.0
|
|
7
|
+
winrt-Windows.ApplicationModel.UserDataTasks[all]==2.2.0
|
|
8
|
+
winrt-Windows.Foundation[all]==2.2.0
|
|
9
|
+
winrt-Windows.Foundation.Collections[all]==2.2.0
|
|
10
|
+
winrt-Windows.Storage.Streams[all]==2.2.0
|
|
11
|
+
winrt-Windows.System[all]==2.2.0
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
# WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
|
|
2
|
-
|
|
3
|
-
winrt-Windows.ApplicationModel.Appointments[all]==2.1.0
|
|
4
|
-
winrt-Windows.ApplicationModel.Contacts[all]==2.1.0
|
|
5
|
-
winrt-Windows.ApplicationModel.Email[all]==2.1.0
|
|
6
|
-
winrt-Windows.ApplicationModel.UserDataTasks[all]==2.1.0
|
|
7
|
-
winrt-Windows.Foundation[all]==2.1.0
|
|
8
|
-
winrt-Windows.Foundation.Collections[all]==2.1.0
|
|
9
|
-
winrt-Windows.Storage.Streams[all]==2.1.0
|
|
10
|
-
winrt-Windows.System[all]==2.1.0
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.1.0
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
winrt-runtime==2.1.0
|
|
2
|
-
|
|
3
|
-
[all]
|
|
4
|
-
winrt-Windows.ApplicationModel.Appointments[all]==2.1.0
|
|
5
|
-
winrt-Windows.ApplicationModel.Contacts[all]==2.1.0
|
|
6
|
-
winrt-Windows.ApplicationModel.Email[all]==2.1.0
|
|
7
|
-
winrt-Windows.ApplicationModel.UserDataTasks[all]==2.1.0
|
|
8
|
-
winrt-Windows.Foundation[all]==2.1.0
|
|
9
|
-
winrt-Windows.Foundation.Collections[all]==2.1.0
|
|
10
|
-
winrt-Windows.Storage.Streams[all]==2.1.0
|
|
11
|
-
winrt-Windows.System[all]==2.1.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|