// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #pragma once #ifndef WINRT_Windows_Media_SpeechRecognition_0_H #define WINRT_Windows_Media_SpeechRecognition_0_H WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct IAsyncAction; template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Foundation::Collections { template struct WINRT_IMPL_EMPTY_BASES IIterable; } WINRT_EXPORT namespace winrt::Windows::Globalization { struct Language; } WINRT_EXPORT namespace winrt::Windows::Storage { struct StorageFile; } WINRT_EXPORT namespace winrt::Windows::Media::SpeechRecognition { enum class SpeechContinuousRecognitionMode : int32_t { Default = 0, PauseOnRecognition = 1, }; enum class SpeechRecognitionAudioProblem : int32_t { None = 0, TooNoisy = 1, NoSignal = 2, TooLoud = 3, TooQuiet = 4, TooFast = 5, TooSlow = 6, }; enum class SpeechRecognitionConfidence : int32_t { High = 0, Medium = 1, Low = 2, Rejected = 3, }; enum class SpeechRecognitionConstraintProbability : int32_t { Default = 0, Min = 1, Max = 2, }; enum class SpeechRecognitionConstraintType : int32_t { Topic = 0, List = 1, Grammar = 2, VoiceCommandDefinition = 3, }; enum class SpeechRecognitionResultStatus : int32_t { Success = 0, TopicLanguageNotSupported = 1, GrammarLanguageMismatch = 2, GrammarCompilationFailure = 3, AudioQualityFailure = 4, UserCanceled = 5, Unknown = 6, TimeoutExceeded = 7, PauseLimitExceeded = 8, NetworkFailure = 9, MicrophoneUnavailable = 10, }; enum class SpeechRecognitionScenario : int32_t { WebSearch = 0, Dictation = 1, FormFilling = 2, }; enum class SpeechRecognizerState : int32_t { Idle = 0, Capturing = 1, Processing = 2, SoundStarted = 3, SoundEnded = 4, SpeechDetected = 5, Paused = 6, }; struct ISpeechContinuousRecognitionCompletedEventArgs; struct ISpeechContinuousRecognitionResultGeneratedEventArgs; struct ISpeechContinuousRecognitionSession; struct ISpeechRecognitionCompilationResult; struct ISpeechRecognitionConstraint; struct ISpeechRecognitionGrammarFileConstraint; struct ISpeechRecognitionGrammarFileConstraintFactory; struct ISpeechRecognitionHypothesis; struct ISpeechRecognitionHypothesisGeneratedEventArgs; struct ISpeechRecognitionListConstraint; struct ISpeechRecognitionListConstraintFactory; struct ISpeechRecognitionQualityDegradingEventArgs; struct ISpeechRecognitionResult; struct ISpeechRecognitionResult2; struct ISpeechRecognitionSemanticInterpretation; struct ISpeechRecognitionTopicConstraint; struct ISpeechRecognitionTopicConstraintFactory; struct ISpeechRecognitionVoiceCommandDefinitionConstraint; struct ISpeechRecognizer; struct ISpeechRecognizer2; struct ISpeechRecognizerFactory; struct ISpeechRecognizerStateChangedEventArgs; struct ISpeechRecognizerStatics; struct ISpeechRecognizerStatics2; struct ISpeechRecognizerTimeouts; struct ISpeechRecognizerUIOptions; struct SpeechContinuousRecognitionCompletedEventArgs; struct SpeechContinuousRecognitionResultGeneratedEventArgs; struct SpeechContinuousRecognitionSession; struct SpeechRecognitionCompilationResult; struct SpeechRecognitionGrammarFileConstraint; struct SpeechRecognitionHypothesis; struct SpeechRecognitionHypothesisGeneratedEventArgs; struct SpeechRecognitionListConstraint; struct SpeechRecognitionQualityDegradingEventArgs; struct SpeechRecognitionResult; struct SpeechRecognitionSemanticInterpretation; struct SpeechRecognitionTopicConstraint; struct SpeechRecognitionVoiceCommandDefinitionConstraint; struct SpeechRecognizer; struct SpeechRecognizerStateChangedEventArgs; struct SpeechRecognizerTimeouts; struct SpeechRecognizerUIOptions; } namespace winrt::impl { template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechContinuousRecognitionCompletedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechContinuousRecognitionResultGeneratedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechContinuousRecognitionSession"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognitionCompilationResult"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognitionGrammarFileConstraint"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognitionHypothesis"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognitionHypothesisGeneratedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognitionListConstraint"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognitionQualityDegradingEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognitionResult"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognitionSemanticInterpretation"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognitionTopicConstraint"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognitionVoiceCommandDefinitionConstraint"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognizer"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognizerStateChangedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognizerTimeouts"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognizerUIOptions"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechContinuousRecognitionMode"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognitionAudioProblem"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognitionConfidence"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognitionConstraintProbability"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognitionConstraintType"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognitionResultStatus"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognitionScenario"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.SpeechRecognizerState"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechContinuousRecognitionCompletedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechContinuousRecognitionResultGeneratedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechContinuousRecognitionSession"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognitionCompilationResult"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognitionConstraint"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognitionGrammarFileConstraint"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognitionGrammarFileConstraintFactory"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognitionHypothesis"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognitionHypothesisGeneratedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognitionListConstraint"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognitionListConstraintFactory"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognitionQualityDegradingEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognitionResult"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognitionResult2"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognitionSemanticInterpretation"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognitionTopicConstraint"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognitionTopicConstraintFactory"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognitionVoiceCommandDefinitionConstraint"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognizer"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognizer2"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognizerFactory"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognizerStateChangedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognizerStatics"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognizerStatics2"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognizerTimeouts"; template <> inline constexpr auto& name_v = L"Windows.Media.SpeechRecognition.ISpeechRecognizerUIOptions"; template <> inline constexpr guid guid_v{ 0xE3D069BB,0xE30C,0x5E18,{ 0x42,0x4B,0x7F,0xBE,0x81,0xF8,0xFB,0xD0 } }; // E3D069BB-E30C-5E18-424B-7FBE81F8FBD0 template <> inline constexpr guid guid_v{ 0x19091E1E,0x6E7E,0x5A46,{ 0x40,0xFB,0x76,0x59,0x4F,0x78,0x65,0x04 } }; // 19091E1E-6E7E-5A46-40FB-76594F786504 template <> inline constexpr guid guid_v{ 0x6A213C04,0x6614,0x49F8,{ 0x99,0xA2,0xB5,0xE9,0xB3,0xA0,0x85,0xC8 } }; // 6A213C04-6614-49F8-99A2-B5E9B3A085C8 template <> inline constexpr guid guid_v{ 0x407E6C5D,0x6AC7,0x4DA4,{ 0x9C,0xC1,0x2F,0xCE,0x32,0xCF,0x74,0x89 } }; // 407E6C5D-6AC7-4DA4-9CC1-2FCE32CF7489 template <> inline constexpr guid guid_v{ 0x79AC1628,0x4D68,0x43C4,{ 0x89,0x11,0x40,0xDC,0x41,0x01,0xB5,0x5B } }; // 79AC1628-4D68-43C4-8911-40DC4101B55B template <> inline constexpr guid guid_v{ 0xB5031A8F,0x85CA,0x4FA4,{ 0xB1,0x1A,0x47,0x4F,0xC4,0x1B,0x38,0x35 } }; // B5031A8F-85CA-4FA4-B11A-474FC41B3835 template <> inline constexpr guid guid_v{ 0x3DA770EB,0xC479,0x4C27,{ 0x9F,0x19,0x89,0x97,0x4E,0xF3,0x92,0xD1 } }; // 3DA770EB-C479-4C27-9F19-89974EF392D1 template <> inline constexpr guid guid_v{ 0x7A7B25B0,0x99C5,0x4F7D,{ 0xBF,0x84,0x10,0xAA,0x13,0x02,0xB6,0x34 } }; // 7A7B25B0-99C5-4F7D-BF84-10AA1302B634 template <> inline constexpr guid guid_v{ 0x55161A7A,0x8023,0x5866,{ 0x41,0x1D,0x12,0x13,0xBB,0x27,0x14,0x76 } }; // 55161A7A-8023-5866-411D-1213BB271476 template <> inline constexpr guid guid_v{ 0x09C487E9,0xE4AD,0x4526,{ 0x81,0xF2,0x49,0x46,0xFB,0x48,0x1D,0x98 } }; // 09C487E9-E4AD-4526-81F2-4946FB481D98 template <> inline constexpr guid guid_v{ 0x40F3CDC7,0x562A,0x426A,{ 0x9F,0x3B,0x3B,0x4E,0x28,0x2B,0xE1,0xD5 } }; // 40F3CDC7-562A-426A-9F3B-3B4E282BE1D5 template <> inline constexpr guid guid_v{ 0x4FE24105,0x8C3A,0x4C7E,{ 0x8D,0x0A,0x5B,0xD4,0xF5,0xB1,0x4A,0xD8 } }; // 4FE24105-8C3A-4C7E-8D0A-5BD4F5B14AD8 template <> inline constexpr guid guid_v{ 0x4E303157,0x034E,0x4652,{ 0x85,0x7E,0xD0,0x45,0x4C,0xC4,0xBE,0xEC } }; // 4E303157-034E-4652-857E-D0454CC4BEEC template <> inline constexpr guid guid_v{ 0xAF7ED1BA,0x451B,0x4166,{ 0xA0,0xC1,0x1F,0xFE,0x84,0x03,0x2D,0x03 } }; // AF7ED1BA-451B-4166-A0C1-1FFE84032D03 template <> inline constexpr guid guid_v{ 0xAAE1DA9B,0x7E32,0x4C1F,{ 0x89,0xFE,0x0C,0x65,0xF4,0x86,0xF5,0x2E } }; // AAE1DA9B-7E32-4C1F-89FE-0C65F486F52E template <> inline constexpr guid guid_v{ 0xBF6FDF19,0x825D,0x4E69,{ 0xA6,0x81,0x36,0xE4,0x8C,0xF1,0xC9,0x3E } }; // BF6FDF19-825D-4E69-A681-36E48CF1C93E template <> inline constexpr guid guid_v{ 0x6E6863DF,0xEC05,0x47D7,{ 0xA5,0xDF,0x56,0xA3,0x43,0x1E,0x58,0xD2 } }; // 6E6863DF-EC05-47D7-A5DF-56A3431E58D2 template <> inline constexpr guid guid_v{ 0xF2791C2B,0x1EF4,0x4AE7,{ 0x9D,0x77,0xB6,0xFF,0x10,0xB8,0xA3,0xC2 } }; // F2791C2B-1EF4-4AE7-9D77-B6FF10B8A3C2 template <> inline constexpr guid guid_v{ 0x0BC3C9CB,0xC26A,0x40F2,{ 0xAE,0xB5,0x80,0x96,0xB2,0xE4,0x80,0x73 } }; // 0BC3C9CB-C26A-40F2-AEB5-8096B2E48073 template <> inline constexpr guid guid_v{ 0x63C9BAF1,0x91E3,0x4EA4,{ 0x86,0xA1,0x7C,0x38,0x67,0xD0,0x84,0xA6 } }; // 63C9BAF1-91E3-4EA4-86A1-7C3867D084A6 template <> inline constexpr guid guid_v{ 0x60C488DD,0x7FB8,0x4033,{ 0xAC,0x70,0xD0,0x46,0xF6,0x48,0x18,0xE1 } }; // 60C488DD-7FB8-4033-AC70-D046F64818E1 template <> inline constexpr guid guid_v{ 0x563D4F09,0xBA03,0x4BAD,{ 0xAD,0x81,0xDD,0xC6,0xC4,0xDA,0xB0,0xC3 } }; // 563D4F09-BA03-4BAD-AD81-DDC6C4DAB0C3 template <> inline constexpr guid guid_v{ 0x87A35EAC,0xA7DC,0x4B0B,{ 0xBC,0xC9,0x24,0xF4,0x7C,0x0B,0x7E,0xBF } }; // 87A35EAC-A7DC-4B0B-BCC9-24F47C0B7EBF template <> inline constexpr guid guid_v{ 0x1D1B0D95,0x7565,0x4EF9,{ 0xA2,0xF3,0xBA,0x15,0x16,0x2A,0x96,0xCF } }; // 1D1B0D95-7565-4EF9-A2F3-BA15162A96CF template <> inline constexpr guid guid_v{ 0x2EF76FCA,0x6A3C,0x4DCA,{ 0xA1,0x53,0xDF,0x1B,0xC8,0x8A,0x79,0xAF } }; // 2EF76FCA-6A3C-4DCA-A153-DF1BC88A79AF template <> inline constexpr guid guid_v{ 0x7888D641,0xB92B,0x44BA,{ 0xA2,0x5F,0xD1,0x86,0x46,0x30,0x64,0x1F } }; // 7888D641-B92B-44BA-A25F-D1864630641F template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionCompletedEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionResultGeneratedEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::ISpeechContinuousRecognitionSession; }; template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionCompilationResult; }; template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionGrammarFileConstraint; }; template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionHypothesis; }; template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionHypothesisGeneratedEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionListConstraint; }; template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionQualityDegradingEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionResult; }; template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionSemanticInterpretation; }; template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionTopicConstraint; }; template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::ISpeechRecognitionVoiceCommandDefinitionConstraint; }; template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::ISpeechRecognizer; }; template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerStateChangedEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerTimeouts; }; template <> struct default_interface{ using type = winrt::Windows::Media::SpeechRecognition::ISpeechRecognizerUIOptions; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Result(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_AutoStopSilenceTimeout(int64_t*) noexcept = 0; virtual int32_t __stdcall put_AutoStopSilenceTimeout(int64_t) noexcept = 0; virtual int32_t __stdcall StartAsync(void**) noexcept = 0; virtual int32_t __stdcall StartWithModeAsync(int32_t, void**) noexcept = 0; virtual int32_t __stdcall StopAsync(void**) noexcept = 0; virtual int32_t __stdcall CancelAsync(void**) noexcept = 0; virtual int32_t __stdcall PauseAsync(void**) noexcept = 0; virtual int32_t __stdcall Resume() noexcept = 0; virtual int32_t __stdcall add_Completed(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_Completed(winrt::event_token) noexcept = 0; virtual int32_t __stdcall add_ResultGenerated(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_ResultGenerated(winrt::event_token) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_IsEnabled(bool*) noexcept = 0; virtual int32_t __stdcall put_IsEnabled(bool) noexcept = 0; virtual int32_t __stdcall get_Tag(void**) noexcept = 0; virtual int32_t __stdcall put_Tag(void*) noexcept = 0; virtual int32_t __stdcall get_Type(int32_t*) noexcept = 0; virtual int32_t __stdcall get_Probability(int32_t*) noexcept = 0; virtual int32_t __stdcall put_Probability(int32_t) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_GrammarFile(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall Create(void*, void**) noexcept = 0; virtual int32_t __stdcall CreateWithTag(void*, void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Text(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Hypothesis(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Commands(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall Create(void*, void**) noexcept = 0; virtual int32_t __stdcall CreateWithTag(void*, void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Problem(int32_t*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; virtual int32_t __stdcall get_Text(void**) noexcept = 0; virtual int32_t __stdcall get_Confidence(int32_t*) noexcept = 0; virtual int32_t __stdcall get_SemanticInterpretation(void**) noexcept = 0; virtual int32_t __stdcall GetAlternates(uint32_t, void**) noexcept = 0; virtual int32_t __stdcall get_Constraint(void**) noexcept = 0; virtual int32_t __stdcall get_RulePath(void**) noexcept = 0; virtual int32_t __stdcall get_RawConfidence(double*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_PhraseStartTime(int64_t*) noexcept = 0; virtual int32_t __stdcall get_PhraseDuration(int64_t*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Properties(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Scenario(int32_t*) noexcept = 0; virtual int32_t __stdcall get_TopicHint(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall Create(int32_t, void*, void**) noexcept = 0; virtual int32_t __stdcall CreateWithTag(int32_t, void*, void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_CurrentLanguage(void**) noexcept = 0; virtual int32_t __stdcall get_Constraints(void**) noexcept = 0; virtual int32_t __stdcall get_Timeouts(void**) noexcept = 0; virtual int32_t __stdcall get_UIOptions(void**) noexcept = 0; virtual int32_t __stdcall CompileConstraintsAsync(void**) noexcept = 0; virtual int32_t __stdcall RecognizeAsync(void**) noexcept = 0; virtual int32_t __stdcall RecognizeWithUIAsync(void**) noexcept = 0; virtual int32_t __stdcall add_RecognitionQualityDegrading(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_RecognitionQualityDegrading(winrt::event_token) noexcept = 0; virtual int32_t __stdcall add_StateChanged(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_StateChanged(winrt::event_token) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_ContinuousRecognitionSession(void**) noexcept = 0; virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; virtual int32_t __stdcall StopRecognitionAsync(void**) noexcept = 0; virtual int32_t __stdcall add_HypothesisGenerated(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_HypothesisGenerated(winrt::event_token) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall Create(void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_State(int32_t*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_SystemSpeechLanguage(void**) noexcept = 0; virtual int32_t __stdcall get_SupportedTopicLanguages(void**) noexcept = 0; virtual int32_t __stdcall get_SupportedGrammarLanguages(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall TrySetSystemSpeechLanguageAsync(void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_InitialSilenceTimeout(int64_t*) noexcept = 0; virtual int32_t __stdcall put_InitialSilenceTimeout(int64_t) noexcept = 0; virtual int32_t __stdcall get_EndSilenceTimeout(int64_t*) noexcept = 0; virtual int32_t __stdcall put_EndSilenceTimeout(int64_t) noexcept = 0; virtual int32_t __stdcall get_BabbleTimeout(int64_t*) noexcept = 0; virtual int32_t __stdcall put_BabbleTimeout(int64_t) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_ExampleText(void**) noexcept = 0; virtual int32_t __stdcall put_ExampleText(void*) noexcept = 0; virtual int32_t __stdcall get_AudiblePrompt(void**) noexcept = 0; virtual int32_t __stdcall put_AudiblePrompt(void*) noexcept = 0; virtual int32_t __stdcall get_IsReadBackEnabled(bool*) noexcept = 0; virtual int32_t __stdcall put_IsReadBackEnabled(bool) noexcept = 0; virtual int32_t __stdcall get_ShowConfirmation(bool*) noexcept = 0; virtual int32_t __stdcall put_ShowConfirmation(bool) noexcept = 0; }; }; template struct consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionCompletedEventArgs { [[nodiscard]] auto Status() const; }; template <> struct consume { template using type = consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionCompletedEventArgs; }; template struct consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionResultGeneratedEventArgs { [[nodiscard]] auto Result() const; }; template <> struct consume { template using type = consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionResultGeneratedEventArgs; }; template struct consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession { [[nodiscard]] auto AutoStopSilenceTimeout() const; auto AutoStopSilenceTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; auto StartAsync() const; auto StartAsync(winrt::Windows::Media::SpeechRecognition::SpeechContinuousRecognitionMode const& mode) const; auto StopAsync() const; auto CancelAsync() const; auto PauseAsync() const; auto Resume() const; auto Completed(winrt::Windows::Foundation::TypedEventHandler const& value) const; using Completed_revoker = impl::event_revoker::remove_Completed>; [[nodiscard]] auto Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; auto Completed(winrt::event_token const& value) const noexcept; auto ResultGenerated(winrt::Windows::Foundation::TypedEventHandler const& value) const; using ResultGenerated_revoker = impl::event_revoker::remove_ResultGenerated>; [[nodiscard]] auto ResultGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; auto ResultGenerated(winrt::event_token const& value) const noexcept; }; template <> struct consume { template using type = consume_Windows_Media_SpeechRecognition_ISpeechContinuousRecognitionSession; }; template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionCompilationResult { [[nodiscard]] auto Status() const; }; template <> struct consume { template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognitionCompilationResult; }; template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionConstraint { [[nodiscard]] auto IsEnabled() const; auto IsEnabled(bool value) const; [[nodiscard]] auto Tag() const; auto Tag(param::hstring const& value) const; [[nodiscard]] auto Type() const; [[nodiscard]] auto Probability() const; auto Probability(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionConstraintProbability const& value) const; }; template <> struct consume { template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognitionConstraint; }; template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionGrammarFileConstraint { [[nodiscard]] auto GrammarFile() const; }; template <> struct consume { template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognitionGrammarFileConstraint; }; template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionGrammarFileConstraintFactory { auto Create(winrt::Windows::Storage::StorageFile const& file) const; auto CreateWithTag(winrt::Windows::Storage::StorageFile const& file, param::hstring const& tag) const; }; template <> struct consume { template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognitionGrammarFileConstraintFactory; }; template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionHypothesis { [[nodiscard]] auto Text() const; }; template <> struct consume { template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognitionHypothesis; }; template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionHypothesisGeneratedEventArgs { [[nodiscard]] auto Hypothesis() const; }; template <> struct consume { template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognitionHypothesisGeneratedEventArgs; }; template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionListConstraint { [[nodiscard]] auto Commands() const; }; template <> struct consume { template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognitionListConstraint; }; template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionListConstraintFactory { auto Create(param::iterable const& commands) const; auto CreateWithTag(param::iterable const& commands, param::hstring const& tag) const; }; template <> struct consume { template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognitionListConstraintFactory; }; template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionQualityDegradingEventArgs { [[nodiscard]] auto Problem() const; }; template <> struct consume { template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognitionQualityDegradingEventArgs; }; template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult { [[nodiscard]] auto Status() const; [[nodiscard]] auto Text() const; [[nodiscard]] auto Confidence() const; [[nodiscard]] auto SemanticInterpretation() const; auto GetAlternates(uint32_t maxAlternates) const; [[nodiscard]] auto Constraint() const; [[nodiscard]] auto RulePath() const; [[nodiscard]] auto RawConfidence() const; }; template <> struct consume { template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult; }; template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult2 { [[nodiscard]] auto PhraseStartTime() const; [[nodiscard]] auto PhraseDuration() const; }; template <> struct consume { template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognitionResult2; }; template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionSemanticInterpretation { [[nodiscard]] auto Properties() const; }; template <> struct consume { template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognitionSemanticInterpretation; }; template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionTopicConstraint { [[nodiscard]] auto Scenario() const; [[nodiscard]] auto TopicHint() const; }; template <> struct consume { template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognitionTopicConstraint; }; template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionTopicConstraintFactory { auto Create(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionScenario const& scenario, param::hstring const& topicHint) const; auto CreateWithTag(winrt::Windows::Media::SpeechRecognition::SpeechRecognitionScenario const& scenario, param::hstring const& topicHint, param::hstring const& tag) const; }; template <> struct consume { template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognitionTopicConstraintFactory; }; template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognitionVoiceCommandDefinitionConstraint { }; template <> struct consume { template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognitionVoiceCommandDefinitionConstraint; }; template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognizer { [[nodiscard]] auto CurrentLanguage() const; [[nodiscard]] auto Constraints() const; [[nodiscard]] auto Timeouts() const; [[nodiscard]] auto UIOptions() const; auto CompileConstraintsAsync() const; auto RecognizeAsync() const; auto RecognizeWithUIAsync() const; auto RecognitionQualityDegrading(winrt::Windows::Foundation::TypedEventHandler const& speechRecognitionQualityDegradingHandler) const; using RecognitionQualityDegrading_revoker = impl::event_revoker::remove_RecognitionQualityDegrading>; [[nodiscard]] auto RecognitionQualityDegrading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& speechRecognitionQualityDegradingHandler) const; auto RecognitionQualityDegrading(winrt::event_token const& cookie) const noexcept; auto StateChanged(winrt::Windows::Foundation::TypedEventHandler const& stateChangedHandler) const; using StateChanged_revoker = impl::event_revoker::remove_StateChanged>; [[nodiscard]] auto StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& stateChangedHandler) const; auto StateChanged(winrt::event_token const& cookie) const noexcept; }; template <> struct consume { template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognizer; }; template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognizer2 { [[nodiscard]] auto ContinuousRecognitionSession() const; [[nodiscard]] auto State() const; auto StopRecognitionAsync() const; auto HypothesisGenerated(winrt::Windows::Foundation::TypedEventHandler const& value) const; using HypothesisGenerated_revoker = impl::event_revoker::remove_HypothesisGenerated>; [[nodiscard]] auto HypothesisGenerated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const; auto HypothesisGenerated(winrt::event_token const& value) const noexcept; }; template <> struct consume { template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognizer2; }; template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognizerFactory { auto Create(winrt::Windows::Globalization::Language const& language) const; }; template <> struct consume { template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognizerFactory; }; template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStateChangedEventArgs { [[nodiscard]] auto State() const; }; template <> struct consume { template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStateChangedEventArgs; }; template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStatics { [[nodiscard]] auto SystemSpeechLanguage() const; [[nodiscard]] auto SupportedTopicLanguages() const; [[nodiscard]] auto SupportedGrammarLanguages() const; }; template <> struct consume { template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStatics; }; template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStatics2 { auto TrySetSystemSpeechLanguageAsync(winrt::Windows::Globalization::Language const& speechLanguage) const; }; template <> struct consume { template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognizerStatics2; }; template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognizerTimeouts { [[nodiscard]] auto InitialSilenceTimeout() const; auto InitialSilenceTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; [[nodiscard]] auto EndSilenceTimeout() const; auto EndSilenceTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; [[nodiscard]] auto BabbleTimeout() const; auto BabbleTimeout(winrt::Windows::Foundation::TimeSpan const& value) const; }; template <> struct consume { template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognizerTimeouts; }; template struct consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions { [[nodiscard]] auto ExampleText() const; auto ExampleText(param::hstring const& value) const; [[nodiscard]] auto AudiblePrompt() const; auto AudiblePrompt(param::hstring const& value) const; [[nodiscard]] auto IsReadBackEnabled() const; auto IsReadBackEnabled(bool value) const; [[nodiscard]] auto ShowConfirmation() const; auto ShowConfirmation(bool value) const; }; template <> struct consume { template using type = consume_Windows_Media_SpeechRecognition_ISpeechRecognizerUIOptions; }; } #endif