]> git.proxmox.com Git - rustc.git/blame - vendor/windows-sys/src/Windows/System/Diagnostics/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / System / Diagnostics / mod.rs
CommitLineData
5e7ed085
FG
1#[cfg(feature = "System_Diagnostics_DevicePortal")]
2pub mod DevicePortal;
3#[cfg(feature = "System_Diagnostics_Telemetry")]
4pub mod Telemetry;
5#[cfg(feature = "System_Diagnostics_TraceReporting")]
6pub mod TraceReporting;
7pub type DiagnosticActionResult = *mut ::core::ffi::c_void;
04454e1e 8#[doc = "*Required features: `\"System_Diagnostics\"`*"]
5e7ed085
FG
9#[repr(transparent)]
10pub struct DiagnosticActionState(pub i32);
11impl DiagnosticActionState {
12 pub const Initializing: Self = Self(0i32);
13 pub const Downloading: Self = Self(1i32);
14 pub const VerifyingTrust: Self = Self(2i32);
15 pub const Detecting: Self = Self(3i32);
16 pub const Resolving: Self = Self(4i32);
17 pub const VerifyingResolution: Self = Self(5i32);
18 pub const Executing: Self = Self(6i32);
19}
20impl ::core::marker::Copy for DiagnosticActionState {}
21impl ::core::clone::Clone for DiagnosticActionState {
22 fn clone(&self) -> Self {
23 *self
24 }
25}
26pub type DiagnosticInvoker = *mut ::core::ffi::c_void;
27pub type ProcessCpuUsage = *mut ::core::ffi::c_void;
28pub type ProcessCpuUsageReport = *mut ::core::ffi::c_void;
29pub type ProcessDiagnosticInfo = *mut ::core::ffi::c_void;
30pub type ProcessDiskUsage = *mut ::core::ffi::c_void;
31pub type ProcessDiskUsageReport = *mut ::core::ffi::c_void;
32pub type ProcessMemoryUsage = *mut ::core::ffi::c_void;
33pub type ProcessMemoryUsageReport = *mut ::core::ffi::c_void;
34pub type SystemCpuUsage = *mut ::core::ffi::c_void;
35pub type SystemCpuUsageReport = *mut ::core::ffi::c_void;
36pub type SystemDiagnosticInfo = *mut ::core::ffi::c_void;
37pub type SystemMemoryUsage = *mut ::core::ffi::c_void;
38pub type SystemMemoryUsageReport = *mut ::core::ffi::c_void;