winrt-Windows.Security.ExchangeActiveSyncProvisioning 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.
Files changed (19) hide show
  1. {winrt_windows_security_exchangeactivesyncprovisioning-2.1.0 → winrt_windows_security_exchangeactivesyncprovisioning-2.2.0}/PKG-INFO +4 -4
  2. {winrt_windows_security_exchangeactivesyncprovisioning-2.1.0 → winrt_windows_security_exchangeactivesyncprovisioning-2.2.0}/all-requirements.txt +2 -2
  3. {winrt_windows_security_exchangeactivesyncprovisioning-2.1.0 → winrt_windows_security_exchangeactivesyncprovisioning-2.2.0}/py.Windows.Security.ExchangeActiveSyncProvisioning.cpp +297 -42
  4. {winrt_windows_security_exchangeactivesyncprovisioning-2.1.0 → winrt_windows_security_exchangeactivesyncprovisioning-2.2.0}/pyproject.toml +3 -2
  5. winrt_windows_security_exchangeactivesyncprovisioning-2.2.0/pywinrt-version.txt +1 -0
  6. {winrt_windows_security_exchangeactivesyncprovisioning-2.1.0 → winrt_windows_security_exchangeactivesyncprovisioning-2.2.0}/requirements.txt +2 -2
  7. {winrt_windows_security_exchangeactivesyncprovisioning-2.1.0 → winrt_windows_security_exchangeactivesyncprovisioning-2.2.0}/winrt/_winrt_windows_security_exchangeactivesyncprovisioning.pyi +1 -1
  8. {winrt_windows_security_exchangeactivesyncprovisioning-2.1.0 → winrt_windows_security_exchangeactivesyncprovisioning-2.2.0}/winrt/windows/security/exchangeactivesyncprovisioning/__init__.py +1 -1
  9. {winrt_windows_security_exchangeactivesyncprovisioning-2.1.0 → winrt_windows_security_exchangeactivesyncprovisioning-2.2.0}/winrt_Windows.Security.ExchangeActiveSyncProvisioning.egg-info/PKG-INFO +4 -4
  10. winrt_windows_security_exchangeactivesyncprovisioning-2.2.0/winrt_Windows.Security.ExchangeActiveSyncProvisioning.egg-info/requires.txt +4 -0
  11. winrt_windows_security_exchangeactivesyncprovisioning-2.1.0/pywinrt-version.txt +0 -1
  12. winrt_windows_security_exchangeactivesyncprovisioning-2.1.0/winrt_Windows.Security.ExchangeActiveSyncProvisioning.egg-info/requires.txt +0 -4
  13. {winrt_windows_security_exchangeactivesyncprovisioning-2.1.0 → winrt_windows_security_exchangeactivesyncprovisioning-2.2.0}/README.md +0 -0
  14. {winrt_windows_security_exchangeactivesyncprovisioning-2.1.0 → winrt_windows_security_exchangeactivesyncprovisioning-2.2.0}/setup.cfg +0 -0
  15. {winrt_windows_security_exchangeactivesyncprovisioning-2.1.0 → winrt_windows_security_exchangeactivesyncprovisioning-2.2.0}/setup.py +0 -0
  16. {winrt_windows_security_exchangeactivesyncprovisioning-2.1.0 → winrt_windows_security_exchangeactivesyncprovisioning-2.2.0}/winrt/windows/security/exchangeactivesyncprovisioning/py.typed +0 -0
  17. {winrt_windows_security_exchangeactivesyncprovisioning-2.1.0 → winrt_windows_security_exchangeactivesyncprovisioning-2.2.0}/winrt_Windows.Security.ExchangeActiveSyncProvisioning.egg-info/SOURCES.txt +0 -0
  18. {winrt_windows_security_exchangeactivesyncprovisioning-2.1.0 → winrt_windows_security_exchangeactivesyncprovisioning-2.2.0}/winrt_Windows.Security.ExchangeActiveSyncProvisioning.egg-info/dependency_links.txt +0 -0
  19. {winrt_windows_security_exchangeactivesyncprovisioning-2.1.0 → winrt_windows_security_exchangeactivesyncprovisioning-2.2.0}/winrt_Windows.Security.ExchangeActiveSyncProvisioning.egg-info/top_level.txt +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.Security.ExchangeActiveSyncProvisioning
3
- Version: 2.1.0
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,11 +10,11 @@ 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,>=3.9
13
+ Requires-Python: <3.14,>=3.9
14
14
  Description-Content-Type: text/markdown
15
- Requires-Dist: winrt-runtime==2.1.0
15
+ Requires-Dist: winrt-runtime==2.2.0
16
16
  Provides-Extra: all
17
- Requires-Dist: winrt-Windows.Foundation[all]==2.1.0; extra == "all"
17
+ Requires-Dist: winrt-Windows.Foundation[all]==2.2.0; extra == "all"
18
18
 
19
19
  <!-- warning: Please don't edit this file. It was automatically generated. -->
20
20
 
@@ -1,3 +1,3 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
2
 
3
- winrt-Windows.Foundation[all]==2.1.0
3
+ winrt-Windows.Foundation[all]==2.2.0
@@ -1,4 +1,4 @@
1
- // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
1
+ // WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
2
 
3
3
  #include "py.Windows.Security.ExchangeActiveSyncProvisioning.h"
4
4
 
@@ -19,7 +19,7 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
19
19
  {
20
20
  try
21
21
  {
22
- winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasClientDeviceInformation instance{ };
22
+ winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasClientDeviceInformation instance{};
23
23
  return py::wrap(instance, type);
24
24
  }
25
25
  catch (...)
@@ -47,7 +47,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
47
47
  {
48
48
  try
49
49
  {
50
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation", L"FriendlyName"))
50
+ static std::optional<bool> is_property_present{};
51
+
52
+ if (!is_property_present.has_value())
53
+ {
54
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation", L"FriendlyName");
55
+ }
56
+
57
+ if (!is_property_present.value())
51
58
  {
52
59
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
53
60
  return nullptr;
@@ -66,7 +73,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
66
73
  {
67
74
  try
68
75
  {
69
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation", L"Id"))
76
+ static std::optional<bool> is_property_present{};
77
+
78
+ if (!is_property_present.has_value())
79
+ {
80
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation", L"Id");
81
+ }
82
+
83
+ if (!is_property_present.value())
70
84
  {
71
85
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
72
86
  return nullptr;
@@ -85,7 +99,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
85
99
  {
86
100
  try
87
101
  {
88
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation", L"OperatingSystem"))
102
+ static std::optional<bool> is_property_present{};
103
+
104
+ if (!is_property_present.has_value())
105
+ {
106
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation", L"OperatingSystem");
107
+ }
108
+
109
+ if (!is_property_present.value())
89
110
  {
90
111
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
91
112
  return nullptr;
@@ -104,7 +125,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
104
125
  {
105
126
  try
106
127
  {
107
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation", L"SystemManufacturer"))
128
+ static std::optional<bool> is_property_present{};
129
+
130
+ if (!is_property_present.has_value())
131
+ {
132
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation", L"SystemManufacturer");
133
+ }
134
+
135
+ if (!is_property_present.value())
108
136
  {
109
137
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
110
138
  return nullptr;
@@ -123,7 +151,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
123
151
  {
124
152
  try
125
153
  {
126
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation", L"SystemProductName"))
154
+ static std::optional<bool> is_property_present{};
155
+
156
+ if (!is_property_present.has_value())
157
+ {
158
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation", L"SystemProductName");
159
+ }
160
+
161
+ if (!is_property_present.value())
127
162
  {
128
163
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
129
164
  return nullptr;
@@ -142,7 +177,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
142
177
  {
143
178
  try
144
179
  {
145
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation", L"SystemSku"))
180
+ static std::optional<bool> is_property_present{};
181
+
182
+ if (!is_property_present.has_value())
183
+ {
184
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation", L"SystemSku");
185
+ }
186
+
187
+ if (!is_property_present.value())
146
188
  {
147
189
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
148
190
  return nullptr;
@@ -161,7 +203,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
161
203
  {
162
204
  try
163
205
  {
164
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation", L"SystemFirmwareVersion"))
206
+ static std::optional<bool> is_property_present{};
207
+
208
+ if (!is_property_present.has_value())
209
+ {
210
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation", L"SystemFirmwareVersion");
211
+ }
212
+
213
+ if (!is_property_present.value())
165
214
  {
166
215
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
167
216
  return nullptr;
@@ -180,7 +229,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
180
229
  {
181
230
  try
182
231
  {
183
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation", L"SystemHardwareVersion"))
232
+ static std::optional<bool> is_property_present{};
233
+
234
+ if (!is_property_present.has_value())
235
+ {
236
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientDeviceInformation", L"SystemHardwareVersion");
237
+ }
238
+
239
+ if (!is_property_present.value())
184
240
  {
185
241
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
186
242
  return nullptr;
@@ -267,7 +323,7 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
267
323
  {
268
324
  try
269
325
  {
270
- winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasClientSecurityPolicy instance{ };
326
+ winrt::Windows::Security::ExchangeActiveSyncProvisioning::EasClientSecurityPolicy instance{};
271
327
  return py::wrap(instance, type);
272
328
  }
273
329
  catch (...)
@@ -299,7 +355,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
299
355
  {
300
356
  try
301
357
  {
302
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"ApplyAsync", 0))
358
+ static std::optional<bool> is_overload_present{};
359
+
360
+ if (!is_overload_present.has_value())
361
+ {
362
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"ApplyAsync", 0);
363
+ }
364
+
365
+ if (!is_overload_present.value())
303
366
  {
304
367
  py::set_arg_count_version_error(0);
305
368
  return nullptr;
@@ -328,7 +391,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
328
391
  {
329
392
  try
330
393
  {
331
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"CheckCompliance", 0))
394
+ static std::optional<bool> is_overload_present{};
395
+
396
+ if (!is_overload_present.has_value())
397
+ {
398
+ is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"CheckCompliance", 0);
399
+ }
400
+
401
+ if (!is_overload_present.value())
332
402
  {
333
403
  py::set_arg_count_version_error(0);
334
404
  return nullptr;
@@ -353,7 +423,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
353
423
  {
354
424
  try
355
425
  {
356
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"RequireEncryption"))
426
+ static std::optional<bool> is_property_present{};
427
+
428
+ if (!is_property_present.has_value())
429
+ {
430
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"RequireEncryption");
431
+ }
432
+
433
+ if (!is_property_present.value())
357
434
  {
358
435
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
359
436
  return nullptr;
@@ -378,7 +455,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
378
455
 
379
456
  try
380
457
  {
381
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"RequireEncryption"))
458
+ static std::optional<bool> is_property_present{};
459
+
460
+ if (!is_property_present.has_value())
461
+ {
462
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"RequireEncryption");
463
+ }
464
+
465
+ if (!is_property_present.value())
382
466
  {
383
467
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
384
468
  return -1;
@@ -400,7 +484,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
400
484
  {
401
485
  try
402
486
  {
403
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"PasswordHistory"))
487
+ static std::optional<bool> is_property_present{};
488
+
489
+ if (!is_property_present.has_value())
490
+ {
491
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"PasswordHistory");
492
+ }
493
+
494
+ if (!is_property_present.value())
404
495
  {
405
496
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
406
497
  return nullptr;
@@ -425,7 +516,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
425
516
 
426
517
  try
427
518
  {
428
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"PasswordHistory"))
519
+ static std::optional<bool> is_property_present{};
520
+
521
+ if (!is_property_present.has_value())
522
+ {
523
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"PasswordHistory");
524
+ }
525
+
526
+ if (!is_property_present.value())
429
527
  {
430
528
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
431
529
  return -1;
@@ -447,7 +545,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
447
545
  {
448
546
  try
449
547
  {
450
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"PasswordExpiration"))
548
+ static std::optional<bool> is_property_present{};
549
+
550
+ if (!is_property_present.has_value())
551
+ {
552
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"PasswordExpiration");
553
+ }
554
+
555
+ if (!is_property_present.value())
451
556
  {
452
557
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
453
558
  return nullptr;
@@ -472,7 +577,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
472
577
 
473
578
  try
474
579
  {
475
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"PasswordExpiration"))
580
+ static std::optional<bool> is_property_present{};
581
+
582
+ if (!is_property_present.has_value())
583
+ {
584
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"PasswordExpiration");
585
+ }
586
+
587
+ if (!is_property_present.value())
476
588
  {
477
589
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
478
590
  return -1;
@@ -494,7 +606,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
494
606
  {
495
607
  try
496
608
  {
497
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"MinPasswordLength"))
609
+ static std::optional<bool> is_property_present{};
610
+
611
+ if (!is_property_present.has_value())
612
+ {
613
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"MinPasswordLength");
614
+ }
615
+
616
+ if (!is_property_present.value())
498
617
  {
499
618
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
500
619
  return nullptr;
@@ -519,7 +638,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
519
638
 
520
639
  try
521
640
  {
522
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"MinPasswordLength"))
641
+ static std::optional<bool> is_property_present{};
642
+
643
+ if (!is_property_present.has_value())
644
+ {
645
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"MinPasswordLength");
646
+ }
647
+
648
+ if (!is_property_present.value())
523
649
  {
524
650
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
525
651
  return -1;
@@ -541,7 +667,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
541
667
  {
542
668
  try
543
669
  {
544
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"MinPasswordComplexCharacters"))
670
+ static std::optional<bool> is_property_present{};
671
+
672
+ if (!is_property_present.has_value())
673
+ {
674
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"MinPasswordComplexCharacters");
675
+ }
676
+
677
+ if (!is_property_present.value())
545
678
  {
546
679
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
547
680
  return nullptr;
@@ -566,7 +699,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
566
699
 
567
700
  try
568
701
  {
569
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"MinPasswordComplexCharacters"))
702
+ static std::optional<bool> is_property_present{};
703
+
704
+ if (!is_property_present.has_value())
705
+ {
706
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"MinPasswordComplexCharacters");
707
+ }
708
+
709
+ if (!is_property_present.value())
570
710
  {
571
711
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
572
712
  return -1;
@@ -588,7 +728,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
588
728
  {
589
729
  try
590
730
  {
591
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"MaxPasswordFailedAttempts"))
731
+ static std::optional<bool> is_property_present{};
732
+
733
+ if (!is_property_present.has_value())
734
+ {
735
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"MaxPasswordFailedAttempts");
736
+ }
737
+
738
+ if (!is_property_present.value())
592
739
  {
593
740
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
594
741
  return nullptr;
@@ -613,7 +760,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
613
760
 
614
761
  try
615
762
  {
616
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"MaxPasswordFailedAttempts"))
763
+ static std::optional<bool> is_property_present{};
764
+
765
+ if (!is_property_present.has_value())
766
+ {
767
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"MaxPasswordFailedAttempts");
768
+ }
769
+
770
+ if (!is_property_present.value())
617
771
  {
618
772
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
619
773
  return -1;
@@ -635,7 +789,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
635
789
  {
636
790
  try
637
791
  {
638
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"MaxInactivityTimeLock"))
792
+ static std::optional<bool> is_property_present{};
793
+
794
+ if (!is_property_present.has_value())
795
+ {
796
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"MaxInactivityTimeLock");
797
+ }
798
+
799
+ if (!is_property_present.value())
639
800
  {
640
801
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
641
802
  return nullptr;
@@ -660,7 +821,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
660
821
 
661
822
  try
662
823
  {
663
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"MaxInactivityTimeLock"))
824
+ static std::optional<bool> is_property_present{};
825
+
826
+ if (!is_property_present.has_value())
827
+ {
828
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"MaxInactivityTimeLock");
829
+ }
830
+
831
+ if (!is_property_present.value())
664
832
  {
665
833
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
666
834
  return -1;
@@ -682,7 +850,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
682
850
  {
683
851
  try
684
852
  {
685
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"DisallowConvenienceLogon"))
853
+ static std::optional<bool> is_property_present{};
854
+
855
+ if (!is_property_present.has_value())
856
+ {
857
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"DisallowConvenienceLogon");
858
+ }
859
+
860
+ if (!is_property_present.value())
686
861
  {
687
862
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
688
863
  return nullptr;
@@ -707,7 +882,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
707
882
 
708
883
  try
709
884
  {
710
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"DisallowConvenienceLogon"))
885
+ static std::optional<bool> is_property_present{};
886
+
887
+ if (!is_property_present.has_value())
888
+ {
889
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasClientSecurityPolicy", L"DisallowConvenienceLogon");
890
+ }
891
+
892
+ if (!is_property_present.value())
711
893
  {
712
894
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
713
895
  return -1;
@@ -805,7 +987,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
805
987
  {
806
988
  try
807
989
  {
808
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults", L"Compliant"))
990
+ static std::optional<bool> is_property_present{};
991
+
992
+ if (!is_property_present.has_value())
993
+ {
994
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults", L"Compliant");
995
+ }
996
+
997
+ if (!is_property_present.value())
809
998
  {
810
999
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
811
1000
  return nullptr;
@@ -824,7 +1013,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
824
1013
  {
825
1014
  try
826
1015
  {
827
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults", L"DisallowConvenienceLogonResult"))
1016
+ static std::optional<bool> is_property_present{};
1017
+
1018
+ if (!is_property_present.has_value())
1019
+ {
1020
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults", L"DisallowConvenienceLogonResult");
1021
+ }
1022
+
1023
+ if (!is_property_present.value())
828
1024
  {
829
1025
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
830
1026
  return nullptr;
@@ -843,7 +1039,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
843
1039
  {
844
1040
  try
845
1041
  {
846
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults", L"MaxInactivityTimeLockResult"))
1042
+ static std::optional<bool> is_property_present{};
1043
+
1044
+ if (!is_property_present.has_value())
1045
+ {
1046
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults", L"MaxInactivityTimeLockResult");
1047
+ }
1048
+
1049
+ if (!is_property_present.value())
847
1050
  {
848
1051
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
849
1052
  return nullptr;
@@ -862,7 +1065,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
862
1065
  {
863
1066
  try
864
1067
  {
865
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults", L"MaxPasswordFailedAttemptsResult"))
1068
+ static std::optional<bool> is_property_present{};
1069
+
1070
+ if (!is_property_present.has_value())
1071
+ {
1072
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults", L"MaxPasswordFailedAttemptsResult");
1073
+ }
1074
+
1075
+ if (!is_property_present.value())
866
1076
  {
867
1077
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
868
1078
  return nullptr;
@@ -881,7 +1091,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
881
1091
  {
882
1092
  try
883
1093
  {
884
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults", L"MinPasswordComplexCharactersResult"))
1094
+ static std::optional<bool> is_property_present{};
1095
+
1096
+ if (!is_property_present.has_value())
1097
+ {
1098
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults", L"MinPasswordComplexCharactersResult");
1099
+ }
1100
+
1101
+ if (!is_property_present.value())
885
1102
  {
886
1103
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
887
1104
  return nullptr;
@@ -900,7 +1117,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
900
1117
  {
901
1118
  try
902
1119
  {
903
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults", L"MinPasswordLengthResult"))
1120
+ static std::optional<bool> is_property_present{};
1121
+
1122
+ if (!is_property_present.has_value())
1123
+ {
1124
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults", L"MinPasswordLengthResult");
1125
+ }
1126
+
1127
+ if (!is_property_present.value())
904
1128
  {
905
1129
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
906
1130
  return nullptr;
@@ -919,7 +1143,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
919
1143
  {
920
1144
  try
921
1145
  {
922
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults", L"PasswordExpirationResult"))
1146
+ static std::optional<bool> is_property_present{};
1147
+
1148
+ if (!is_property_present.has_value())
1149
+ {
1150
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults", L"PasswordExpirationResult");
1151
+ }
1152
+
1153
+ if (!is_property_present.value())
923
1154
  {
924
1155
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
925
1156
  return nullptr;
@@ -938,7 +1169,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
938
1169
  {
939
1170
  try
940
1171
  {
941
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults", L"PasswordHistoryResult"))
1172
+ static std::optional<bool> is_property_present{};
1173
+
1174
+ if (!is_property_present.has_value())
1175
+ {
1176
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults", L"PasswordHistoryResult");
1177
+ }
1178
+
1179
+ if (!is_property_present.value())
942
1180
  {
943
1181
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
944
1182
  return nullptr;
@@ -957,7 +1195,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
957
1195
  {
958
1196
  try
959
1197
  {
960
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults", L"RequireEncryptionResult"))
1198
+ static std::optional<bool> is_property_present{};
1199
+
1200
+ if (!is_property_present.has_value())
1201
+ {
1202
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults", L"RequireEncryptionResult");
1203
+ }
1204
+
1205
+ if (!is_property_present.value())
961
1206
  {
962
1207
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
963
1208
  return nullptr;
@@ -976,7 +1221,14 @@ namespace py::cpp::Windows::Security::ExchangeActiveSyncProvisioning
976
1221
  {
977
1222
  try
978
1223
  {
979
- if (!winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults", L"EncryptionProviderType"))
1224
+ static std::optional<bool> is_property_present{};
1225
+
1226
+ if (!is_property_present.has_value())
1227
+ {
1228
+ is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.Security.ExchangeActiveSyncProvisioning.EasComplianceResults", L"EncryptionProviderType");
1229
+ }
1230
+
1231
+ if (!is_property_present.value())
980
1232
  {
981
1233
  PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
982
1234
  return nullptr;
@@ -1095,17 +1347,20 @@ PyMODINIT_FUNC PyInit__winrt_windows_security_exchangeactivesyncprovisioning(voi
1095
1347
  return nullptr;
1096
1348
  }
1097
1349
 
1098
- if (py::register_python_type(module.get(), &type_spec_EasClientDeviceInformation, object_bases.get(), nullptr) == -1)
1350
+ py::pytype_handle EasClientDeviceInformation_type{py::register_python_type(module.get(), &type_spec_EasClientDeviceInformation, object_bases.get(), nullptr)};
1351
+ if (!EasClientDeviceInformation_type)
1099
1352
  {
1100
1353
  return nullptr;
1101
1354
  }
1102
1355
 
1103
- if (py::register_python_type(module.get(), &type_spec_EasClientSecurityPolicy, object_bases.get(), nullptr) == -1)
1356
+ py::pytype_handle EasClientSecurityPolicy_type{py::register_python_type(module.get(), &type_spec_EasClientSecurityPolicy, object_bases.get(), nullptr)};
1357
+ if (!EasClientSecurityPolicy_type)
1104
1358
  {
1105
1359
  return nullptr;
1106
1360
  }
1107
1361
 
1108
- if (py::register_python_type(module.get(), &type_spec_EasComplianceResults, object_bases.get(), nullptr) == -1)
1362
+ py::pytype_handle EasComplianceResults_type{py::register_python_type(module.get(), &type_spec_EasComplianceResults, object_bases.get(), nullptr)};
1363
+ if (!EasComplianceResults_type)
1109
1364
  {
1110
1365
  return nullptr;
1111
1366
  }
@@ -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.13"
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
@@ -1,3 +1,3 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
2
 
3
- winrt-runtime==2.1.0
3
+ winrt-runtime==2.2.0
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
2
 
3
3
  import datetime
4
4
  import sys
@@ -1,4 +1,4 @@
1
- # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.1.0
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT v2.2.0
2
2
 
3
3
  import enum
4
4
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: winrt-Windows.Security.ExchangeActiveSyncProvisioning
3
- Version: 2.1.0
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,11 +10,11 @@ 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,>=3.9
13
+ Requires-Python: <3.14,>=3.9
14
14
  Description-Content-Type: text/markdown
15
- Requires-Dist: winrt-runtime==2.1.0
15
+ Requires-Dist: winrt-runtime==2.2.0
16
16
  Provides-Extra: all
17
- Requires-Dist: winrt-Windows.Foundation[all]==2.1.0; extra == "all"
17
+ Requires-Dist: winrt-Windows.Foundation[all]==2.2.0; extra == "all"
18
18
 
19
19
  <!-- warning: Please don't edit this file. It was automatically generated. -->
20
20
 
@@ -0,0 +1,4 @@
1
+ winrt-runtime==2.2.0
2
+
3
+ [all]
4
+ winrt-Windows.Foundation[all]==2.2.0
@@ -1,4 +0,0 @@
1
- winrt-runtime==2.1.0
2
-
3
- [all]
4
- winrt-Windows.Foundation[all]==2.1.0