summaryrefslogtreecommitdiffstats
path: root/vendor/windows-sys-0.28.0/src/Windows/Management
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-17 12:02:58 +0000
commit698f8c2f01ea549d77d7dc3338a12e04c11057b9 (patch)
tree173a775858bd501c378080a10dca74132f05bc50 /vendor/windows-sys-0.28.0/src/Windows/Management
parentInitial commit. (diff)
downloadrustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.tar.xz
rustc-698f8c2f01ea549d77d7dc3338a12e04c11057b9.zip
Adding upstream version 1.64.0+dfsg1.upstream/1.64.0+dfsg1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'vendor/windows-sys-0.28.0/src/Windows/Management')
-rw-r--r--vendor/windows-sys-0.28.0/src/Windows/Management/Core/mod.rs4
-rw-r--r--vendor/windows-sys-0.28.0/src/Windows/Management/Deployment/Preview/mod.rs4
-rw-r--r--vendor/windows-sys-0.28.0/src/Windows/Management/Deployment/mod.rs213
-rw-r--r--vendor/windows-sys-0.28.0/src/Windows/Management/Policies/mod.rs20
-rw-r--r--vendor/windows-sys-0.28.0/src/Windows/Management/Update/mod.rs5
-rw-r--r--vendor/windows-sys-0.28.0/src/Windows/Management/Workplace/mod.rs16
-rw-r--r--vendor/windows-sys-0.28.0/src/Windows/Management/mod.rs61
7 files changed, 323 insertions, 0 deletions
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Management/Core/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Management/Core/mod.rs
new file mode 100644
index 000000000..7da2e2d5e
--- /dev/null
+++ b/vendor/windows-sys-0.28.0/src/Windows/Management/Core/mod.rs
@@ -0,0 +1,4 @@
+#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
+#[link(name = "windows")]
+extern "system" {}
+pub type ApplicationDataManager = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Management/Deployment/Preview/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Management/Deployment/Preview/mod.rs
new file mode 100644
index 000000000..c1cf4f38f
--- /dev/null
+++ b/vendor/windows-sys-0.28.0/src/Windows/Management/Deployment/Preview/mod.rs
@@ -0,0 +1,4 @@
+#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
+#[link(name = "windows")]
+extern "system" {}
+pub type InstalledClassicAppInfo = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Management/Deployment/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Management/Deployment/mod.rs
new file mode 100644
index 000000000..73592fa3e
--- /dev/null
+++ b/vendor/windows-sys-0.28.0/src/Windows/Management/Deployment/mod.rs
@@ -0,0 +1,213 @@
+#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
+#[cfg(feature = "Management_Deployment_Preview")]
+pub mod Preview;
+#[link(name = "windows")]
+extern "system" {}
+#[repr(transparent)]
+pub struct AddPackageByAppInstallerOptions(pub u32);
+impl AddPackageByAppInstallerOptions {
+ pub const None: Self = Self(0u32);
+ pub const InstallAllResources: Self = Self(32u32);
+ pub const ForceTargetAppShutdown: Self = Self(64u32);
+ pub const RequiredContentGroupOnly: Self = Self(256u32);
+ pub const LimitToExistingPackages: Self = Self(512u32);
+}
+impl ::core::marker::Copy for AddPackageByAppInstallerOptions {}
+impl ::core::clone::Clone for AddPackageByAppInstallerOptions {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type AddPackageOptions = *mut ::core::ffi::c_void;
+pub type AppInstallerManager = *mut ::core::ffi::c_void;
+pub type AutoUpdateSettingsOptions = *mut ::core::ffi::c_void;
+pub type CreateSharedPackageContainerOptions = *mut ::core::ffi::c_void;
+pub type CreateSharedPackageContainerResult = *mut ::core::ffi::c_void;
+pub type DeleteSharedPackageContainerOptions = *mut ::core::ffi::c_void;
+pub type DeleteSharedPackageContainerResult = *mut ::core::ffi::c_void;
+#[repr(transparent)]
+pub struct DeploymentOptions(pub u32);
+impl DeploymentOptions {
+ pub const None: Self = Self(0u32);
+ pub const ForceApplicationShutdown: Self = Self(1u32);
+ pub const DevelopmentMode: Self = Self(2u32);
+ pub const InstallAllResources: Self = Self(32u32);
+ pub const ForceTargetApplicationShutdown: Self = Self(64u32);
+ pub const RequiredContentGroupOnly: Self = Self(256u32);
+ pub const ForceUpdateFromAnyVersion: Self = Self(262144u32);
+ pub const RetainFilesOnFailure: Self = Self(2097152u32);
+ pub const StageInPlace: Self = Self(4194304u32);
+}
+impl ::core::marker::Copy for DeploymentOptions {}
+impl ::core::clone::Clone for DeploymentOptions {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(C)]
+pub struct DeploymentProgress {
+ pub state: DeploymentProgressState,
+ pub percentage: u32,
+}
+impl ::core::marker::Copy for DeploymentProgress {}
+impl ::core::clone::Clone for DeploymentProgress {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(transparent)]
+pub struct DeploymentProgressState(pub i32);
+impl DeploymentProgressState {
+ pub const Queued: Self = Self(0i32);
+ pub const Processing: Self = Self(1i32);
+}
+impl ::core::marker::Copy for DeploymentProgressState {}
+impl ::core::clone::Clone for DeploymentProgressState {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type DeploymentResult = *mut ::core::ffi::c_void;
+pub type FindSharedPackageContainerOptions = *mut ::core::ffi::c_void;
+pub type PackageAllUserProvisioningOptions = *mut ::core::ffi::c_void;
+#[repr(transparent)]
+pub struct PackageInstallState(pub i32);
+impl PackageInstallState {
+ pub const NotInstalled: Self = Self(0i32);
+ pub const Staged: Self = Self(1i32);
+ pub const Installed: Self = Self(2i32);
+ pub const Paused: Self = Self(6i32);
+}
+impl ::core::marker::Copy for PackageInstallState {}
+impl ::core::clone::Clone for PackageInstallState {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type PackageManager = *mut ::core::ffi::c_void;
+pub type PackageManagerDebugSettings = *mut ::core::ffi::c_void;
+#[repr(transparent)]
+pub struct PackageState(pub i32);
+impl PackageState {
+ pub const Normal: Self = Self(0i32);
+ pub const LicenseInvalid: Self = Self(1i32);
+ pub const Modified: Self = Self(2i32);
+ pub const Tampered: Self = Self(3i32);
+}
+impl ::core::marker::Copy for PackageState {}
+impl ::core::clone::Clone for PackageState {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(transparent)]
+pub struct PackageStatus(pub u32);
+impl PackageStatus {
+ pub const OK: Self = Self(0u32);
+ pub const LicenseIssue: Self = Self(1u32);
+ pub const Modified: Self = Self(2u32);
+ pub const Tampered: Self = Self(4u32);
+ pub const Disabled: Self = Self(8u32);
+}
+impl ::core::marker::Copy for PackageStatus {}
+impl ::core::clone::Clone for PackageStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(transparent)]
+pub struct PackageStubPreference(pub i32);
+impl PackageStubPreference {
+ pub const Full: Self = Self(0i32);
+ pub const Stub: Self = Self(1i32);
+}
+impl ::core::marker::Copy for PackageStubPreference {}
+impl ::core::clone::Clone for PackageStubPreference {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(transparent)]
+pub struct PackageTypes(pub u32);
+impl PackageTypes {
+ pub const None: Self = Self(0u32);
+ pub const Main: Self = Self(1u32);
+ pub const Framework: Self = Self(2u32);
+ pub const Resource: Self = Self(4u32);
+ pub const Bundle: Self = Self(8u32);
+ pub const Xap: Self = Self(16u32);
+ pub const Optional: Self = Self(32u32);
+ pub const All: Self = Self(4294967295u32);
+}
+impl ::core::marker::Copy for PackageTypes {}
+impl ::core::clone::Clone for PackageTypes {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type PackageUserInformation = *mut ::core::ffi::c_void;
+pub type PackageVolume = *mut ::core::ffi::c_void;
+pub type RegisterPackageOptions = *mut ::core::ffi::c_void;
+#[repr(transparent)]
+pub struct RemovalOptions(pub u32);
+impl RemovalOptions {
+ pub const None: Self = Self(0u32);
+ pub const PreserveApplicationData: Self = Self(4096u32);
+ pub const PreserveRoamableApplicationData: Self = Self(128u32);
+ pub const RemoveForAllUsers: Self = Self(524288u32);
+}
+impl ::core::marker::Copy for RemovalOptions {}
+impl ::core::clone::Clone for RemovalOptions {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type SharedPackageContainer = *mut ::core::ffi::c_void;
+#[repr(transparent)]
+pub struct SharedPackageContainerCreationCollisionOptions(pub i32);
+impl SharedPackageContainerCreationCollisionOptions {
+ pub const FailIfExists: Self = Self(0i32);
+ pub const MergeWithExisting: Self = Self(1i32);
+ pub const ReplaceExisting: Self = Self(2i32);
+}
+impl ::core::marker::Copy for SharedPackageContainerCreationCollisionOptions {}
+impl ::core::clone::Clone for SharedPackageContainerCreationCollisionOptions {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type SharedPackageContainerManager = *mut ::core::ffi::c_void;
+pub type SharedPackageContainerMember = *mut ::core::ffi::c_void;
+#[repr(transparent)]
+pub struct SharedPackageContainerOperationStatus(pub i32);
+impl SharedPackageContainerOperationStatus {
+ pub const Success: Self = Self(0i32);
+ pub const BlockedByPolicy: Self = Self(1i32);
+ pub const AlreadyExists: Self = Self(2i32);
+ pub const PackageFamilyExistsInAnotherContainer: Self = Self(3i32);
+ pub const NotFound: Self = Self(4i32);
+ pub const UnknownFailure: Self = Self(5i32);
+}
+impl ::core::marker::Copy for SharedPackageContainerOperationStatus {}
+impl ::core::clone::Clone for SharedPackageContainerOperationStatus {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type StagePackageOptions = *mut ::core::ffi::c_void;
+#[repr(transparent)]
+pub struct StubPackageOption(pub i32);
+impl StubPackageOption {
+ pub const Default: Self = Self(0i32);
+ pub const InstallFull: Self = Self(1i32);
+ pub const InstallStub: Self = Self(2i32);
+ pub const UsePreference: Self = Self(3i32);
+}
+impl ::core::marker::Copy for StubPackageOption {}
+impl ::core::clone::Clone for StubPackageOption {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type UpdateSharedPackageContainerOptions = *mut ::core::ffi::c_void;
+pub type UpdateSharedPackageContainerResult = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Management/Policies/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Management/Policies/mod.rs
new file mode 100644
index 000000000..78f85d9fb
--- /dev/null
+++ b/vendor/windows-sys-0.28.0/src/Windows/Management/Policies/mod.rs
@@ -0,0 +1,20 @@
+#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
+#[link(name = "windows")]
+extern "system" {}
+pub type NamedPolicyData = *mut ::core::ffi::c_void;
+#[repr(transparent)]
+pub struct NamedPolicyKind(pub i32);
+impl NamedPolicyKind {
+ pub const Invalid: Self = Self(0i32);
+ pub const Binary: Self = Self(1i32);
+ pub const Boolean: Self = Self(2i32);
+ pub const Int32: Self = Self(3i32);
+ pub const Int64: Self = Self(4i32);
+ pub const String: Self = Self(5i32);
+}
+impl ::core::marker::Copy for NamedPolicyKind {}
+impl ::core::clone::Clone for NamedPolicyKind {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Management/Update/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Management/Update/mod.rs
new file mode 100644
index 000000000..ec833de08
--- /dev/null
+++ b/vendor/windows-sys-0.28.0/src/Windows/Management/Update/mod.rs
@@ -0,0 +1,5 @@
+#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
+#[link(name = "windows")]
+extern "system" {}
+pub type PreviewBuildsManager = *mut ::core::ffi::c_void;
+pub type PreviewBuildsState = *mut ::core::ffi::c_void;
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Management/Workplace/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Management/Workplace/mod.rs
new file mode 100644
index 000000000..435b4181e
--- /dev/null
+++ b/vendor/windows-sys-0.28.0/src/Windows/Management/Workplace/mod.rs
@@ -0,0 +1,16 @@
+#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
+#[link(name = "windows")]
+extern "system" {}
+#[repr(transparent)]
+pub struct MessagingSyncPolicy(pub i32);
+impl MessagingSyncPolicy {
+ pub const Disallowed: Self = Self(0i32);
+ pub const Allowed: Self = Self(1i32);
+ pub const Required: Self = Self(2i32);
+}
+impl ::core::marker::Copy for MessagingSyncPolicy {}
+impl ::core::clone::Clone for MessagingSyncPolicy {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
diff --git a/vendor/windows-sys-0.28.0/src/Windows/Management/mod.rs b/vendor/windows-sys-0.28.0/src/Windows/Management/mod.rs
new file mode 100644
index 000000000..e8a348cdf
--- /dev/null
+++ b/vendor/windows-sys-0.28.0/src/Windows/Management/mod.rs
@@ -0,0 +1,61 @@
+#![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
+#[cfg(feature = "Management_Core")]
+pub mod Core;
+#[cfg(feature = "Management_Deployment")]
+pub mod Deployment;
+#[cfg(feature = "Management_Policies")]
+pub mod Policies;
+#[cfg(feature = "Management_Update")]
+pub mod Update;
+#[cfg(feature = "Management_Workplace")]
+pub mod Workplace;
+#[link(name = "windows")]
+extern "system" {}
+pub type MdmAlert = *mut ::core::ffi::c_void;
+#[repr(transparent)]
+pub struct MdmAlertDataType(pub i32);
+impl MdmAlertDataType {
+ pub const String: Self = Self(0i32);
+ pub const Base64: Self = Self(1i32);
+ pub const Boolean: Self = Self(2i32);
+ pub const Integer: Self = Self(3i32);
+}
+impl ::core::marker::Copy for MdmAlertDataType {}
+impl ::core::clone::Clone for MdmAlertDataType {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+#[repr(transparent)]
+pub struct MdmAlertMark(pub i32);
+impl MdmAlertMark {
+ pub const None: Self = Self(0i32);
+ pub const Fatal: Self = Self(1i32);
+ pub const Critical: Self = Self(2i32);
+ pub const Warning: Self = Self(3i32);
+ pub const Informational: Self = Self(4i32);
+}
+impl ::core::marker::Copy for MdmAlertMark {}
+impl ::core::clone::Clone for MdmAlertMark {
+ fn clone(&self) -> Self {
+ *self
+ }
+}
+pub type MdmSession = *mut ::core::ffi::c_void;
+#[repr(transparent)]
+pub struct MdmSessionState(pub i32);
+impl MdmSessionState {
+ pub const NotStarted: Self = Self(0i32);
+ pub const Starting: Self = Self(1i32);
+ pub const Connecting: Self = Self(2i32);
+ pub const Communicating: Self = Self(3i32);
+ pub const AlertStatusAvailable: Self = Self(4i32);
+ pub const Retrying: Self = Self(5i32);
+ pub const Completed: Self = Self(6i32);
+}
+impl ::core::marker::Copy for MdmSessionState {}
+impl ::core::clone::Clone for MdmSessionState {
+ fn clone(&self) -> Self {
+ *self
+ }
+}