// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #pragma once #ifndef WINRT_Windows_UI_Xaml_Input_H #define WINRT_Windows_UI_Xaml_Input_H #include "winrt/base.h" static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.240405.15"), "Mismatched C++/WinRT headers."); #define CPPWINRT_VERSION "2.0.240405.15" #include "winrt/Windows.UI.Xaml.h" #include "winrt/impl/Windows.Devices.Input.2.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.System.2.h" #include "winrt/impl/Windows.UI.Core.2.h" #include "winrt/impl/Windows.UI.Input.2.h" #include "winrt/impl/Windows.UI.Xaml.2.h" #include "winrt/impl/Windows.UI.Xaml.Controls.2.h" #include "winrt/impl/Windows.UI.Xaml.Input.2.h" namespace winrt::impl { template auto consume_Windows_UI_Xaml_Input_IAccessKeyDisplayRequestedEventArgs::PressedKeys() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IAccessKeyDisplayRequestedEventArgs)->get_PressedKeys(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IAccessKeyInvokedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IAccessKeyInvokedEventArgs)->get_Handled(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_IAccessKeyInvokedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IAccessKeyInvokedEventArgs)->put_Handled(value)); } template auto consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics::IsDisplayModeEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IAccessKeyManagerStatics)->get_IsDisplayModeEnabled(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics::IsDisplayModeEnabledChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IAccessKeyManagerStatics)->add_IsDisplayModeEnabledChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics::IsDisplayModeEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, IsDisplayModeEnabledChanged(handler)); } template auto consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics::IsDisplayModeEnabledChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IAccessKeyManagerStatics)->remove_IsDisplayModeEnabledChanged(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics::ExitDisplayMode() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IAccessKeyManagerStatics)->ExitDisplayMode()); } template auto consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics2::AreKeyTipsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IAccessKeyManagerStatics2)->get_AreKeyTipsEnabled(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_IAccessKeyManagerStatics2::AreKeyTipsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IAccessKeyManagerStatics2)->put_AreKeyTipsEnabled(value)); } template auto consume_Windows_UI_Xaml_Input_ICanExecuteRequestedEventArgs::Parameter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ICanExecuteRequestedEventArgs)->get_Parameter(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_ICanExecuteRequestedEventArgs::CanExecute() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ICanExecuteRequestedEventArgs)->get_CanExecute(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_ICanExecuteRequestedEventArgs::CanExecute(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ICanExecuteRequestedEventArgs)->put_CanExecute(value)); } template auto consume_Windows_UI_Xaml_Input_ICharacterReceivedRoutedEventArgs::Character() const { char16_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ICharacterReceivedRoutedEventArgs)->get_Character(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_ICharacterReceivedRoutedEventArgs::KeyStatus() const { winrt::Windows::UI::Core::CorePhysicalKeyStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ICharacterReceivedRoutedEventArgs)->get_KeyStatus(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Input_ICharacterReceivedRoutedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ICharacterReceivedRoutedEventArgs)->get_Handled(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_ICharacterReceivedRoutedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ICharacterReceivedRoutedEventArgs)->put_Handled(value)); } template auto consume_Windows_UI_Xaml_Input_ICommand::CanExecuteChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ICommand)->add_CanExecuteChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Input_ICommand::CanExecuteChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, CanExecuteChanged(handler)); } template auto consume_Windows_UI_Xaml_Input_ICommand::CanExecuteChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ICommand)->remove_CanExecuteChanged(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Input_ICommand::CanExecute(winrt::Windows::Foundation::IInspectable const& parameter) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ICommand)->CanExecute(*(void**)(¶meter), &result)); return result; } template auto consume_Windows_UI_Xaml_Input_ICommand::Execute(winrt::Windows::Foundation::IInspectable const& parameter) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ICommand)->Execute(*(void**)(¶meter))); } template auto consume_Windows_UI_Xaml_Input_IContextRequestedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IContextRequestedEventArgs)->get_Handled(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_IContextRequestedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IContextRequestedEventArgs)->put_Handled(value)); } template auto consume_Windows_UI_Xaml_Input_IContextRequestedEventArgs::TryGetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo, winrt::Windows::Foundation::Point& point) const { bool returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IContextRequestedEventArgs)->TryGetPosition(*(void**)(&relativeTo), impl::bind_out(point), &returnValue)); return returnValue; } template auto consume_Windows_UI_Xaml_Input_IDoubleTappedRoutedEventArgs::PointerDeviceType() const { winrt::Windows::Devices::Input::PointerDeviceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IDoubleTappedRoutedEventArgs)->get_PointerDeviceType(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Input_IDoubleTappedRoutedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IDoubleTappedRoutedEventArgs)->get_Handled(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_IDoubleTappedRoutedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IDoubleTappedRoutedEventArgs)->put_Handled(value)); } template auto consume_Windows_UI_Xaml_Input_IDoubleTappedRoutedEventArgs::GetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const { winrt::Windows::Foundation::Point result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IDoubleTappedRoutedEventArgs)->GetPosition(*(void**)(&relativeTo), put_abi(result))); return result; } template auto consume_Windows_UI_Xaml_Input_IExecuteRequestedEventArgs::Parameter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IExecuteRequestedEventArgs)->get_Parameter(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IFindNextElementOptions::SearchRoot() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFindNextElementOptions)->get_SearchRoot(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IFindNextElementOptions::SearchRoot(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFindNextElementOptions)->put_SearchRoot(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Input_IFindNextElementOptions::ExclusionRect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFindNextElementOptions)->get_ExclusionRect(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Input_IFindNextElementOptions::ExclusionRect(winrt::Windows::Foundation::Rect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFindNextElementOptions)->put_ExclusionRect(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Input_IFindNextElementOptions::HintRect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFindNextElementOptions)->get_HintRect(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Input_IFindNextElementOptions::HintRect(winrt::Windows::Foundation::Rect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFindNextElementOptions)->put_HintRect(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Input_IFindNextElementOptions::XYFocusNavigationStrategyOverride() const { winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategyOverride value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFindNextElementOptions)->get_XYFocusNavigationStrategyOverride(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Input_IFindNextElementOptions::XYFocusNavigationStrategyOverride(winrt::Windows::UI::Xaml::Input::XYFocusNavigationStrategyOverride const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFindNextElementOptions)->put_XYFocusNavigationStrategyOverride(static_cast(value))); } template auto consume_Windows_UI_Xaml_Input_IFocusManagerGotFocusEventArgs::NewFocusedElement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerGotFocusEventArgs)->get_NewFocusedElement(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IFocusManagerGotFocusEventArgs::CorrelationId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerGotFocusEventArgs)->get_CorrelationId(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Input_IFocusManagerLostFocusEventArgs::OldFocusedElement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerLostFocusEventArgs)->get_OldFocusedElement(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IFocusManagerLostFocusEventArgs::CorrelationId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerLostFocusEventArgs)->get_CorrelationId(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics::GetFocusedElement() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics)->GetFocusedElement(&result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics2::TryMoveFocus(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics2)->TryMoveFocus(static_cast(focusNavigationDirection), &result)); return result; } template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics3::FindNextFocusableElement(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics3)->FindNextFocusableElement(static_cast(focusNavigationDirection), &result)); return winrt::Windows::UI::Xaml::UIElement{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics3::FindNextFocusableElement(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection, winrt::Windows::Foundation::Rect const& hintRect) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics3)->FindNextFocusableElementWithHint(static_cast(focusNavigationDirection), impl::bind_in(hintRect), &result)); return winrt::Windows::UI::Xaml::UIElement{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics4::TryMoveFocus(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection, winrt::Windows::UI::Xaml::Input::FindNextElementOptions const& focusNavigationOptions) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics4)->TryMoveFocusWithOptions(static_cast(focusNavigationDirection), *(void**)(&focusNavigationOptions), &result)); return result; } template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics4::FindNextElement(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics4)->FindNextElement(static_cast(focusNavigationDirection), &result)); return winrt::Windows::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics4::FindFirstFocusableElement(winrt::Windows::UI::Xaml::DependencyObject const& searchScope) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics4)->FindFirstFocusableElement(*(void**)(&searchScope), &result)); return winrt::Windows::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics4::FindLastFocusableElement(winrt::Windows::UI::Xaml::DependencyObject const& searchScope) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics4)->FindLastFocusableElement(*(void**)(&searchScope), &result)); return winrt::Windows::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics4::FindNextElement(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection, winrt::Windows::UI::Xaml::Input::FindNextElementOptions const& focusNavigationOptions) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics4)->FindNextElementWithOptions(static_cast(focusNavigationDirection), *(void**)(&focusNavigationOptions), &result)); return winrt::Windows::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics5::TryFocusAsync(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FocusState const& value) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics5)->TryFocusAsync(*(void**)(&element), static_cast(value), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics5::TryMoveFocusAsync(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics5)->TryMoveFocusAsync(static_cast(focusNavigationDirection), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics5::TryMoveFocusAsync(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection, winrt::Windows::UI::Xaml::Input::FindNextElementOptions const& focusNavigationOptions) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics5)->TryMoveFocusWithOptionsAsync(static_cast(focusNavigationDirection), *(void**)(&focusNavigationOptions), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::GotFocus(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6)->add_GotFocus(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::GotFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, GotFocus(handler)); } template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::GotFocus(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6)->remove_GotFocus(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::LostFocus(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6)->add_LostFocus(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::LostFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, LostFocus(handler)); } template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::LostFocus(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6)->remove_LostFocus(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::GettingFocus(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6)->add_GettingFocus(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::GettingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, GettingFocus(handler)); } template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::GettingFocus(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6)->remove_GettingFocus(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::LosingFocus(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6)->add_LosingFocus(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::LosingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, LosingFocus(handler)); } template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics6::LosingFocus(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics6)->remove_LosingFocus(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Input_IFocusManagerStatics7::GetFocusedElement(winrt::Windows::UI::Xaml::XamlRoot const& xamlRoot) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusManagerStatics7)->GetFocusedElement(*(void**)(&xamlRoot), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IFocusMovementResult::Succeeded() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IFocusMovementResult)->get_Succeeded(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs::OldFocusedElement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs)->get_OldFocusedElement(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs::NewFocusedElement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs)->get_NewFocusedElement(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs::NewFocusedElement(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs)->put_NewFocusedElement(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs::FocusState() const { winrt::Windows::UI::Xaml::FocusState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs)->get_FocusState(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs::Direction() const { winrt::Windows::UI::Xaml::Input::FocusNavigationDirection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs)->get_Direction(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs)->get_Handled(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs)->put_Handled(value)); } template auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs::InputDevice() const { winrt::Windows::UI::Xaml::Input::FocusInputDeviceKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs)->get_InputDevice(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs)->get_Cancel(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs)->put_Cancel(value)); } template auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs2::TryCancel() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs2)->TryCancel(&result)); return result; } template auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs2::TrySetNewFocusedElement(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs2)->TrySetNewFocusedElement(*(void**)(&element), &result)); return result; } template auto consume_Windows_UI_Xaml_Input_IGettingFocusEventArgs3::CorrelationId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IGettingFocusEventArgs3)->get_CorrelationId(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Input_IHoldingRoutedEventArgs::PointerDeviceType() const { winrt::Windows::Devices::Input::PointerDeviceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IHoldingRoutedEventArgs)->get_PointerDeviceType(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Input_IHoldingRoutedEventArgs::HoldingState() const { winrt::Windows::UI::Input::HoldingState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IHoldingRoutedEventArgs)->get_HoldingState(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Input_IHoldingRoutedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IHoldingRoutedEventArgs)->get_Handled(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_IHoldingRoutedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IHoldingRoutedEventArgs)->put_Handled(value)); } template auto consume_Windows_UI_Xaml_Input_IHoldingRoutedEventArgs::GetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const { winrt::Windows::Foundation::Point result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IHoldingRoutedEventArgs)->GetPosition(*(void**)(&relativeTo), put_abi(result))); return result; } template auto consume_Windows_UI_Xaml_Input_IInertiaExpansionBehavior::DesiredDeceleration() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaExpansionBehavior)->get_DesiredDeceleration(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_IInertiaExpansionBehavior::DesiredDeceleration(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaExpansionBehavior)->put_DesiredDeceleration(value)); } template auto consume_Windows_UI_Xaml_Input_IInertiaExpansionBehavior::DesiredExpansion() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaExpansionBehavior)->get_DesiredExpansion(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_IInertiaExpansionBehavior::DesiredExpansion(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaExpansionBehavior)->put_DesiredExpansion(value)); } template auto consume_Windows_UI_Xaml_Input_IInertiaRotationBehavior::DesiredDeceleration() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaRotationBehavior)->get_DesiredDeceleration(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_IInertiaRotationBehavior::DesiredDeceleration(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaRotationBehavior)->put_DesiredDeceleration(value)); } template auto consume_Windows_UI_Xaml_Input_IInertiaRotationBehavior::DesiredRotation() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaRotationBehavior)->get_DesiredRotation(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_IInertiaRotationBehavior::DesiredRotation(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaRotationBehavior)->put_DesiredRotation(value)); } template auto consume_Windows_UI_Xaml_Input_IInertiaTranslationBehavior::DesiredDeceleration() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaTranslationBehavior)->get_DesiredDeceleration(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_IInertiaTranslationBehavior::DesiredDeceleration(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaTranslationBehavior)->put_DesiredDeceleration(value)); } template auto consume_Windows_UI_Xaml_Input_IInertiaTranslationBehavior::DesiredDisplacement() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaTranslationBehavior)->get_DesiredDisplacement(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_IInertiaTranslationBehavior::DesiredDisplacement(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInertiaTranslationBehavior)->put_DesiredDisplacement(value)); } template auto consume_Windows_UI_Xaml_Input_IInputScope::Names() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInputScope)->get_Names(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IInputScopeName::NameValue() const { winrt::Windows::UI::Xaml::Input::InputScopeNameValue value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInputScopeName)->get_NameValue(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Input_IInputScopeName::NameValue(winrt::Windows::UI::Xaml::Input::InputScopeNameValue const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInputScopeName)->put_NameValue(static_cast(value))); } template auto consume_Windows_UI_Xaml_Input_IInputScopeNameFactory::CreateInstance(winrt::Windows::UI::Xaml::Input::InputScopeNameValue const& nameValue) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IInputScopeNameFactory)->CreateInstance(static_cast(nameValue), &value)); return winrt::Windows::UI::Xaml::Input::InputScopeName{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs::Key() const { winrt::Windows::System::VirtualKey value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyRoutedEventArgs)->get_Key(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs::KeyStatus() const { winrt::Windows::UI::Core::CorePhysicalKeyStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyRoutedEventArgs)->get_KeyStatus(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyRoutedEventArgs)->get_Handled(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyRoutedEventArgs)->put_Handled(value)); } template auto consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs2::OriginalKey() const { winrt::Windows::System::VirtualKey value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyRoutedEventArgs2)->get_OriginalKey(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Input_IKeyRoutedEventArgs3::DeviceId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyRoutedEventArgs3)->get_DeviceId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IKeyboardAccelerator::Key() const { winrt::Windows::System::VirtualKey value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAccelerator)->get_Key(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Input_IKeyboardAccelerator::Key(winrt::Windows::System::VirtualKey const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAccelerator)->put_Key(static_cast(value))); } template auto consume_Windows_UI_Xaml_Input_IKeyboardAccelerator::Modifiers() const { winrt::Windows::System::VirtualKeyModifiers value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAccelerator)->get_Modifiers(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Input_IKeyboardAccelerator::Modifiers(winrt::Windows::System::VirtualKeyModifiers const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAccelerator)->put_Modifiers(static_cast(value))); } template auto consume_Windows_UI_Xaml_Input_IKeyboardAccelerator::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAccelerator)->get_IsEnabled(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_IKeyboardAccelerator::IsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAccelerator)->put_IsEnabled(value)); } template auto consume_Windows_UI_Xaml_Input_IKeyboardAccelerator::ScopeOwner() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAccelerator)->get_ScopeOwner(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IKeyboardAccelerator::ScopeOwner(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAccelerator)->put_ScopeOwner(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Input_IKeyboardAccelerator::Invoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAccelerator)->add_Invoked(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Input_IKeyboardAccelerator::Invoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Invoked(handler)); } template auto consume_Windows_UI_Xaml_Input_IKeyboardAccelerator::Invoked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAccelerator)->remove_Invoked(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAcceleratorFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Input::KeyboardAccelerator{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorInvokedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAcceleratorInvokedEventArgs)->get_Handled(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorInvokedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAcceleratorInvokedEventArgs)->put_Handled(value)); } template auto consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorInvokedEventArgs::Element() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAcceleratorInvokedEventArgs)->get_Element(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorInvokedEventArgs2::KeyboardAccelerator() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAcceleratorInvokedEventArgs2)->get_KeyboardAccelerator(&value)); return winrt::Windows::UI::Xaml::Input::KeyboardAccelerator{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorStatics::KeyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAcceleratorStatics)->get_KeyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorStatics::ModifiersProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAcceleratorStatics)->get_ModifiersProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorStatics::IsEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAcceleratorStatics)->get_IsEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IKeyboardAcceleratorStatics::ScopeOwnerProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IKeyboardAcceleratorStatics)->get_ScopeOwnerProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs::OldFocusedElement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs)->get_OldFocusedElement(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs::NewFocusedElement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs)->get_NewFocusedElement(&value)); return winrt::Windows::UI::Xaml::DependencyObject{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs::NewFocusedElement(winrt::Windows::UI::Xaml::DependencyObject const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs)->put_NewFocusedElement(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs::FocusState() const { winrt::Windows::UI::Xaml::FocusState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs)->get_FocusState(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs::Direction() const { winrt::Windows::UI::Xaml::Input::FocusNavigationDirection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs)->get_Direction(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs)->get_Handled(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs)->put_Handled(value)); } template auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs::InputDevice() const { winrt::Windows::UI::Xaml::Input::FocusInputDeviceKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs)->get_InputDevice(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs)->get_Cancel(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs)->put_Cancel(value)); } template auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs2::TryCancel() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs2)->TryCancel(&result)); return result; } template auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs2::TrySetNewFocusedElement(winrt::Windows::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs2)->TrySetNewFocusedElement(*(void**)(&element), &result)); return result; } template auto consume_Windows_UI_Xaml_Input_ILosingFocusEventArgs3::CorrelationId() const { winrt::guid value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ILosingFocusEventArgs3)->get_CorrelationId(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs::Container() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationCompletedRoutedEventArgs)->get_Container(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationCompletedRoutedEventArgs)->get_Position(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs::IsInertial() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationCompletedRoutedEventArgs)->get_IsInertial(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs::Cumulative() const { winrt::Windows::UI::Input::ManipulationDelta value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationCompletedRoutedEventArgs)->get_Cumulative(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs::Velocities() const { winrt::Windows::UI::Input::ManipulationVelocities value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationCompletedRoutedEventArgs)->get_Velocities(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationCompletedRoutedEventArgs)->get_Handled(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationCompletedRoutedEventArgs)->put_Handled(value)); } template auto consume_Windows_UI_Xaml_Input_IManipulationCompletedRoutedEventArgs::PointerDeviceType() const { winrt::Windows::Devices::Input::PointerDeviceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationCompletedRoutedEventArgs)->get_PointerDeviceType(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs::Container() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationDeltaRoutedEventArgs)->get_Container(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationDeltaRoutedEventArgs)->get_Position(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs::IsInertial() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationDeltaRoutedEventArgs)->get_IsInertial(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs::Delta() const { winrt::Windows::UI::Input::ManipulationDelta value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationDeltaRoutedEventArgs)->get_Delta(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs::Cumulative() const { winrt::Windows::UI::Input::ManipulationDelta value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationDeltaRoutedEventArgs)->get_Cumulative(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs::Velocities() const { winrt::Windows::UI::Input::ManipulationVelocities value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationDeltaRoutedEventArgs)->get_Velocities(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationDeltaRoutedEventArgs)->get_Handled(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationDeltaRoutedEventArgs)->put_Handled(value)); } template auto consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs::PointerDeviceType() const { winrt::Windows::Devices::Input::PointerDeviceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationDeltaRoutedEventArgs)->get_PointerDeviceType(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Input_IManipulationDeltaRoutedEventArgs::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationDeltaRoutedEventArgs)->Complete()); } template auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::Container() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationInertiaStartingRoutedEventArgs)->get_Container(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::ExpansionBehavior() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationInertiaStartingRoutedEventArgs)->get_ExpansionBehavior(&value)); return winrt::Windows::UI::Xaml::Input::InertiaExpansionBehavior{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::ExpansionBehavior(winrt::Windows::UI::Xaml::Input::InertiaExpansionBehavior const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationInertiaStartingRoutedEventArgs)->put_ExpansionBehavior(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::RotationBehavior() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationInertiaStartingRoutedEventArgs)->get_RotationBehavior(&value)); return winrt::Windows::UI::Xaml::Input::InertiaRotationBehavior{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::RotationBehavior(winrt::Windows::UI::Xaml::Input::InertiaRotationBehavior const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationInertiaStartingRoutedEventArgs)->put_RotationBehavior(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::TranslationBehavior() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationInertiaStartingRoutedEventArgs)->get_TranslationBehavior(&value)); return winrt::Windows::UI::Xaml::Input::InertiaTranslationBehavior{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::TranslationBehavior(winrt::Windows::UI::Xaml::Input::InertiaTranslationBehavior const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationInertiaStartingRoutedEventArgs)->put_TranslationBehavior(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationInertiaStartingRoutedEventArgs)->get_Handled(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationInertiaStartingRoutedEventArgs)->put_Handled(value)); } template auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::PointerDeviceType() const { winrt::Windows::Devices::Input::PointerDeviceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationInertiaStartingRoutedEventArgs)->get_PointerDeviceType(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::Delta() const { winrt::Windows::UI::Input::ManipulationDelta value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationInertiaStartingRoutedEventArgs)->get_Delta(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::Cumulative() const { winrt::Windows::UI::Input::ManipulationDelta value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationInertiaStartingRoutedEventArgs)->get_Cumulative(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Input_IManipulationInertiaStartingRoutedEventArgs::Velocities() const { winrt::Windows::UI::Input::ManipulationVelocities value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationInertiaStartingRoutedEventArgs)->get_Velocities(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Input_IManipulationPivot::Center() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationPivot)->get_Center(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Input_IManipulationPivot::Center(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationPivot)->put_Center(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Input_IManipulationPivot::Radius() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationPivot)->get_Radius(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_IManipulationPivot::Radius(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationPivot)->put_Radius(value)); } template auto consume_Windows_UI_Xaml_Input_IManipulationPivotFactory::CreateInstanceWithCenterAndRadius(winrt::Windows::Foundation::Point const& center, double radius) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationPivotFactory)->CreateInstanceWithCenterAndRadius(impl::bind_in(center), radius, &value)); return winrt::Windows::UI::Xaml::Input::ManipulationPivot{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs::Container() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartedRoutedEventArgs)->get_Container(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartedRoutedEventArgs)->get_Position(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartedRoutedEventArgs)->get_Handled(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartedRoutedEventArgs)->put_Handled(value)); } template auto consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs::PointerDeviceType() const { winrt::Windows::Devices::Input::PointerDeviceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartedRoutedEventArgs)->get_PointerDeviceType(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs::Cumulative() const { winrt::Windows::UI::Input::ManipulationDelta value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartedRoutedEventArgs)->get_Cumulative(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgs::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartedRoutedEventArgs)->Complete()); } template auto consume_Windows_UI_Xaml_Input_IManipulationStartedRoutedEventArgsFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartedRoutedEventArgsFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Input::ManipulationStartedRoutedEventArgs{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs::Mode() const { winrt::Windows::UI::Xaml::Input::ManipulationModes value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartingRoutedEventArgs)->get_Mode(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs::Mode(winrt::Windows::UI::Xaml::Input::ManipulationModes const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartingRoutedEventArgs)->put_Mode(static_cast(value))); } template auto consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs::Container() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartingRoutedEventArgs)->get_Container(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs::Container(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartingRoutedEventArgs)->put_Container(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs::Pivot() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartingRoutedEventArgs)->get_Pivot(&value)); return winrt::Windows::UI::Xaml::Input::ManipulationPivot{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs::Pivot(winrt::Windows::UI::Xaml::Input::ManipulationPivot const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartingRoutedEventArgs)->put_Pivot(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartingRoutedEventArgs)->get_Handled(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_IManipulationStartingRoutedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IManipulationStartingRoutedEventArgs)->put_Handled(value)); } template auto consume_Windows_UI_Xaml_Input_INoFocusCandidateFoundEventArgs::Direction() const { winrt::Windows::UI::Xaml::Input::FocusNavigationDirection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::INoFocusCandidateFoundEventArgs)->get_Direction(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Input_INoFocusCandidateFoundEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::INoFocusCandidateFoundEventArgs)->get_Handled(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_INoFocusCandidateFoundEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::INoFocusCandidateFoundEventArgs)->put_Handled(value)); } template auto consume_Windows_UI_Xaml_Input_INoFocusCandidateFoundEventArgs::InputDevice() const { winrt::Windows::UI::Xaml::Input::FocusInputDeviceKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::INoFocusCandidateFoundEventArgs)->get_InputDevice(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Input_IPointer::PointerId() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IPointer)->get_PointerId(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_IPointer::PointerDeviceType() const { winrt::Windows::Devices::Input::PointerDeviceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IPointer)->get_PointerDeviceType(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Input_IPointer::IsInContact() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IPointer)->get_IsInContact(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_IPointer::IsInRange() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IPointer)->get_IsInRange(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs::Pointer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IPointerRoutedEventArgs)->get_Pointer(&value)); return winrt::Windows::UI::Xaml::Input::Pointer{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs::KeyModifiers() const { winrt::Windows::System::VirtualKeyModifiers value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IPointerRoutedEventArgs)->get_KeyModifiers(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IPointerRoutedEventArgs)->get_Handled(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IPointerRoutedEventArgs)->put_Handled(value)); } template auto consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs::GetCurrentPoint(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IPointerRoutedEventArgs)->GetCurrentPoint(*(void**)(&relativeTo), &result)); return winrt::Windows::UI::Input::PointerPoint{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs::GetIntermediatePoints(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IPointerRoutedEventArgs)->GetIntermediatePoints(*(void**)(&relativeTo), &result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IPointerRoutedEventArgs2::IsGenerated() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IPointerRoutedEventArgs2)->get_IsGenerated(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_IProcessKeyboardAcceleratorEventArgs::Key() const { winrt::Windows::System::VirtualKey value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IProcessKeyboardAcceleratorEventArgs)->get_Key(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Input_IProcessKeyboardAcceleratorEventArgs::Modifiers() const { winrt::Windows::System::VirtualKeyModifiers value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IProcessKeyboardAcceleratorEventArgs)->get_Modifiers(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Input_IProcessKeyboardAcceleratorEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IProcessKeyboardAcceleratorEventArgs)->get_Handled(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_IProcessKeyboardAcceleratorEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IProcessKeyboardAcceleratorEventArgs)->put_Handled(value)); } template auto consume_Windows_UI_Xaml_Input_IRightTappedRoutedEventArgs::PointerDeviceType() const { winrt::Windows::Devices::Input::PointerDeviceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IRightTappedRoutedEventArgs)->get_PointerDeviceType(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Input_IRightTappedRoutedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IRightTappedRoutedEventArgs)->get_Handled(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_IRightTappedRoutedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IRightTappedRoutedEventArgs)->put_Handled(value)); } template auto consume_Windows_UI_Xaml_Input_IRightTappedRoutedEventArgs::GetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const { winrt::Windows::Foundation::Point result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IRightTappedRoutedEventArgs)->GetPosition(*(void**)(&relativeTo), put_abi(result))); return result; } template auto consume_Windows_UI_Xaml_Input_IStandardUICommand::Kind() const { winrt::Windows::UI::Xaml::Input::StandardUICommandKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IStandardUICommand)->get_Kind(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Input_IStandardUICommand2::Kind(winrt::Windows::UI::Xaml::Input::StandardUICommandKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IStandardUICommand2)->put_Kind(static_cast(value))); } template auto consume_Windows_UI_Xaml_Input_IStandardUICommandFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IStandardUICommandFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Input::StandardUICommand{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IStandardUICommandFactory::CreateInstanceWithKind(winrt::Windows::UI::Xaml::Input::StandardUICommandKind const& kind, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IStandardUICommandFactory)->CreateInstanceWithKind(static_cast(kind), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Input::StandardUICommand{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IStandardUICommandStatics::KindProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IStandardUICommandStatics)->get_KindProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_ITappedRoutedEventArgs::PointerDeviceType() const { winrt::Windows::Devices::Input::PointerDeviceType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ITappedRoutedEventArgs)->get_PointerDeviceType(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Input_ITappedRoutedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ITappedRoutedEventArgs)->get_Handled(&value)); return value; } template auto consume_Windows_UI_Xaml_Input_ITappedRoutedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ITappedRoutedEventArgs)->put_Handled(value)); } template auto consume_Windows_UI_Xaml_Input_ITappedRoutedEventArgs::GetPosition(winrt::Windows::UI::Xaml::UIElement const& relativeTo) const { winrt::Windows::Foundation::Point result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::ITappedRoutedEventArgs)->GetPosition(*(void**)(&relativeTo), put_abi(result))); return result; } template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::Label() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->get_Label(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::Label(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->put_Label(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::IconSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->get_IconSource(&value)); return winrt::Windows::UI::Xaml::Controls::IconSource{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::IconSource(winrt::Windows::UI::Xaml::Controls::IconSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->put_IconSource(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::KeyboardAccelerators() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->get_KeyboardAccelerators(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::AccessKey() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->get_AccessKey(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::AccessKey(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->put_AccessKey(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->put_Description(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::Command() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->get_Command(&value)); return winrt::Windows::UI::Xaml::Input::ICommand{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::Command(winrt::Windows::UI::Xaml::Input::ICommand const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->put_Command(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::ExecuteRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->add_ExecuteRequested(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::ExecuteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ExecuteRequested(handler)); } template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::ExecuteRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->remove_ExecuteRequested(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::CanExecuteRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->add_CanExecuteRequested(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::CanExecuteRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CanExecuteRequested(handler)); } template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::CanExecuteRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->remove_CanExecuteRequested(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Input_IXamlUICommand::NotifyCanExecuteChanged() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommand)->NotifyCanExecuteChanged()); } template auto consume_Windows_UI_Xaml_Input_IXamlUICommandFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommandFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Input::XamlUICommand{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IXamlUICommandStatics::LabelProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommandStatics)->get_LabelProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IXamlUICommandStatics::IconSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommandStatics)->get_IconSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IXamlUICommandStatics::KeyboardAcceleratorsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommandStatics)->get_KeyboardAcceleratorsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IXamlUICommandStatics::AccessKeyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommandStatics)->get_AccessKeyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IXamlUICommandStatics::DescriptionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommandStatics)->get_DescriptionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Input_IXamlUICommandStatics::CommandProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Input::IXamlUICommandStatics)->get_CommandProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template struct delegate final : implements_delegate { delegate(H&& handler) : implements_delegate(std::forward(handler)) {} int32_t __stdcall Invoke(void* sender, void* e) noexcept final try { (*this)(*reinterpret_cast(&sender), *reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } }; template struct delegate final : implements_delegate { delegate(H&& handler) : implements_delegate(std::forward(handler)) {} int32_t __stdcall Invoke(void* sender, void* e) noexcept final try { (*this)(*reinterpret_cast(&sender), *reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } }; template struct delegate final : implements_delegate { delegate(H&& handler) : implements_delegate(std::forward(handler)) {} int32_t __stdcall Invoke(void* sender, void* e) noexcept final try { (*this)(*reinterpret_cast(&sender), *reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } }; template struct delegate final : implements_delegate { delegate(H&& handler) : implements_delegate(std::forward(handler)) {} int32_t __stdcall Invoke(void* sender, void* e) noexcept final try { (*this)(*reinterpret_cast(&sender), *reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } }; template struct delegate final : implements_delegate { delegate(H&& handler) : implements_delegate(std::forward(handler)) {} int32_t __stdcall Invoke(void* sender, void* e) noexcept final try { (*this)(*reinterpret_cast(&sender), *reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } }; template struct delegate final : implements_delegate { delegate(H&& handler) : implements_delegate(std::forward(handler)) {} int32_t __stdcall Invoke(void* sender, void* e) noexcept final try { (*this)(*reinterpret_cast(&sender), *reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } }; template struct delegate final : implements_delegate { delegate(H&& handler) : implements_delegate(std::forward(handler)) {} int32_t __stdcall Invoke(void* sender, void* e) noexcept final try { (*this)(*reinterpret_cast(&sender), *reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } }; template struct delegate final : implements_delegate { delegate(H&& handler) : implements_delegate(std::forward(handler)) {} int32_t __stdcall Invoke(void* sender, void* e) noexcept final try { (*this)(*reinterpret_cast(&sender), *reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } }; template struct delegate final : implements_delegate { delegate(H&& handler) : implements_delegate(std::forward(handler)) {} int32_t __stdcall Invoke(void* sender, void* e) noexcept final try { (*this)(*reinterpret_cast(&sender), *reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } }; template struct delegate final : implements_delegate { delegate(H&& handler) : implements_delegate(std::forward(handler)) {} int32_t __stdcall Invoke(void* sender, void* e) noexcept final try { (*this)(*reinterpret_cast(&sender), *reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } }; template struct delegate final : implements_delegate { delegate(H&& handler) : implements_delegate(std::forward(handler)) {} int32_t __stdcall Invoke(void* sender, void* e) noexcept final try { (*this)(*reinterpret_cast(&sender), *reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_PressedKeys(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PressedKeys()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Handled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Handled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Handled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Handled(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsDisplayModeEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsDisplayModeEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_IsDisplayModeEnabledChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().IsDisplayModeEnabledChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_IsDisplayModeEnabledChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().IsDisplayModeEnabledChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall ExitDisplayMode() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ExitDisplayMode(); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_AreKeyTipsEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AreKeyTipsEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AreKeyTipsEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AreKeyTipsEnabled(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Parameter(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Parameter()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanExecute(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanExecute()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CanExecute(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CanExecute(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Character(char16_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Character()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_KeyStatus(struct struct_Windows_UI_Core_CorePhysicalKeyStatus* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().KeyStatus()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Handled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Handled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Handled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Handled(value); return 0; } catch (...) { return to_hresult(); } }; #endif template struct produce : produce_base { int32_t __stdcall add_CanExecuteChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().CanExecuteChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_CanExecuteChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().CanExecuteChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall CanExecute(void* parameter, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CanExecute(*reinterpret_cast(¶meter))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Execute(void* parameter) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Execute(*reinterpret_cast(¶meter)); return 0; } catch (...) { return to_hresult(); } }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Handled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Handled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Handled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Handled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryGetPosition(void* relativeTo, winrt::Windows::Foundation::Point* point, bool* returnValue) noexcept final try { zero_abi(point); typename D::abi_guard guard(this->shim()); *returnValue = detach_from(this->shim().TryGetPosition(*reinterpret_cast(&relativeTo), *reinterpret_cast(point))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_PointerDeviceType(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PointerDeviceType()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Handled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Handled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Handled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Handled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetPosition(void* relativeTo, winrt::Windows::Foundation::Point* result) noexcept final try { zero_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetPosition(*reinterpret_cast(&relativeTo))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Parameter(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Parameter()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_SearchRoot(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SearchRoot()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SearchRoot(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SearchRoot(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExclusionRect(winrt::Windows::Foundation::Rect* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExclusionRect()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ExclusionRect(winrt::Windows::Foundation::Rect value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ExclusionRect(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HintRect(winrt::Windows::Foundation::Rect* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HintRect()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HintRect(winrt::Windows::Foundation::Rect value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HintRect(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_XYFocusNavigationStrategyOverride(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().XYFocusNavigationStrategyOverride()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_XYFocusNavigationStrategyOverride(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().XYFocusNavigationStrategyOverride(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_NewFocusedElement(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NewFocusedElement()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CorrelationId(winrt::guid* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CorrelationId()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_OldFocusedElement(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OldFocusedElement()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CorrelationId(winrt::guid* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CorrelationId()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall GetFocusedElement(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetFocusedElement()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall TryMoveFocus(int32_t focusNavigationDirection, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryMoveFocus(*reinterpret_cast(&focusNavigationDirection))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall FindNextFocusableElement(int32_t focusNavigationDirection, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().FindNextFocusableElement(*reinterpret_cast(&focusNavigationDirection))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall FindNextFocusableElementWithHint(int32_t focusNavigationDirection, winrt::Windows::Foundation::Rect hintRect, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().FindNextFocusableElement(*reinterpret_cast(&focusNavigationDirection), *reinterpret_cast(&hintRect))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall TryMoveFocusWithOptions(int32_t focusNavigationDirection, void* focusNavigationOptions, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryMoveFocus(*reinterpret_cast(&focusNavigationDirection), *reinterpret_cast(&focusNavigationOptions))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall FindNextElement(int32_t focusNavigationDirection, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().FindNextElement(*reinterpret_cast(&focusNavigationDirection))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall FindFirstFocusableElement(void* searchScope, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().FindFirstFocusableElement(*reinterpret_cast(&searchScope))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall FindLastFocusableElement(void* searchScope, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().FindLastFocusableElement(*reinterpret_cast(&searchScope))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall FindNextElementWithOptions(int32_t focusNavigationDirection, void* focusNavigationOptions, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().FindNextElement(*reinterpret_cast(&focusNavigationDirection), *reinterpret_cast(&focusNavigationOptions))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall TryFocusAsync(void* element, int32_t value, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().TryFocusAsync(*reinterpret_cast(&element), *reinterpret_cast(&value))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryMoveFocusAsync(int32_t focusNavigationDirection, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().TryMoveFocusAsync(*reinterpret_cast(&focusNavigationDirection))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryMoveFocusWithOptionsAsync(int32_t focusNavigationDirection, void* focusNavigationOptions, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().TryMoveFocusAsync(*reinterpret_cast(&focusNavigationDirection), *reinterpret_cast(&focusNavigationOptions))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall add_GotFocus(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().GotFocus(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_GotFocus(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().GotFocus(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_LostFocus(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().LostFocus(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_LostFocus(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().LostFocus(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_GettingFocus(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().GettingFocus(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_GettingFocus(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().GettingFocus(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_LosingFocus(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().LosingFocus(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_LosingFocus(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().LosingFocus(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall GetFocusedElement(void* xamlRoot, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetFocusedElement(*reinterpret_cast(&xamlRoot))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Succeeded(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Succeeded()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_OldFocusedElement(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OldFocusedElement()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NewFocusedElement(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NewFocusedElement()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_NewFocusedElement(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().NewFocusedElement(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FocusState(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FocusState()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Direction(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Direction()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Handled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Handled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Handled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Handled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_InputDevice(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InputDevice()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Cancel(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Cancel()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Cancel(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Cancel(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall TryCancel(bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryCancel()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TrySetNewFocusedElement(void* element, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TrySetNewFocusedElement(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CorrelationId(winrt::guid* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CorrelationId()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_PointerDeviceType(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PointerDeviceType()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HoldingState(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HoldingState()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Handled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Handled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Handled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Handled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetPosition(void* relativeTo, winrt::Windows::Foundation::Point* result) noexcept final try { zero_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetPosition(*reinterpret_cast(&relativeTo))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_DesiredDeceleration(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DesiredDeceleration()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DesiredDeceleration(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DesiredDeceleration(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DesiredExpansion(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DesiredExpansion()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DesiredExpansion(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DesiredExpansion(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_DesiredDeceleration(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DesiredDeceleration()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DesiredDeceleration(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DesiredDeceleration(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DesiredRotation(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DesiredRotation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DesiredRotation(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DesiredRotation(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_DesiredDeceleration(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DesiredDeceleration()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DesiredDeceleration(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DesiredDeceleration(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DesiredDisplacement(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DesiredDisplacement()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DesiredDisplacement(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DesiredDisplacement(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Names(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Names()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_NameValue(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NameValue()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_NameValue(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().NameValue(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(int32_t nameValue, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&nameValue))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Key(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Key()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_KeyStatus(struct struct_Windows_UI_Core_CorePhysicalKeyStatus* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().KeyStatus()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Handled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Handled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Handled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Handled(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_OriginalKey(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OriginalKey()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_DeviceId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DeviceId()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Key(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Key()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Key(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Key(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Modifiers(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Modifiers()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Modifiers(uint32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Modifiers(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ScopeOwner(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScopeOwner()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ScopeOwner(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ScopeOwner(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_Invoked(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Invoked(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Invoked(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Invoked(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Handled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Handled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Handled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Handled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Element(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Element()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_KeyboardAccelerator(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().KeyboardAccelerator()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_KeyProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().KeyProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ModifiersProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ModifiersProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ScopeOwnerProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScopeOwnerProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_OldFocusedElement(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OldFocusedElement()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NewFocusedElement(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NewFocusedElement()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_NewFocusedElement(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().NewFocusedElement(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FocusState(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FocusState()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Direction(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Direction()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Handled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Handled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Handled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Handled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_InputDevice(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InputDevice()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Cancel(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Cancel()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Cancel(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Cancel(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall TryCancel(bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryCancel()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TrySetNewFocusedElement(void* element, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TrySetNewFocusedElement(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CorrelationId(winrt::guid* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CorrelationId()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Container(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Container()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Position(winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Position()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsInertial(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsInertial()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Cumulative(struct struct_Windows_UI_Input_ManipulationDelta* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Cumulative()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Velocities(struct struct_Windows_UI_Input_ManipulationVelocities* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Velocities()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Handled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Handled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Handled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Handled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PointerDeviceType(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PointerDeviceType()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Container(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Container()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Position(winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Position()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsInertial(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsInertial()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Delta(struct struct_Windows_UI_Input_ManipulationDelta* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Delta()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Cumulative(struct struct_Windows_UI_Input_ManipulationDelta* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Cumulative()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Velocities(struct struct_Windows_UI_Input_ManipulationVelocities* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Velocities()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Handled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Handled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Handled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Handled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PointerDeviceType(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PointerDeviceType()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Complete() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Complete(); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Container(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Container()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExpansionBehavior(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExpansionBehavior()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ExpansionBehavior(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ExpansionBehavior(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RotationBehavior(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RotationBehavior()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_RotationBehavior(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RotationBehavior(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TranslationBehavior(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TranslationBehavior()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TranslationBehavior(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TranslationBehavior(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Handled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Handled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Handled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Handled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PointerDeviceType(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PointerDeviceType()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Delta(struct struct_Windows_UI_Input_ManipulationDelta* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Delta()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Cumulative(struct struct_Windows_UI_Input_ManipulationDelta* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Cumulative()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Velocities(struct struct_Windows_UI_Input_ManipulationVelocities* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Velocities()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Center(winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Center()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Center(winrt::Windows::Foundation::Point value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Center(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Radius(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Radius()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Radius(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Radius(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithCenterAndRadius(winrt::Windows::Foundation::Point center, double radius, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstanceWithCenterAndRadius(*reinterpret_cast(¢er), radius)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Container(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Container()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Position(winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Position()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Handled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Handled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Handled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Handled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PointerDeviceType(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PointerDeviceType()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Cumulative(struct struct_Windows_UI_Input_ManipulationDelta* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Cumulative()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Complete() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Complete(); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Mode(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Mode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Mode(uint32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Mode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Container(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Container()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Container(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Container(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Pivot(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Pivot()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Pivot(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Pivot(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Handled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Handled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Handled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Handled(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Direction(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Direction()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Handled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Handled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Handled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Handled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_InputDevice(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InputDevice()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_PointerId(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PointerId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PointerDeviceType(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PointerDeviceType()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsInContact(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsInContact()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsInRange(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsInRange()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Pointer(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Pointer()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_KeyModifiers(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().KeyModifiers()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Handled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Handled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Handled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Handled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetCurrentPoint(void* relativeTo, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetCurrentPoint(*reinterpret_cast(&relativeTo))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetIntermediatePoints(void* relativeTo, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from>(this->shim().GetIntermediatePoints(*reinterpret_cast(&relativeTo))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsGenerated(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsGenerated()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Key(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Key()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Modifiers(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Modifiers()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Handled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Handled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Handled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Handled(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_PointerDeviceType(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PointerDeviceType()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Handled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Handled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Handled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Handled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetPosition(void* relativeTo, winrt::Windows::Foundation::Point* result) noexcept final try { zero_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetPosition(*reinterpret_cast(&relativeTo))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Kind(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Kind()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall put_Kind(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Kind(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateInstanceWithKind(int32_t kind, void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstanceWithKind(*reinterpret_cast(&kind), *reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_KindProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().KindProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_PointerDeviceType(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PointerDeviceType()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Handled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Handled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Handled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Handled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetPosition(void* relativeTo, winrt::Windows::Foundation::Point* result) noexcept final try { zero_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetPosition(*reinterpret_cast(&relativeTo))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Label(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Label()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Label(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Label(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IconSource(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IconSource()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IconSource(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IconSource(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_KeyboardAccelerators(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().KeyboardAccelerators()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AccessKey(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AccessKey()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AccessKey(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AccessKey(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Description(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Description()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Description(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Description(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Command(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Command()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Command(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Command(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_ExecuteRequested(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ExecuteRequested(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ExecuteRequested(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ExecuteRequested(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_CanExecuteRequested(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().CanExecuteRequested(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_CanExecuteRequested(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().CanExecuteRequested(*reinterpret_cast(&token)); return 0; } int32_t __stdcall NotifyCanExecuteChanged() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().NotifyCanExecuteChanged(); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_LabelProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LabelProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IconSourceProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IconSourceProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_KeyboardAcceleratorsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().KeyboardAcceleratorsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AccessKeyProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AccessKeyProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DescriptionProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DescriptionProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CommandProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CommandProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif } WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Input { constexpr auto operator|(ManipulationModes const left, ManipulationModes const right) noexcept { return static_cast(impl::to_underlying_type(left) | impl::to_underlying_type(right)); } constexpr auto operator|=(ManipulationModes& left, ManipulationModes const right) noexcept { left = left | right; return left; } constexpr auto operator&(ManipulationModes const left, ManipulationModes const right) noexcept { return static_cast(impl::to_underlying_type(left) & impl::to_underlying_type(right)); } constexpr auto operator&=(ManipulationModes& left, ManipulationModes const right) noexcept { left = left & right; return left; } constexpr auto operator~(ManipulationModes const value) noexcept { return static_cast(~impl::to_underlying_type(value)); } constexpr auto operator^(ManipulationModes const left, ManipulationModes const right) noexcept { return static_cast(impl::to_underlying_type(left) ^ impl::to_underlying_type(right)); } constexpr auto operator^=(ManipulationModes& left, ManipulationModes const right) noexcept { left = left ^ right; return left; } inline AccessKeyDisplayDismissedEventArgs::AccessKeyDisplayDismissedEventArgs() : AccessKeyDisplayDismissedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline AccessKeyDisplayRequestedEventArgs::AccessKeyDisplayRequestedEventArgs() : AccessKeyDisplayRequestedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline AccessKeyInvokedEventArgs::AccessKeyInvokedEventArgs() : AccessKeyInvokedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto AccessKeyManager::IsDisplayModeEnabled() { return impl::call_factory_cast([](IAccessKeyManagerStatics const& f) { return f.IsDisplayModeEnabled(); }); } inline auto AccessKeyManager::IsDisplayModeEnabledChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) { return impl::call_factory([&](IAccessKeyManagerStatics const& f) { return f.IsDisplayModeEnabledChanged(handler); }); } inline auto AccessKeyManager::IsDisplayModeEnabledChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) { auto f = get_activation_factory(); return AccessKeyManager::IsDisplayModeEnabledChanged_revoker{ f, f.IsDisplayModeEnabledChanged(handler) }; } inline auto AccessKeyManager::IsDisplayModeEnabledChanged(winrt::event_token const& token) { impl::call_factory([&](IAccessKeyManagerStatics const& f) { return f.IsDisplayModeEnabledChanged(token); }); } inline auto AccessKeyManager::ExitDisplayMode() { impl::call_factory_cast([](IAccessKeyManagerStatics const& f) { return f.ExitDisplayMode(); }); } inline auto AccessKeyManager::AreKeyTipsEnabled() { return impl::call_factory_cast([](IAccessKeyManagerStatics2 const& f) { return f.AreKeyTipsEnabled(); }); } inline auto AccessKeyManager::AreKeyTipsEnabled(bool value) { impl::call_factory([&](IAccessKeyManagerStatics2 const& f) { return f.AreKeyTipsEnabled(value); }); } inline ContextRequestedEventArgs::ContextRequestedEventArgs() : ContextRequestedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline DoubleTappedRoutedEventArgs::DoubleTappedRoutedEventArgs() : DoubleTappedRoutedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline FindNextElementOptions::FindNextElementOptions() : FindNextElementOptions(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto FocusManager::GetFocusedElement() { return impl::call_factory_cast([](IFocusManagerStatics const& f) { return f.GetFocusedElement(); }); } inline auto FocusManager::TryMoveFocus(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection) { return impl::call_factory([&](IFocusManagerStatics2 const& f) { return f.TryMoveFocus(focusNavigationDirection); }); } inline auto FocusManager::FindNextFocusableElement(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection) { return impl::call_factory([&](IFocusManagerStatics3 const& f) { return f.FindNextFocusableElement(focusNavigationDirection); }); } inline auto FocusManager::FindNextFocusableElement(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection, winrt::Windows::Foundation::Rect const& hintRect) { return impl::call_factory([&](IFocusManagerStatics3 const& f) { return f.FindNextFocusableElement(focusNavigationDirection, hintRect); }); } inline auto FocusManager::TryMoveFocus(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection, winrt::Windows::UI::Xaml::Input::FindNextElementOptions const& focusNavigationOptions) { return impl::call_factory([&](IFocusManagerStatics4 const& f) { return f.TryMoveFocus(focusNavigationDirection, focusNavigationOptions); }); } inline auto FocusManager::FindNextElement(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection) { return impl::call_factory([&](IFocusManagerStatics4 const& f) { return f.FindNextElement(focusNavigationDirection); }); } inline auto FocusManager::FindFirstFocusableElement(winrt::Windows::UI::Xaml::DependencyObject const& searchScope) { return impl::call_factory([&](IFocusManagerStatics4 const& f) { return f.FindFirstFocusableElement(searchScope); }); } inline auto FocusManager::FindLastFocusableElement(winrt::Windows::UI::Xaml::DependencyObject const& searchScope) { return impl::call_factory([&](IFocusManagerStatics4 const& f) { return f.FindLastFocusableElement(searchScope); }); } inline auto FocusManager::FindNextElement(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection, winrt::Windows::UI::Xaml::Input::FindNextElementOptions const& focusNavigationOptions) { return impl::call_factory([&](IFocusManagerStatics4 const& f) { return f.FindNextElement(focusNavigationDirection, focusNavigationOptions); }); } inline auto FocusManager::TryFocusAsync(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::UI::Xaml::FocusState const& value) { return impl::call_factory([&](IFocusManagerStatics5 const& f) { return f.TryFocusAsync(element, value); }); } inline auto FocusManager::TryMoveFocusAsync(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection) { return impl::call_factory([&](IFocusManagerStatics5 const& f) { return f.TryMoveFocusAsync(focusNavigationDirection); }); } inline auto FocusManager::TryMoveFocusAsync(winrt::Windows::UI::Xaml::Input::FocusNavigationDirection const& focusNavigationDirection, winrt::Windows::UI::Xaml::Input::FindNextElementOptions const& focusNavigationOptions) { return impl::call_factory([&](IFocusManagerStatics5 const& f) { return f.TryMoveFocusAsync(focusNavigationDirection, focusNavigationOptions); }); } inline auto FocusManager::GotFocus(winrt::Windows::Foundation::EventHandler const& handler) { return impl::call_factory([&](IFocusManagerStatics6 const& f) { return f.GotFocus(handler); }); } inline auto FocusManager::GotFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); return FocusManager::GotFocus_revoker{ f, f.GotFocus(handler) }; } inline auto FocusManager::GotFocus(winrt::event_token const& token) { impl::call_factory([&](IFocusManagerStatics6 const& f) { return f.GotFocus(token); }); } inline auto FocusManager::LostFocus(winrt::Windows::Foundation::EventHandler const& handler) { return impl::call_factory([&](IFocusManagerStatics6 const& f) { return f.LostFocus(handler); }); } inline auto FocusManager::LostFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); return FocusManager::LostFocus_revoker{ f, f.LostFocus(handler) }; } inline auto FocusManager::LostFocus(winrt::event_token const& token) { impl::call_factory([&](IFocusManagerStatics6 const& f) { return f.LostFocus(token); }); } inline auto FocusManager::GettingFocus(winrt::Windows::Foundation::EventHandler const& handler) { return impl::call_factory([&](IFocusManagerStatics6 const& f) { return f.GettingFocus(handler); }); } inline auto FocusManager::GettingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); return FocusManager::GettingFocus_revoker{ f, f.GettingFocus(handler) }; } inline auto FocusManager::GettingFocus(winrt::event_token const& token) { impl::call_factory([&](IFocusManagerStatics6 const& f) { return f.GettingFocus(token); }); } inline auto FocusManager::LosingFocus(winrt::Windows::Foundation::EventHandler const& handler) { return impl::call_factory([&](IFocusManagerStatics6 const& f) { return f.LosingFocus(handler); }); } inline auto FocusManager::LosingFocus(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); return FocusManager::LosingFocus_revoker{ f, f.LosingFocus(handler) }; } inline auto FocusManager::LosingFocus(winrt::event_token const& token) { impl::call_factory([&](IFocusManagerStatics6 const& f) { return f.LosingFocus(token); }); } inline auto FocusManager::GetFocusedElement(winrt::Windows::UI::Xaml::XamlRoot const& xamlRoot) { return impl::call_factory([&](IFocusManagerStatics7 const& f) { return f.GetFocusedElement(xamlRoot); }); } inline HoldingRoutedEventArgs::HoldingRoutedEventArgs() : HoldingRoutedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline InputScope::InputScope() : InputScope(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline InputScopeName::InputScopeName() : InputScopeName(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline InputScopeName::InputScopeName(winrt::Windows::UI::Xaml::Input::InputScopeNameValue const& nameValue) : InputScopeName(impl::call_factory([&](IInputScopeNameFactory const& f) { return f.CreateInstance(nameValue); })) { } inline KeyboardAccelerator::KeyboardAccelerator() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IKeyboardAcceleratorFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto KeyboardAccelerator::KeyProperty() { return impl::call_factory_cast([](IKeyboardAcceleratorStatics const& f) { return f.KeyProperty(); }); } inline auto KeyboardAccelerator::ModifiersProperty() { return impl::call_factory_cast([](IKeyboardAcceleratorStatics const& f) { return f.ModifiersProperty(); }); } inline auto KeyboardAccelerator::IsEnabledProperty() { return impl::call_factory_cast([](IKeyboardAcceleratorStatics const& f) { return f.IsEnabledProperty(); }); } inline auto KeyboardAccelerator::ScopeOwnerProperty() { return impl::call_factory_cast([](IKeyboardAcceleratorStatics const& f) { return f.ScopeOwnerProperty(); }); } inline ManipulationCompletedRoutedEventArgs::ManipulationCompletedRoutedEventArgs() : ManipulationCompletedRoutedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline ManipulationDeltaRoutedEventArgs::ManipulationDeltaRoutedEventArgs() : ManipulationDeltaRoutedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline ManipulationInertiaStartingRoutedEventArgs::ManipulationInertiaStartingRoutedEventArgs() : ManipulationInertiaStartingRoutedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline ManipulationPivot::ManipulationPivot() : ManipulationPivot(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline ManipulationPivot::ManipulationPivot(winrt::Windows::Foundation::Point const& center, double radius) : ManipulationPivot(impl::call_factory([&](IManipulationPivotFactory const& f) { return f.CreateInstanceWithCenterAndRadius(center, radius); })) { } inline ManipulationStartedRoutedEventArgs::ManipulationStartedRoutedEventArgs() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IManipulationStartedRoutedEventArgsFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline ManipulationStartingRoutedEventArgs::ManipulationStartingRoutedEventArgs() : ManipulationStartingRoutedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline RightTappedRoutedEventArgs::RightTappedRoutedEventArgs() : RightTappedRoutedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline StandardUICommand::StandardUICommand() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IStandardUICommandFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline StandardUICommand::StandardUICommand(winrt::Windows::UI::Xaml::Input::StandardUICommandKind const& kind) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IStandardUICommandFactory const& f) { return f.CreateInstanceWithKind(kind, baseInterface, innerInterface); }); } inline auto StandardUICommand::KindProperty() { return impl::call_factory_cast([](IStandardUICommandStatics const& f) { return f.KindProperty(); }); } inline TappedRoutedEventArgs::TappedRoutedEventArgs() : TappedRoutedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline XamlUICommand::XamlUICommand() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IXamlUICommandFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto XamlUICommand::LabelProperty() { return impl::call_factory_cast([](IXamlUICommandStatics const& f) { return f.LabelProperty(); }); } inline auto XamlUICommand::IconSourceProperty() { return impl::call_factory_cast([](IXamlUICommandStatics const& f) { return f.IconSourceProperty(); }); } inline auto XamlUICommand::KeyboardAcceleratorsProperty() { return impl::call_factory_cast([](IXamlUICommandStatics const& f) { return f.KeyboardAcceleratorsProperty(); }); } inline auto XamlUICommand::AccessKeyProperty() { return impl::call_factory_cast([](IXamlUICommandStatics const& f) { return f.AccessKeyProperty(); }); } inline auto XamlUICommand::DescriptionProperty() { return impl::call_factory_cast([](IXamlUICommandStatics const& f) { return f.DescriptionProperty(); }); } inline auto XamlUICommand::CommandProperty() { return impl::call_factory_cast([](IXamlUICommandStatics const& f) { return f.CommandProperty(); }); } template DoubleTappedEventHandler::DoubleTappedEventHandler(L handler) : DoubleTappedEventHandler(impl::make_delegate(std::forward(handler))) { } template DoubleTappedEventHandler::DoubleTappedEventHandler(F* handler) : DoubleTappedEventHandler([=](auto&&... args) { return handler(args...); }) { } template DoubleTappedEventHandler::DoubleTappedEventHandler(O* object, M method) : DoubleTappedEventHandler([=](auto&&... args) { return ((*object).*(method))(args...); }) { } template DoubleTappedEventHandler::DoubleTappedEventHandler(com_ptr&& object, M method) : DoubleTappedEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template DoubleTappedEventHandler::DoubleTappedEventHandler(weak_ref&& object, LM&& lambda_or_method) : DoubleTappedEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.get()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } template DoubleTappedEventHandler::DoubleTappedEventHandler(std::shared_ptr&& object, M method) : DoubleTappedEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template DoubleTappedEventHandler::DoubleTappedEventHandler(std::weak_ptr&& object, LM&& lambda_or_method) : DoubleTappedEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.lock()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } inline auto DoubleTappedEventHandler::operator()(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::UI::Xaml::Input::DoubleTappedRoutedEventArgs const& e) const { check_hresult((*(impl::abi_t**)this)->Invoke(*(void**)(&sender), *(void**)(&e))); } template HoldingEventHandler::HoldingEventHandler(L handler) : HoldingEventHandler(impl::make_delegate(std::forward(handler))) { } template HoldingEventHandler::HoldingEventHandler(F* handler) : HoldingEventHandler([=](auto&&... args) { return handler(args...); }) { } template HoldingEventHandler::HoldingEventHandler(O* object, M method) : HoldingEventHandler([=](auto&&... args) { return ((*object).*(method))(args...); }) { } template HoldingEventHandler::HoldingEventHandler(com_ptr&& object, M method) : HoldingEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template HoldingEventHandler::HoldingEventHandler(weak_ref&& object, LM&& lambda_or_method) : HoldingEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.get()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } template HoldingEventHandler::HoldingEventHandler(std::shared_ptr&& object, M method) : HoldingEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template HoldingEventHandler::HoldingEventHandler(std::weak_ptr&& object, LM&& lambda_or_method) : HoldingEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.lock()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } inline auto HoldingEventHandler::operator()(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::UI::Xaml::Input::HoldingRoutedEventArgs const& e) const { check_hresult((*(impl::abi_t**)this)->Invoke(*(void**)(&sender), *(void**)(&e))); } template KeyEventHandler::KeyEventHandler(L handler) : KeyEventHandler(impl::make_delegate(std::forward(handler))) { } template KeyEventHandler::KeyEventHandler(F* handler) : KeyEventHandler([=](auto&&... args) { return handler(args...); }) { } template KeyEventHandler::KeyEventHandler(O* object, M method) : KeyEventHandler([=](auto&&... args) { return ((*object).*(method))(args...); }) { } template KeyEventHandler::KeyEventHandler(com_ptr&& object, M method) : KeyEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template KeyEventHandler::KeyEventHandler(weak_ref&& object, LM&& lambda_or_method) : KeyEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.get()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } template KeyEventHandler::KeyEventHandler(std::shared_ptr&& object, M method) : KeyEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template KeyEventHandler::KeyEventHandler(std::weak_ptr&& object, LM&& lambda_or_method) : KeyEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.lock()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } inline auto KeyEventHandler::operator()(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::UI::Xaml::Input::KeyRoutedEventArgs const& e) const { check_hresult((*(impl::abi_t**)this)->Invoke(*(void**)(&sender), *(void**)(&e))); } template ManipulationCompletedEventHandler::ManipulationCompletedEventHandler(L handler) : ManipulationCompletedEventHandler(impl::make_delegate(std::forward(handler))) { } template ManipulationCompletedEventHandler::ManipulationCompletedEventHandler(F* handler) : ManipulationCompletedEventHandler([=](auto&&... args) { return handler(args...); }) { } template ManipulationCompletedEventHandler::ManipulationCompletedEventHandler(O* object, M method) : ManipulationCompletedEventHandler([=](auto&&... args) { return ((*object).*(method))(args...); }) { } template ManipulationCompletedEventHandler::ManipulationCompletedEventHandler(com_ptr&& object, M method) : ManipulationCompletedEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template ManipulationCompletedEventHandler::ManipulationCompletedEventHandler(weak_ref&& object, LM&& lambda_or_method) : ManipulationCompletedEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.get()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } template ManipulationCompletedEventHandler::ManipulationCompletedEventHandler(std::shared_ptr&& object, M method) : ManipulationCompletedEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template ManipulationCompletedEventHandler::ManipulationCompletedEventHandler(std::weak_ptr&& object, LM&& lambda_or_method) : ManipulationCompletedEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.lock()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } inline auto ManipulationCompletedEventHandler::operator()(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::UI::Xaml::Input::ManipulationCompletedRoutedEventArgs const& e) const { check_hresult((*(impl::abi_t**)this)->Invoke(*(void**)(&sender), *(void**)(&e))); } template ManipulationDeltaEventHandler::ManipulationDeltaEventHandler(L handler) : ManipulationDeltaEventHandler(impl::make_delegate(std::forward(handler))) { } template ManipulationDeltaEventHandler::ManipulationDeltaEventHandler(F* handler) : ManipulationDeltaEventHandler([=](auto&&... args) { return handler(args...); }) { } template ManipulationDeltaEventHandler::ManipulationDeltaEventHandler(O* object, M method) : ManipulationDeltaEventHandler([=](auto&&... args) { return ((*object).*(method))(args...); }) { } template ManipulationDeltaEventHandler::ManipulationDeltaEventHandler(com_ptr&& object, M method) : ManipulationDeltaEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template ManipulationDeltaEventHandler::ManipulationDeltaEventHandler(weak_ref&& object, LM&& lambda_or_method) : ManipulationDeltaEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.get()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } template ManipulationDeltaEventHandler::ManipulationDeltaEventHandler(std::shared_ptr&& object, M method) : ManipulationDeltaEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template ManipulationDeltaEventHandler::ManipulationDeltaEventHandler(std::weak_ptr&& object, LM&& lambda_or_method) : ManipulationDeltaEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.lock()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } inline auto ManipulationDeltaEventHandler::operator()(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::UI::Xaml::Input::ManipulationDeltaRoutedEventArgs const& e) const { check_hresult((*(impl::abi_t**)this)->Invoke(*(void**)(&sender), *(void**)(&e))); } template ManipulationInertiaStartingEventHandler::ManipulationInertiaStartingEventHandler(L handler) : ManipulationInertiaStartingEventHandler(impl::make_delegate(std::forward(handler))) { } template ManipulationInertiaStartingEventHandler::ManipulationInertiaStartingEventHandler(F* handler) : ManipulationInertiaStartingEventHandler([=](auto&&... args) { return handler(args...); }) { } template ManipulationInertiaStartingEventHandler::ManipulationInertiaStartingEventHandler(O* object, M method) : ManipulationInertiaStartingEventHandler([=](auto&&... args) { return ((*object).*(method))(args...); }) { } template ManipulationInertiaStartingEventHandler::ManipulationInertiaStartingEventHandler(com_ptr&& object, M method) : ManipulationInertiaStartingEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template ManipulationInertiaStartingEventHandler::ManipulationInertiaStartingEventHandler(weak_ref&& object, LM&& lambda_or_method) : ManipulationInertiaStartingEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.get()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } template ManipulationInertiaStartingEventHandler::ManipulationInertiaStartingEventHandler(std::shared_ptr&& object, M method) : ManipulationInertiaStartingEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template ManipulationInertiaStartingEventHandler::ManipulationInertiaStartingEventHandler(std::weak_ptr&& object, LM&& lambda_or_method) : ManipulationInertiaStartingEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.lock()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } inline auto ManipulationInertiaStartingEventHandler::operator()(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::UI::Xaml::Input::ManipulationInertiaStartingRoutedEventArgs const& e) const { check_hresult((*(impl::abi_t**)this)->Invoke(*(void**)(&sender), *(void**)(&e))); } template ManipulationStartedEventHandler::ManipulationStartedEventHandler(L handler) : ManipulationStartedEventHandler(impl::make_delegate(std::forward(handler))) { } template ManipulationStartedEventHandler::ManipulationStartedEventHandler(F* handler) : ManipulationStartedEventHandler([=](auto&&... args) { return handler(args...); }) { } template ManipulationStartedEventHandler::ManipulationStartedEventHandler(O* object, M method) : ManipulationStartedEventHandler([=](auto&&... args) { return ((*object).*(method))(args...); }) { } template ManipulationStartedEventHandler::ManipulationStartedEventHandler(com_ptr&& object, M method) : ManipulationStartedEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template ManipulationStartedEventHandler::ManipulationStartedEventHandler(weak_ref&& object, LM&& lambda_or_method) : ManipulationStartedEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.get()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } template ManipulationStartedEventHandler::ManipulationStartedEventHandler(std::shared_ptr&& object, M method) : ManipulationStartedEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template ManipulationStartedEventHandler::ManipulationStartedEventHandler(std::weak_ptr&& object, LM&& lambda_or_method) : ManipulationStartedEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.lock()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } inline auto ManipulationStartedEventHandler::operator()(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::UI::Xaml::Input::ManipulationStartedRoutedEventArgs const& e) const { check_hresult((*(impl::abi_t**)this)->Invoke(*(void**)(&sender), *(void**)(&e))); } template ManipulationStartingEventHandler::ManipulationStartingEventHandler(L handler) : ManipulationStartingEventHandler(impl::make_delegate(std::forward(handler))) { } template ManipulationStartingEventHandler::ManipulationStartingEventHandler(F* handler) : ManipulationStartingEventHandler([=](auto&&... args) { return handler(args...); }) { } template ManipulationStartingEventHandler::ManipulationStartingEventHandler(O* object, M method) : ManipulationStartingEventHandler([=](auto&&... args) { return ((*object).*(method))(args...); }) { } template ManipulationStartingEventHandler::ManipulationStartingEventHandler(com_ptr&& object, M method) : ManipulationStartingEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template ManipulationStartingEventHandler::ManipulationStartingEventHandler(weak_ref&& object, LM&& lambda_or_method) : ManipulationStartingEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.get()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } template ManipulationStartingEventHandler::ManipulationStartingEventHandler(std::shared_ptr&& object, M method) : ManipulationStartingEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template ManipulationStartingEventHandler::ManipulationStartingEventHandler(std::weak_ptr&& object, LM&& lambda_or_method) : ManipulationStartingEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.lock()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } inline auto ManipulationStartingEventHandler::operator()(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::UI::Xaml::Input::ManipulationStartingRoutedEventArgs const& e) const { check_hresult((*(impl::abi_t**)this)->Invoke(*(void**)(&sender), *(void**)(&e))); } template PointerEventHandler::PointerEventHandler(L handler) : PointerEventHandler(impl::make_delegate(std::forward(handler))) { } template PointerEventHandler::PointerEventHandler(F* handler) : PointerEventHandler([=](auto&&... args) { return handler(args...); }) { } template PointerEventHandler::PointerEventHandler(O* object, M method) : PointerEventHandler([=](auto&&... args) { return ((*object).*(method))(args...); }) { } template PointerEventHandler::PointerEventHandler(com_ptr&& object, M method) : PointerEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template PointerEventHandler::PointerEventHandler(weak_ref&& object, LM&& lambda_or_method) : PointerEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.get()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } template PointerEventHandler::PointerEventHandler(std::shared_ptr&& object, M method) : PointerEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template PointerEventHandler::PointerEventHandler(std::weak_ptr&& object, LM&& lambda_or_method) : PointerEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.lock()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } inline auto PointerEventHandler::operator()(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::UI::Xaml::Input::PointerRoutedEventArgs const& e) const { check_hresult((*(impl::abi_t**)this)->Invoke(*(void**)(&sender), *(void**)(&e))); } template RightTappedEventHandler::RightTappedEventHandler(L handler) : RightTappedEventHandler(impl::make_delegate(std::forward(handler))) { } template RightTappedEventHandler::RightTappedEventHandler(F* handler) : RightTappedEventHandler([=](auto&&... args) { return handler(args...); }) { } template RightTappedEventHandler::RightTappedEventHandler(O* object, M method) : RightTappedEventHandler([=](auto&&... args) { return ((*object).*(method))(args...); }) { } template RightTappedEventHandler::RightTappedEventHandler(com_ptr&& object, M method) : RightTappedEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template RightTappedEventHandler::RightTappedEventHandler(weak_ref&& object, LM&& lambda_or_method) : RightTappedEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.get()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } template RightTappedEventHandler::RightTappedEventHandler(std::shared_ptr&& object, M method) : RightTappedEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template RightTappedEventHandler::RightTappedEventHandler(std::weak_ptr&& object, LM&& lambda_or_method) : RightTappedEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.lock()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } inline auto RightTappedEventHandler::operator()(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::UI::Xaml::Input::RightTappedRoutedEventArgs const& e) const { check_hresult((*(impl::abi_t**)this)->Invoke(*(void**)(&sender), *(void**)(&e))); } template TappedEventHandler::TappedEventHandler(L handler) : TappedEventHandler(impl::make_delegate(std::forward(handler))) { } template TappedEventHandler::TappedEventHandler(F* handler) : TappedEventHandler([=](auto&&... args) { return handler(args...); }) { } template TappedEventHandler::TappedEventHandler(O* object, M method) : TappedEventHandler([=](auto&&... args) { return ((*object).*(method))(args...); }) { } template TappedEventHandler::TappedEventHandler(com_ptr&& object, M method) : TappedEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template TappedEventHandler::TappedEventHandler(weak_ref&& object, LM&& lambda_or_method) : TappedEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.get()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } template TappedEventHandler::TappedEventHandler(std::shared_ptr&& object, M method) : TappedEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template TappedEventHandler::TappedEventHandler(std::weak_ptr&& object, LM&& lambda_or_method) : TappedEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.lock()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } inline auto TappedEventHandler::operator()(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::UI::Xaml::Input::TappedRoutedEventArgs const& e) const { check_hresult((*(impl::abi_t**)this)->Invoke(*(void**)(&sender), *(void**)(&e))); } template struct KeyboardAcceleratorT : implements, impl::require, impl::base { using composable = KeyboardAccelerator; protected: KeyboardAcceleratorT() { impl::call_factory([&](IKeyboardAcceleratorFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ManipulationStartedRoutedEventArgsT : implements, impl::require, impl::base { using composable = ManipulationStartedRoutedEventArgs; protected: ManipulationStartedRoutedEventArgsT() { impl::call_factory([&](IManipulationStartedRoutedEventArgsFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct StandardUICommandT : implements, impl::require, impl::base { using composable = StandardUICommand; protected: StandardUICommandT() { impl::call_factory([&](IStandardUICommandFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } StandardUICommandT(winrt::Windows::UI::Xaml::Input::StandardUICommandKind const& kind) { impl::call_factory([&](IStandardUICommandFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithKind(kind, *this, this->m_inner); }); } using impl::consume_t::Kind; using impl::consume_t::Kind; }; template struct XamlUICommandT : implements, impl::require, impl::base { using composable = XamlUICommand; protected: XamlUICommandT() { impl::call_factory([&](IXamlUICommandFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; } namespace std { #ifndef WINRT_LEAN_AND_MEAN template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; #endif #ifdef __cpp_lib_format #endif } #endif