// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.250303.1 #pragma once #ifndef WINRT_Windows_Phone_UI_Input_0_H #define WINRT_Windows_Phone_UI_Input_0_H WINRT_EXPORT namespace winrt::Windows::Foundation { template struct WINRT_IMPL_EMPTY_BASES EventHandler; struct EventRegistrationToken; } WINRT_EXPORT namespace winrt::Windows::Phone::UI::Input { struct IBackPressedEventArgs; struct ICameraEventArgs; struct IHardwareButtonsStatics; struct IHardwareButtonsStatics2; struct BackPressedEventArgs; struct CameraEventArgs; struct HardwareButtons; } 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 = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> inline constexpr auto& name_v = L"Windows.Phone.UI.Input.BackPressedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Phone.UI.Input.CameraEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Phone.UI.Input.HardwareButtons"; template <> inline constexpr auto& name_v = L"Windows.Phone.UI.Input.IBackPressedEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Phone.UI.Input.ICameraEventArgs"; template <> inline constexpr auto& name_v = L"Windows.Phone.UI.Input.IHardwareButtonsStatics"; template <> inline constexpr auto& name_v = L"Windows.Phone.UI.Input.IHardwareButtonsStatics2"; template <> inline constexpr guid guid_v{ 0xF6F555FF,0x64EC,0x42A2,{ 0xB9,0x3B,0x2F,0xBC,0x0C,0x36,0xA1,0x21 } }; // F6F555FF-64EC-42A2-B93B-2FBC0C36A121 template <> inline constexpr guid guid_v{ 0xB4063BDA,0x201F,0x473D,{ 0xBC,0x69,0xE9,0xE4,0xAC,0x57,0xC9,0xD0 } }; // B4063BDA-201F-473D-BC69-E9E4AC57C9D0 template <> inline constexpr guid guid_v{ 0x594B8780,0xDA66,0x4FD8,{ 0xA7,0x76,0x75,0x06,0xBD,0x0C,0xBF,0xA7 } }; // 594B8780-DA66-4FD8-A776-7506BD0CBFA7 template <> inline constexpr guid guid_v{ 0x39C6C274,0x993F,0x40DD,{ 0x85,0x4C,0x83,0x1A,0x89,0x34,0xB9,0x2E } }; // 39C6C274-993F-40DD-854C-831A8934B92E template <> struct default_interface{ using type = winrt::Windows::Phone::UI::Input::IBackPressedEventArgs; }; template <> struct default_interface{ using type = winrt::Windows::Phone::UI::Input::ICameraEventArgs; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Handled(bool*) noexcept = 0; virtual int32_t __stdcall put_Handled(bool) 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 add_BackPressed(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_BackPressed(winrt::event_token) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall add_CameraHalfPressed(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_CameraHalfPressed(winrt::event_token) noexcept = 0; virtual int32_t __stdcall add_CameraPressed(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_CameraPressed(winrt::event_token) noexcept = 0; virtual int32_t __stdcall add_CameraReleased(void*, winrt::event_token*) noexcept = 0; virtual int32_t __stdcall remove_CameraReleased(winrt::event_token) noexcept = 0; }; }; template struct consume_Windows_Phone_UI_Input_IBackPressedEventArgs { [[nodiscard]] auto Handled() const; auto Handled(bool value) const; }; template <> struct consume { template using type = consume_Windows_Phone_UI_Input_IBackPressedEventArgs; }; template struct consume_Windows_Phone_UI_Input_ICameraEventArgs { }; template <> struct consume { template using type = consume_Windows_Phone_UI_Input_ICameraEventArgs; }; template struct consume_Windows_Phone_UI_Input_IHardwareButtonsStatics { auto BackPressed(winrt::Windows::Foundation::EventHandler const& handler) const; using BackPressed_revoker = impl::event_revoker::remove_BackPressed>; [[nodiscard]] auto BackPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; auto BackPressed(winrt::event_token const& token) const noexcept; }; template <> struct consume { template using type = consume_Windows_Phone_UI_Input_IHardwareButtonsStatics; }; template struct consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2 { auto CameraHalfPressed(winrt::Windows::Foundation::EventHandler const& handler) const; using CameraHalfPressed_revoker = impl::event_revoker::remove_CameraHalfPressed>; [[nodiscard]] auto CameraHalfPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; auto CameraHalfPressed(winrt::event_token const& token) const noexcept; auto CameraPressed(winrt::Windows::Foundation::EventHandler const& handler) const; using CameraPressed_revoker = impl::event_revoker::remove_CameraPressed>; [[nodiscard]] auto CameraPressed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; auto CameraPressed(winrt::event_token const& token) const noexcept; auto CameraReleased(winrt::Windows::Foundation::EventHandler const& handler) const; using CameraReleased_revoker = impl::event_revoker::remove_CameraReleased>; [[nodiscard]] auto CameraReleased(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const; auto CameraReleased(winrt::event_token const& token) const noexcept; }; template <> struct consume { template using type = consume_Windows_Phone_UI_Input_IHardwareButtonsStatics2; }; } #endif