diff options
Diffstat (limited to 'vendor/windows-sys/src/Windows/ApplicationModel/VoiceCommands/mod.rs')
-rw-r--r-- | vendor/windows-sys/src/Windows/ApplicationModel/VoiceCommands/mod.rs | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/vendor/windows-sys/src/Windows/ApplicationModel/VoiceCommands/mod.rs b/vendor/windows-sys/src/Windows/ApplicationModel/VoiceCommands/mod.rs new file mode 100644 index 000000000..56f24406d --- /dev/null +++ b/vendor/windows-sys/src/Windows/ApplicationModel/VoiceCommands/mod.rs @@ -0,0 +1,46 @@ +pub type VoiceCommand = *mut ::core::ffi::c_void; +pub type VoiceCommandCompletedEventArgs = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_VoiceCommands\"`*"] +#[repr(transparent)] +pub struct VoiceCommandCompletionReason(pub i32); +impl VoiceCommandCompletionReason { + pub const Unknown: Self = Self(0i32); + pub const CommunicationFailed: Self = Self(1i32); + pub const ResourceLimitsExceeded: Self = Self(2i32); + pub const Canceled: Self = Self(3i32); + pub const TimeoutExceeded: Self = Self(4i32); + pub const AppLaunched: Self = Self(5i32); + pub const Completed: Self = Self(6i32); +} +impl ::core::marker::Copy for VoiceCommandCompletionReason {} +impl ::core::clone::Clone for VoiceCommandCompletionReason { + fn clone(&self) -> Self { + *self + } +} +pub type VoiceCommandConfirmationResult = *mut ::core::ffi::c_void; +pub type VoiceCommandContentTile = *mut ::core::ffi::c_void; +#[doc = "*Required features: `\"ApplicationModel_VoiceCommands\"`*"] +#[repr(transparent)] +pub struct VoiceCommandContentTileType(pub i32); +impl VoiceCommandContentTileType { + pub const TitleOnly: Self = Self(0i32); + pub const TitleWithText: Self = Self(1i32); + pub const TitleWith68x68Icon: Self = Self(2i32); + pub const TitleWith68x68IconAndText: Self = Self(3i32); + pub const TitleWith68x92Icon: Self = Self(4i32); + pub const TitleWith68x92IconAndText: Self = Self(5i32); + pub const TitleWith280x140Icon: Self = Self(6i32); + pub const TitleWith280x140IconAndText: Self = Self(7i32); +} +impl ::core::marker::Copy for VoiceCommandContentTileType {} +impl ::core::clone::Clone for VoiceCommandContentTileType { + fn clone(&self) -> Self { + *self + } +} +pub type VoiceCommandDefinition = *mut ::core::ffi::c_void; +pub type VoiceCommandDisambiguationResult = *mut ::core::ffi::c_void; +pub type VoiceCommandResponse = *mut ::core::ffi::c_void; +pub type VoiceCommandServiceConnection = *mut ::core::ffi::c_void; +pub type VoiceCommandUserMessage = *mut ::core::ffi::c_void; |