]> git.proxmox.com Git - rustc.git/blob - vendor/windows-sys/src/Windows/ApplicationModel/VoiceCommands/mod.rs
New upstream version 1.63.0+dfsg1
[rustc.git] / vendor / windows-sys / src / Windows / ApplicationModel / VoiceCommands / mod.rs
1 pub type VoiceCommand = *mut ::core::ffi::c_void;
2 pub type VoiceCommandCompletedEventArgs = *mut ::core::ffi::c_void;
3 #[doc = "*Required features: `\"ApplicationModel_VoiceCommands\"`*"]
4 #[repr(transparent)]
5 pub struct VoiceCommandCompletionReason(pub i32);
6 impl VoiceCommandCompletionReason {
7 pub const Unknown: Self = Self(0i32);
8 pub const CommunicationFailed: Self = Self(1i32);
9 pub const ResourceLimitsExceeded: Self = Self(2i32);
10 pub const Canceled: Self = Self(3i32);
11 pub const TimeoutExceeded: Self = Self(4i32);
12 pub const AppLaunched: Self = Self(5i32);
13 pub const Completed: Self = Self(6i32);
14 }
15 impl ::core::marker::Copy for VoiceCommandCompletionReason {}
16 impl ::core::clone::Clone for VoiceCommandCompletionReason {
17 fn clone(&self) -> Self {
18 *self
19 }
20 }
21 pub type VoiceCommandConfirmationResult = *mut ::core::ffi::c_void;
22 pub type VoiceCommandContentTile = *mut ::core::ffi::c_void;
23 #[doc = "*Required features: `\"ApplicationModel_VoiceCommands\"`*"]
24 #[repr(transparent)]
25 pub struct VoiceCommandContentTileType(pub i32);
26 impl VoiceCommandContentTileType {
27 pub const TitleOnly: Self = Self(0i32);
28 pub const TitleWithText: Self = Self(1i32);
29 pub const TitleWith68x68Icon: Self = Self(2i32);
30 pub const TitleWith68x68IconAndText: Self = Self(3i32);
31 pub const TitleWith68x92Icon: Self = Self(4i32);
32 pub const TitleWith68x92IconAndText: Self = Self(5i32);
33 pub const TitleWith280x140Icon: Self = Self(6i32);
34 pub const TitleWith280x140IconAndText: Self = Self(7i32);
35 }
36 impl ::core::marker::Copy for VoiceCommandContentTileType {}
37 impl ::core::clone::Clone for VoiceCommandContentTileType {
38 fn clone(&self) -> Self {
39 *self
40 }
41 }
42 pub type VoiceCommandDefinition = *mut ::core::ffi::c_void;
43 pub type VoiceCommandDisambiguationResult = *mut ::core::ffi::c_void;
44 pub type VoiceCommandResponse = *mut ::core::ffi::c_void;
45 pub type VoiceCommandServiceConnection = *mut ::core::ffi::c_void;
46 pub type VoiceCommandUserMessage = *mut ::core::ffi::c_void;