]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/Services/Cortana/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / Services / Cortana / mod.rs
1 pub type CortanaActionableInsights = *mut ::core::ffi::c_void;
2 pub type CortanaActionableInsightsOptions = *mut ::core::ffi::c_void;
3 #[doc = "*Required features: `\"Services_Cortana\"`, `\"deprecated\"`*"]
4 #[cfg(feature = "deprecated")]
5 #[repr(transparent)]
6 pub struct CortanaPermission(pub i32);
7 #[cfg(feature = "deprecated")]
8 impl CortanaPermission {
9 pub const BrowsingHistory: Self = Self(0i32);
10 pub const Calendar: Self = Self(1i32);
11 pub const CallHistory: Self = Self(2i32);
12 pub const Contacts: Self = Self(3i32);
13 pub const Email: Self = Self(4i32);
14 pub const InputPersonalization: Self = Self(5i32);
15 pub const Location: Self = Self(6i32);
16 pub const Messaging: Self = Self(7i32);
17 pub const Microphone: Self = Self(8i32);
18 pub const Personalization: Self = Self(9i32);
19 pub const PhoneCall: Self = Self(10i32);
20 }
21 #[cfg(feature = "deprecated")]
22 impl ::core::marker::Copy for CortanaPermission {}
23 #[cfg(feature = "deprecated")]
24 impl ::core::clone::Clone for CortanaPermission {
25 fn clone(&self) -> Self {
26 *self
27 }
28 }
29 #[doc = "*Required features: `\"Services_Cortana\"`, `\"deprecated\"`*"]
30 #[cfg(feature = "deprecated")]
31 #[repr(transparent)]
32 pub struct CortanaPermissionsChangeResult(pub i32);
33 #[cfg(feature = "deprecated")]
34 impl CortanaPermissionsChangeResult {
35 pub const Success: Self = Self(0i32);
36 pub const Unavailable: Self = Self(1i32);
37 pub const DisabledByPolicy: Self = Self(2i32);
38 }
39 #[cfg(feature = "deprecated")]
40 impl ::core::marker::Copy for CortanaPermissionsChangeResult {}
41 #[cfg(feature = "deprecated")]
42 impl ::core::clone::Clone for CortanaPermissionsChangeResult {
43 fn clone(&self) -> Self {
44 *self
45 }
46 }
47 pub type CortanaPermissionsManager = *mut ::core::ffi::c_void;
48 pub type CortanaSettings = *mut ::core::ffi::c_void;