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