// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #pragma once #ifndef WINRT_Windows_UI_Accessibility_0_H #define WINRT_Windows_UI_Accessibility_0_H WINRT_EXPORT namespace winrt::Windows::Foundation { struct EventRegistrationToken; struct Rect; template struct WINRT_IMPL_EMPTY_BASES TypedEventHandler; } WINRT_EXPORT namespace winrt::Windows::UI::Accessibility { struct IScreenReaderPositionChangedEventArgs; struct IScreenReaderService; struct ScreenReaderPositionChangedEventArgs; struct ScreenReaderService; } namespace winrt::impl { 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 <> inline constexpr auto& name_v = L"Windows.UI.Accessibility.ScreenReaderPositionChangedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.Accessibility.ScreenReaderService"; template <> inline constexpr auto& name_v = L"Windows.UI.Accessibility.IScreenReaderPositionChangedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.UI.Accessibility.IScreenReaderService"; template <> inline constexpr guid guid_v{ 0x557EB5E5,0x54D0,0x5CCD,{ 0x9F,0xC5,0xED,0x33,0x35,0x7F,0x8A,0x9F } }; // 557EB5E5-54D0-5CCD-9FC5-ED33357F8A9F template <> inline constexpr guid guid_v{ 0x19475427,0xEAC0,0x50D3,{ 0xBD,0xD9,0x9B,0x48,0x7A,0x22,0x62,0x56 } }; // 19475427-EAC0-50D3-BDD9-9B487A226256 template <> struct default_interface{ using type = winrt::Windows::UI::Accessibility::IScreenReaderPositionChangedEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::UI::Accessibility::IScreenReaderService; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_ScreenPositionInRawPixels(winrt::Windows::Foundation::Rect*) noexcept = 0; virtual int32_t __stdcall get_IsReadingText(bool*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_CurrentScreenReaderPosition(void**) noexcept = 0; virtual int32_t __stdcall add_ScreenReaderPositionChanged(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_ScreenReaderPositionChanged(winrt::event_token) noexcept = 0; }; }; template struct consume_Windows_UI_Accessibility_IScreenReaderPositionChangedEventArgs { [[nodiscard]] auto ScreenPositionInRawPixels() const; [[nodiscard]] auto IsReadingText() const; }; template <> struct consume { template using type = consume_Windows_UI_Accessibility_IScreenReaderPositionChangedEventArgs; }; template struct consume_Windows_UI_Accessibility_IScreenReaderService { [[nodiscard]] auto CurrentScreenReaderPosition() const; auto ScreenReaderPositionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const; using ScreenReaderPositionChanged_revoker = impl::event_revoker::remove_ScreenReaderPositionChanged>; [[nodiscard]] auto ScreenReaderPositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const; auto ScreenReaderPositionChanged(winrt::event_token const& token) const noexcept; }; template <> struct consume { template using type = consume_Windows_UI_Accessibility_IScreenReaderService; }; } #endif