winrt-Windows.System.Profile 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_system_profile-2.1.0 → winrt_windows_system_profile-2.2.0}/PKG-INFO +7 -7
- winrt_windows_system_profile-2.2.0/all-requirements.txt +6 -0
- {winrt_windows_system_profile-2.1.0 → winrt_windows_system_profile-2.2.0}/py.Windows.System.Profile.cpp +523 -79
- {winrt_windows_system_profile-2.1.0 → winrt_windows_system_profile-2.2.0}/pyproject.toml +3 -2
- winrt_windows_system_profile-2.2.0/pywinrt-version.txt +1 -0
- {winrt_windows_system_profile-2.1.0 → winrt_windows_system_profile-2.2.0}/requirements.txt +2 -2
- {winrt_windows_system_profile-2.1.0 → winrt_windows_system_profile-2.2.0}/winrt/_winrt_windows_system_profile.pyi +1 -1
- {winrt_windows_system_profile-2.1.0 → winrt_windows_system_profile-2.2.0}/winrt/windows/system/profile/__init__.py +1 -1
- {winrt_windows_system_profile-2.1.0 → winrt_windows_system_profile-2.2.0}/winrt_Windows.System.Profile.egg-info/PKG-INFO +7 -7
- winrt_windows_system_profile-2.2.0/winrt_Windows.System.Profile.egg-info/requires.txt +7 -0
- winrt_windows_system_profile-2.1.0/all-requirements.txt +0 -6
- winrt_windows_system_profile-2.1.0/pywinrt-version.txt +0 -1
- winrt_windows_system_profile-2.1.0/winrt_Windows.System.Profile.egg-info/requires.txt +0 -7
- {winrt_windows_system_profile-2.1.0 → winrt_windows_system_profile-2.2.0}/README.md +0 -0
- {winrt_windows_system_profile-2.1.0 → winrt_windows_system_profile-2.2.0}/setup.cfg +0 -0
- {winrt_windows_system_profile-2.1.0 → winrt_windows_system_profile-2.2.0}/setup.py +0 -0
- {winrt_windows_system_profile-2.1.0 → winrt_windows_system_profile-2.2.0}/winrt/windows/system/profile/py.typed +0 -0
- {winrt_windows_system_profile-2.1.0 → winrt_windows_system_profile-2.2.0}/winrt_Windows.System.Profile.egg-info/SOURCES.txt +0 -0
- {winrt_windows_system_profile-2.1.0 → winrt_windows_system_profile-2.2.0}/winrt_Windows.System.Profile.egg-info/dependency_links.txt +0 -0
- {winrt_windows_system_profile-2.1.0 → winrt_windows_system_profile-2.2.0}/winrt_Windows.System.Profile.egg-info/top_level.txt +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.1
|
|
2
2
|
Name: winrt-Windows.System.Profile
|
|
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,14 +10,14 @@ 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.Foundation[all]==2.
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.
|
|
19
|
-
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.
|
|
20
|
-
Requires-Dist: winrt-Windows.System[all]==2.
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.2.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.2.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.2.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.System[all]==2.2.0; extra == "all"
|
|
21
21
|
|
|
22
22
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
23
23
|
|
|
@@ -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.System.Profile.h"
|
|
4
4
|
|
|
@@ -21,7 +21,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
21
21
|
{
|
|
22
22
|
try
|
|
23
23
|
{
|
|
24
|
-
|
|
24
|
+
static std::optional<bool> is_overload_present{};
|
|
25
|
+
|
|
26
|
+
if (!is_overload_present.has_value())
|
|
27
|
+
{
|
|
28
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Profile.AnalyticsInfo", L"GetSystemPropertiesAsync", 1);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
if (!is_overload_present.value())
|
|
25
32
|
{
|
|
26
33
|
py::set_arg_count_version_error(1);
|
|
27
34
|
return nullptr;
|
|
@@ -48,7 +55,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
48
55
|
{
|
|
49
56
|
try
|
|
50
57
|
{
|
|
51
|
-
|
|
58
|
+
static std::optional<bool> is_property_present{};
|
|
59
|
+
|
|
60
|
+
if (!is_property_present.has_value())
|
|
61
|
+
{
|
|
62
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.AnalyticsInfo", L"DeviceForm");
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
if (!is_property_present.value())
|
|
52
66
|
{
|
|
53
67
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
54
68
|
return nullptr;
|
|
@@ -67,7 +81,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
67
81
|
{
|
|
68
82
|
try
|
|
69
83
|
{
|
|
70
|
-
|
|
84
|
+
static std::optional<bool> is_property_present{};
|
|
85
|
+
|
|
86
|
+
if (!is_property_present.has_value())
|
|
87
|
+
{
|
|
88
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.AnalyticsInfo", L"VersionInfo");
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
if (!is_property_present.value())
|
|
71
92
|
{
|
|
72
93
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
73
94
|
return nullptr;
|
|
@@ -153,7 +174,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
153
174
|
{
|
|
154
175
|
try
|
|
155
176
|
{
|
|
156
|
-
|
|
177
|
+
static std::optional<bool> is_property_present{};
|
|
178
|
+
|
|
179
|
+
if (!is_property_present.has_value())
|
|
180
|
+
{
|
|
181
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.AnalyticsVersionInfo", L"DeviceFamily");
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
if (!is_property_present.value())
|
|
157
185
|
{
|
|
158
186
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
159
187
|
return nullptr;
|
|
@@ -172,7 +200,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
172
200
|
{
|
|
173
201
|
try
|
|
174
202
|
{
|
|
175
|
-
|
|
203
|
+
static std::optional<bool> is_property_present{};
|
|
204
|
+
|
|
205
|
+
if (!is_property_present.has_value())
|
|
206
|
+
{
|
|
207
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.AnalyticsVersionInfo", L"DeviceFamilyVersion");
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
if (!is_property_present.value())
|
|
176
211
|
{
|
|
177
212
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
178
213
|
return nullptr;
|
|
@@ -191,7 +226,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
191
226
|
{
|
|
192
227
|
try
|
|
193
228
|
{
|
|
194
|
-
|
|
229
|
+
static std::optional<bool> is_property_present{};
|
|
230
|
+
|
|
231
|
+
if (!is_property_present.has_value())
|
|
232
|
+
{
|
|
233
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.AnalyticsVersionInfo", L"ProductName");
|
|
234
|
+
}
|
|
235
|
+
|
|
236
|
+
if (!is_property_present.value())
|
|
195
237
|
{
|
|
196
238
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
197
239
|
return nullptr;
|
|
@@ -275,7 +317,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
275
317
|
{
|
|
276
318
|
try
|
|
277
319
|
{
|
|
278
|
-
|
|
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.System.Profile.AppApplicability", L"GetUnsupportedAppRequirements", 1);
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
if (!is_overload_present.value())
|
|
279
328
|
{
|
|
280
329
|
py::set_arg_count_version_error(1);
|
|
281
330
|
return nullptr;
|
|
@@ -359,7 +408,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
359
408
|
{
|
|
360
409
|
try
|
|
361
410
|
{
|
|
362
|
-
|
|
411
|
+
static std::optional<bool> is_property_present{};
|
|
412
|
+
|
|
413
|
+
if (!is_property_present.has_value())
|
|
414
|
+
{
|
|
415
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.EducationSettings", L"IsEducationEnvironment");
|
|
416
|
+
}
|
|
417
|
+
|
|
418
|
+
if (!is_property_present.value())
|
|
363
419
|
{
|
|
364
420
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
365
421
|
return nullptr;
|
|
@@ -439,7 +495,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
439
495
|
{
|
|
440
496
|
try
|
|
441
497
|
{
|
|
442
|
-
|
|
498
|
+
static std::optional<bool> is_overload_present{};
|
|
499
|
+
|
|
500
|
+
if (!is_overload_present.has_value())
|
|
501
|
+
{
|
|
502
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Profile.HardwareIdentification", L"GetPackageSpecificToken", 1);
|
|
503
|
+
}
|
|
504
|
+
|
|
505
|
+
if (!is_overload_present.value())
|
|
443
506
|
{
|
|
444
507
|
py::set_arg_count_version_error(1);
|
|
445
508
|
return nullptr;
|
|
@@ -531,7 +594,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
531
594
|
{
|
|
532
595
|
try
|
|
533
596
|
{
|
|
534
|
-
|
|
597
|
+
static std::optional<bool> is_property_present{};
|
|
598
|
+
|
|
599
|
+
if (!is_property_present.has_value())
|
|
600
|
+
{
|
|
601
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.HardwareToken", L"Certificate");
|
|
602
|
+
}
|
|
603
|
+
|
|
604
|
+
if (!is_property_present.value())
|
|
535
605
|
{
|
|
536
606
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
537
607
|
return nullptr;
|
|
@@ -550,7 +620,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
550
620
|
{
|
|
551
621
|
try
|
|
552
622
|
{
|
|
553
|
-
|
|
623
|
+
static std::optional<bool> is_property_present{};
|
|
624
|
+
|
|
625
|
+
if (!is_property_present.has_value())
|
|
626
|
+
{
|
|
627
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.HardwareToken", L"Id");
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
if (!is_property_present.value())
|
|
554
631
|
{
|
|
555
632
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
556
633
|
return nullptr;
|
|
@@ -569,7 +646,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
569
646
|
{
|
|
570
647
|
try
|
|
571
648
|
{
|
|
572
|
-
|
|
649
|
+
static std::optional<bool> is_property_present{};
|
|
650
|
+
|
|
651
|
+
if (!is_property_present.has_value())
|
|
652
|
+
{
|
|
653
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.HardwareToken", L"Signature");
|
|
654
|
+
}
|
|
655
|
+
|
|
656
|
+
if (!is_property_present.value())
|
|
573
657
|
{
|
|
574
658
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
575
659
|
return nullptr;
|
|
@@ -649,7 +733,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
649
733
|
{
|
|
650
734
|
try
|
|
651
735
|
{
|
|
652
|
-
|
|
736
|
+
static std::optional<bool> is_property_present{};
|
|
737
|
+
|
|
738
|
+
if (!is_property_present.has_value())
|
|
739
|
+
{
|
|
740
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.KnownRetailInfoProperties", L"BatteryLifeDescription");
|
|
741
|
+
}
|
|
742
|
+
|
|
743
|
+
if (!is_property_present.value())
|
|
653
744
|
{
|
|
654
745
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
655
746
|
return nullptr;
|
|
@@ -668,7 +759,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
668
759
|
{
|
|
669
760
|
try
|
|
670
761
|
{
|
|
671
|
-
|
|
762
|
+
static std::optional<bool> is_property_present{};
|
|
763
|
+
|
|
764
|
+
if (!is_property_present.has_value())
|
|
765
|
+
{
|
|
766
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.KnownRetailInfoProperties", L"DisplayDescription");
|
|
767
|
+
}
|
|
768
|
+
|
|
769
|
+
if (!is_property_present.value())
|
|
672
770
|
{
|
|
673
771
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
674
772
|
return nullptr;
|
|
@@ -687,7 +785,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
687
785
|
{
|
|
688
786
|
try
|
|
689
787
|
{
|
|
690
|
-
|
|
788
|
+
static std::optional<bool> is_property_present{};
|
|
789
|
+
|
|
790
|
+
if (!is_property_present.has_value())
|
|
791
|
+
{
|
|
792
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.KnownRetailInfoProperties", L"DisplayModelName");
|
|
793
|
+
}
|
|
794
|
+
|
|
795
|
+
if (!is_property_present.value())
|
|
691
796
|
{
|
|
692
797
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
693
798
|
return nullptr;
|
|
@@ -706,7 +811,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
706
811
|
{
|
|
707
812
|
try
|
|
708
813
|
{
|
|
709
|
-
|
|
814
|
+
static std::optional<bool> is_property_present{};
|
|
815
|
+
|
|
816
|
+
if (!is_property_present.has_value())
|
|
817
|
+
{
|
|
818
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.KnownRetailInfoProperties", L"FormFactor");
|
|
819
|
+
}
|
|
820
|
+
|
|
821
|
+
if (!is_property_present.value())
|
|
710
822
|
{
|
|
711
823
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
712
824
|
return nullptr;
|
|
@@ -725,7 +837,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
725
837
|
{
|
|
726
838
|
try
|
|
727
839
|
{
|
|
728
|
-
|
|
840
|
+
static std::optional<bool> is_property_present{};
|
|
841
|
+
|
|
842
|
+
if (!is_property_present.has_value())
|
|
843
|
+
{
|
|
844
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.KnownRetailInfoProperties", L"FrontCameraDescription");
|
|
845
|
+
}
|
|
846
|
+
|
|
847
|
+
if (!is_property_present.value())
|
|
729
848
|
{
|
|
730
849
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
731
850
|
return nullptr;
|
|
@@ -744,7 +863,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
744
863
|
{
|
|
745
864
|
try
|
|
746
865
|
{
|
|
747
|
-
|
|
866
|
+
static std::optional<bool> is_property_present{};
|
|
867
|
+
|
|
868
|
+
if (!is_property_present.has_value())
|
|
869
|
+
{
|
|
870
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.KnownRetailInfoProperties", L"GraphicsDescription");
|
|
871
|
+
}
|
|
872
|
+
|
|
873
|
+
if (!is_property_present.value())
|
|
748
874
|
{
|
|
749
875
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
750
876
|
return nullptr;
|
|
@@ -763,7 +889,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
763
889
|
{
|
|
764
890
|
try
|
|
765
891
|
{
|
|
766
|
-
|
|
892
|
+
static std::optional<bool> is_property_present{};
|
|
893
|
+
|
|
894
|
+
if (!is_property_present.has_value())
|
|
895
|
+
{
|
|
896
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.KnownRetailInfoProperties", L"HasNfc");
|
|
897
|
+
}
|
|
898
|
+
|
|
899
|
+
if (!is_property_present.value())
|
|
767
900
|
{
|
|
768
901
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
769
902
|
return nullptr;
|
|
@@ -782,7 +915,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
782
915
|
{
|
|
783
916
|
try
|
|
784
917
|
{
|
|
785
|
-
|
|
918
|
+
static std::optional<bool> is_property_present{};
|
|
919
|
+
|
|
920
|
+
if (!is_property_present.has_value())
|
|
921
|
+
{
|
|
922
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.KnownRetailInfoProperties", L"HasOpticalDrive");
|
|
923
|
+
}
|
|
924
|
+
|
|
925
|
+
if (!is_property_present.value())
|
|
786
926
|
{
|
|
787
927
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
788
928
|
return nullptr;
|
|
@@ -801,7 +941,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
801
941
|
{
|
|
802
942
|
try
|
|
803
943
|
{
|
|
804
|
-
|
|
944
|
+
static std::optional<bool> is_property_present{};
|
|
945
|
+
|
|
946
|
+
if (!is_property_present.has_value())
|
|
947
|
+
{
|
|
948
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.KnownRetailInfoProperties", L"HasSdSlot");
|
|
949
|
+
}
|
|
950
|
+
|
|
951
|
+
if (!is_property_present.value())
|
|
805
952
|
{
|
|
806
953
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
807
954
|
return nullptr;
|
|
@@ -820,7 +967,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
820
967
|
{
|
|
821
968
|
try
|
|
822
969
|
{
|
|
823
|
-
|
|
970
|
+
static std::optional<bool> is_property_present{};
|
|
971
|
+
|
|
972
|
+
if (!is_property_present.has_value())
|
|
973
|
+
{
|
|
974
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.KnownRetailInfoProperties", L"IsFeatured");
|
|
975
|
+
}
|
|
976
|
+
|
|
977
|
+
if (!is_property_present.value())
|
|
824
978
|
{
|
|
825
979
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
826
980
|
return nullptr;
|
|
@@ -839,7 +993,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
839
993
|
{
|
|
840
994
|
try
|
|
841
995
|
{
|
|
842
|
-
|
|
996
|
+
static std::optional<bool> is_property_present{};
|
|
997
|
+
|
|
998
|
+
if (!is_property_present.has_value())
|
|
999
|
+
{
|
|
1000
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.KnownRetailInfoProperties", L"IsOfficeInstalled");
|
|
1001
|
+
}
|
|
1002
|
+
|
|
1003
|
+
if (!is_property_present.value())
|
|
843
1004
|
{
|
|
844
1005
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
845
1006
|
return nullptr;
|
|
@@ -858,7 +1019,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
858
1019
|
{
|
|
859
1020
|
try
|
|
860
1021
|
{
|
|
861
|
-
|
|
1022
|
+
static std::optional<bool> is_property_present{};
|
|
1023
|
+
|
|
1024
|
+
if (!is_property_present.has_value())
|
|
1025
|
+
{
|
|
1026
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.KnownRetailInfoProperties", L"ManufacturerName");
|
|
1027
|
+
}
|
|
1028
|
+
|
|
1029
|
+
if (!is_property_present.value())
|
|
862
1030
|
{
|
|
863
1031
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
864
1032
|
return nullptr;
|
|
@@ -877,7 +1045,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
877
1045
|
{
|
|
878
1046
|
try
|
|
879
1047
|
{
|
|
880
|
-
|
|
1048
|
+
static std::optional<bool> is_property_present{};
|
|
1049
|
+
|
|
1050
|
+
if (!is_property_present.has_value())
|
|
1051
|
+
{
|
|
1052
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.KnownRetailInfoProperties", L"Memory");
|
|
1053
|
+
}
|
|
1054
|
+
|
|
1055
|
+
if (!is_property_present.value())
|
|
881
1056
|
{
|
|
882
1057
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
883
1058
|
return nullptr;
|
|
@@ -896,7 +1071,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
896
1071
|
{
|
|
897
1072
|
try
|
|
898
1073
|
{
|
|
899
|
-
|
|
1074
|
+
static std::optional<bool> is_property_present{};
|
|
1075
|
+
|
|
1076
|
+
if (!is_property_present.has_value())
|
|
1077
|
+
{
|
|
1078
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.KnownRetailInfoProperties", L"ModelName");
|
|
1079
|
+
}
|
|
1080
|
+
|
|
1081
|
+
if (!is_property_present.value())
|
|
900
1082
|
{
|
|
901
1083
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
902
1084
|
return nullptr;
|
|
@@ -915,7 +1097,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
915
1097
|
{
|
|
916
1098
|
try
|
|
917
1099
|
{
|
|
918
|
-
|
|
1100
|
+
static std::optional<bool> is_property_present{};
|
|
1101
|
+
|
|
1102
|
+
if (!is_property_present.has_value())
|
|
1103
|
+
{
|
|
1104
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.KnownRetailInfoProperties", L"Price");
|
|
1105
|
+
}
|
|
1106
|
+
|
|
1107
|
+
if (!is_property_present.value())
|
|
919
1108
|
{
|
|
920
1109
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
921
1110
|
return nullptr;
|
|
@@ -934,7 +1123,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
934
1123
|
{
|
|
935
1124
|
try
|
|
936
1125
|
{
|
|
937
|
-
|
|
1126
|
+
static std::optional<bool> is_property_present{};
|
|
1127
|
+
|
|
1128
|
+
if (!is_property_present.has_value())
|
|
1129
|
+
{
|
|
1130
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.KnownRetailInfoProperties", L"ProcessorDescription");
|
|
1131
|
+
}
|
|
1132
|
+
|
|
1133
|
+
if (!is_property_present.value())
|
|
938
1134
|
{
|
|
939
1135
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
940
1136
|
return nullptr;
|
|
@@ -953,7 +1149,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
953
1149
|
{
|
|
954
1150
|
try
|
|
955
1151
|
{
|
|
956
|
-
|
|
1152
|
+
static std::optional<bool> is_property_present{};
|
|
1153
|
+
|
|
1154
|
+
if (!is_property_present.has_value())
|
|
1155
|
+
{
|
|
1156
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.KnownRetailInfoProperties", L"RearCameraDescription");
|
|
1157
|
+
}
|
|
1158
|
+
|
|
1159
|
+
if (!is_property_present.value())
|
|
957
1160
|
{
|
|
958
1161
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
959
1162
|
return nullptr;
|
|
@@ -972,7 +1175,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
972
1175
|
{
|
|
973
1176
|
try
|
|
974
1177
|
{
|
|
975
|
-
|
|
1178
|
+
static std::optional<bool> is_property_present{};
|
|
1179
|
+
|
|
1180
|
+
if (!is_property_present.has_value())
|
|
1181
|
+
{
|
|
1182
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.KnownRetailInfoProperties", L"RetailAccessCode");
|
|
1183
|
+
}
|
|
1184
|
+
|
|
1185
|
+
if (!is_property_present.value())
|
|
976
1186
|
{
|
|
977
1187
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
978
1188
|
return nullptr;
|
|
@@ -991,7 +1201,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
991
1201
|
{
|
|
992
1202
|
try
|
|
993
1203
|
{
|
|
994
|
-
|
|
1204
|
+
static std::optional<bool> is_property_present{};
|
|
1205
|
+
|
|
1206
|
+
if (!is_property_present.has_value())
|
|
1207
|
+
{
|
|
1208
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.KnownRetailInfoProperties", L"ScreenSize");
|
|
1209
|
+
}
|
|
1210
|
+
|
|
1211
|
+
if (!is_property_present.value())
|
|
995
1212
|
{
|
|
996
1213
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
997
1214
|
return nullptr;
|
|
@@ -1010,7 +1227,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
1010
1227
|
{
|
|
1011
1228
|
try
|
|
1012
1229
|
{
|
|
1013
|
-
|
|
1230
|
+
static std::optional<bool> is_property_present{};
|
|
1231
|
+
|
|
1232
|
+
if (!is_property_present.has_value())
|
|
1233
|
+
{
|
|
1234
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.KnownRetailInfoProperties", L"StorageDescription");
|
|
1235
|
+
}
|
|
1236
|
+
|
|
1237
|
+
if (!is_property_present.value())
|
|
1014
1238
|
{
|
|
1015
1239
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1016
1240
|
return nullptr;
|
|
@@ -1029,7 +1253,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
1029
1253
|
{
|
|
1030
1254
|
try
|
|
1031
1255
|
{
|
|
1032
|
-
|
|
1256
|
+
static std::optional<bool> is_property_present{};
|
|
1257
|
+
|
|
1258
|
+
if (!is_property_present.has_value())
|
|
1259
|
+
{
|
|
1260
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.KnownRetailInfoProperties", L"Weight");
|
|
1261
|
+
}
|
|
1262
|
+
|
|
1263
|
+
if (!is_property_present.value())
|
|
1033
1264
|
{
|
|
1034
1265
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1035
1266
|
return nullptr;
|
|
@@ -1048,7 +1279,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
1048
1279
|
{
|
|
1049
1280
|
try
|
|
1050
1281
|
{
|
|
1051
|
-
|
|
1282
|
+
static std::optional<bool> is_property_present{};
|
|
1283
|
+
|
|
1284
|
+
if (!is_property_present.has_value())
|
|
1285
|
+
{
|
|
1286
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.KnownRetailInfoProperties", L"WindowsEdition");
|
|
1287
|
+
}
|
|
1288
|
+
|
|
1289
|
+
if (!is_property_present.value())
|
|
1052
1290
|
{
|
|
1053
1291
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1054
1292
|
return nullptr;
|
|
@@ -1145,7 +1383,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
1145
1383
|
{
|
|
1146
1384
|
try
|
|
1147
1385
|
{
|
|
1148
|
-
|
|
1386
|
+
static std::optional<bool> is_property_present{};
|
|
1387
|
+
|
|
1388
|
+
if (!is_property_present.has_value())
|
|
1389
|
+
{
|
|
1390
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.PlatformAutomaticAppSignInManager", L"Policy");
|
|
1391
|
+
}
|
|
1392
|
+
|
|
1393
|
+
if (!is_property_present.value())
|
|
1149
1394
|
{
|
|
1150
1395
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1151
1396
|
return nullptr;
|
|
@@ -1225,7 +1470,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
1225
1470
|
{
|
|
1226
1471
|
try
|
|
1227
1472
|
{
|
|
1228
|
-
|
|
1473
|
+
static std::optional<bool> is_overload_present{};
|
|
1474
|
+
|
|
1475
|
+
if (!is_overload_present.has_value())
|
|
1476
|
+
{
|
|
1477
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Profile.PlatformDiagnosticsAndUsageDataSettings", L"CanCollectDiagnostics", 1);
|
|
1478
|
+
}
|
|
1479
|
+
|
|
1480
|
+
if (!is_overload_present.value())
|
|
1229
1481
|
{
|
|
1230
1482
|
py::set_arg_count_version_error(1);
|
|
1231
1483
|
return nullptr;
|
|
@@ -1252,7 +1504,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
1252
1504
|
{
|
|
1253
1505
|
try
|
|
1254
1506
|
{
|
|
1255
|
-
|
|
1507
|
+
static std::optional<bool> is_property_present{};
|
|
1508
|
+
|
|
1509
|
+
if (!is_property_present.has_value())
|
|
1510
|
+
{
|
|
1511
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.PlatformDiagnosticsAndUsageDataSettings", L"CollectionLevel");
|
|
1512
|
+
}
|
|
1513
|
+
|
|
1514
|
+
if (!is_property_present.value())
|
|
1256
1515
|
{
|
|
1257
1516
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1258
1517
|
return nullptr;
|
|
@@ -1271,7 +1530,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
1271
1530
|
{
|
|
1272
1531
|
try
|
|
1273
1532
|
{
|
|
1274
|
-
|
|
1533
|
+
static std::optional<bool> is_event_present{};
|
|
1534
|
+
|
|
1535
|
+
if (!is_event_present.has_value())
|
|
1536
|
+
{
|
|
1537
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.System.Profile.PlatformDiagnosticsAndUsageDataSettings", L"CollectionLevelChanged");
|
|
1538
|
+
}
|
|
1539
|
+
|
|
1540
|
+
if (!is_event_present.value())
|
|
1275
1541
|
{
|
|
1276
1542
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
1277
1543
|
return nullptr;
|
|
@@ -1292,7 +1558,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
1292
1558
|
{
|
|
1293
1559
|
try
|
|
1294
1560
|
{
|
|
1295
|
-
|
|
1561
|
+
static std::optional<bool> is_event_present{};
|
|
1562
|
+
|
|
1563
|
+
if (!is_event_present.has_value())
|
|
1564
|
+
{
|
|
1565
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.System.Profile.PlatformDiagnosticsAndUsageDataSettings", L"CollectionLevelChanged");
|
|
1566
|
+
}
|
|
1567
|
+
|
|
1568
|
+
if (!is_event_present.value())
|
|
1296
1569
|
{
|
|
1297
1570
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
1298
1571
|
return nullptr;
|
|
@@ -1374,7 +1647,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
1374
1647
|
{
|
|
1375
1648
|
try
|
|
1376
1649
|
{
|
|
1377
|
-
|
|
1650
|
+
static std::optional<bool> is_property_present{};
|
|
1651
|
+
|
|
1652
|
+
if (!is_property_present.has_value())
|
|
1653
|
+
{
|
|
1654
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.RetailInfo", L"IsDemoModeEnabled");
|
|
1655
|
+
}
|
|
1656
|
+
|
|
1657
|
+
if (!is_property_present.value())
|
|
1378
1658
|
{
|
|
1379
1659
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1380
1660
|
return nullptr;
|
|
@@ -1393,7 +1673,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
1393
1673
|
{
|
|
1394
1674
|
try
|
|
1395
1675
|
{
|
|
1396
|
-
|
|
1676
|
+
static std::optional<bool> is_property_present{};
|
|
1677
|
+
|
|
1678
|
+
if (!is_property_present.has_value())
|
|
1679
|
+
{
|
|
1680
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.RetailInfo", L"Properties");
|
|
1681
|
+
}
|
|
1682
|
+
|
|
1683
|
+
if (!is_property_present.value())
|
|
1397
1684
|
{
|
|
1398
1685
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1399
1686
|
return nullptr;
|
|
@@ -1470,7 +1757,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
1470
1757
|
{
|
|
1471
1758
|
try
|
|
1472
1759
|
{
|
|
1473
|
-
|
|
1760
|
+
static std::optional<bool> is_property_present{};
|
|
1761
|
+
|
|
1762
|
+
if (!is_property_present.has_value())
|
|
1763
|
+
{
|
|
1764
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.SharedModeSettings", L"IsEnabled");
|
|
1765
|
+
}
|
|
1766
|
+
|
|
1767
|
+
if (!is_property_present.value())
|
|
1474
1768
|
{
|
|
1475
1769
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1476
1770
|
return nullptr;
|
|
@@ -1489,7 +1783,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
1489
1783
|
{
|
|
1490
1784
|
try
|
|
1491
1785
|
{
|
|
1492
|
-
|
|
1786
|
+
static std::optional<bool> is_property_present{};
|
|
1787
|
+
|
|
1788
|
+
if (!is_property_present.has_value())
|
|
1789
|
+
{
|
|
1790
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.SharedModeSettings", L"ShouldAvoidLocalStorage");
|
|
1791
|
+
}
|
|
1792
|
+
|
|
1793
|
+
if (!is_property_present.value())
|
|
1493
1794
|
{
|
|
1494
1795
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1495
1796
|
return nullptr;
|
|
@@ -1566,7 +1867,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
1566
1867
|
{
|
|
1567
1868
|
try
|
|
1568
1869
|
{
|
|
1569
|
-
|
|
1870
|
+
static std::optional<bool> is_property_present{};
|
|
1871
|
+
|
|
1872
|
+
if (!is_property_present.has_value())
|
|
1873
|
+
{
|
|
1874
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.SmartAppControlPolicy", L"IsEnabled");
|
|
1875
|
+
}
|
|
1876
|
+
|
|
1877
|
+
if (!is_property_present.value())
|
|
1570
1878
|
{
|
|
1571
1879
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1572
1880
|
return nullptr;
|
|
@@ -1585,7 +1893,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
1585
1893
|
{
|
|
1586
1894
|
try
|
|
1587
1895
|
{
|
|
1588
|
-
|
|
1896
|
+
static std::optional<bool> is_event_present{};
|
|
1897
|
+
|
|
1898
|
+
if (!is_event_present.has_value())
|
|
1899
|
+
{
|
|
1900
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.System.Profile.SmartAppControlPolicy", L"Changed");
|
|
1901
|
+
}
|
|
1902
|
+
|
|
1903
|
+
if (!is_event_present.value())
|
|
1589
1904
|
{
|
|
1590
1905
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
1591
1906
|
return nullptr;
|
|
@@ -1606,7 +1921,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
1606
1921
|
{
|
|
1607
1922
|
try
|
|
1608
1923
|
{
|
|
1609
|
-
|
|
1924
|
+
static std::optional<bool> is_event_present{};
|
|
1925
|
+
|
|
1926
|
+
if (!is_event_present.has_value())
|
|
1927
|
+
{
|
|
1928
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.System.Profile.SmartAppControlPolicy", L"Changed");
|
|
1929
|
+
}
|
|
1930
|
+
|
|
1931
|
+
if (!is_event_present.value())
|
|
1610
1932
|
{
|
|
1611
1933
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
1612
1934
|
return nullptr;
|
|
@@ -1691,7 +2013,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
1691
2013
|
{
|
|
1692
2014
|
try
|
|
1693
2015
|
{
|
|
1694
|
-
|
|
2016
|
+
static std::optional<bool> is_overload_present{};
|
|
2017
|
+
|
|
2018
|
+
if (!is_overload_present.has_value())
|
|
2019
|
+
{
|
|
2020
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Profile.SystemIdentification", L"GetSystemIdForPublisher", 0);
|
|
2021
|
+
}
|
|
2022
|
+
|
|
2023
|
+
if (!is_overload_present.value())
|
|
1695
2024
|
{
|
|
1696
2025
|
py::set_arg_count_version_error(0);
|
|
1697
2026
|
return nullptr;
|
|
@@ -1720,7 +2049,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
1720
2049
|
{
|
|
1721
2050
|
try
|
|
1722
2051
|
{
|
|
1723
|
-
|
|
2052
|
+
static std::optional<bool> is_overload_present{};
|
|
2053
|
+
|
|
2054
|
+
if (!is_overload_present.has_value())
|
|
2055
|
+
{
|
|
2056
|
+
is_overload_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsMethodPresent(L"Windows.System.Profile.SystemIdentification", L"GetSystemIdForUser", 1);
|
|
2057
|
+
}
|
|
2058
|
+
|
|
2059
|
+
if (!is_overload_present.value())
|
|
1724
2060
|
{
|
|
1725
2061
|
py::set_arg_count_version_error(1);
|
|
1726
2062
|
return nullptr;
|
|
@@ -1813,7 +2149,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
1813
2149
|
{
|
|
1814
2150
|
try
|
|
1815
2151
|
{
|
|
1816
|
-
|
|
2152
|
+
static std::optional<bool> is_property_present{};
|
|
2153
|
+
|
|
2154
|
+
if (!is_property_present.has_value())
|
|
2155
|
+
{
|
|
2156
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.SystemIdentificationInfo", L"Id");
|
|
2157
|
+
}
|
|
2158
|
+
|
|
2159
|
+
if (!is_property_present.value())
|
|
1817
2160
|
{
|
|
1818
2161
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1819
2162
|
return nullptr;
|
|
@@ -1832,7 +2175,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
1832
2175
|
{
|
|
1833
2176
|
try
|
|
1834
2177
|
{
|
|
1835
|
-
|
|
2178
|
+
static std::optional<bool> is_property_present{};
|
|
2179
|
+
|
|
2180
|
+
if (!is_property_present.has_value())
|
|
2181
|
+
{
|
|
2182
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.SystemIdentificationInfo", L"Source");
|
|
2183
|
+
}
|
|
2184
|
+
|
|
2185
|
+
if (!is_property_present.value())
|
|
1836
2186
|
{
|
|
1837
2187
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1838
2188
|
return nullptr;
|
|
@@ -1911,7 +2261,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
1911
2261
|
{
|
|
1912
2262
|
try
|
|
1913
2263
|
{
|
|
1914
|
-
|
|
2264
|
+
static std::optional<bool> is_property_present{};
|
|
2265
|
+
|
|
2266
|
+
if (!is_property_present.has_value())
|
|
2267
|
+
{
|
|
2268
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.SystemSetupInfo", L"OutOfBoxExperienceState");
|
|
2269
|
+
}
|
|
2270
|
+
|
|
2271
|
+
if (!is_property_present.value())
|
|
1915
2272
|
{
|
|
1916
2273
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
1917
2274
|
return nullptr;
|
|
@@ -1930,7 +2287,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
1930
2287
|
{
|
|
1931
2288
|
try
|
|
1932
2289
|
{
|
|
1933
|
-
|
|
2290
|
+
static std::optional<bool> is_event_present{};
|
|
2291
|
+
|
|
2292
|
+
if (!is_event_present.has_value())
|
|
2293
|
+
{
|
|
2294
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.System.Profile.SystemSetupInfo", L"OutOfBoxExperienceStateChanged");
|
|
2295
|
+
}
|
|
2296
|
+
|
|
2297
|
+
if (!is_event_present.value())
|
|
1934
2298
|
{
|
|
1935
2299
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
1936
2300
|
return nullptr;
|
|
@@ -1951,7 +2315,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
1951
2315
|
{
|
|
1952
2316
|
try
|
|
1953
2317
|
{
|
|
1954
|
-
|
|
2318
|
+
static std::optional<bool> is_event_present{};
|
|
2319
|
+
|
|
2320
|
+
if (!is_event_present.has_value())
|
|
2321
|
+
{
|
|
2322
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.System.Profile.SystemSetupInfo", L"OutOfBoxExperienceStateChanged");
|
|
2323
|
+
}
|
|
2324
|
+
|
|
2325
|
+
if (!is_event_present.value())
|
|
1955
2326
|
{
|
|
1956
2327
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
1957
2328
|
return nullptr;
|
|
@@ -2040,7 +2411,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
2040
2411
|
{
|
|
2041
2412
|
try
|
|
2042
2413
|
{
|
|
2043
|
-
|
|
2414
|
+
static std::optional<bool> is_property_present{};
|
|
2415
|
+
|
|
2416
|
+
if (!is_property_present.has_value())
|
|
2417
|
+
{
|
|
2418
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.UnsupportedAppRequirement", L"Reasons");
|
|
2419
|
+
}
|
|
2420
|
+
|
|
2421
|
+
if (!is_property_present.value())
|
|
2044
2422
|
{
|
|
2045
2423
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
2046
2424
|
return nullptr;
|
|
@@ -2059,7 +2437,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
2059
2437
|
{
|
|
2060
2438
|
try
|
|
2061
2439
|
{
|
|
2062
|
-
|
|
2440
|
+
static std::optional<bool> is_property_present{};
|
|
2441
|
+
|
|
2442
|
+
if (!is_property_present.has_value())
|
|
2443
|
+
{
|
|
2444
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.UnsupportedAppRequirement", L"Requirement");
|
|
2445
|
+
}
|
|
2446
|
+
|
|
2447
|
+
if (!is_property_present.value())
|
|
2063
2448
|
{
|
|
2064
2449
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
2065
2450
|
return nullptr;
|
|
@@ -2138,7 +2523,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
2138
2523
|
{
|
|
2139
2524
|
try
|
|
2140
2525
|
{
|
|
2141
|
-
|
|
2526
|
+
static std::optional<bool> is_property_present{};
|
|
2527
|
+
|
|
2528
|
+
if (!is_property_present.has_value())
|
|
2529
|
+
{
|
|
2530
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.WindowsIntegrityPolicy", L"CanDisable");
|
|
2531
|
+
}
|
|
2532
|
+
|
|
2533
|
+
if (!is_property_present.value())
|
|
2142
2534
|
{
|
|
2143
2535
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
2144
2536
|
return nullptr;
|
|
@@ -2157,7 +2549,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
2157
2549
|
{
|
|
2158
2550
|
try
|
|
2159
2551
|
{
|
|
2160
|
-
|
|
2552
|
+
static std::optional<bool> is_property_present{};
|
|
2553
|
+
|
|
2554
|
+
if (!is_property_present.has_value())
|
|
2555
|
+
{
|
|
2556
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.WindowsIntegrityPolicy", L"IsDisableSupported");
|
|
2557
|
+
}
|
|
2558
|
+
|
|
2559
|
+
if (!is_property_present.value())
|
|
2161
2560
|
{
|
|
2162
2561
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
2163
2562
|
return nullptr;
|
|
@@ -2176,7 +2575,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
2176
2575
|
{
|
|
2177
2576
|
try
|
|
2178
2577
|
{
|
|
2179
|
-
|
|
2578
|
+
static std::optional<bool> is_property_present{};
|
|
2579
|
+
|
|
2580
|
+
if (!is_property_present.has_value())
|
|
2581
|
+
{
|
|
2582
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.WindowsIntegrityPolicy", L"IsEnabled");
|
|
2583
|
+
}
|
|
2584
|
+
|
|
2585
|
+
if (!is_property_present.value())
|
|
2180
2586
|
{
|
|
2181
2587
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
2182
2588
|
return nullptr;
|
|
@@ -2195,7 +2601,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
2195
2601
|
{
|
|
2196
2602
|
try
|
|
2197
2603
|
{
|
|
2198
|
-
|
|
2604
|
+
static std::optional<bool> is_property_present{};
|
|
2605
|
+
|
|
2606
|
+
if (!is_property_present.has_value())
|
|
2607
|
+
{
|
|
2608
|
+
is_property_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsPropertyPresent(L"Windows.System.Profile.WindowsIntegrityPolicy", L"IsEnabledForTrial");
|
|
2609
|
+
}
|
|
2610
|
+
|
|
2611
|
+
if (!is_property_present.value())
|
|
2199
2612
|
{
|
|
2200
2613
|
PyErr_SetString(PyExc_AttributeError, "property is not available in this version of Windows");
|
|
2201
2614
|
return nullptr;
|
|
@@ -2214,7 +2627,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
2214
2627
|
{
|
|
2215
2628
|
try
|
|
2216
2629
|
{
|
|
2217
|
-
|
|
2630
|
+
static std::optional<bool> is_event_present{};
|
|
2631
|
+
|
|
2632
|
+
if (!is_event_present.has_value())
|
|
2633
|
+
{
|
|
2634
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.System.Profile.WindowsIntegrityPolicy", L"PolicyChanged");
|
|
2635
|
+
}
|
|
2636
|
+
|
|
2637
|
+
if (!is_event_present.value())
|
|
2218
2638
|
{
|
|
2219
2639
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
2220
2640
|
return nullptr;
|
|
@@ -2235,7 +2655,14 @@ namespace py::cpp::Windows::System::Profile
|
|
|
2235
2655
|
{
|
|
2236
2656
|
try
|
|
2237
2657
|
{
|
|
2238
|
-
|
|
2658
|
+
static std::optional<bool> is_event_present{};
|
|
2659
|
+
|
|
2660
|
+
if (!is_event_present.has_value())
|
|
2661
|
+
{
|
|
2662
|
+
is_event_present = winrt::Windows::Foundation::Metadata::ApiInformation::IsEventPresent(L"Windows.System.Profile.WindowsIntegrityPolicy", L"PolicyChanged");
|
|
2663
|
+
}
|
|
2664
|
+
|
|
2665
|
+
if (!is_event_present.value())
|
|
2239
2666
|
{
|
|
2240
2667
|
PyErr_SetString(PyExc_AttributeError, "event is not available in this version of Windows");
|
|
2241
2668
|
return nullptr;
|
|
@@ -2357,12 +2784,14 @@ PyMODINIT_FUNC PyInit__winrt_windows_system_profile(void) noexcept
|
|
|
2357
2784
|
return nullptr;
|
|
2358
2785
|
}
|
|
2359
2786
|
|
|
2360
|
-
|
|
2787
|
+
py::pytype_handle AnalyticsInfo_type{py::register_python_type(module.get(), &type_spec_AnalyticsInfo, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_AnalyticsInfo_Static.get()))};
|
|
2788
|
+
if (!AnalyticsInfo_type)
|
|
2361
2789
|
{
|
|
2362
2790
|
return nullptr;
|
|
2363
2791
|
}
|
|
2364
2792
|
|
|
2365
|
-
|
|
2793
|
+
py::pytype_handle AnalyticsVersionInfo_type{py::register_python_type(module.get(), &type_spec_AnalyticsVersionInfo, object_bases.get(), nullptr)};
|
|
2794
|
+
if (!AnalyticsVersionInfo_type)
|
|
2366
2795
|
{
|
|
2367
2796
|
return nullptr;
|
|
2368
2797
|
}
|
|
@@ -2373,7 +2802,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_system_profile(void) noexcept
|
|
|
2373
2802
|
return nullptr;
|
|
2374
2803
|
}
|
|
2375
2804
|
|
|
2376
|
-
|
|
2805
|
+
py::pytype_handle AppApplicability_type{py::register_python_type(module.get(), &type_spec_AppApplicability, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_AppApplicability_Static.get()))};
|
|
2806
|
+
if (!AppApplicability_type)
|
|
2377
2807
|
{
|
|
2378
2808
|
return nullptr;
|
|
2379
2809
|
}
|
|
@@ -2384,7 +2814,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_system_profile(void) noexcept
|
|
|
2384
2814
|
return nullptr;
|
|
2385
2815
|
}
|
|
2386
2816
|
|
|
2387
|
-
|
|
2817
|
+
py::pytype_handle EducationSettings_type{py::register_python_type(module.get(), &type_spec_EducationSettings, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_EducationSettings_Static.get()))};
|
|
2818
|
+
if (!EducationSettings_type)
|
|
2388
2819
|
{
|
|
2389
2820
|
return nullptr;
|
|
2390
2821
|
}
|
|
@@ -2395,12 +2826,14 @@ PyMODINIT_FUNC PyInit__winrt_windows_system_profile(void) noexcept
|
|
|
2395
2826
|
return nullptr;
|
|
2396
2827
|
}
|
|
2397
2828
|
|
|
2398
|
-
|
|
2829
|
+
py::pytype_handle HardwareIdentification_type{py::register_python_type(module.get(), &type_spec_HardwareIdentification, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_HardwareIdentification_Static.get()))};
|
|
2830
|
+
if (!HardwareIdentification_type)
|
|
2399
2831
|
{
|
|
2400
2832
|
return nullptr;
|
|
2401
2833
|
}
|
|
2402
2834
|
|
|
2403
|
-
|
|
2835
|
+
py::pytype_handle HardwareToken_type{py::register_python_type(module.get(), &type_spec_HardwareToken, object_bases.get(), nullptr)};
|
|
2836
|
+
if (!HardwareToken_type)
|
|
2404
2837
|
{
|
|
2405
2838
|
return nullptr;
|
|
2406
2839
|
}
|
|
@@ -2411,7 +2844,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_system_profile(void) noexcept
|
|
|
2411
2844
|
return nullptr;
|
|
2412
2845
|
}
|
|
2413
2846
|
|
|
2414
|
-
|
|
2847
|
+
py::pytype_handle KnownRetailInfoProperties_type{py::register_python_type(module.get(), &type_spec_KnownRetailInfoProperties, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_KnownRetailInfoProperties_Static.get()))};
|
|
2848
|
+
if (!KnownRetailInfoProperties_type)
|
|
2415
2849
|
{
|
|
2416
2850
|
return nullptr;
|
|
2417
2851
|
}
|
|
@@ -2422,7 +2856,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_system_profile(void) noexcept
|
|
|
2422
2856
|
return nullptr;
|
|
2423
2857
|
}
|
|
2424
2858
|
|
|
2425
|
-
|
|
2859
|
+
py::pytype_handle PlatformAutomaticAppSignInManager_type{py::register_python_type(module.get(), &type_spec_PlatformAutomaticAppSignInManager, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_PlatformAutomaticAppSignInManager_Static.get()))};
|
|
2860
|
+
if (!PlatformAutomaticAppSignInManager_type)
|
|
2426
2861
|
{
|
|
2427
2862
|
return nullptr;
|
|
2428
2863
|
}
|
|
@@ -2433,7 +2868,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_system_profile(void) noexcept
|
|
|
2433
2868
|
return nullptr;
|
|
2434
2869
|
}
|
|
2435
2870
|
|
|
2436
|
-
|
|
2871
|
+
py::pytype_handle PlatformDiagnosticsAndUsageDataSettings_type{py::register_python_type(module.get(), &type_spec_PlatformDiagnosticsAndUsageDataSettings, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_PlatformDiagnosticsAndUsageDataSettings_Static.get()))};
|
|
2872
|
+
if (!PlatformDiagnosticsAndUsageDataSettings_type)
|
|
2437
2873
|
{
|
|
2438
2874
|
return nullptr;
|
|
2439
2875
|
}
|
|
@@ -2444,7 +2880,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_system_profile(void) noexcept
|
|
|
2444
2880
|
return nullptr;
|
|
2445
2881
|
}
|
|
2446
2882
|
|
|
2447
|
-
|
|
2883
|
+
py::pytype_handle RetailInfo_type{py::register_python_type(module.get(), &type_spec_RetailInfo, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_RetailInfo_Static.get()))};
|
|
2884
|
+
if (!RetailInfo_type)
|
|
2448
2885
|
{
|
|
2449
2886
|
return nullptr;
|
|
2450
2887
|
}
|
|
@@ -2455,7 +2892,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_system_profile(void) noexcept
|
|
|
2455
2892
|
return nullptr;
|
|
2456
2893
|
}
|
|
2457
2894
|
|
|
2458
|
-
|
|
2895
|
+
py::pytype_handle SharedModeSettings_type{py::register_python_type(module.get(), &type_spec_SharedModeSettings, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_SharedModeSettings_Static.get()))};
|
|
2896
|
+
if (!SharedModeSettings_type)
|
|
2459
2897
|
{
|
|
2460
2898
|
return nullptr;
|
|
2461
2899
|
}
|
|
@@ -2466,7 +2904,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_system_profile(void) noexcept
|
|
|
2466
2904
|
return nullptr;
|
|
2467
2905
|
}
|
|
2468
2906
|
|
|
2469
|
-
|
|
2907
|
+
py::pytype_handle SmartAppControlPolicy_type{py::register_python_type(module.get(), &type_spec_SmartAppControlPolicy, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_SmartAppControlPolicy_Static.get()))};
|
|
2908
|
+
if (!SmartAppControlPolicy_type)
|
|
2470
2909
|
{
|
|
2471
2910
|
return nullptr;
|
|
2472
2911
|
}
|
|
@@ -2477,12 +2916,14 @@ PyMODINIT_FUNC PyInit__winrt_windows_system_profile(void) noexcept
|
|
|
2477
2916
|
return nullptr;
|
|
2478
2917
|
}
|
|
2479
2918
|
|
|
2480
|
-
|
|
2919
|
+
py::pytype_handle SystemIdentification_type{py::register_python_type(module.get(), &type_spec_SystemIdentification, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_SystemIdentification_Static.get()))};
|
|
2920
|
+
if (!SystemIdentification_type)
|
|
2481
2921
|
{
|
|
2482
2922
|
return nullptr;
|
|
2483
2923
|
}
|
|
2484
2924
|
|
|
2485
|
-
|
|
2925
|
+
py::pytype_handle SystemIdentificationInfo_type{py::register_python_type(module.get(), &type_spec_SystemIdentificationInfo, object_bases.get(), nullptr)};
|
|
2926
|
+
if (!SystemIdentificationInfo_type)
|
|
2486
2927
|
{
|
|
2487
2928
|
return nullptr;
|
|
2488
2929
|
}
|
|
@@ -2493,12 +2934,14 @@ PyMODINIT_FUNC PyInit__winrt_windows_system_profile(void) noexcept
|
|
|
2493
2934
|
return nullptr;
|
|
2494
2935
|
}
|
|
2495
2936
|
|
|
2496
|
-
|
|
2937
|
+
py::pytype_handle SystemSetupInfo_type{py::register_python_type(module.get(), &type_spec_SystemSetupInfo, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_SystemSetupInfo_Static.get()))};
|
|
2938
|
+
if (!SystemSetupInfo_type)
|
|
2497
2939
|
{
|
|
2498
2940
|
return nullptr;
|
|
2499
2941
|
}
|
|
2500
2942
|
|
|
2501
|
-
|
|
2943
|
+
py::pytype_handle UnsupportedAppRequirement_type{py::register_python_type(module.get(), &type_spec_UnsupportedAppRequirement, object_bases.get(), nullptr)};
|
|
2944
|
+
if (!UnsupportedAppRequirement_type)
|
|
2502
2945
|
{
|
|
2503
2946
|
return nullptr;
|
|
2504
2947
|
}
|
|
@@ -2509,7 +2952,8 @@ PyMODINIT_FUNC PyInit__winrt_windows_system_profile(void) noexcept
|
|
|
2509
2952
|
return nullptr;
|
|
2510
2953
|
}
|
|
2511
2954
|
|
|
2512
|
-
|
|
2955
|
+
py::pytype_handle WindowsIntegrityPolicy_type{py::register_python_type(module.get(), &type_spec_WindowsIntegrityPolicy, object_bases.get(), reinterpret_cast<PyTypeObject*>(type_WindowsIntegrityPolicy_Static.get()))};
|
|
2956
|
+
if (!WindowsIntegrityPolicy_type)
|
|
2513
2957
|
{
|
|
2514
2958
|
return nullptr;
|
|
2515
2959
|
}
|
|
@@ -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.System.Profile
|
|
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,14 +10,14 @@ 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.Foundation[all]==2.
|
|
18
|
-
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.
|
|
19
|
-
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.
|
|
20
|
-
Requires-Dist: winrt-Windows.System[all]==2.
|
|
17
|
+
Requires-Dist: winrt-Windows.Foundation[all]==2.2.0; extra == "all"
|
|
18
|
+
Requires-Dist: winrt-Windows.Foundation.Collections[all]==2.2.0; extra == "all"
|
|
19
|
+
Requires-Dist: winrt-Windows.Storage.Streams[all]==2.2.0; extra == "all"
|
|
20
|
+
Requires-Dist: winrt-Windows.System[all]==2.2.0; extra == "all"
|
|
21
21
|
|
|
22
22
|
<!-- warning: Please don't edit this file. It was automatically generated. -->
|
|
23
23
|
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
2.1.0
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|