winrt-Windows.System.Diagnostics.TraceReporting 4!10.0.28000.2705__py3-none-any.whl

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.
@@ -0,0 +1,19 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import winrt.runtime._internals
4
+ import winrt.system
5
+
6
+ winrt.runtime._internals.load_projection(__spec__)
7
+
8
+ __all__ = [
9
+ "PlatformDiagnosticActionState",
10
+ "PlatformDiagnosticEscalationType",
11
+ "PlatformDiagnosticEventBufferLatencies",
12
+ "PlatformDiagnosticTracePriority",
13
+ "PlatformDiagnosticTraceSlotState",
14
+ "PlatformDiagnosticTraceSlotType",
15
+ "PlatformDiagnosticActions",
16
+ "PlatformDiagnosticTraceInfo",
17
+ "PlatformDiagnosticTraceRuntimeInfo",
18
+ ]
19
+
@@ -0,0 +1,109 @@
1
+ # WARNING: Please don't edit this file. It was generated by Python/WinRT
2
+
3
+ import collections.abc as _cabc
4
+ import enum
5
+ import typing
6
+ import uuid as _uuid
7
+ from builtins import property as _property
8
+
9
+ import winrt.system
10
+ import winrt.windows.foundation.collections as windows_foundation_collections
11
+
12
+ __all__ = [
13
+ "PlatformDiagnosticActionState",
14
+ "PlatformDiagnosticEscalationType",
15
+ "PlatformDiagnosticEventBufferLatencies",
16
+ "PlatformDiagnosticTracePriority",
17
+ "PlatformDiagnosticTraceSlotState",
18
+ "PlatformDiagnosticTraceSlotType",
19
+ "PlatformDiagnosticActions",
20
+ "PlatformDiagnosticTraceInfo",
21
+ "PlatformDiagnosticTraceRuntimeInfo",
22
+ ]
23
+
24
+ class PlatformDiagnosticActionState(enum.IntEnum):
25
+ SUCCESS = 0
26
+ FREE_NETWORK_NOT_AVAILABLE = 1
27
+ A_C_POWER_NOT_AVAILABLE = 2
28
+
29
+ class PlatformDiagnosticEscalationType(enum.IntEnum):
30
+ ON_COMPLETION = 0
31
+ ON_FAILURE = 1
32
+
33
+ class PlatformDiagnosticEventBufferLatencies(enum.IntFlag):
34
+ NORMAL = 0x1
35
+ COST_DEFERRED = 0x2
36
+ REALTIME = 0x4
37
+
38
+ class PlatformDiagnosticTracePriority(enum.IntEnum):
39
+ NORMAL = 0
40
+ USER_ELEVATED = 1
41
+
42
+ class PlatformDiagnosticTraceSlotState(enum.IntEnum):
43
+ NOT_RUNNING = 0
44
+ RUNNING = 1
45
+ THROTTLED = 2
46
+
47
+ class PlatformDiagnosticTraceSlotType(enum.IntEnum):
48
+ ALTERNATIVE = 0
49
+ ALWAYS_ON = 1
50
+ MINI = 2
51
+
52
+ @typing.final
53
+ class PlatformDiagnosticActions_Static(winrt.system.Object_Static):
54
+ # Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticActionState Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticActions::DownloadLatestSettingsForNamespace(System.String,System.String,System.Boolean,System.Boolean,System.Boolean)
55
+ def download_latest_settings_for_namespace(cls, partner: str, feature: str, is_scenario_namespace: bool, download_over_costed_network: bool, download_over_battery: bool, /) -> PlatformDiagnosticActionState: ...
56
+ # Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticActionState Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticActions::ForceUpload(Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticEventBufferLatencies,System.Boolean,System.Boolean)
57
+ def force_upload(cls, latency: PlatformDiagnosticEventBufferLatencies, upload_over_costed_network: bool, upload_over_battery: bool, /) -> PlatformDiagnosticActionState: ...
58
+ # Windows.Foundation.Collections.IVectorView`1<System.Guid> Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticActions::GetActiveScenarioList()
59
+ def get_active_scenario_list(cls) -> _cabc.Sequence[_uuid.UUID]: ...
60
+ # Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTraceRuntimeInfo Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticActions::GetActiveTraceRuntime(Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTraceSlotType)
61
+ def get_active_trace_runtime(cls, slot_type: PlatformDiagnosticTraceSlotType, /) -> PlatformDiagnosticTraceRuntimeInfo: ...
62
+ # Windows.Foundation.Collections.IVectorView`1<Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTraceInfo> Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticActions::GetKnownTraceList(Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTraceSlotType)
63
+ def get_known_trace_list(cls, slot_type: PlatformDiagnosticTraceSlotType, /) -> _cabc.Sequence[PlatformDiagnosticTraceInfo]: ...
64
+ # System.Boolean Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticActions::IsScenarioEnabled(System.Guid)
65
+ def is_scenario_enabled(cls, scenario_id: _uuid.UUID, /) -> bool: ...
66
+ # Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTraceSlotState Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticActions::IsTraceRunning(Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTraceSlotType,System.Guid,System.UInt64)
67
+ def is_trace_running(cls, slot_type: PlatformDiagnosticTraceSlotType, scenario_id: _uuid.UUID, trace_profile_hash: winrt.system.UInt64 | typing.SupportsIndex, /) -> PlatformDiagnosticTraceSlotState: ...
68
+ # System.Boolean Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticActions::TryEscalateScenario(System.Guid,Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticEscalationType,System.String,System.Boolean,System.Boolean,Windows.Foundation.Collections.IMapView`2<System.String,System.String>)
69
+ def try_escalate_scenario(cls, scenario_id: _uuid.UUID, escalation_type: PlatformDiagnosticEscalationType, output_directory: str, timestamp_output_directory: bool, force_escalation_upload: bool, triggers: _cabc.Mapping[str, str], /) -> bool: ...
70
+
71
+ @typing.final
72
+ class PlatformDiagnosticActions(winrt.system.Object, metaclass=PlatformDiagnosticActions_Static):
73
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
74
+ """A class of static members only, so there is nothing to create."""
75
+
76
+ @typing.final
77
+ class PlatformDiagnosticTraceInfo(winrt.system.Object):
78
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
79
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
80
+ # System.Boolean Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTraceInfo::get_IsAutoLogger()
81
+ @_property
82
+ def is_auto_logger(self) -> bool: ...
83
+ # System.Boolean Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTraceInfo::get_IsExclusive()
84
+ @_property
85
+ def is_exclusive(self) -> bool: ...
86
+ # System.Int64 Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTraceInfo::get_MaxTraceDurationFileTime()
87
+ @_property
88
+ def max_trace_duration_file_time(self) -> winrt.system.Int64: ...
89
+ # Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTracePriority Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTraceInfo::get_Priority()
90
+ @_property
91
+ def priority(self) -> PlatformDiagnosticTracePriority: ...
92
+ # System.UInt64 Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTraceInfo::get_ProfileHash()
93
+ @_property
94
+ def profile_hash(self) -> winrt.system.UInt64: ...
95
+ # System.Guid Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTraceInfo::get_ScenarioId()
96
+ @_property
97
+ def scenario_id(self) -> _uuid.UUID: ...
98
+
99
+ @typing.final
100
+ class PlatformDiagnosticTraceRuntimeInfo(winrt.system.Object):
101
+ def __new__(cls, _: typing.Never, /) -> typing.Self:
102
+ """WinRT gives this class no constructor; an instance comes from a method or property that returns one."""
103
+ # System.Int64 Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTraceRuntimeInfo::get_EtwRuntimeFileTime()
104
+ @_property
105
+ def etw_runtime_file_time(self) -> winrt.system.Int64: ...
106
+ # System.Int64 Windows.System.Diagnostics.TraceReporting.PlatformDiagnosticTraceRuntimeInfo::get_RuntimeFileTime()
107
+ @_property
108
+ def runtime_file_time(self) -> winrt.system.Int64: ...
109
+
@@ -0,0 +1,44 @@
1
+ Metadata-Version: 2.5
2
+ Name: winrt-Windows.System.Diagnostics.TraceReporting
3
+ Version: 4!10.0.28000.2705
4
+ Summary: PyWinRT projection of the Windows.System.Diagnostics.TraceReporting namespace
5
+ Project-URL: Documentation, https://pywinrt.readthedocs.io
6
+ Project-URL: Repository, https://github.com/pywinrt/pywinrt
7
+ Project-URL: Changelog, https://github.com/pywinrt/pywinrt/blob/main/projection/winrt/CHANGELOG.md
8
+ License-Expression: MIT
9
+ License-File: LICENSE
10
+ Classifier: Intended Audience :: Developers
11
+ Classifier: Operating System :: Microsoft :: Windows
12
+ Classifier: Programming Language :: Python :: 3
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Classifier: Programming Language :: Python :: 3.14
17
+ Classifier: Programming Language :: Python :: 3.15
18
+ Classifier: Programming Language :: Python :: Free Threading :: 2 - Beta
19
+ Classifier: Programming Language :: Python :: Implementation :: CPython
20
+ Classifier: Typing :: Typed
21
+ Requires-Python: >=3.11
22
+ Requires-Dist: winrt-runtime<5,>=4.0.0
23
+ Requires-Dist: winrt-windows-foundation-collections>=4!10.0.28000.2705
24
+ Provides-Extra: all
25
+ Requires-Dist: winrt-windows-foundation-collections[all]>=4!10.0.28000.2705; extra == 'all'
26
+ Description-Content-Type: text/markdown
27
+
28
+ <!-- warning: Please don't edit this file. It was automatically generated. -->
29
+
30
+ # winrt-Windows.System.Diagnostics.TraceReporting
31
+
32
+ Windows Runtime (WinRT) APIs for the `Windows.System.Diagnostics.TraceReporting` namespace.
33
+
34
+ This package provides the `winrt.windows.system.diagnostics.tracereporting` module.
35
+
36
+ The WinRT APIs in it are those of version 10.0.28000.2705 of the
37
+ `Microsoft.Windows.SDK.CPP` NuGet package.
38
+
39
+ ```
40
+ pip install winrt-Windows.System.Diagnostics.TraceReporting
41
+ ```
42
+
43
+ Other WinRT namespaces are packages of their own, so install the package of
44
+ each namespace your code imports from.
@@ -0,0 +1,8 @@
1
+ winrt/windows/system/diagnostics/tracereporting/__init__.py,sha256=7zuwBBN-OY6l1MVhxdfBvXetrpRVV1pAWINQLLSZlVI,545
2
+ winrt/windows/system/diagnostics/tracereporting/__init__.pyi,sha256=3_PjXxNja-2-OlcIf35hS-I7Q8oQ2rGLC3M_-FI2HvM,6837
3
+ winrt/windows/system/diagnostics/tracereporting/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ winrt/windows/system/diagnostics/tracereporting/_table.pywinrt,sha256=eq_TxQq8Gq075115s0nLYLRGp1aEvvHdf8X6UxMIhpk,12072
5
+ winrt_windows_system_diagnostics_tracereporting-4!10.0.28000.2705.dist-info/METADATA,sha256=VO78838kOGZZPV8N6gCTueUCQbzbmeFuur92AsN2jpk,1916
6
+ winrt_windows_system_diagnostics_tracereporting-4!10.0.28000.2705.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
7
+ winrt_windows_system_diagnostics_tracereporting-4!10.0.28000.2705.dist-info/licenses/LICENSE,sha256=dyVKOMqPV0fimbzMhqN3zpg6K6Y2OlekwrdfiZTBm8M,1225
8
+ winrt_windows_system_diagnostics_tracereporting-4!10.0.28000.2705.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.32.4
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1,22 @@
1
+ MIT License
2
+
3
+ Copyright (c) Microsoft Corporation. All rights reserved.
4
+ Copyright (c) 2021-2026 David Lechner <david@pybricks.com>
5
+
6
+ Permission is hereby granted, free of charge, to any person obtaining a copy
7
+ of this software and associated documentation files (the "Software"), to deal
8
+ in the Software without restriction, including without limitation the rights
9
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
10
+ copies of the Software, and to permit persons to whom the Software is
11
+ furnished to do so, subject to the following conditions:
12
+
13
+ The above copyright notice and this permission notice shall be included in all
14
+ copies or substantial portions of the Software.
15
+
16
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
17
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
18
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
19
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
20
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
21
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
22
+ SOFTWARE