summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys/src/Windows/System
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/windows-sys/src/Windows/System')
-rw-r--r--vendor/windows-sys/src/Windows/System/Diagnostics/DevicePortal/mod.rs20
-rw-r--r--vendor/windows-sys/src/Windows/System/Diagnostics/Telemetry/mod.rs16
-rw-r--r--vendor/windows-sys/src/Windows/System/Diagnostics/TraceReporting/mod.rs84
-rw-r--r--vendor/windows-sys/src/Windows/System/Diagnostics/mod.rs38
-rw-r--r--vendor/windows-sys/src/Windows/System/Display/mod.rs1
-rw-r--r--vendor/windows-sys/src/Windows/System/Implementation/FileExplorer/mod.rs4
-rw-r--r--vendor/windows-sys/src/Windows/System/Implementation/mod.rs2
-rw-r--r--vendor/windows-sys/src/Windows/System/Inventory/mod.rs1
-rw-r--r--vendor/windows-sys/src/Windows/System/Power/Diagnostics/mod.rs1
-rw-r--r--vendor/windows-sys/src/Windows/System/Power/mod.rs45
-rw-r--r--vendor/windows-sys/src/Windows/System/Preview/mod.rs24
-rw-r--r--vendor/windows-sys/src/Windows/System/Profile/SystemManufacturers/mod.rs2
-rw-r--r--vendor/windows-sys/src/Windows/System/Profile/mod.rs63
-rw-r--r--vendor/windows-sys/src/Windows/System/RemoteDesktop/Input/mod.rs2
-rw-r--r--vendor/windows-sys/src/Windows/System/RemoteDesktop/mod.rs2
-rw-r--r--vendor/windows-sys/src/Windows/System/RemoteSystems/mod.rs231
-rw-r--r--vendor/windows-sys/src/Windows/System/Threading/Core/mod.rs3
-rw-r--r--vendor/windows-sys/src/Windows/System/Threading/mod.rs33
-rw-r--r--vendor/windows-sys/src/Windows/System/Update/mod.rs74
-rw-r--r--vendor/windows-sys/src/Windows/System/UserProfile/mod.rs59
-rw-r--r--vendor/windows-sys/src/Windows/System/mod.rs612
21 files changed, 1317 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/System/Diagnostics/DevicePortal/mod.rs b/vendor/windows-sys/src/Windows/System/Diagnostics/DevicePortal/mod.rs
new file mode 100644
index 000000000..2b266dd27
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/System/Diagnostics/DevicePortal/mod.rs
@@ -0,0 +1,20 @@
+pub type DevicePortalConnection = *mut ::core::ffi::c_void;
+pub type DevicePortalConnectionClosedEventArgs = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System_Diagnostics_DevicePortal\"`*"]
+#[repr(transparent)]
+pub struct DevicePortalConnectionClosedReason(pub i32);
+impl DevicePortalConnectionClosedReason {
+ pub const Unknown: Self = Self(0i32);
+ pub const ResourceLimitsExceeded: Self = Self(1i32);
+ pub const ProtocolError: Self = Self(2i32);
+ pub const NotAuthorized: Self = Self(3i32);
+ pub const UserNotPresent: Self = Self(4i32);
+ pub const ServiceTerminated: Self = Self(5i32);
+}
+impl ::core::marker::Copy for DevicePortalConnectionClosedReason {}
+impl ::core::clone::Clone for DevicePortalConnectionClosedReason {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type DevicePortalConnectionRequestReceivedEventArgs = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/System/Diagnostics/Telemetry/mod.rs b/vendor/windows-sys/src/Windows/System/Diagnostics/Telemetry/mod.rs
new file mode 100644
index 000000000..67fd61635
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/System/Diagnostics/Telemetry/mod.rs
@@ -0,0 +1,16 @@
+pub type PlatformTelemetryRegistrationResult = *mut ::core::ffi::c_void;
+pub type PlatformTelemetryRegistrationSettings = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System_Diagnostics_Telemetry\"`*"]
+#[repr(transparent)]
+pub struct PlatformTelemetryRegistrationStatus(pub i32);
+impl PlatformTelemetryRegistrationStatus {
+ pub const Success: Self = Self(0i32);
+ pub const SettingsOutOfRange: Self = Self(1i32);
+ pub const UnknownFailure: Self = Self(2i32);
+}
+impl ::core::marker::Copy for PlatformTelemetryRegistrationStatus {}
+impl ::core::clone::Clone for PlatformTelemetryRegistrationStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
diff --git a/vendor/windows-sys/src/Windows/System/Diagnostics/TraceReporting/mod.rs b/vendor/windows-sys/src/Windows/System/Diagnostics/TraceReporting/mod.rs
new file mode 100644
index 000000000..efa6d3773
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/System/Diagnostics/TraceReporting/mod.rs
@@ -0,0 +1,84 @@
+#[doc = "*Required features: `\"System_Diagnostics_TraceReporting\"`*"]
+#[repr(transparent)]
+pub struct PlatformDiagnosticActionState(pub i32);
+impl PlatformDiagnosticActionState {
+ pub const Success: Self = Self(0i32);
+ pub const FreeNetworkNotAvailable: Self = Self(1i32);
+ pub const ACPowerNotAvailable: Self = Self(2i32);
+}
+impl ::core::marker::Copy for PlatformDiagnosticActionState {}
+impl ::core::clone::Clone for PlatformDiagnosticActionState {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"System_Diagnostics_TraceReporting\"`*"]
+#[repr(transparent)]
+pub struct PlatformDiagnosticEscalationType(pub i32);
+impl PlatformDiagnosticEscalationType {
+ pub const OnCompletion: Self = Self(0i32);
+ pub const OnFailure: Self = Self(1i32);
+}
+impl ::core::marker::Copy for PlatformDiagnosticEscalationType {}
+impl ::core::clone::Clone for PlatformDiagnosticEscalationType {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"System_Diagnostics_TraceReporting\"`*"]
+#[repr(transparent)]
+pub struct PlatformDiagnosticEventBufferLatencies(pub u32);
+impl PlatformDiagnosticEventBufferLatencies {
+ pub const Normal: Self = Self(1u32);
+ pub const CostDeferred: Self = Self(2u32);
+ pub const Realtime: Self = Self(4u32);
+}
+impl ::core::marker::Copy for PlatformDiagnosticEventBufferLatencies {}
+impl ::core::clone::Clone for PlatformDiagnosticEventBufferLatencies {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type PlatformDiagnosticTraceInfo = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System_Diagnostics_TraceReporting\"`*"]
+#[repr(transparent)]
+pub struct PlatformDiagnosticTracePriority(pub i32);
+impl PlatformDiagnosticTracePriority {
+ pub const Normal: Self = Self(0i32);
+ pub const UserElevated: Self = Self(1i32);
+}
+impl ::core::marker::Copy for PlatformDiagnosticTracePriority {}
+impl ::core::clone::Clone for PlatformDiagnosticTracePriority {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type PlatformDiagnosticTraceRuntimeInfo = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System_Diagnostics_TraceReporting\"`*"]
+#[repr(transparent)]
+pub struct PlatformDiagnosticTraceSlotState(pub i32);
+impl PlatformDiagnosticTraceSlotState {
+ pub const NotRunning: Self = Self(0i32);
+ pub const Running: Self = Self(1i32);
+ pub const Throttled: Self = Self(2i32);
+}
+impl ::core::marker::Copy for PlatformDiagnosticTraceSlotState {}
+impl ::core::clone::Clone for PlatformDiagnosticTraceSlotState {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"System_Diagnostics_TraceReporting\"`*"]
+#[repr(transparent)]
+pub struct PlatformDiagnosticTraceSlotType(pub i32);
+impl PlatformDiagnosticTraceSlotType {
+ pub const Alternative: Self = Self(0i32);
+ pub const AlwaysOn: Self = Self(1i32);
+ pub const Mini: Self = Self(2i32);
+}
+impl ::core::marker::Copy for PlatformDiagnosticTraceSlotType {}
+impl ::core::clone::Clone for PlatformDiagnosticTraceSlotType {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
diff --git a/vendor/windows-sys/src/Windows/System/Diagnostics/mod.rs b/vendor/windows-sys/src/Windows/System/Diagnostics/mod.rs
new file mode 100644
index 000000000..912eab5ce
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/System/Diagnostics/mod.rs
@@ -0,0 +1,38 @@
+#[cfg(feature = "System_Diagnostics_DevicePortal")]
+pub mod DevicePortal;
+#[cfg(feature = "System_Diagnostics_Telemetry")]
+pub mod Telemetry;
+#[cfg(feature = "System_Diagnostics_TraceReporting")]
+pub mod TraceReporting;
+pub type DiagnosticActionResult = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System_Diagnostics\"`*"]
+#[repr(transparent)]
+pub struct DiagnosticActionState(pub i32);
+impl DiagnosticActionState {
+ pub const Initializing: Self = Self(0i32);
+ pub const Downloading: Self = Self(1i32);
+ pub const VerifyingTrust: Self = Self(2i32);
+ pub const Detecting: Self = Self(3i32);
+ pub const Resolving: Self = Self(4i32);
+ pub const VerifyingResolution: Self = Self(5i32);
+ pub const Executing: Self = Self(6i32);
+}
+impl ::core::marker::Copy for DiagnosticActionState {}
+impl ::core::clone::Clone for DiagnosticActionState {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type DiagnosticInvoker = *mut ::core::ffi::c_void;
+pub type ProcessCpuUsage = *mut ::core::ffi::c_void;
+pub type ProcessCpuUsageReport = *mut ::core::ffi::c_void;
+pub type ProcessDiagnosticInfo = *mut ::core::ffi::c_void;
+pub type ProcessDiskUsage = *mut ::core::ffi::c_void;
+pub type ProcessDiskUsageReport = *mut ::core::ffi::c_void;
+pub type ProcessMemoryUsage = *mut ::core::ffi::c_void;
+pub type ProcessMemoryUsageReport = *mut ::core::ffi::c_void;
+pub type SystemCpuUsage = *mut ::core::ffi::c_void;
+pub type SystemCpuUsageReport = *mut ::core::ffi::c_void;
+pub type SystemDiagnosticInfo = *mut ::core::ffi::c_void;
+pub type SystemMemoryUsage = *mut ::core::ffi::c_void;
+pub type SystemMemoryUsageReport = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/System/Display/mod.rs b/vendor/windows-sys/src/Windows/System/Display/mod.rs
new file mode 100644
index 000000000..3669509f2
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/System/Display/mod.rs
@@ -0,0 +1 @@
+pub type DisplayRequest = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/System/Implementation/FileExplorer/mod.rs b/vendor/windows-sys/src/Windows/System/Implementation/FileExplorer/mod.rs
new file mode 100644
index 000000000..d426e6ba0
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/System/Implementation/FileExplorer/mod.rs
@@ -0,0 +1,4 @@
+pub type ISysStorageProviderEventSource = *mut ::core::ffi::c_void;
+pub type ISysStorageProviderHandlerFactory = *mut ::core::ffi::c_void;
+pub type ISysStorageProviderHttpRequestProvider = *mut ::core::ffi::c_void;
+pub type SysStorageProviderEventReceivedEventArgs = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/System/Implementation/mod.rs b/vendor/windows-sys/src/Windows/System/Implementation/mod.rs
new file mode 100644
index 000000000..e07f67bcb
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/System/Implementation/mod.rs
@@ -0,0 +1,2 @@
+#[cfg(feature = "System_Implementation_FileExplorer")]
+pub mod FileExplorer;
diff --git a/vendor/windows-sys/src/Windows/System/Inventory/mod.rs b/vendor/windows-sys/src/Windows/System/Inventory/mod.rs
new file mode 100644
index 000000000..7f6b0e7ae
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/System/Inventory/mod.rs
@@ -0,0 +1 @@
+pub type InstalledDesktopApp = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/System/Power/Diagnostics/mod.rs b/vendor/windows-sys/src/Windows/System/Power/Diagnostics/mod.rs
new file mode 100644
index 000000000..8b1378917
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/System/Power/Diagnostics/mod.rs
@@ -0,0 +1 @@
+
diff --git a/vendor/windows-sys/src/Windows/System/Power/mod.rs b/vendor/windows-sys/src/Windows/System/Power/mod.rs
new file mode 100644
index 000000000..4d7383456
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/System/Power/mod.rs
@@ -0,0 +1,45 @@
+#[cfg(feature = "System_Power_Diagnostics")]
+pub mod Diagnostics;
+#[doc = "*Required features: `\"System_Power\"`*"]
+#[repr(transparent)]
+pub struct BatteryStatus(pub i32);
+impl BatteryStatus {
+ pub const NotPresent: Self = Self(0i32);
+ pub const Discharging: Self = Self(1i32);
+ pub const Idle: Self = Self(2i32);
+ pub const Charging: Self = Self(3i32);
+}
+impl ::core::marker::Copy for BatteryStatus {}
+impl ::core::clone::Clone for BatteryStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"System_Power\"`*"]
+#[repr(transparent)]
+pub struct EnergySaverStatus(pub i32);
+impl EnergySaverStatus {
+ pub const Disabled: Self = Self(0i32);
+ pub const Off: Self = Self(1i32);
+ pub const On: Self = Self(2i32);
+}
+impl ::core::marker::Copy for EnergySaverStatus {}
+impl ::core::clone::Clone for EnergySaverStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"System_Power\"`*"]
+#[repr(transparent)]
+pub struct PowerSupplyStatus(pub i32);
+impl PowerSupplyStatus {
+ pub const NotPresent: Self = Self(0i32);
+ pub const Inadequate: Self = Self(1i32);
+ pub const Adequate: Self = Self(2i32);
+}
+impl ::core::marker::Copy for PowerSupplyStatus {}
+impl ::core::clone::Clone for PowerSupplyStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
diff --git a/vendor/windows-sys/src/Windows/System/Preview/mod.rs b/vendor/windows-sys/src/Windows/System/Preview/mod.rs
new file mode 100644
index 000000000..4c0cd50c2
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/System/Preview/mod.rs
@@ -0,0 +1,24 @@
+#[doc = "*Required features: `\"System_Preview\"`, `\"deprecated\"`*"]
+#[cfg(feature = "deprecated")]
+#[repr(transparent)]
+pub struct HingeState(pub i32);
+#[cfg(feature = "deprecated")]
+impl HingeState {
+ pub const Unknown: Self = Self(0i32);
+ pub const Closed: Self = Self(1i32);
+ pub const Concave: Self = Self(2i32);
+ pub const Flat: Self = Self(3i32);
+ pub const Convex: Self = Self(4i32);
+ pub const Full: Self = Self(5i32);
+}
+#[cfg(feature = "deprecated")]
+impl ::core::marker::Copy for HingeState {}
+#[cfg(feature = "deprecated")]
+impl ::core::clone::Clone for HingeState {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type TwoPanelHingedDevicePosturePreview = *mut ::core::ffi::c_void;
+pub type TwoPanelHingedDevicePosturePreviewReading = *mut ::core::ffi::c_void;
+pub type TwoPanelHingedDevicePosturePreviewReadingChangedEventArgs = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/System/Profile/SystemManufacturers/mod.rs b/vendor/windows-sys/src/Windows/System/Profile/SystemManufacturers/mod.rs
new file mode 100644
index 000000000..6d51ce1d1
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/System/Profile/SystemManufacturers/mod.rs
@@ -0,0 +1,2 @@
+pub type OemSupportInfo = *mut ::core::ffi::c_void;
+pub type SystemSupportDeviceInfo = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/System/Profile/mod.rs b/vendor/windows-sys/src/Windows/System/Profile/mod.rs
new file mode 100644
index 000000000..61d4f82ab
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/System/Profile/mod.rs
@@ -0,0 +1,63 @@
+#[cfg(feature = "System_Profile_SystemManufacturers")]
+pub mod SystemManufacturers;
+pub type AnalyticsVersionInfo = *mut ::core::ffi::c_void;
+pub type HardwareToken = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System_Profile\"`*"]
+#[repr(transparent)]
+pub struct PlatformDataCollectionLevel(pub i32);
+impl PlatformDataCollectionLevel {
+ pub const Security: Self = Self(0i32);
+ pub const Basic: Self = Self(1i32);
+ pub const Enhanced: Self = Self(2i32);
+ pub const Full: Self = Self(3i32);
+}
+impl ::core::marker::Copy for PlatformDataCollectionLevel {}
+impl ::core::clone::Clone for PlatformDataCollectionLevel {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type SystemIdentificationInfo = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System_Profile\"`*"]
+#[repr(transparent)]
+pub struct SystemIdentificationSource(pub i32);
+impl SystemIdentificationSource {
+ pub const None: Self = Self(0i32);
+ pub const Tpm: Self = Self(1i32);
+ pub const Uefi: Self = Self(2i32);
+ pub const Registry: Self = Self(3i32);
+}
+impl ::core::marker::Copy for SystemIdentificationSource {}
+impl ::core::clone::Clone for SystemIdentificationSource {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"System_Profile\"`*"]
+#[repr(transparent)]
+pub struct SystemOutOfBoxExperienceState(pub i32);
+impl SystemOutOfBoxExperienceState {
+ pub const NotStarted: Self = Self(0i32);
+ pub const InProgress: Self = Self(1i32);
+ pub const Completed: Self = Self(2i32);
+}
+impl ::core::marker::Copy for SystemOutOfBoxExperienceState {}
+impl ::core::clone::Clone for SystemOutOfBoxExperienceState {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type UnsupportedAppRequirement = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System_Profile\"`*"]
+#[repr(transparent)]
+pub struct UnsupportedAppRequirementReasons(pub u32);
+impl UnsupportedAppRequirementReasons {
+ pub const Unknown: Self = Self(0u32);
+ pub const DeniedBySystem: Self = Self(1u32);
+}
+impl ::core::marker::Copy for UnsupportedAppRequirementReasons {}
+impl ::core::clone::Clone for UnsupportedAppRequirementReasons {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
diff --git a/vendor/windows-sys/src/Windows/System/RemoteDesktop/Input/mod.rs b/vendor/windows-sys/src/Windows/System/RemoteDesktop/Input/mod.rs
new file mode 100644
index 000000000..a9f35b30f
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/System/RemoteDesktop/Input/mod.rs
@@ -0,0 +1,2 @@
+pub type RemoteTextConnection = *mut ::core::ffi::c_void;
+pub type RemoteTextConnectionDataHandler = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/System/RemoteDesktop/mod.rs b/vendor/windows-sys/src/Windows/System/RemoteDesktop/mod.rs
new file mode 100644
index 000000000..12021250b
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/System/RemoteDesktop/mod.rs
@@ -0,0 +1,2 @@
+#[cfg(feature = "System_RemoteDesktop_Input")]
+pub mod Input;
diff --git a/vendor/windows-sys/src/Windows/System/RemoteSystems/mod.rs b/vendor/windows-sys/src/Windows/System/RemoteSystems/mod.rs
new file mode 100644
index 000000000..b149518c7
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/System/RemoteSystems/mod.rs
@@ -0,0 +1,231 @@
+pub type IRemoteSystemFilter = *mut ::core::ffi::c_void;
+pub type RemoteSystem = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System_RemoteSystems\"`*"]
+#[repr(transparent)]
+pub struct RemoteSystemAccessStatus(pub i32);
+impl RemoteSystemAccessStatus {
+ pub const Unspecified: Self = Self(0i32);
+ pub const Allowed: Self = Self(1i32);
+ pub const DeniedByUser: Self = Self(2i32);
+ pub const DeniedBySystem: Self = Self(3i32);
+}
+impl ::core::marker::Copy for RemoteSystemAccessStatus {}
+impl ::core::clone::Clone for RemoteSystemAccessStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type RemoteSystemAddedEventArgs = *mut ::core::ffi::c_void;
+pub type RemoteSystemApp = *mut ::core::ffi::c_void;
+pub type RemoteSystemAppRegistration = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System_RemoteSystems\"`*"]
+#[repr(transparent)]
+pub struct RemoteSystemAuthorizationKind(pub i32);
+impl RemoteSystemAuthorizationKind {
+ pub const SameUser: Self = Self(0i32);
+ pub const Anonymous: Self = Self(1i32);
+}
+impl ::core::marker::Copy for RemoteSystemAuthorizationKind {}
+impl ::core::clone::Clone for RemoteSystemAuthorizationKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type RemoteSystemAuthorizationKindFilter = *mut ::core::ffi::c_void;
+pub type RemoteSystemConnectionInfo = *mut ::core::ffi::c_void;
+pub type RemoteSystemConnectionRequest = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System_RemoteSystems\"`*"]
+#[repr(transparent)]
+pub struct RemoteSystemDiscoveryType(pub i32);
+impl RemoteSystemDiscoveryType {
+ pub const Any: Self = Self(0i32);
+ pub const Proximal: Self = Self(1i32);
+ pub const Cloud: Self = Self(2i32);
+ pub const SpatiallyProximal: Self = Self(3i32);
+}
+impl ::core::marker::Copy for RemoteSystemDiscoveryType {}
+impl ::core::clone::Clone for RemoteSystemDiscoveryType {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type RemoteSystemDiscoveryTypeFilter = *mut ::core::ffi::c_void;
+pub type RemoteSystemEnumerationCompletedEventArgs = *mut ::core::ffi::c_void;
+pub type RemoteSystemKindFilter = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System_RemoteSystems\"`*"]
+#[repr(transparent)]
+pub struct RemoteSystemPlatform(pub i32);
+impl RemoteSystemPlatform {
+ pub const Unknown: Self = Self(0i32);
+ pub const Windows: Self = Self(1i32);
+ pub const Android: Self = Self(2i32);
+ pub const Ios: Self = Self(3i32);
+ pub const Linux: Self = Self(4i32);
+}
+impl ::core::marker::Copy for RemoteSystemPlatform {}
+impl ::core::clone::Clone for RemoteSystemPlatform {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type RemoteSystemRemovedEventArgs = *mut ::core::ffi::c_void;
+pub type RemoteSystemSession = *mut ::core::ffi::c_void;
+pub type RemoteSystemSessionAddedEventArgs = *mut ::core::ffi::c_void;
+pub type RemoteSystemSessionController = *mut ::core::ffi::c_void;
+pub type RemoteSystemSessionCreationResult = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System_RemoteSystems\"`*"]
+#[repr(transparent)]
+pub struct RemoteSystemSessionCreationStatus(pub i32);
+impl RemoteSystemSessionCreationStatus {
+ pub const Success: Self = Self(0i32);
+ pub const SessionLimitsExceeded: Self = Self(1i32);
+ pub const OperationAborted: Self = Self(2i32);
+}
+impl ::core::marker::Copy for RemoteSystemSessionCreationStatus {}
+impl ::core::clone::Clone for RemoteSystemSessionCreationStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type RemoteSystemSessionDisconnectedEventArgs = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System_RemoteSystems\"`*"]
+#[repr(transparent)]
+pub struct RemoteSystemSessionDisconnectedReason(pub i32);
+impl RemoteSystemSessionDisconnectedReason {
+ pub const SessionUnavailable: Self = Self(0i32);
+ pub const RemovedByController: Self = Self(1i32);
+ pub const SessionClosed: Self = Self(2i32);
+}
+impl ::core::marker::Copy for RemoteSystemSessionDisconnectedReason {}
+impl ::core::clone::Clone for RemoteSystemSessionDisconnectedReason {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type RemoteSystemSessionInfo = *mut ::core::ffi::c_void;
+pub type RemoteSystemSessionInvitation = *mut ::core::ffi::c_void;
+pub type RemoteSystemSessionInvitationListener = *mut ::core::ffi::c_void;
+pub type RemoteSystemSessionInvitationReceivedEventArgs = *mut ::core::ffi::c_void;
+pub type RemoteSystemSessionJoinRequest = *mut ::core::ffi::c_void;
+pub type RemoteSystemSessionJoinRequestedEventArgs = *mut ::core::ffi::c_void;
+pub type RemoteSystemSessionJoinResult = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System_RemoteSystems\"`*"]
+#[repr(transparent)]
+pub struct RemoteSystemSessionJoinStatus(pub i32);
+impl RemoteSystemSessionJoinStatus {
+ pub const Success: Self = Self(0i32);
+ pub const SessionLimitsExceeded: Self = Self(1i32);
+ pub const OperationAborted: Self = Self(2i32);
+ pub const SessionUnavailable: Self = Self(3i32);
+ pub const RejectedByController: Self = Self(4i32);
+}
+impl ::core::marker::Copy for RemoteSystemSessionJoinStatus {}
+impl ::core::clone::Clone for RemoteSystemSessionJoinStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type RemoteSystemSessionMessageChannel = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System_RemoteSystems\"`*"]
+#[repr(transparent)]
+pub struct RemoteSystemSessionMessageChannelReliability(pub i32);
+impl RemoteSystemSessionMessageChannelReliability {
+ pub const Reliable: Self = Self(0i32);
+ pub const Unreliable: Self = Self(1i32);
+}
+impl ::core::marker::Copy for RemoteSystemSessionMessageChannelReliability {}
+impl ::core::clone::Clone for RemoteSystemSessionMessageChannelReliability {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type RemoteSystemSessionOptions = *mut ::core::ffi::c_void;
+pub type RemoteSystemSessionParticipant = *mut ::core::ffi::c_void;
+pub type RemoteSystemSessionParticipantAddedEventArgs = *mut ::core::ffi::c_void;
+pub type RemoteSystemSessionParticipantRemovedEventArgs = *mut ::core::ffi::c_void;
+pub type RemoteSystemSessionParticipantWatcher = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System_RemoteSystems\"`*"]
+#[repr(transparent)]
+pub struct RemoteSystemSessionParticipantWatcherStatus(pub i32);
+impl RemoteSystemSessionParticipantWatcherStatus {
+ pub const Created: Self = Self(0i32);
+ pub const Started: Self = Self(1i32);
+ pub const EnumerationCompleted: Self = Self(2i32);
+ pub const Stopping: Self = Self(3i32);
+ pub const Stopped: Self = Self(4i32);
+ pub const Aborted: Self = Self(5i32);
+}
+impl ::core::marker::Copy for RemoteSystemSessionParticipantWatcherStatus {}
+impl ::core::clone::Clone for RemoteSystemSessionParticipantWatcherStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type RemoteSystemSessionRemovedEventArgs = *mut ::core::ffi::c_void;
+pub type RemoteSystemSessionUpdatedEventArgs = *mut ::core::ffi::c_void;
+pub type RemoteSystemSessionValueSetReceivedEventArgs = *mut ::core::ffi::c_void;
+pub type RemoteSystemSessionWatcher = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System_RemoteSystems\"`*"]
+#[repr(transparent)]
+pub struct RemoteSystemSessionWatcherStatus(pub i32);
+impl RemoteSystemSessionWatcherStatus {
+ pub const Created: Self = Self(0i32);
+ pub const Started: Self = Self(1i32);
+ pub const EnumerationCompleted: Self = Self(2i32);
+ pub const Stopping: Self = Self(3i32);
+ pub const Stopped: Self = Self(4i32);
+ pub const Aborted: Self = Self(5i32);
+}
+impl ::core::marker::Copy for RemoteSystemSessionWatcherStatus {}
+impl ::core::clone::Clone for RemoteSystemSessionWatcherStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"System_RemoteSystems\"`*"]
+#[repr(transparent)]
+pub struct RemoteSystemStatus(pub i32);
+impl RemoteSystemStatus {
+ pub const Unavailable: Self = Self(0i32);
+ pub const DiscoveringAvailability: Self = Self(1i32);
+ pub const Available: Self = Self(2i32);
+ pub const Unknown: Self = Self(3i32);
+}
+impl ::core::marker::Copy for RemoteSystemStatus {}
+impl ::core::clone::Clone for RemoteSystemStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"System_RemoteSystems\"`*"]
+#[repr(transparent)]
+pub struct RemoteSystemStatusType(pub i32);
+impl RemoteSystemStatusType {
+ pub const Any: Self = Self(0i32);
+ pub const Available: Self = Self(1i32);
+}
+impl ::core::marker::Copy for RemoteSystemStatusType {}
+impl ::core::clone::Clone for RemoteSystemStatusType {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type RemoteSystemStatusTypeFilter = *mut ::core::ffi::c_void;
+pub type RemoteSystemUpdatedEventArgs = *mut ::core::ffi::c_void;
+pub type RemoteSystemWatcher = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System_RemoteSystems\"`*"]
+#[repr(transparent)]
+pub struct RemoteSystemWatcherError(pub i32);
+impl RemoteSystemWatcherError {
+ pub const Unknown: Self = Self(0i32);
+ pub const InternetNotAvailable: Self = Self(1i32);
+ pub const AuthenticationError: Self = Self(2i32);
+}
+impl ::core::marker::Copy for RemoteSystemWatcherError {}
+impl ::core::clone::Clone for RemoteSystemWatcherError {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type RemoteSystemWatcherErrorOccurredEventArgs = *mut ::core::ffi::c_void;
+pub type RemoteSystemWebAccountFilter = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/System/Threading/Core/mod.rs b/vendor/windows-sys/src/Windows/System/Threading/Core/mod.rs
new file mode 100644
index 000000000..263e93c81
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/System/Threading/Core/mod.rs
@@ -0,0 +1,3 @@
+pub type PreallocatedWorkItem = *mut ::core::ffi::c_void;
+pub type SignalHandler = *mut ::core::ffi::c_void;
+pub type SignalNotifier = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/System/Threading/mod.rs b/vendor/windows-sys/src/Windows/System/Threading/mod.rs
new file mode 100644
index 000000000..bf5f9065f
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/System/Threading/mod.rs
@@ -0,0 +1,33 @@
+#[cfg(feature = "System_Threading_Core")]
+pub mod Core;
+pub type ThreadPoolTimer = *mut ::core::ffi::c_void;
+pub type TimerDestroyedHandler = *mut ::core::ffi::c_void;
+pub type TimerElapsedHandler = *mut ::core::ffi::c_void;
+pub type WorkItemHandler = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System_Threading\"`*"]
+#[repr(transparent)]
+pub struct WorkItemOptions(pub u32);
+impl WorkItemOptions {
+ pub const None: Self = Self(0u32);
+ pub const TimeSliced: Self = Self(1u32);
+}
+impl ::core::marker::Copy for WorkItemOptions {}
+impl ::core::clone::Clone for WorkItemOptions {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"System_Threading\"`*"]
+#[repr(transparent)]
+pub struct WorkItemPriority(pub i32);
+impl WorkItemPriority {
+ pub const Low: Self = Self(-1i32);
+ pub const Normal: Self = Self(0i32);
+ pub const High: Self = Self(1i32);
+}
+impl ::core::marker::Copy for WorkItemPriority {}
+impl ::core::clone::Clone for WorkItemPriority {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
diff --git a/vendor/windows-sys/src/Windows/System/Update/mod.rs b/vendor/windows-sys/src/Windows/System/Update/mod.rs
new file mode 100644
index 000000000..5f9f4c1d1
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/System/Update/mod.rs
@@ -0,0 +1,74 @@
+#[doc = "*Required features: `\"System_Update\"`*"]
+#[repr(transparent)]
+pub struct SystemUpdateAttentionRequiredReason(pub i32);
+impl SystemUpdateAttentionRequiredReason {
+ pub const None: Self = Self(0i32);
+ pub const NetworkRequired: Self = Self(1i32);
+ pub const InsufficientDiskSpace: Self = Self(2i32);
+ pub const InsufficientBattery: Self = Self(3i32);
+ pub const UpdateBlocked: Self = Self(4i32);
+}
+impl ::core::marker::Copy for SystemUpdateAttentionRequiredReason {}
+impl ::core::clone::Clone for SystemUpdateAttentionRequiredReason {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type SystemUpdateItem = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System_Update\"`*"]
+#[repr(transparent)]
+pub struct SystemUpdateItemState(pub i32);
+impl SystemUpdateItemState {
+ pub const NotStarted: Self = Self(0i32);
+ pub const Initializing: Self = Self(1i32);
+ pub const Preparing: Self = Self(2i32);
+ pub const Calculating: Self = Self(3i32);
+ pub const Downloading: Self = Self(4i32);
+ pub const Installing: Self = Self(5i32);
+ pub const Completed: Self = Self(6i32);
+ pub const RebootRequired: Self = Self(7i32);
+ pub const Error: Self = Self(8i32);
+}
+impl ::core::marker::Copy for SystemUpdateItemState {}
+impl ::core::clone::Clone for SystemUpdateItemState {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type SystemUpdateLastErrorInfo = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System_Update\"`*"]
+#[repr(transparent)]
+pub struct SystemUpdateManagerState(pub i32);
+impl SystemUpdateManagerState {
+ pub const Idle: Self = Self(0i32);
+ pub const Detecting: Self = Self(1i32);
+ pub const ReadyToDownload: Self = Self(2i32);
+ pub const Downloading: Self = Self(3i32);
+ pub const ReadyToInstall: Self = Self(4i32);
+ pub const Installing: Self = Self(5i32);
+ pub const RebootRequired: Self = Self(6i32);
+ pub const ReadyToFinalize: Self = Self(7i32);
+ pub const Finalizing: Self = Self(8i32);
+ pub const Completed: Self = Self(9i32);
+ pub const AttentionRequired: Self = Self(10i32);
+ pub const Error: Self = Self(11i32);
+}
+impl ::core::marker::Copy for SystemUpdateManagerState {}
+impl ::core::clone::Clone for SystemUpdateManagerState {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"System_Update\"`*"]
+#[repr(transparent)]
+pub struct SystemUpdateStartInstallAction(pub i32);
+impl SystemUpdateStartInstallAction {
+ pub const UpToReboot: Self = Self(0i32);
+ pub const AllowReboot: Self = Self(1i32);
+}
+impl ::core::marker::Copy for SystemUpdateStartInstallAction {}
+impl ::core::clone::Clone for SystemUpdateStartInstallAction {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
diff --git a/vendor/windows-sys/src/Windows/System/UserProfile/mod.rs b/vendor/windows-sys/src/Windows/System/UserProfile/mod.rs
new file mode 100644
index 000000000..9f87ed48d
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/System/UserProfile/mod.rs
@@ -0,0 +1,59 @@
+#[doc = "*Required features: `\"System_UserProfile\"`, `\"deprecated\"`*"]
+#[cfg(feature = "deprecated")]
+#[repr(transparent)]
+pub struct AccountPictureKind(pub i32);
+#[cfg(feature = "deprecated")]
+impl AccountPictureKind {
+ pub const SmallImage: Self = Self(0i32);
+ pub const LargeImage: Self = Self(1i32);
+ pub const Video: Self = Self(2i32);
+}
+#[cfg(feature = "deprecated")]
+impl ::core::marker::Copy for AccountPictureKind {}
+#[cfg(feature = "deprecated")]
+impl ::core::clone::Clone for AccountPictureKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type AdvertisingManagerForUser = *mut ::core::ffi::c_void;
+pub type AssignedAccessSettings = *mut ::core::ffi::c_void;
+pub type DiagnosticsSettings = *mut ::core::ffi::c_void;
+pub type FirstSignInSettings = *mut ::core::ffi::c_void;
+pub type GlobalizationPreferencesForUser = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System_UserProfile\"`, `\"deprecated\"`*"]
+#[cfg(feature = "deprecated")]
+#[repr(transparent)]
+pub struct SetAccountPictureResult(pub i32);
+#[cfg(feature = "deprecated")]
+impl SetAccountPictureResult {
+ pub const Success: Self = Self(0i32);
+ pub const ChangeDisabled: Self = Self(1i32);
+ pub const LargeOrDynamicError: Self = Self(2i32);
+ pub const VideoFrameSizeError: Self = Self(3i32);
+ pub const FileSizeError: Self = Self(4i32);
+ pub const Failure: Self = Self(5i32);
+}
+#[cfg(feature = "deprecated")]
+impl ::core::marker::Copy for SetAccountPictureResult {}
+#[cfg(feature = "deprecated")]
+impl ::core::clone::Clone for SetAccountPictureResult {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"System_UserProfile\"`*"]
+#[repr(transparent)]
+pub struct SetImageFeedResult(pub i32);
+impl SetImageFeedResult {
+ pub const Success: Self = Self(0i32);
+ pub const ChangeDisabled: Self = Self(1i32);
+ pub const UserCanceled: Self = Self(2i32);
+}
+impl ::core::marker::Copy for SetImageFeedResult {}
+impl ::core::clone::Clone for SetImageFeedResult {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type UserProfilePersonalizationSettings = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys/src/Windows/System/mod.rs b/vendor/windows-sys/src/Windows/System/mod.rs
new file mode 100644
index 000000000..42506c7d8
--- /dev/null
+++ b/vendor/windows-sys/src/Windows/System/mod.rs
@@ -0,0 +1,612 @@
+#[cfg(feature = "System_Diagnostics")]
+pub mod Diagnostics;
+#[cfg(feature = "System_Display")]
+pub mod Display;
+#[cfg(feature = "System_Implementation")]
+pub mod Implementation;
+#[cfg(feature = "System_Inventory")]
+pub mod Inventory;
+#[cfg(feature = "System_Power")]
+pub mod Power;
+#[cfg(feature = "System_Preview")]
+pub mod Preview;
+#[cfg(feature = "System_Profile")]
+pub mod Profile;
+#[cfg(feature = "System_RemoteDesktop")]
+pub mod RemoteDesktop;
+#[cfg(feature = "System_RemoteSystems")]
+pub mod RemoteSystems;
+#[cfg(feature = "System_Threading")]
+pub mod Threading;
+#[cfg(feature = "System_Update")]
+pub mod Update;
+#[cfg(feature = "System_UserProfile")]
+pub mod UserProfile;
+pub type AppActivationResult = *mut ::core::ffi::c_void;
+pub type AppDiagnosticInfo = *mut ::core::ffi::c_void;
+pub type AppDiagnosticInfoWatcher = *mut ::core::ffi::c_void;
+pub type AppDiagnosticInfoWatcherEventArgs = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System\"`*"]
+#[repr(transparent)]
+pub struct AppDiagnosticInfoWatcherStatus(pub i32);
+impl AppDiagnosticInfoWatcherStatus {
+ pub const Created: Self = Self(0i32);
+ pub const Started: Self = Self(1i32);
+ pub const EnumerationCompleted: Self = Self(2i32);
+ pub const Stopping: Self = Self(3i32);
+ pub const Stopped: Self = Self(4i32);
+ pub const Aborted: Self = Self(5i32);
+}
+impl ::core::marker::Copy for AppDiagnosticInfoWatcherStatus {}
+impl ::core::clone::Clone for AppDiagnosticInfoWatcherStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type AppExecutionStateChangeResult = *mut ::core::ffi::c_void;
+pub type AppMemoryReport = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System\"`*"]
+#[repr(transparent)]
+pub struct AppMemoryUsageLevel(pub i32);
+impl AppMemoryUsageLevel {
+ pub const Low: Self = Self(0i32);
+ pub const Medium: Self = Self(1i32);
+ pub const High: Self = Self(2i32);
+ pub const OverLimit: Self = Self(3i32);
+}
+impl ::core::marker::Copy for AppMemoryUsageLevel {}
+impl ::core::clone::Clone for AppMemoryUsageLevel {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type AppMemoryUsageLimitChangingEventArgs = *mut ::core::ffi::c_void;
+pub type AppResourceGroupBackgroundTaskReport = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System\"`*"]
+#[repr(transparent)]
+pub struct AppResourceGroupEnergyQuotaState(pub i32);
+impl AppResourceGroupEnergyQuotaState {
+ pub const Unknown: Self = Self(0i32);
+ pub const Over: Self = Self(1i32);
+ pub const Under: Self = Self(2i32);
+}
+impl ::core::marker::Copy for AppResourceGroupEnergyQuotaState {}
+impl ::core::clone::Clone for AppResourceGroupEnergyQuotaState {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"System\"`*"]
+#[repr(transparent)]
+pub struct AppResourceGroupExecutionState(pub i32);
+impl AppResourceGroupExecutionState {
+ pub const Unknown: Self = Self(0i32);
+ pub const Running: Self = Self(1i32);
+ pub const Suspending: Self = Self(2i32);
+ pub const Suspended: Self = Self(3i32);
+ pub const NotRunning: Self = Self(4i32);
+}
+impl ::core::marker::Copy for AppResourceGroupExecutionState {}
+impl ::core::clone::Clone for AppResourceGroupExecutionState {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type AppResourceGroupInfo = *mut ::core::ffi::c_void;
+pub type AppResourceGroupInfoWatcher = *mut ::core::ffi::c_void;
+pub type AppResourceGroupInfoWatcherEventArgs = *mut ::core::ffi::c_void;
+pub type AppResourceGroupInfoWatcherExecutionStateChangedEventArgs = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System\"`*"]
+#[repr(transparent)]
+pub struct AppResourceGroupInfoWatcherStatus(pub i32);
+impl AppResourceGroupInfoWatcherStatus {
+ pub const Created: Self = Self(0i32);
+ pub const Started: Self = Self(1i32);
+ pub const EnumerationCompleted: Self = Self(2i32);
+ pub const Stopping: Self = Self(3i32);
+ pub const Stopped: Self = Self(4i32);
+ pub const Aborted: Self = Self(5i32);
+}
+impl ::core::marker::Copy for AppResourceGroupInfoWatcherStatus {}
+impl ::core::clone::Clone for AppResourceGroupInfoWatcherStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type AppResourceGroupMemoryReport = *mut ::core::ffi::c_void;
+pub type AppResourceGroupStateReport = *mut ::core::ffi::c_void;
+pub type AppUriHandlerHost = *mut ::core::ffi::c_void;
+pub type AppUriHandlerRegistration = *mut ::core::ffi::c_void;
+pub type AppUriHandlerRegistrationManager = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System\"`*"]
+#[repr(transparent)]
+pub struct AutoUpdateTimeZoneStatus(pub i32);
+impl AutoUpdateTimeZoneStatus {
+ pub const Attempted: Self = Self(0i32);
+ pub const TimedOut: Self = Self(1i32);
+ pub const Failed: Self = Self(2i32);
+}
+impl ::core::marker::Copy for AutoUpdateTimeZoneStatus {}
+impl ::core::clone::Clone for AutoUpdateTimeZoneStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"System\"`*"]
+#[repr(transparent)]
+pub struct DiagnosticAccessStatus(pub i32);
+impl DiagnosticAccessStatus {
+ pub const Unspecified: Self = Self(0i32);
+ pub const Denied: Self = Self(1i32);
+ pub const Limited: Self = Self(2i32);
+ pub const Allowed: Self = Self(3i32);
+}
+impl ::core::marker::Copy for DiagnosticAccessStatus {}
+impl ::core::clone::Clone for DiagnosticAccessStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type DispatcherQueue = *mut ::core::ffi::c_void;
+pub type DispatcherQueueController = *mut ::core::ffi::c_void;
+pub type DispatcherQueueHandler = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System\"`*"]
+#[repr(transparent)]
+pub struct DispatcherQueuePriority(pub i32);
+impl DispatcherQueuePriority {
+ pub const Low: Self = Self(-10i32);
+ pub const Normal: Self = Self(0i32);
+ pub const High: Self = Self(10i32);
+}
+impl ::core::marker::Copy for DispatcherQueuePriority {}
+impl ::core::clone::Clone for DispatcherQueuePriority {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type DispatcherQueueShutdownStartingEventArgs = *mut ::core::ffi::c_void;
+pub type DispatcherQueueTimer = *mut ::core::ffi::c_void;
+pub type FolderLauncherOptions = *mut ::core::ffi::c_void;
+pub type ILauncherViewOptions = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System\"`*"]
+#[repr(transparent)]
+pub struct LaunchFileStatus(pub i32);
+impl LaunchFileStatus {
+ pub const Success: Self = Self(0i32);
+ pub const AppUnavailable: Self = Self(1i32);
+ pub const DeniedByPolicy: Self = Self(2i32);
+ pub const FileTypeNotSupported: Self = Self(3i32);
+ pub const Unknown: Self = Self(4i32);
+}
+impl ::core::marker::Copy for LaunchFileStatus {}
+impl ::core::clone::Clone for LaunchFileStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"System\"`*"]
+#[repr(transparent)]
+pub struct LaunchQuerySupportStatus(pub i32);
+impl LaunchQuerySupportStatus {
+ pub const Available: Self = Self(0i32);
+ pub const AppNotInstalled: Self = Self(1i32);
+ pub const AppUnavailable: Self = Self(2i32);
+ pub const NotSupported: Self = Self(3i32);
+ pub const Unknown: Self = Self(4i32);
+}
+impl ::core::marker::Copy for LaunchQuerySupportStatus {}
+impl ::core::clone::Clone for LaunchQuerySupportStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"System\"`*"]
+#[repr(transparent)]
+pub struct LaunchQuerySupportType(pub i32);
+impl LaunchQuerySupportType {
+ pub const Uri: Self = Self(0i32);
+ pub const UriForResults: Self = Self(1i32);
+}
+impl ::core::marker::Copy for LaunchQuerySupportType {}
+impl ::core::clone::Clone for LaunchQuerySupportType {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type LaunchUriResult = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System\"`*"]
+#[repr(transparent)]
+pub struct LaunchUriStatus(pub i32);
+impl LaunchUriStatus {
+ pub const Success: Self = Self(0i32);
+ pub const AppUnavailable: Self = Self(1i32);
+ pub const ProtocolUnavailable: Self = Self(2i32);
+ pub const Unknown: Self = Self(3i32);
+}
+impl ::core::marker::Copy for LaunchUriStatus {}
+impl ::core::clone::Clone for LaunchUriStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type LauncherOptions = *mut ::core::ffi::c_void;
+pub type LauncherUIOptions = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System\"`*"]
+#[repr(transparent)]
+pub struct PowerState(pub i32);
+impl PowerState {
+ pub const ConnectedStandby: Self = Self(0i32);
+ pub const SleepS3: Self = Self(1i32);
+}
+impl ::core::marker::Copy for PowerState {}
+impl ::core::clone::Clone for PowerState {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type ProcessLauncherOptions = *mut ::core::ffi::c_void;
+pub type ProcessLauncherResult = *mut ::core::ffi::c_void;
+pub type ProcessMemoryReport = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System\"`*"]
+#[repr(transparent)]
+pub struct ProcessorArchitecture(pub i32);
+impl ProcessorArchitecture {
+ pub const X86: Self = Self(0i32);
+ pub const Arm: Self = Self(5i32);
+ pub const X64: Self = Self(9i32);
+ pub const Neutral: Self = Self(11i32);
+ pub const Arm64: Self = Self(12i32);
+ pub const X86OnArm64: Self = Self(14i32);
+ pub const Unknown: Self = Self(65535i32);
+}
+impl ::core::marker::Copy for ProcessorArchitecture {}
+impl ::core::clone::Clone for ProcessorArchitecture {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type ProtocolForResultsOperation = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System\"`*"]
+#[repr(transparent)]
+pub struct RemoteLaunchUriStatus(pub i32);
+impl RemoteLaunchUriStatus {
+ pub const Unknown: Self = Self(0i32);
+ pub const Success: Self = Self(1i32);
+ pub const AppUnavailable: Self = Self(2i32);
+ pub const ProtocolUnavailable: Self = Self(3i32);
+ pub const RemoteSystemUnavailable: Self = Self(4i32);
+ pub const ValueSetTooLarge: Self = Self(5i32);
+ pub const DeniedByLocalSystem: Self = Self(6i32);
+ pub const DeniedByRemoteSystem: Self = Self(7i32);
+}
+impl ::core::marker::Copy for RemoteLaunchUriStatus {}
+impl ::core::clone::Clone for RemoteLaunchUriStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type RemoteLauncherOptions = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System\"`*"]
+#[repr(transparent)]
+pub struct ShutdownKind(pub i32);
+impl ShutdownKind {
+ pub const Shutdown: Self = Self(0i32);
+ pub const Restart: Self = Self(1i32);
+}
+impl ::core::marker::Copy for ShutdownKind {}
+impl ::core::clone::Clone for ShutdownKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type User = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System\"`*"]
+#[repr(transparent)]
+pub struct UserAgeConsentGroup(pub i32);
+impl UserAgeConsentGroup {
+ pub const Child: Self = Self(0i32);
+ pub const Minor: Self = Self(1i32);
+ pub const Adult: Self = Self(2i32);
+}
+impl ::core::marker::Copy for UserAgeConsentGroup {}
+impl ::core::clone::Clone for UserAgeConsentGroup {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"System\"`*"]
+#[repr(transparent)]
+pub struct UserAgeConsentResult(pub i32);
+impl UserAgeConsentResult {
+ pub const NotEnforced: Self = Self(0i32);
+ pub const Included: Self = Self(1i32);
+ pub const NotIncluded: Self = Self(2i32);
+ pub const Unknown: Self = Self(3i32);
+ pub const Ambiguous: Self = Self(4i32);
+}
+impl ::core::marker::Copy for UserAgeConsentResult {}
+impl ::core::clone::Clone for UserAgeConsentResult {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"System\"`*"]
+#[repr(transparent)]
+pub struct UserAuthenticationStatus(pub i32);
+impl UserAuthenticationStatus {
+ pub const Unauthenticated: Self = Self(0i32);
+ pub const LocallyAuthenticated: Self = Self(1i32);
+ pub const RemotelyAuthenticated: Self = Self(2i32);
+}
+impl ::core::marker::Copy for UserAuthenticationStatus {}
+impl ::core::clone::Clone for UserAuthenticationStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type UserAuthenticationStatusChangeDeferral = *mut ::core::ffi::c_void;
+pub type UserAuthenticationStatusChangingEventArgs = *mut ::core::ffi::c_void;
+pub type UserChangedEventArgs = *mut ::core::ffi::c_void;
+pub type UserDeviceAssociationChangedEventArgs = *mut ::core::ffi::c_void;
+pub type UserPicker = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System\"`*"]
+#[repr(transparent)]
+pub struct UserPictureSize(pub i32);
+impl UserPictureSize {
+ pub const Size64x64: Self = Self(0i32);
+ pub const Size208x208: Self = Self(1i32);
+ pub const Size424x424: Self = Self(2i32);
+ pub const Size1080x1080: Self = Self(3i32);
+}
+impl ::core::marker::Copy for UserPictureSize {}
+impl ::core::clone::Clone for UserPictureSize {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"System\"`*"]
+#[repr(transparent)]
+pub struct UserType(pub i32);
+impl UserType {
+ pub const LocalUser: Self = Self(0i32);
+ pub const RemoteUser: Self = Self(1i32);
+ pub const LocalGuest: Self = Self(2i32);
+ pub const RemoteGuest: Self = Self(3i32);
+ pub const SystemManaged: Self = Self(4i32);
+}
+impl ::core::marker::Copy for UserType {}
+impl ::core::clone::Clone for UserType {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type UserWatcher = *mut ::core::ffi::c_void;
+#[doc = "*Required features: `\"System\"`*"]
+#[repr(transparent)]
+pub struct UserWatcherStatus(pub i32);
+impl UserWatcherStatus {
+ pub const Created: Self = Self(0i32);
+ pub const Started: Self = Self(1i32);
+ pub const EnumerationCompleted: Self = Self(2i32);
+ pub const Stopping: Self = Self(3i32);
+ pub const Stopped: Self = Self(4i32);
+ pub const Aborted: Self = Self(5i32);
+}
+impl ::core::marker::Copy for UserWatcherStatus {}
+impl ::core::clone::Clone for UserWatcherStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"System\"`*"]
+#[repr(transparent)]
+pub struct UserWatcherUpdateKind(pub i32);
+impl UserWatcherUpdateKind {
+ pub const Properties: Self = Self(0i32);
+ pub const Picture: Self = Self(1i32);
+}
+impl ::core::marker::Copy for UserWatcherUpdateKind {}
+impl ::core::clone::Clone for UserWatcherUpdateKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"System\"`*"]
+#[repr(transparent)]
+pub struct VirtualKey(pub i32);
+impl VirtualKey {
+ pub const None: Self = Self(0i32);
+ pub const LeftButton: Self = Self(1i32);
+ pub const RightButton: Self = Self(2i32);
+ pub const Cancel: Self = Self(3i32);
+ pub const MiddleButton: Self = Self(4i32);
+ pub const XButton1: Self = Self(5i32);
+ pub const XButton2: Self = Self(6i32);
+ pub const Back: Self = Self(8i32);
+ pub const Tab: Self = Self(9i32);
+ pub const Clear: Self = Self(12i32);
+ pub const Enter: Self = Self(13i32);
+ pub const Shift: Self = Self(16i32);
+ pub const Control: Self = Self(17i32);
+ pub const Menu: Self = Self(18i32);
+ pub const Pause: Self = Self(19i32);
+ pub const CapitalLock: Self = Self(20i32);
+ pub const Kana: Self = Self(21i32);
+ pub const Hangul: Self = Self(21i32);
+ pub const ImeOn: Self = Self(22i32);
+ pub const Junja: Self = Self(23i32);
+ pub const Final: Self = Self(24i32);
+ pub const Hanja: Self = Self(25i32);
+ pub const Kanji: Self = Self(25i32);
+ pub const ImeOff: Self = Self(26i32);
+ pub const Escape: Self = Self(27i32);
+ pub const Convert: Self = Self(28i32);
+ pub const NonConvert: Self = Self(29i32);
+ pub const Accept: Self = Self(30i32);
+ pub const ModeChange: Self = Self(31i32);
+ pub const Space: Self = Self(32i32);
+ pub const PageUp: Self = Self(33i32);
+ pub const PageDown: Self = Self(34i32);
+ pub const End: Self = Self(35i32);
+ pub const Home: Self = Self(36i32);
+ pub const Left: Self = Self(37i32);
+ pub const Up: Self = Self(38i32);
+ pub const Right: Self = Self(39i32);
+ pub const Down: Self = Self(40i32);
+ pub const Select: Self = Self(41i32);
+ pub const Print: Self = Self(42i32);
+ pub const Execute: Self = Self(43i32);
+ pub const Snapshot: Self = Self(44i32);
+ pub const Insert: Self = Self(45i32);
+ pub const Delete: Self = Self(46i32);
+ pub const Help: Self = Self(47i32);
+ pub const Number0: Self = Self(48i32);
+ pub const Number1: Self = Self(49i32);
+ pub const Number2: Self = Self(50i32);
+ pub const Number3: Self = Self(51i32);
+ pub const Number4: Self = Self(52i32);
+ pub const Number5: Self = Self(53i32);
+ pub const Number6: Self = Self(54i32);
+ pub const Number7: Self = Self(55i32);
+ pub const Number8: Self = Self(56i32);
+ pub const Number9: Self = Self(57i32);
+ pub const A: Self = Self(65i32);
+ pub const B: Self = Self(66i32);
+ pub const C: Self = Self(67i32);
+ pub const D: Self = Self(68i32);
+ pub const E: Self = Self(69i32);
+ pub const F: Self = Self(70i32);
+ pub const G: Self = Self(71i32);
+ pub const H: Self = Self(72i32);
+ pub const I: Self = Self(73i32);
+ pub const J: Self = Self(74i32);
+ pub const K: Self = Self(75i32);
+ pub const L: Self = Self(76i32);
+ pub const M: Self = Self(77i32);
+ pub const N: Self = Self(78i32);
+ pub const O: Self = Self(79i32);
+ pub const P: Self = Self(80i32);
+ pub const Q: Self = Self(81i32);
+ pub const R: Self = Self(82i32);
+ pub const S: Self = Self(83i32);
+ pub const T: Self = Self(84i32);
+ pub const U: Self = Self(85i32);
+ pub const V: Self = Self(86i32);
+ pub const W: Self = Self(87i32);
+ pub const X: Self = Self(88i32);
+ pub const Y: Self = Self(89i32);
+ pub const Z: Self = Self(90i32);
+ pub const LeftWindows: Self = Self(91i32);
+ pub const RightWindows: Self = Self(92i32);
+ pub const Application: Self = Self(93i32);
+ pub const Sleep: Self = Self(95i32);
+ pub const NumberPad0: Self = Self(96i32);
+ pub const NumberPad1: Self = Self(97i32);
+ pub const NumberPad2: Self = Self(98i32);
+ pub const NumberPad3: Self = Self(99i32);
+ pub const NumberPad4: Self = Self(100i32);
+ pub const NumberPad5: Self = Self(101i32);
+ pub const NumberPad6: Self = Self(102i32);
+ pub const NumberPad7: Self = Self(103i32);
+ pub const NumberPad8: Self = Self(104i32);
+ pub const NumberPad9: Self = Self(105i32);
+ pub const Multiply: Self = Self(106i32);
+ pub const Add: Self = Self(107i32);
+ pub const Separator: Self = Self(108i32);
+ pub const Subtract: Self = Self(109i32);
+ pub const Decimal: Self = Self(110i32);
+ pub const Divide: Self = Self(111i32);
+ pub const F1: Self = Self(112i32);
+ pub const F2: Self = Self(113i32);
+ pub const F3: Self = Self(114i32);
+ pub const F4: Self = Self(115i32);
+ pub const F5: Self = Self(116i32);
+ pub const F6: Self = Self(117i32);
+ pub const F7: Self = Self(118i32);
+ pub const F8: Self = Self(119i32);
+ pub const F9: Self = Self(120i32);
+ pub const F10: Self = Self(121i32);
+ pub const F11: Self = Self(122i32);
+ pub const F12: Self = Self(123i32);
+ pub const F13: Self = Self(124i32);
+ pub const F14: Self = Self(125i32);
+ pub const F15: Self = Self(126i32);
+ pub const F16: Self = Self(127i32);
+ pub const F17: Self = Self(128i32);
+ pub const F18: Self = Self(129i32);
+ pub const F19: Self = Self(130i32);
+ pub const F20: Self = Self(131i32);
+ pub const F21: Self = Self(132i32);
+ pub const F22: Self = Self(133i32);
+ pub const F23: Self = Self(134i32);
+ pub const F24: Self = Self(135i32);
+ pub const NavigationView: Self = Self(136i32);
+ pub const NavigationMenu: Self = Self(137i32);
+ pub const NavigationUp: Self = Self(138i32);
+ pub const NavigationDown: Self = Self(139i32);
+ pub const NavigationLeft: Self = Self(140i32);
+ pub const NavigationRight: Self = Self(141i32);
+ pub const NavigationAccept: Self = Self(142i32);
+ pub const NavigationCancel: Self = Self(143i32);
+ pub const NumberKeyLock: Self = Self(144i32);
+ pub const Scroll: Self = Self(145i32);
+ pub const LeftShift: Self = Self(160i32);
+ pub const RightShift: Self = Self(161i32);
+ pub const LeftControl: Self = Self(162i32);
+ pub const RightControl: Self = Self(163i32);
+ pub const LeftMenu: Self = Self(164i32);
+ pub const RightMenu: Self = Self(165i32);
+ pub const GoBack: Self = Self(166i32);
+ pub const GoForward: Self = Self(167i32);
+ pub const Refresh: Self = Self(168i32);
+ pub const Stop: Self = Self(169i32);
+ pub const Search: Self = Self(170i32);
+ pub const Favorites: Self = Self(171i32);
+ pub const GoHome: Self = Self(172i32);
+ pub const GamepadA: Self = Self(195i32);
+ pub const GamepadB: Self = Self(196i32);
+ pub const GamepadX: Self = Self(197i32);
+ pub const GamepadY: Self = Self(198i32);
+ pub const GamepadRightShoulder: Self = Self(199i32);
+ pub const GamepadLeftShoulder: Self = Self(200i32);
+ pub const GamepadLeftTrigger: Self = Self(201i32);
+ pub const GamepadRightTrigger: Self = Self(202i32);
+ pub const GamepadDPadUp: Self = Self(203i32);
+ pub const GamepadDPadDown: Self = Self(204i32);
+ pub const GamepadDPadLeft: Self = Self(205i32);
+ pub const GamepadDPadRight: Self = Self(206i32);
+ pub const GamepadMenu: Self = Self(207i32);
+ pub const GamepadView: Self = Self(208i32);
+ pub const GamepadLeftThumbstickButton: Self = Self(209i32);
+ pub const GamepadRightThumbstickButton: Self = Self(210i32);
+ pub const GamepadLeftThumbstickUp: Self = Self(211i32);
+ pub const GamepadLeftThumbstickDown: Self = Self(212i32);
+ pub const GamepadLeftThumbstickRight: Self = Self(213i32);
+ pub const GamepadLeftThumbstickLeft: Self = Self(214i32);
+ pub const GamepadRightThumbstickUp: Self = Self(215i32);
+ pub const GamepadRightThumbstickDown: Self = Self(216i32);
+ pub const GamepadRightThumbstickRight: Self = Self(217i32);
+ pub const GamepadRightThumbstickLeft: Self = Self(218i32);
+}
+impl ::core::marker::Copy for VirtualKey {}
+impl ::core::clone::Clone for VirtualKey {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[doc = "*Required features: `\"System\"`*"]
+#[repr(transparent)]
+pub struct VirtualKeyModifiers(pub u32);
+impl VirtualKeyModifiers {
+ pub const None: Self = Self(0u32);
+ pub const Control: Self = Self(1u32);
+ pub const Menu: Self = Self(2u32);
+ pub const Shift: Self = Self(4u32);
+ pub const Windows: Self = Self(8u32);
+}
+impl ::core::marker::Copy for VirtualKeyModifiers {}
+impl ::core::clone::Clone for VirtualKeyModifiers {
+ fn clone(&self) -> Self {
+ *self
+ }
+}