]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys-0.28.0/src/Windows/ApplicationModel/Store/Preview/InstallControl/mod.rs
New upstream version 1.64.0+dfsg1
[rustc.git] / vendor / windows-sys-0.28.0 / src / Windows / ApplicationModel / Store / Preview / InstallControl / mod.rs
1 #![allow(non_snake_case, non_camel_case_types, non_upper_case_globals, clashing_extern_declarations, clippy::all)]
2 #[link(name = "windows")]
3 extern "system" {}
4 pub type AppInstallItem = *mut ::core::ffi::c_void;
5 pub type AppInstallManager = *mut ::core::ffi::c_void;
6 pub type AppInstallManagerItemEventArgs = *mut ::core::ffi::c_void;
7 pub type AppInstallOptions = *mut ::core::ffi::c_void;
8 #[repr(transparent)]
9 pub struct AppInstallState(pub i32);
10 impl AppInstallState {
11 pub const Pending: Self = Self(0i32);
12 pub const Starting: Self = Self(1i32);
13 pub const AcquiringLicense: Self = Self(2i32);
14 pub const Downloading: Self = Self(3i32);
15 pub const RestoringData: Self = Self(4i32);
16 pub const Installing: Self = Self(5i32);
17 pub const Completed: Self = Self(6i32);
18 pub const Canceled: Self = Self(7i32);
19 pub const Paused: Self = Self(8i32);
20 pub const Error: Self = Self(9i32);
21 pub const PausedLowBattery: Self = Self(10i32);
22 pub const PausedWiFiRecommended: Self = Self(11i32);
23 pub const PausedWiFiRequired: Self = Self(12i32);
24 pub const ReadyToDownload: Self = Self(13i32);
25 }
26 impl ::core::marker::Copy for AppInstallState {}
27 impl ::core::clone::Clone for AppInstallState {
28 fn clone(&self) -> Self {
29 *self
30 }
31 }
32 pub type AppInstallStatus = *mut ::core::ffi::c_void;
33 #[repr(transparent)]
34 pub struct AppInstallType(pub i32);
35 impl AppInstallType {
36 pub const Install: Self = Self(0i32);
37 pub const Update: Self = Self(1i32);
38 pub const Repair: Self = Self(2i32);
39 }
40 impl ::core::marker::Copy for AppInstallType {}
41 impl ::core::clone::Clone for AppInstallType {
42 fn clone(&self) -> Self {
43 *self
44 }
45 }
46 #[repr(transparent)]
47 pub struct AppInstallationToastNotificationMode(pub i32);
48 impl AppInstallationToastNotificationMode {
49 pub const Default: Self = Self(0i32);
50 pub const Toast: Self = Self(1i32);
51 pub const ToastWithoutPopup: Self = Self(2i32);
52 pub const NoToast: Self = Self(3i32);
53 }
54 impl ::core::marker::Copy for AppInstallationToastNotificationMode {}
55 impl ::core::clone::Clone for AppInstallationToastNotificationMode {
56 fn clone(&self) -> Self {
57 *self
58 }
59 }
60 pub type AppUpdateOptions = *mut ::core::ffi::c_void;
61 #[repr(transparent)]
62 pub struct AutoUpdateSetting(pub i32);
63 impl AutoUpdateSetting {
64 pub const Disabled: Self = Self(0i32);
65 pub const Enabled: Self = Self(1i32);
66 pub const DisabledByPolicy: Self = Self(2i32);
67 pub const EnabledByPolicy: Self = Self(3i32);
68 }
69 impl ::core::marker::Copy for AutoUpdateSetting {}
70 impl ::core::clone::Clone for AutoUpdateSetting {
71 fn clone(&self) -> Self {
72 *self
73 }
74 }
75 pub type GetEntitlementResult = *mut ::core::ffi::c_void;
76 #[repr(transparent)]
77 pub struct GetEntitlementStatus(pub i32);
78 impl GetEntitlementStatus {
79 pub const Succeeded: Self = Self(0i32);
80 pub const NoStoreAccount: Self = Self(1i32);
81 pub const NetworkError: Self = Self(2i32);
82 pub const ServerError: Self = Self(3i32);
83 }
84 impl ::core::marker::Copy for GetEntitlementStatus {}
85 impl ::core::clone::Clone for GetEntitlementStatus {
86 fn clone(&self) -> Self {
87 *self
88 }
89 }