// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #pragma once #ifndef WINRT_Windows_UI_Text_Core_0_H #define WINRT_Windows_UI_Text_Core_0_H WINRT_EXPORT namespace winrt::Windows::Foundation { struct Deferral; struct EventRegistrationToken; struct Rect; template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::Globalization { struct Language; } WINRT_EXPORT namespace winrt::Windows::UI::Text::Core { enum class CoreTextFormatUpdatingReason : int32_t { None = 0, CompositionUnconverted = 1, CompositionConverted = 2, CompositionTargetUnconverted = 3, CompositionTargetConverted = 4, }; enum class CoreTextFormatUpdatingResult : int32_t { Succeeded = 0, Failed = 1, }; enum class CoreTextInputPaneDisplayPolicy : int32_t { Automatic = 0, Manual = 1, }; enum class CoreTextInputScope : int32_t { Default = 0, Url = 1, FilePath = 2, FileName = 3, EmailUserName = 4, EmailAddress = 5, UserName = 6, PersonalFullName = 7, PersonalNamePrefix = 8, PersonalGivenName = 9, PersonalMiddleName = 10, PersonalSurname = 11, PersonalNameSuffix = 12, Address = 13, AddressPostalCode = 14, AddressStreet = 15, AddressStateOrProvince = 16, AddressCity = 17, AddressCountryName = 18, AddressCountryShortName = 19, CurrencyAmountAndSymbol = 20, CurrencyAmount = 21, Date = 22, DateMonth = 23, DateDay = 24, DateYear = 25, DateMonthName = 26, DateDayName = 27, Number = 29, SingleCharacter = 30, Password = 31, TelephoneNumber = 32, TelephoneCountryCode = 33, TelephoneAreaCode = 34, TelephoneLocalNumber = 35, Time = 36, TimeHour = 37, TimeMinuteOrSecond = 38, NumberFullWidth = 39, AlphanumericHalfWidth = 40, AlphanumericFullWidth = 41, CurrencyChinese = 42, Bopomofo = 43, Hiragana = 44, KatakanaHalfWidth = 45, KatakanaFullWidth = 46, Hanja = 47, HangulHalfWidth = 48, HangulFullWidth = 49, Search = 50, Formula = 51, SearchIncremental = 52, ChineseHalfWidth = 53, ChineseFullWidth = 54, NativeScript = 55, Text = 57, Chat = 58, NameOrPhoneNumber = 59, EmailUserNameOrAddress = 60, Private = 61, Maps = 62, PasswordNumeric = 63, FormulaNumber = 67, ChatWithoutEmoji = 68, Digits = 28, PinNumeric = 64, PinAlphanumeric = 65, }; enum class CoreTextSelectionUpdatingResult : int32_t { Succeeded = 0, Failed = 1, }; enum class CoreTextTextUpdatingResult : int32_t { Succeeded = 0, Failed = 1, }; struct ICoreTextCompositionCompletedEventArgs; struct ICoreTextCompositionSegment; struct ICoreTextCompositionStartedEventArgs; struct ICoreTextEditContext; struct ICoreTextEditContext2; struct ICoreTextFormatUpdatingEventArgs; struct ICoreTextLayoutBounds; struct ICoreTextLayoutRequest; struct ICoreTextLayoutRequest2; struct ICoreTextLayoutRequestedEventArgs; struct ICoreTextSelectionRequest; struct ICoreTextSelectionRequestedEventArgs; struct ICoreTextSelectionUpdatingEventArgs; struct ICoreTextServicesManager; struct ICoreTextServicesManagerStatics; struct ICoreTextServicesStatics; struct ICoreTextTextRequest; struct ICoreTextTextRequestedEventArgs; struct ICoreTextTextUpdatingEventArgs; struct CoreTextCompositionCompletedEventArgs; struct CoreTextCompositionSegment; struct CoreTextCompositionStartedEventArgs; struct CoreTextEditContext; struct CoreTextFormatUpdatingEventArgs; struct CoreTextLayoutBounds; struct CoreTextLayoutRequest; struct CoreTextLayoutRequestedEventArgs; struct CoreTextSelectionRequest; struct CoreTextSelectionRequestedEventArgs; struct CoreTextSelectionUpdatingEventArgs; struct CoreTextServicesConstants; struct CoreTextServicesManager; struct CoreTextTextRequest; struct CoreTextTextRequestedEventArgs; struct CoreTextTextUpdatingEventArgs; struct CoreTextRange; } 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 = 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 = struct_category; }; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.CoreTextCompositionCompletedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.CoreTextCompositionSegment"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.CoreTextCompositionStartedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.CoreTextEditContext"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.CoreTextFormatUpdatingEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.CoreTextLayoutBounds"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.CoreTextLayoutRequest"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.CoreTextLayoutRequestedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.CoreTextSelectionRequest"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.CoreTextSelectionRequestedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.CoreTextSelectionUpdatingEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.CoreTextServicesConstants"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.CoreTextServicesManager"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.CoreTextTextRequest"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.CoreTextTextRequestedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.CoreTextTextUpdatingEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.CoreTextFormatUpdatingReason"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.CoreTextFormatUpdatingResult"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.CoreTextInputPaneDisplayPolicy"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.CoreTextInputScope"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.CoreTextSelectionUpdatingResult"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.CoreTextTextUpdatingResult"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.CoreTextRange"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.ICoreTextCompositionCompletedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.ICoreTextCompositionSegment"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.ICoreTextCompositionStartedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.ICoreTextEditContext"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.ICoreTextEditContext2"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.ICoreTextFormatUpdatingEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.ICoreTextLayoutBounds"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.ICoreTextLayoutRequest"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.ICoreTextLayoutRequest2"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.ICoreTextLayoutRequestedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.ICoreTextSelectionRequest"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.ICoreTextSelectionRequestedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.ICoreTextSelectionUpdatingEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.ICoreTextServicesManager"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.ICoreTextServicesManagerStatics"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.ICoreTextServicesStatics"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.ICoreTextTextRequest"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.ICoreTextTextRequestedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.Text.Core.ICoreTextTextUpdatingEventArgs"; template <> inline constexpr guid guid_v{ 0x1F34EBB6,0xB79F,0x4121,{ 0xA5,0xE7,0xFD,0xA9,0xB8,0x61,0x6E,0x30 } }; // 1F34EBB6-B79F-4121-A5E7-FDA9B8616E30 template <> inline constexpr guid guid_v{ 0x776C6BD9,0x4EAD,0x4DA7,{ 0x8F,0x47,0x3A,0x88,0xB5,0x23,0xCC,0x34 } }; // 776C6BD9-4EAD-4DA7-8F47-3A88B523CC34 template <> inline constexpr guid guid_v{ 0x276B16A9,0x64E7,0x4AB0,{ 0xBC,0x4B,0xA0,0x2D,0x73,0x83,0x5B,0xFB } }; // 276B16A9-64E7-4AB0-BC4B-A02D73835BFB template <> inline constexpr guid guid_v{ 0xBF6608AF,0x4041,0x47C3,{ 0xB2,0x63,0xA9,0x18,0xEB,0x5E,0xAE,0xF2 } }; // BF6608AF-4041-47C3-B263-A918EB5EAEF2 template <> inline constexpr guid guid_v{ 0xB1867DBB,0x083B,0x49E1,{ 0xB2,0x81,0x2B,0x35,0xD6,0x2B,0xF4,0x66 } }; // B1867DBB-083B-49E1-B281-2B35D62BF466 template <> inline constexpr guid guid_v{ 0x7310BD33,0xB4A8,0x43B1,{ 0xB3,0x7B,0x07,0x24,0xD4,0xAC,0xA7,0xAB } }; // 7310BD33-B4A8-43B1-B37B-0724D4ACA7AB template <> inline constexpr guid guid_v{ 0xE972C974,0x4436,0x4917,{ 0x80,0xD0,0xA5,0x25,0xE4,0xCA,0x67,0x80 } }; // E972C974-4436-4917-80D0-A525E4CA6780 template <> inline constexpr guid guid_v{ 0x2555A8CC,0x51FD,0x4F03,{ 0x98,0xBF,0xAC,0x78,0x17,0x4D,0x68,0xE0 } }; // 2555A8CC-51FD-4F03-98BF-AC78174D68E0 template <> inline constexpr guid guid_v{ 0x676DE624,0xCD3D,0x4BCD,{ 0xBF,0x01,0x7F,0x71,0x10,0x95,0x45,0x11 } }; // 676DE624-CD3D-4BCD-BF01-7F7110954511 template <> inline constexpr guid guid_v{ 0xB1DC6AE0,0x9A7B,0x4E9E,{ 0xA5,0x66,0x4A,0x6B,0x5F,0x8A,0xD6,0x76 } }; // B1DC6AE0-9A7B-4E9E-A566-4A6B5F8AD676 template <> inline constexpr guid guid_v{ 0xF0A70403,0x208B,0x4301,{ 0x88,0x3C,0x74,0xCA,0x74,0x85,0xFD,0x8D } }; // F0A70403-208B-4301-883C-74CA7485FD8D template <> inline constexpr guid guid_v{ 0x13C6682B,0xF614,0x421A,{ 0x8F,0x4B,0x9E,0xC8,0xA5,0xA3,0x7F,0xCD } }; // 13C6682B-F614-421A-8F4B-9EC8A5A37FCD template <> inline constexpr guid guid_v{ 0xD445839F,0xFE7F,0x4BD5,{ 0x8A,0x26,0x09,0x22,0xC1,0xB3,0xE6,0x39 } }; // D445839F-FE7F-4BD5-8A26-0922C1B3E639 template <> inline constexpr guid guid_v{ 0xC2507D83,0x6E0A,0x4A8A,{ 0xBD,0xF8,0x19,0x48,0x87,0x48,0x54,0xBA } }; // C2507D83-6E0A-4A8A-BDF8-1948874854BA template <> inline constexpr guid guid_v{ 0x1520A388,0xE2CF,0x4D65,{ 0xAE,0xB9,0xB3,0x2D,0x86,0xFE,0x39,0xB9 } }; // 1520A388-E2CF-4D65-AEB9-B32D86FE39B9 template <> inline constexpr guid guid_v{ 0x91859A46,0xECCF,0x47A4,{ 0x8A,0xE7,0x09,0x8A,0x9C,0x6F,0xBB,0x15 } }; // 91859A46-ECCF-47A4-8AE7-098A9C6FBB15 template <> inline constexpr guid guid_v{ 0x50D950A9,0xF51E,0x4CC1,{ 0x8C,0xA1,0xE6,0x34,0x6D,0x1A,0x61,0xBE } }; // 50D950A9-F51E-4CC1-8CA1-E6346D1A61BE template <> inline constexpr guid guid_v{ 0xF096A2D0,0x41C6,0x4C02,{ 0x8B,0x1A,0xD9,0x53,0xB0,0x0C,0xAB,0xB3 } }; // F096A2D0-41C6-4C02-8B1A-D953B00CABB3 template <> inline constexpr guid guid_v{ 0xEEA7918D,0xCC2B,0x4F03,{ 0x8F,0xF6,0x02,0xFD,0x21,0x7D,0xB4,0x50 } }; // EEA7918D-CC2B-4F03-8FF6-02FD217DB450 template <> struct default_interface{ using type = winrt::Windows::UI::Text::Core::ICoreTextCompositionCompletedEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::UI::Text::Core::ICoreTextCompositionSegment; }; template <> struct default_interface{ using type = winrt::Windows::UI::Text::Core::ICoreTextCompositionStartedEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::UI::Text::Core::ICoreTextEditContext; }; template <> struct default_interface{ using type = winrt::Windows::UI::Text::Core::ICoreTextFormatUpdatingEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::UI::Text::Core::ICoreTextLayoutBounds; }; template <> struct default_interface{ using type = winrt::Windows::UI::Text::Core::ICoreTextLayoutRequest; }; template <> struct default_interface{ using type = winrt::Windows::UI::Text::Core::ICoreTextLayoutRequestedEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::UI::Text::Core::ICoreTextSelectionRequest; }; template <> struct default_interface{ using type = winrt::Windows::UI::Text::Core::ICoreTextSelectionRequestedEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::UI::Text::Core::ICoreTextSelectionUpdatingEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::UI::Text::Core::ICoreTextServicesManager; }; template <> struct default_interface{ using type = winrt::Windows::UI::Text::Core::ICoreTextTextRequest; }; template <> struct default_interface{ using type = winrt::Windows::UI::Text::Core::ICoreTextTextRequestedEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::UI::Text::Core::ICoreTextTextUpdatingEventArgs; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_IsCanceled(bool*) noexcept = 0; virtual int32_t __stdcall get_CompositionSegments(void**) noexcept = 0; virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_PreconversionString(void**) noexcept = 0; virtual int32_t __stdcall get_Range(struct struct_Windows_UI_Text_Core_CoreTextRange*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_IsCanceled(bool*) noexcept = 0; virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Name(void**) noexcept = 0; virtual int32_t __stdcall put_Name(void*) noexcept = 0; virtual int32_t __stdcall get_InputScope(int32_t*) noexcept = 0; virtual int32_t __stdcall put_InputScope(int32_t) noexcept = 0; virtual int32_t __stdcall get_IsReadOnly(bool*) noexcept = 0; virtual int32_t __stdcall put_IsReadOnly(bool) noexcept = 0; virtual int32_t __stdcall get_InputPaneDisplayPolicy(int32_t*) noexcept = 0; virtual int32_t __stdcall put_InputPaneDisplayPolicy(int32_t) noexcept = 0; virtual int32_t __stdcall add_TextRequested(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_TextRequested(winrt::event_token) noexcept = 0; virtual int32_t __stdcall add_SelectionRequested(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_SelectionRequested(winrt::event_token) noexcept = 0; virtual int32_t __stdcall add_LayoutRequested(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_LayoutRequested(winrt::event_token) noexcept = 0; virtual int32_t __stdcall add_TextUpdating(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_TextUpdating(winrt::event_token) noexcept = 0; virtual int32_t __stdcall add_SelectionUpdating(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_SelectionUpdating(winrt::event_token) noexcept = 0; virtual int32_t __stdcall add_FormatUpdating(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_FormatUpdating(winrt::event_token) noexcept = 0; virtual int32_t __stdcall add_CompositionStarted(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_CompositionStarted(winrt::event_token) noexcept = 0; virtual int32_t __stdcall add_CompositionCompleted(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_CompositionCompleted(winrt::event_token) noexcept = 0; virtual int32_t __stdcall add_FocusRemoved(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_FocusRemoved(winrt::event_token) noexcept = 0; virtual int32_t __stdcall NotifyFocusEnter() noexcept = 0; virtual int32_t __stdcall NotifyFocusLeave() noexcept = 0; virtual int32_t __stdcall NotifyTextChanged(struct struct_Windows_UI_Text_Core_CoreTextRange, int32_t, struct struct_Windows_UI_Text_Core_CoreTextRange) noexcept = 0; virtual int32_t __stdcall NotifySelectionChanged(struct struct_Windows_UI_Text_Core_CoreTextRange) noexcept = 0; virtual int32_t __stdcall NotifyLayoutChanged() noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall add_NotifyFocusLeaveCompleted(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_NotifyFocusLeaveCompleted(winrt::event_token) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Range(struct struct_Windows_UI_Text_Core_CoreTextRange*) noexcept = 0; virtual int32_t __stdcall get_TextColor(void**) noexcept = 0; virtual int32_t __stdcall get_BackgroundColor(void**) noexcept = 0; virtual int32_t __stdcall get_UnderlineColor(void**) noexcept = 0; virtual int32_t __stdcall get_UnderlineType(void**) noexcept = 0; virtual int32_t __stdcall get_Reason(int32_t*) noexcept = 0; virtual int32_t __stdcall get_Result(int32_t*) noexcept = 0; virtual int32_t __stdcall put_Result(int32_t) noexcept = 0; virtual int32_t __stdcall get_IsCanceled(bool*) noexcept = 0; virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_TextBounds(winrt::Windows::Foundation::Rect*) noexcept = 0; virtual int32_t __stdcall put_TextBounds(winrt::Windows::Foundation::Rect) noexcept = 0; virtual int32_t __stdcall get_ControlBounds(winrt::Windows::Foundation::Rect*) noexcept = 0; virtual int32_t __stdcall put_ControlBounds(winrt::Windows::Foundation::Rect) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Range(struct struct_Windows_UI_Text_Core_CoreTextRange*) noexcept = 0; virtual int32_t __stdcall get_LayoutBounds(void**) noexcept = 0; virtual int32_t __stdcall get_IsCanceled(bool*) noexcept = 0; virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_LayoutBoundsVisualPixels(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Request(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Selection(struct struct_Windows_UI_Text_Core_CoreTextRange*) noexcept = 0; virtual int32_t __stdcall put_Selection(struct struct_Windows_UI_Text_Core_CoreTextRange) noexcept = 0; virtual int32_t __stdcall get_IsCanceled(bool*) noexcept = 0; virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Request(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Selection(struct struct_Windows_UI_Text_Core_CoreTextRange*) noexcept = 0; virtual int32_t __stdcall get_Result(int32_t*) noexcept = 0; virtual int32_t __stdcall put_Result(int32_t) noexcept = 0; virtual int32_t __stdcall get_IsCanceled(bool*) noexcept = 0; virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_InputLanguage(void**) noexcept = 0; virtual int32_t __stdcall add_InputLanguageChanged(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_InputLanguageChanged(winrt::event_token) noexcept = 0; virtual int32_t __stdcall CreateEditContext(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall GetForCurrentView(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_HiddenCharacter(char16_t*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Range(struct struct_Windows_UI_Text_Core_CoreTextRange*) noexcept = 0; virtual int32_t __stdcall get_Text(void**) noexcept = 0; virtual int32_t __stdcall put_Text(void*) noexcept = 0; virtual int32_t __stdcall get_IsCanceled(bool*) noexcept = 0; virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Request(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Range(struct struct_Windows_UI_Text_Core_CoreTextRange*) noexcept = 0; virtual int32_t __stdcall get_Text(void**) noexcept = 0; virtual int32_t __stdcall get_NewSelection(struct struct_Windows_UI_Text_Core_CoreTextRange*) noexcept = 0; virtual int32_t __stdcall get_InputLanguage(void**) noexcept = 0; virtual int32_t __stdcall get_Result(int32_t*) noexcept = 0; virtual int32_t __stdcall put_Result(int32_t) noexcept = 0; virtual int32_t __stdcall get_IsCanceled(bool*) noexcept = 0; virtual int32_t __stdcall GetDeferral(void**) noexcept = 0; }; }; template struct consume_Windows_UI_Text_Core_ICoreTextCompositionCompletedEventArgs { [[nodiscard]] auto IsCanceled() const; [[nodiscard]] auto CompositionSegments() const; auto GetDeferral() const; }; template <> struct consume { template using type = consume_Windows_UI_Text_Core_ICoreTextCompositionCompletedEventArgs; }; template struct consume_Windows_UI_Text_Core_ICoreTextCompositionSegment { [[nodiscard]] auto PreconversionString() const; [[nodiscard]] auto Range() const; }; template <> struct consume { template using type = consume_Windows_UI_Text_Core_ICoreTextCompositionSegment; }; template struct consume_Windows_UI_Text_Core_ICoreTextCompositionStartedEventArgs { [[nodiscard]] auto IsCanceled() const; auto GetDeferral() const; }; template <> struct consume { template using type = consume_Windows_UI_Text_Core_ICoreTextCompositionStartedEventArgs; }; template struct consume_Windows_UI_Text_Core_ICoreTextEditContext { [[nodiscard]] auto Name() const; auto Name(param::hstring const& value) const; [[nodiscard]] auto InputScope() const; auto InputScope(winrt::Windows::UI::Text::Core::CoreTextInputScope const& value) const; [[nodiscard]] auto IsReadOnly() const; auto IsReadOnly(bool value) const; [[nodiscard]] auto InputPaneDisplayPolicy() const; auto InputPaneDisplayPolicy(winrt::Windows::UI::Text::Core::CoreTextInputPaneDisplayPolicy const& value) const; auto TextRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TextRequested_revoker = impl::event_revoker::remove_TextRequested>; [[nodiscard]] auto TextRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; auto TextRequested(winrt::event_token const& cookie) const noexcept; auto SelectionRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SelectionRequested_revoker = impl::event_revoker::remove_SelectionRequested>; [[nodiscard]] auto SelectionRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; auto SelectionRequested(winrt::event_token const& cookie) const noexcept; auto LayoutRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using LayoutRequested_revoker = impl::event_revoker::remove_LayoutRequested>; [[nodiscard]] auto LayoutRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; auto LayoutRequested(winrt::event_token const& cookie) const noexcept; auto TextUpdating(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using TextUpdating_revoker = impl::event_revoker::remove_TextUpdating>; [[nodiscard]] auto TextUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; auto TextUpdating(winrt::event_token const& cookie) const noexcept; auto SelectionUpdating(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using SelectionUpdating_revoker = impl::event_revoker::remove_SelectionUpdating>; [[nodiscard]] auto SelectionUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; auto SelectionUpdating(winrt::event_token const& cookie) const noexcept; auto FormatUpdating(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using FormatUpdating_revoker = impl::event_revoker::remove_FormatUpdating>; [[nodiscard]] auto FormatUpdating(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; auto FormatUpdating(winrt::event_token const& cookie) const noexcept; auto CompositionStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CompositionStarted_revoker = impl::event_revoker::remove_CompositionStarted>; [[nodiscard]] auto CompositionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; auto CompositionStarted(winrt::event_token const& cookie) const noexcept; auto CompositionCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using CompositionCompleted_revoker = impl::event_revoker::remove_CompositionCompleted>; [[nodiscard]] auto CompositionCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; auto CompositionCompleted(winrt::event_token const& cookie) const noexcept; auto FocusRemoved(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using FocusRemoved_revoker = impl::event_revoker::remove_FocusRemoved>; [[nodiscard]] auto FocusRemoved(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; auto FocusRemoved(winrt::event_token const& cookie) const noexcept; auto NotifyFocusEnter() const; auto NotifyFocusLeave() const; auto NotifyTextChanged(winrt::Windows::UI::Text::Core::CoreTextRange const& modifiedRange, int32_t newLength, winrt::Windows::UI::Text::Core::CoreTextRange const& newSelection) const; auto NotifySelectionChanged(winrt::Windows::UI::Text::Core::CoreTextRange const& selection) const; auto NotifyLayoutChanged() const; }; template <> struct consume { template using type = consume_Windows_UI_Text_Core_ICoreTextEditContext; }; template struct consume_Windows_UI_Text_Core_ICoreTextEditContext2 { auto NotifyFocusLeaveCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using NotifyFocusLeaveCompleted_revoker = impl::event_revoker::remove_NotifyFocusLeaveCompleted>; [[nodiscard]] auto NotifyFocusLeaveCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; auto NotifyFocusLeaveCompleted(winrt::event_token const& cookie) const noexcept; }; template <> struct consume { template using type = consume_Windows_UI_Text_Core_ICoreTextEditContext2; }; template struct consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs { [[nodiscard]] auto Range() const; [[nodiscard]] auto TextColor() const; [[nodiscard]] auto BackgroundColor() const; [[nodiscard]] auto UnderlineColor() const; [[nodiscard]] auto UnderlineType() const; [[nodiscard]] auto Reason() const; [[nodiscard]] auto Result() const; auto Result(winrt::Windows::UI::Text::Core::CoreTextFormatUpdatingResult const& value) const; [[nodiscard]] auto IsCanceled() const; auto GetDeferral() const; }; template <> struct consume { template using type = consume_Windows_UI_Text_Core_ICoreTextFormatUpdatingEventArgs; }; template struct consume_Windows_UI_Text_Core_ICoreTextLayoutBounds { [[nodiscard]] auto TextBounds() const; auto TextBounds(winrt::Windows::Foundation::Rect const& value) const; [[nodiscard]] auto ControlBounds() const; auto ControlBounds(winrt::Windows::Foundation::Rect const& value) const; }; template <> struct consume { template using type = consume_Windows_UI_Text_Core_ICoreTextLayoutBounds; }; template struct consume_Windows_UI_Text_Core_ICoreTextLayoutRequest { [[nodiscard]] auto Range() const; [[nodiscard]] auto LayoutBounds() const; [[nodiscard]] auto IsCanceled() const; auto GetDeferral() const; }; template <> struct consume { template using type = consume_Windows_UI_Text_Core_ICoreTextLayoutRequest; }; template struct consume_Windows_UI_Text_Core_ICoreTextLayoutRequest2 { [[nodiscard]] auto LayoutBoundsVisualPixels() const; }; template <> struct consume { template using type = consume_Windows_UI_Text_Core_ICoreTextLayoutRequest2; }; template struct consume_Windows_UI_Text_Core_ICoreTextLayoutRequestedEventArgs { [[nodiscard]] auto Request() const; }; template <> struct consume { template using type = consume_Windows_UI_Text_Core_ICoreTextLayoutRequestedEventArgs; }; template struct consume_Windows_UI_Text_Core_ICoreTextSelectionRequest { [[nodiscard]] auto Selection() const; auto Selection(winrt::Windows::UI::Text::Core::CoreTextRange const& value) const; [[nodiscard]] auto IsCanceled() const; auto GetDeferral() const; }; template <> struct consume { template using type = consume_Windows_UI_Text_Core_ICoreTextSelectionRequest; }; template struct consume_Windows_UI_Text_Core_ICoreTextSelectionRequestedEventArgs { [[nodiscard]] auto Request() const; }; template <> struct consume { template using type = consume_Windows_UI_Text_Core_ICoreTextSelectionRequestedEventArgs; }; template struct consume_Windows_UI_Text_Core_ICoreTextSelectionUpdatingEventArgs { [[nodiscard]] auto Selection() const; [[nodiscard]] auto Result() const; auto Result(winrt::Windows::UI::Text::Core::CoreTextSelectionUpdatingResult const& value) const; [[nodiscard]] auto IsCanceled() const; auto GetDeferral() const; }; template <> struct consume { template using type = consume_Windows_UI_Text_Core_ICoreTextSelectionUpdatingEventArgs; }; template struct consume_Windows_UI_Text_Core_ICoreTextServicesManager { [[nodiscard]] auto InputLanguage() const; auto InputLanguageChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using InputLanguageChanged_revoker = impl::event_revoker::remove_InputLanguageChanged>; [[nodiscard]] auto InputLanguageChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; auto InputLanguageChanged(winrt::event_token const& cookie) const noexcept; auto CreateEditContext() const; }; template <> struct consume { template using type = consume_Windows_UI_Text_Core_ICoreTextServicesManager; }; template struct consume_Windows_UI_Text_Core_ICoreTextServicesManagerStatics { auto GetForCurrentView() const; }; template <> struct consume { template using type = consume_Windows_UI_Text_Core_ICoreTextServicesManagerStatics; }; template struct consume_Windows_UI_Text_Core_ICoreTextServicesStatics { [[nodiscard]] auto HiddenCharacter() const; }; template <> struct consume { template using type = consume_Windows_UI_Text_Core_ICoreTextServicesStatics; }; template struct consume_Windows_UI_Text_Core_ICoreTextTextRequest { [[nodiscard]] auto Range() const; [[nodiscard]] auto Text() const; auto Text(param::hstring const& value) const; [[nodiscard]] auto IsCanceled() const; auto GetDeferral() const; }; template <> struct consume { template using type = consume_Windows_UI_Text_Core_ICoreTextTextRequest; }; template struct consume_Windows_UI_Text_Core_ICoreTextTextRequestedEventArgs { [[nodiscard]] auto Request() const; }; template <> struct consume { template using type = consume_Windows_UI_Text_Core_ICoreTextTextRequestedEventArgs; }; template struct consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs { [[nodiscard]] auto Range() const; [[nodiscard]] auto Text() const; [[nodiscard]] auto NewSelection() const; [[nodiscard]] auto InputLanguage() const; [[nodiscard]] auto Result() const; auto Result(winrt::Windows::UI::Text::Core::CoreTextTextUpdatingResult const& value) const; [[nodiscard]] auto IsCanceled() const; auto GetDeferral() const; }; template <> struct consume { template using type = consume_Windows_UI_Text_Core_ICoreTextTextUpdatingEventArgs; }; struct struct_Windows_UI_Text_Core_CoreTextRange { int32_t StartCaretPosition; int32_t EndCaretPosition; }; template <> struct abi { using type = struct_Windows_UI_Text_Core_CoreTextRange; }; } #endif