// WARNING: Please don't edit this file. It was generated by C++/WinRT // v2.0.250303.1 #pragma once #ifndef WINRT_Microsoft_UI_Xaml_Media_Animation_H #define WINRT_Microsoft_UI_Xaml_Media_Animation_H #include "winrt/base.h" static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.250303.1"), "Mismatched C++/WinRT headers."); #define CPPWINRT_VERSION "2.0.250303.1" #include "winrt/Microsoft.UI.Xaml.Media.h" #include "winrt/impl/Microsoft.UI.Composition.2.h" #include "winrt/impl/Microsoft.UI.Xaml.2.h" #include "winrt/impl/Microsoft.UI.Xaml.Controls.2.h" #include "winrt/impl/Microsoft.UI.Xaml.Controls.Primitives.2.h" #include "winrt/impl/Microsoft.UI.Xaml.Media.Animation.2.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.UI.2.h" namespace winrt::impl { template auto consume_Microsoft_UI_Xaml_Media_Animation_IBackEase::Amplitude() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation::IBackEase>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IBackEase, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_Amplitude(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Amplitude(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IBackEase::Amplitude( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation::IBackEase>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IBackEase, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_Amplitude(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Amplitude(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IBackEaseStatics< D>::AmplitudeProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IBackEaseStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_AmplitudeProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_AmplitudeProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IBasicConnectedAnimationConfigurationFactory< D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation:: IBasicConnectedAnimationConfigurationFactory>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation:: IBasicConnectedAnimationConfigurationFactory, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::Animation:: IBasicConnectedAnimationConfigurationFactory>**)&_winrt_casted_result; check_hresult(_winrt_abi_type->CreateInstance( *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->CreateInstance( *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); } return winrt::Microsoft::UI::Xaml::Media::Animation:: BasicConnectedAnimationConfiguration{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IBeginStoryboard::Storyboard() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IBeginStoryboard, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_Storyboard(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Storyboard(&value)); } return winrt::Microsoft::UI::Xaml::Media::Animation::Storyboard{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IBeginStoryboard::Storyboard( winrt::Microsoft::UI::Xaml::Media::Animation::Storyboard const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IBeginStoryboard, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_Storyboard(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Storyboard(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IBeginStoryboardStatics< D>::StoryboardProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IBeginStoryboardStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_StoryboardProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_StoryboardProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IBounceEase::Bounces() const { int32_t value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IBounceEase, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_Bounces(&value)); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->get_Bounces(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IBounceEase::Bounces( int32_t value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IBounceEase, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_Bounces(value)); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->put_Bounces(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IBounceEase::Bounciness() const { double value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IBounceEase, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_Bounciness(&value)); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->get_Bounciness(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IBounceEase::Bounciness( double value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IBounceEase, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_Bounciness(value)); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->put_Bounciness(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IBounceEaseStatics< D>::BouncesProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IBounceEaseStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_BouncesProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_BouncesProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IBounceEaseStatics< D>::BouncinessProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IBounceEaseStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_BouncinessProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_BouncinessProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IColorAnimation::From() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IColorAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_From(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_From(&value)); } return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IColorAnimation::From( winrt::Windows::Foundation::IReference const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IColorAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_From(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_From(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IColorAnimation::To() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IColorAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_To(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_To(&value)); } return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IColorAnimation::To( winrt::Windows::Foundation::IReference const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IColorAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_To(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_To(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IColorAnimation::By() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IColorAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_By(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_By(&value)); } return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IColorAnimation::By( winrt::Windows::Foundation::IReference const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IColorAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_By(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_By(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IColorAnimation< D>::EasingFunction() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IColorAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_EasingFunction(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EasingFunction(&value)); } return winrt::Microsoft::UI::Xaml::Media::Animation::EasingFunctionBase{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IColorAnimation:: EasingFunction( winrt::Microsoft::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IColorAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_EasingFunction(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_EasingFunction(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IColorAnimation< D>::EnableDependentAnimation() const { bool value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IColorAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_EnableDependentAnimation(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EnableDependentAnimation(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IColorAnimation< D>::EnableDependentAnimation(bool value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IColorAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_EnableDependentAnimation(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_EnableDependentAnimation(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IColorAnimationStatics< D>::FromProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IColorAnimationStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_FromProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_FromProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IColorAnimationStatics< D>::ToProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IColorAnimationStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ToProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ToProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IColorAnimationStatics< D>::ByProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IColorAnimationStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ByProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ByProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IColorAnimationStatics< D>::EasingFunctionProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IColorAnimationStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_EasingFunctionProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EasingFunctionProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IColorAnimationStatics< D>::EnableDependentAnimationProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IColorAnimationStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->get_EnableDependentAnimationProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->get_EnableDependentAnimationProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IColorAnimationUsingKeyFrames< D>::KeyFrames() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_KeyFrames(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_KeyFrames(&value)); } return winrt::Microsoft::UI::Xaml::Media::Animation::ColorKeyFrameCollection{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IColorAnimationUsingKeyFrames< D>::EnableDependentAnimation() const { bool value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_EnableDependentAnimation(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EnableDependentAnimation(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IColorAnimationUsingKeyFrames< D>::EnableDependentAnimation(bool value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_EnableDependentAnimation(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_EnableDependentAnimation(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IColorAnimationUsingKeyFramesStatics< D>::EnableDependentAnimationProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *( abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->get_EnableDependentAnimationProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->get_EnableDependentAnimationProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IColorKeyFrame::Value() const { winrt::Windows::UI::Color value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IColorKeyFrame, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_Value(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Value(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IColorKeyFrame::Value( winrt::Windows::UI::Color const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IColorKeyFrame, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_Value(impl::bind_in(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Value(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IColorKeyFrame::KeyTime() const { winrt::Microsoft::UI::Xaml::Media::Animation::KeyTime value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IColorKeyFrame, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_KeyTime(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_KeyTime(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IColorKeyFrame::KeyTime( winrt::Microsoft::UI::Xaml::Media::Animation::KeyTime const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IColorKeyFrame, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_KeyTime(impl::bind_in(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_KeyTime(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IColorKeyFrameFactory:: CreateInstance( winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IColorKeyFrameFactory, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->CreateInstance( *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->CreateInstance( *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); } return winrt::Microsoft::UI::Xaml::Media::Animation::ColorKeyFrame{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IColorKeyFrameStatics< D>::ValueProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IColorKeyFrameStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ValueProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ValueProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IColorKeyFrameStatics< D>::KeyTimeProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IColorKeyFrameStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_KeyTimeProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_KeyTimeProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ICommonNavigationTransitionInfo< D>::IsStaggeringEnabled() const { bool value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_IsStaggeringEnabled(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_IsStaggeringEnabled(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ICommonNavigationTransitionInfo< D>::IsStaggeringEnabled(bool value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_IsStaggeringEnabled(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_IsStaggeringEnabled(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ICommonNavigationTransitionInfoStatics< D>::IsStaggeringEnabledProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::Animation:: ICommonNavigationTransitionInfoStatics>**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_IsStaggeringEnabledProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_IsStaggeringEnabledProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ICommonNavigationTransitionInfoStatics< D>::IsStaggerElementProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::Animation:: ICommonNavigationTransitionInfoStatics>**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_IsStaggerElementProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_IsStaggerElementProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ICommonNavigationTransitionInfoStatics< D>::GetIsStaggerElement(winrt::Microsoft::UI::Xaml::UIElement const& element) const { bool result{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::Animation:: ICommonNavigationTransitionInfoStatics>**)&_winrt_casted_result; check_hresult( _winrt_abi_type->GetIsStaggerElement(*(void**)(&element), &result)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->GetIsStaggerElement(*(void**)(&element), &result)); } return result; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ICommonNavigationTransitionInfoStatics< D>::SetIsStaggerElement(winrt::Microsoft::UI::Xaml::UIElement const& element, bool value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::Animation:: ICommonNavigationTransitionInfoStatics>**)&_winrt_casted_result; check_hresult( _winrt_abi_type->SetIsStaggerElement(*(void**)(&element), value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->SetIsStaggerElement(*(void**)(&element), value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IConnectedAnimation< D>::IsScaleAnimationEnabled() const { bool value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IConnectedAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_IsScaleAnimationEnabled(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_IsScaleAnimationEnabled(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IConnectedAnimation< D>::IsScaleAnimationEnabled(bool value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IConnectedAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_IsScaleAnimationEnabled(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_IsScaleAnimationEnabled(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IConnectedAnimation< D>::Configuration() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IConnectedAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_Configuration(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Configuration(&value)); } return winrt::Microsoft::UI::Xaml::Media::Animation:: ConnectedAnimationConfiguration{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IConnectedAnimation< D>::Configuration(winrt::Microsoft::UI::Xaml::Media::Animation:: ConnectedAnimationConfiguration const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IConnectedAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_Configuration(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Configuration(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IConnectedAnimation:: Completed(winrt::Windows::Foundation::TypedEventHandler< winrt::Microsoft::UI::Xaml::Media::Animation::ConnectedAnimation, winrt::Windows::Foundation::IInspectable> const& handler) const { winrt::event_token token{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IConnectedAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->add_Completed(*(void**)(&handler), put_abi(token))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->add_Completed(*(void**)(&handler), put_abi(token))); } return token; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IConnectedAnimation:: Completed( auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler< winrt::Microsoft::UI::Xaml::Media::Animation::ConnectedAnimation, winrt::Windows::Foundation::IInspectable> const& handler) const { return impl::make_event_revoker(this, Completed(handler)); } template auto consume_Microsoft_UI_Xaml_Media_Animation_IConnectedAnimation< D>::Completed(winrt::event_token const& token) const noexcept { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IConnectedAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; _winrt_abi_type->remove_Completed(impl::bind_in(token)); } else { auto const _winrt_abi_type = *(abi_t**)this; _winrt_abi_type->remove_Completed(impl::bind_in(token)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IConnectedAnimation::TryStart( winrt::Microsoft::UI::Xaml::UIElement const& destination) const { bool result{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IConnectedAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->TryStart(*(void**)(&destination), &result)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->TryStart(*(void**)(&destination), &result)); } return result; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IConnectedAnimation::TryStart( winrt::Microsoft::UI::Xaml::UIElement const& destination, param::iterable const& coordinatedElements) const { bool result{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IConnectedAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->TryStartWithCoordinatedElements( *(void**)(&destination), *(void**)(&coordinatedElements), &result)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->TryStartWithCoordinatedElements( *(void**)(&destination), *(void**)(&coordinatedElements), &result)); } return result; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IConnectedAnimation::Cancel() const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IConnectedAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->Cancel()); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->Cancel()); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IConnectedAnimation:: SetAnimationComponent( winrt::Microsoft::UI::Xaml::Media::Animation:: ConnectedAnimationComponent const& component, winrt::Microsoft::UI::Composition::ICompositionAnimationBase const& animation) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IConnectedAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->SetAnimationComponent( static_cast(component), *(void**)(&animation))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->SetAnimationComponent( static_cast(component), *(void**)(&animation))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IConnectedAnimationService< D>::DefaultDuration() const { winrt::Windows::Foundation::TimeSpan value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_DefaultDuration(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_DefaultDuration(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IConnectedAnimationService:: DefaultDuration(winrt::Windows::Foundation::TimeSpan const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_DefaultDuration(impl::bind_in(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_DefaultDuration(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IConnectedAnimationService< D>::DefaultEasingFunction() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_DefaultEasingFunction(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_DefaultEasingFunction(&value)); } return winrt::Microsoft::UI::Composition::CompositionEasingFunction{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IConnectedAnimationService:: DefaultEasingFunction( winrt::Microsoft::UI::Composition::CompositionEasingFunction const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->put_DefaultEasingFunction(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->put_DefaultEasingFunction(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IConnectedAnimationService< D>::PrepareToAnimate(param::hstring const& key, winrt::Microsoft::UI::Xaml::UIElement const& source) const { void* result{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->PrepareToAnimate( *(void**)(&key), *(void**)(&source), &result)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->PrepareToAnimate( *(void**)(&key), *(void**)(&source), &result)); } return winrt::Microsoft::UI::Xaml::Media::Animation::ConnectedAnimation{ result, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IConnectedAnimationService< D>::GetAnimation(param::hstring const& key) const { void* result{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->GetAnimation(*(void**)(&key), &result)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->GetAnimation(*(void**)(&key), &result)); } return winrt::Microsoft::UI::Xaml::Media::Animation::ConnectedAnimation{ result, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IConnectedAnimationServiceStatics< D>::GetForCurrentView() const { void* result{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->GetForCurrentView(&result)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->GetForCurrentView(&result)); } return winrt::Microsoft::UI::Xaml::Media::Animation:: ConnectedAnimationService{result, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IContentThemeTransition< D>::HorizontalOffset() const { double value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IContentThemeTransition, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_HorizontalOffset(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_HorizontalOffset(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IContentThemeTransition< D>::HorizontalOffset(double value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IContentThemeTransition, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_HorizontalOffset(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_HorizontalOffset(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IContentThemeTransition< D>::VerticalOffset() const { double value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IContentThemeTransition, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_VerticalOffset(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_VerticalOffset(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IContentThemeTransition< D>::VerticalOffset(double value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IContentThemeTransition, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_VerticalOffset(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_VerticalOffset(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IContentThemeTransitionStatics< D>::HorizontalOffsetProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_HorizontalOffsetProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_HorizontalOffsetProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IContentThemeTransitionStatics< D>::VerticalOffsetProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_VerticalOffsetProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_VerticalOffsetProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfo< D>::ExitElement() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ExitElement(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ExitElement(&value)); } return winrt::Microsoft::UI::Xaml::UIElement{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfo< D>::ExitElement(winrt::Microsoft::UI::Xaml::UIElement const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_ExitElement(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_ExitElement(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics< D>::ExitElementProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation:: IContinuumNavigationTransitionInfoStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::Animation:: IContinuumNavigationTransitionInfoStatics>**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ExitElementProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ExitElementProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics< D>::IsEntranceElementProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation:: IContinuumNavigationTransitionInfoStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::Animation:: IContinuumNavigationTransitionInfoStatics>**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_IsEntranceElementProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_IsEntranceElementProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics< D>::GetIsEntranceElement(winrt::Microsoft::UI::Xaml::UIElement const& element) const { bool result{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation:: IContinuumNavigationTransitionInfoStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::Animation:: IContinuumNavigationTransitionInfoStatics>**)&_winrt_casted_result; check_hresult( _winrt_abi_type->GetIsEntranceElement(*(void**)(&element), &result)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->GetIsEntranceElement(*(void**)(&element), &result)); } return result; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics< D>::SetIsEntranceElement(winrt::Microsoft::UI::Xaml::UIElement const& element, bool value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation:: IContinuumNavigationTransitionInfoStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::Animation:: IContinuumNavigationTransitionInfoStatics>**)&_winrt_casted_result; check_hresult( _winrt_abi_type->SetIsEntranceElement(*(void**)(&element), value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->SetIsEntranceElement(*(void**)(&element), value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics< D>::IsExitElementProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation:: IContinuumNavigationTransitionInfoStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::Animation:: IContinuumNavigationTransitionInfoStatics>**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_IsExitElementProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_IsExitElementProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics< D>::GetIsExitElement(winrt::Microsoft::UI::Xaml::UIElement const& element) const { bool result{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation:: IContinuumNavigationTransitionInfoStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::Animation:: IContinuumNavigationTransitionInfoStatics>**)&_winrt_casted_result; check_hresult( _winrt_abi_type->GetIsExitElement(*(void**)(&element), &result)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->GetIsExitElement(*(void**)(&element), &result)); } return result; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics< D>::SetIsExitElement(winrt::Microsoft::UI::Xaml::UIElement const& element, bool value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation:: IContinuumNavigationTransitionInfoStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::Animation:: IContinuumNavigationTransitionInfoStatics>**)&_winrt_casted_result; check_hresult( _winrt_abi_type->SetIsExitElement(*(void**)(&element), value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->SetIsExitElement(*(void**)(&element), value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics< D>::ExitElementContainerProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation:: IContinuumNavigationTransitionInfoStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::Animation:: IContinuumNavigationTransitionInfoStatics>**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ExitElementContainerProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ExitElementContainerProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics< D>::GetExitElementContainer(winrt::Microsoft::UI::Xaml::Controls:: ListViewBase const& element) const { bool result{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation:: IContinuumNavigationTransitionInfoStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::Animation:: IContinuumNavigationTransitionInfoStatics>**)&_winrt_casted_result; check_hresult( _winrt_abi_type->GetExitElementContainer(*(void**)(&element), &result)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->GetExitElementContainer(*(void**)(&element), &result)); } return result; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IContinuumNavigationTransitionInfoStatics< D>::SetExitElementContainer(winrt::Microsoft::UI::Xaml::Controls:: ListViewBase const& element, bool value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation:: IContinuumNavigationTransitionInfoStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::Animation:: IContinuumNavigationTransitionInfoStatics>**)&_winrt_casted_result; check_hresult( _winrt_abi_type->SetExitElementContainer(*(void**)(&element), value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->SetExitElementContainer(*(void**)(&element), value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDirectConnectedAnimationConfigurationFactory< D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation:: IDirectConnectedAnimationConfigurationFactory>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation:: IDirectConnectedAnimationConfigurationFactory, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::Animation:: IDirectConnectedAnimationConfigurationFactory>**)&_winrt_casted_result; check_hresult(_winrt_abi_type->CreateInstance( *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->CreateInstance( *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); } return winrt::Microsoft::UI::Xaml::Media::Animation:: DirectConnectedAnimationConfiguration{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDoubleAnimation::From() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDoubleAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_From(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_From(&value)); } return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDoubleAnimation::From( winrt::Windows::Foundation::IReference const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDoubleAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_From(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_From(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDoubleAnimation::To() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDoubleAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_To(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_To(&value)); } return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDoubleAnimation::To( winrt::Windows::Foundation::IReference const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDoubleAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_To(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_To(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDoubleAnimation::By() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDoubleAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_By(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_By(&value)); } return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDoubleAnimation::By( winrt::Windows::Foundation::IReference const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDoubleAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_By(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_By(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDoubleAnimation< D>::EasingFunction() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDoubleAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_EasingFunction(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EasingFunction(&value)); } return winrt::Microsoft::UI::Xaml::Media::Animation::EasingFunctionBase{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDoubleAnimation:: EasingFunction( winrt::Microsoft::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDoubleAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_EasingFunction(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_EasingFunction(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDoubleAnimation< D>::EnableDependentAnimation() const { bool value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDoubleAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_EnableDependentAnimation(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EnableDependentAnimation(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDoubleAnimation< D>::EnableDependentAnimation(bool value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDoubleAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_EnableDependentAnimation(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_EnableDependentAnimation(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDoubleAnimationStatics< D>::FromProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDoubleAnimationStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_FromProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_FromProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDoubleAnimationStatics< D>::ToProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDoubleAnimationStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ToProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ToProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDoubleAnimationStatics< D>::ByProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDoubleAnimationStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ByProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ByProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDoubleAnimationStatics< D>::EasingFunctionProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDoubleAnimationStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_EasingFunctionProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EasingFunctionProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDoubleAnimationStatics< D>::EnableDependentAnimationProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDoubleAnimationStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->get_EnableDependentAnimationProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->get_EnableDependentAnimationProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDoubleAnimationUsingKeyFrames< D>::KeyFrames() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_KeyFrames(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_KeyFrames(&value)); } return winrt::Microsoft::UI::Xaml::Media::Animation::DoubleKeyFrameCollection{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDoubleAnimationUsingKeyFrames< D>::EnableDependentAnimation() const { bool value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_EnableDependentAnimation(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EnableDependentAnimation(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDoubleAnimationUsingKeyFrames< D>::EnableDependentAnimation(bool value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_EnableDependentAnimation(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_EnableDependentAnimation(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDoubleAnimationUsingKeyFramesStatics< D>::EnableDependentAnimationProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::Animation:: IDoubleAnimationUsingKeyFramesStatics>**)&_winrt_casted_result; check_hresult( _winrt_abi_type->get_EnableDependentAnimationProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->get_EnableDependentAnimationProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDoubleKeyFrame::Value() const { double value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDoubleKeyFrame, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_Value(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Value(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDoubleKeyFrame::Value( double value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDoubleKeyFrame, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_Value(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Value(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDoubleKeyFrame::KeyTime() const { winrt::Microsoft::UI::Xaml::Media::Animation::KeyTime value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDoubleKeyFrame, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_KeyTime(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_KeyTime(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDoubleKeyFrame::KeyTime( winrt::Microsoft::UI::Xaml::Media::Animation::KeyTime const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDoubleKeyFrame, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_KeyTime(impl::bind_in(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_KeyTime(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDoubleKeyFrameFactory:: CreateInstance( winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDoubleKeyFrameFactory, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->CreateInstance( *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->CreateInstance( *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); } return winrt::Microsoft::UI::Xaml::Media::Animation::DoubleKeyFrame{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDoubleKeyFrameStatics< D>::ValueProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDoubleKeyFrameStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ValueProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ValueProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDoubleKeyFrameStatics< D>::KeyTimeProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDoubleKeyFrameStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_KeyTimeProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_KeyTimeProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDragItemThemeAnimation< D>::TargetName() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDragItemThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_TargetName(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TargetName(&value)); } return hstring{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDragItemThemeAnimation< D>::TargetName(param::hstring const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDragItemThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_TargetName(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_TargetName(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDragItemThemeAnimationStatics< D>::TargetNameProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_TargetNameProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TargetNameProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDragOverThemeAnimation< D>::TargetName() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDragOverThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_TargetName(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TargetName(&value)); } return hstring{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDragOverThemeAnimation< D>::TargetName(param::hstring const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDragOverThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_TargetName(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_TargetName(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDragOverThemeAnimation< D>::ToOffset() const { double value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDragOverThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ToOffset(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ToOffset(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDragOverThemeAnimation< D>::ToOffset(double value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDragOverThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_ToOffset(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_ToOffset(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDragOverThemeAnimation< D>::Direction() const { winrt::Microsoft::UI::Xaml::Controls::Primitives::AnimationDirection value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDragOverThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->get_Direction(reinterpret_cast(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->get_Direction(reinterpret_cast(&value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDragOverThemeAnimation< D>::Direction(winrt::Microsoft::UI::Xaml::Controls::Primitives:: AnimationDirection const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDragOverThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_Direction(static_cast(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Direction(static_cast(value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDragOverThemeAnimationStatics< D>::TargetNameProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_TargetNameProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TargetNameProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDragOverThemeAnimationStatics< D>::ToOffsetProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ToOffsetProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ToOffsetProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDragOverThemeAnimationStatics< D>::DirectionProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_DirectionProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_DirectionProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDrillInThemeAnimation< D>::EntranceTargetName() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDrillInThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_EntranceTargetName(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EntranceTargetName(&value)); } return hstring{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDrillInThemeAnimation< D>::EntranceTargetName(param::hstring const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDrillInThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_EntranceTargetName(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_EntranceTargetName(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDrillInThemeAnimation< D>::EntranceTarget() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDrillInThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_EntranceTarget(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EntranceTarget(&value)); } return winrt::Microsoft::UI::Xaml::DependencyObject{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDrillInThemeAnimation< D>::EntranceTarget(winrt::Microsoft::UI::Xaml::DependencyObject const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDrillInThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_EntranceTarget(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_EntranceTarget(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDrillInThemeAnimation< D>::ExitTargetName() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDrillInThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ExitTargetName(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ExitTargetName(&value)); } return hstring{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDrillInThemeAnimation< D>::ExitTargetName(param::hstring const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDrillInThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_ExitTargetName(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_ExitTargetName(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDrillInThemeAnimation< D>::ExitTarget() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDrillInThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ExitTarget(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ExitTarget(&value)); } return winrt::Microsoft::UI::Xaml::DependencyObject{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDrillInThemeAnimation< D>::ExitTarget(winrt::Microsoft::UI::Xaml::DependencyObject const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDrillInThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_ExitTarget(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_ExitTarget(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDrillInThemeAnimationStatics< D>::EntranceTargetNameProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_EntranceTargetNameProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EntranceTargetNameProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDrillInThemeAnimationStatics< D>::EntranceTargetProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_EntranceTargetProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EntranceTargetProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDrillInThemeAnimationStatics< D>::ExitTargetNameProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ExitTargetNameProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ExitTargetNameProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDrillInThemeAnimationStatics< D>::ExitTargetProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ExitTargetProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ExitTargetProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDrillOutThemeAnimation< D>::EntranceTargetName() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDrillOutThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_EntranceTargetName(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EntranceTargetName(&value)); } return hstring{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDrillOutThemeAnimation< D>::EntranceTargetName(param::hstring const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDrillOutThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_EntranceTargetName(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_EntranceTargetName(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDrillOutThemeAnimation< D>::EntranceTarget() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDrillOutThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_EntranceTarget(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EntranceTarget(&value)); } return winrt::Microsoft::UI::Xaml::DependencyObject{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDrillOutThemeAnimation< D>::EntranceTarget(winrt::Microsoft::UI::Xaml::DependencyObject const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDrillOutThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_EntranceTarget(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_EntranceTarget(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDrillOutThemeAnimation< D>::ExitTargetName() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDrillOutThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ExitTargetName(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ExitTargetName(&value)); } return hstring{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDrillOutThemeAnimation< D>::ExitTargetName(param::hstring const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDrillOutThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_ExitTargetName(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_ExitTargetName(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDrillOutThemeAnimation< D>::ExitTarget() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDrillOutThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ExitTarget(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ExitTarget(&value)); } return winrt::Microsoft::UI::Xaml::DependencyObject{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDrillOutThemeAnimation< D>::ExitTarget(winrt::Microsoft::UI::Xaml::DependencyObject const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IDrillOutThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_ExitTarget(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_ExitTarget(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDrillOutThemeAnimationStatics< D>::EntranceTargetNameProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_EntranceTargetNameProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EntranceTargetNameProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDrillOutThemeAnimationStatics< D>::EntranceTargetProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_EntranceTargetProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EntranceTargetProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDrillOutThemeAnimationStatics< D>::ExitTargetNameProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ExitTargetNameProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ExitTargetNameProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDrillOutThemeAnimationStatics< D>::ExitTargetProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ExitTargetProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ExitTargetProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDropTargetItemThemeAnimation< D>::TargetName() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_TargetName(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TargetName(&value)); } return hstring{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDropTargetItemThemeAnimation< D>::TargetName(param::hstring const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_TargetName(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_TargetName(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IDropTargetItemThemeAnimationStatics< D>::TargetNameProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *( abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_TargetNameProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TargetNameProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IEasingColorKeyFrame< D>::EasingFunction() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IEasingColorKeyFrame, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_EasingFunction(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EasingFunction(&value)); } return winrt::Microsoft::UI::Xaml::Media::Animation::EasingFunctionBase{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IEasingColorKeyFrame:: EasingFunction( winrt::Microsoft::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IEasingColorKeyFrame, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_EasingFunction(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_EasingFunction(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IEasingColorKeyFrameStatics< D>::EasingFunctionProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_EasingFunctionProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EasingFunctionProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IEasingDoubleKeyFrame< D>::EasingFunction() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IEasingDoubleKeyFrame, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_EasingFunction(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EasingFunction(&value)); } return winrt::Microsoft::UI::Xaml::Media::Animation::EasingFunctionBase{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IEasingDoubleKeyFrame:: EasingFunction( winrt::Microsoft::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IEasingDoubleKeyFrame, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_EasingFunction(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_EasingFunction(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IEasingDoubleKeyFrameStatics< D>::EasingFunctionProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_EasingFunctionProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EasingFunctionProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IEasingFunctionBase< D>::EasingMode() const { winrt::Microsoft::UI::Xaml::Media::Animation::EasingMode value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IEasingFunctionBase, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->get_EasingMode(reinterpret_cast(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->get_EasingMode(reinterpret_cast(&value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IEasingFunctionBase:: EasingMode(winrt::Microsoft::UI::Xaml::Media::Animation::EasingMode const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IEasingFunctionBase, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_EasingMode(static_cast(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_EasingMode(static_cast(value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IEasingFunctionBase::Ease( double normalizedTime) const { double result{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IEasingFunctionBase, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->Ease(normalizedTime, &result)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->Ease(normalizedTime, &result)); } return result; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IEasingFunctionBaseStatics< D>::EasingModeProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_EasingModeProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EasingModeProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IEasingPointKeyFrame< D>::EasingFunction() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IEasingPointKeyFrame, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_EasingFunction(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EasingFunction(&value)); } return winrt::Microsoft::UI::Xaml::Media::Animation::EasingFunctionBase{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IEasingPointKeyFrame:: EasingFunction( winrt::Microsoft::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IEasingPointKeyFrame, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_EasingFunction(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_EasingFunction(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IEasingPointKeyFrameStatics< D>::EasingFunctionProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_EasingFunctionProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EasingFunctionProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IEdgeUIThemeTransition::Edge() const { winrt::Microsoft::UI::Xaml::Controls::Primitives::EdgeTransitionLocation value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IEdgeUIThemeTransition, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->get_Edge(reinterpret_cast(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->get_Edge(reinterpret_cast(&value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IEdgeUIThemeTransition::Edge( winrt::Microsoft::UI::Xaml::Controls::Primitives:: EdgeTransitionLocation const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IEdgeUIThemeTransition, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_Edge(static_cast(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Edge(static_cast(value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IEdgeUIThemeTransitionStatics< D>::EdgeProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_EdgeProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EdgeProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IElasticEase::Oscillations() const { int32_t value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IElasticEase, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_Oscillations(&value)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::Animation::IElasticEase>**)this; check_hresult(_winrt_abi_type->get_Oscillations(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IElasticEase::Oscillations( int32_t value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IElasticEase, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_Oscillations(value)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::Animation::IElasticEase>**)this; check_hresult(_winrt_abi_type->put_Oscillations(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IElasticEase::Springiness() const { double value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IElasticEase, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_Springiness(&value)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::Animation::IElasticEase>**)this; check_hresult(_winrt_abi_type->get_Springiness(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IElasticEase::Springiness( double value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IElasticEase, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_Springiness(value)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::Animation::IElasticEase>**)this; check_hresult(_winrt_abi_type->put_Springiness(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IElasticEaseStatics< D>::OscillationsProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IElasticEaseStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_OscillationsProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_OscillationsProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IElasticEaseStatics< D>::SpringinessProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IElasticEaseStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_SpringinessProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_SpringinessProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IEntranceNavigationTransitionInfoStatics< D>::IsTargetElementProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::Animation:: IEntranceNavigationTransitionInfoStatics>**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_IsTargetElementProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_IsTargetElementProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IEntranceNavigationTransitionInfoStatics< D>::GetIsTargetElement(winrt::Microsoft::UI::Xaml::UIElement const& element) const { bool result{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::Animation:: IEntranceNavigationTransitionInfoStatics>**)&_winrt_casted_result; check_hresult( _winrt_abi_type->GetIsTargetElement(*(void**)(&element), &result)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->GetIsTargetElement(*(void**)(&element), &result)); } return result; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IEntranceNavigationTransitionInfoStatics< D>::SetIsTargetElement(winrt::Microsoft::UI::Xaml::UIElement const& element, bool value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::Animation:: IEntranceNavigationTransitionInfoStatics>**)&_winrt_casted_result; check_hresult( _winrt_abi_type->SetIsTargetElement(*(void**)(&element), value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->SetIsTargetElement(*(void**)(&element), value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IEntranceThemeTransition< D>::FromHorizontalOffset() const { double value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IEntranceThemeTransition, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_FromHorizontalOffset(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_FromHorizontalOffset(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IEntranceThemeTransition< D>::FromHorizontalOffset(double value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IEntranceThemeTransition, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_FromHorizontalOffset(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_FromHorizontalOffset(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IEntranceThemeTransition< D>::FromVerticalOffset() const { double value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IEntranceThemeTransition, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_FromVerticalOffset(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_FromVerticalOffset(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IEntranceThemeTransition< D>::FromVerticalOffset(double value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IEntranceThemeTransition, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_FromVerticalOffset(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_FromVerticalOffset(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IEntranceThemeTransition< D>::IsStaggeringEnabled() const { bool value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IEntranceThemeTransition, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_IsStaggeringEnabled(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_IsStaggeringEnabled(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IEntranceThemeTransition< D>::IsStaggeringEnabled(bool value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IEntranceThemeTransition, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_IsStaggeringEnabled(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_IsStaggeringEnabled(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IEntranceThemeTransitionStatics< D>::FromHorizontalOffsetProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_FromHorizontalOffsetProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_FromHorizontalOffsetProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IEntranceThemeTransitionStatics< D>::FromVerticalOffsetProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_FromVerticalOffsetProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_FromVerticalOffsetProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IEntranceThemeTransitionStatics< D>::IsStaggeringEnabledProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_IsStaggeringEnabledProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_IsStaggeringEnabledProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IExponentialEase::Exponent() const { double value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IExponentialEase, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_Exponent(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Exponent(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IExponentialEase::Exponent( double value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IExponentialEase, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_Exponent(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Exponent(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IExponentialEaseStatics< D>::ExponentProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IExponentialEaseStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ExponentProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ExponentProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IFadeInThemeAnimation< D>::TargetName() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IFadeInThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_TargetName(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TargetName(&value)); } return hstring{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IFadeInThemeAnimation< D>::TargetName(param::hstring const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IFadeInThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_TargetName(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_TargetName(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IFadeInThemeAnimationStatics< D>::TargetNameProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_TargetNameProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TargetNameProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IFadeOutThemeAnimation< D>::TargetName() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IFadeOutThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_TargetName(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TargetName(&value)); } return hstring{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IFadeOutThemeAnimation< D>::TargetName(param::hstring const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IFadeOutThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_TargetName(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_TargetName(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IFadeOutThemeAnimationStatics< D>::TargetNameProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_TargetNameProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TargetNameProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IGravityConnectedAnimationConfiguration< D>::IsShadowEnabled() const { bool value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::Animation:: IGravityConnectedAnimationConfiguration>**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_IsShadowEnabled(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_IsShadowEnabled(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IGravityConnectedAnimationConfiguration< D>::IsShadowEnabled(bool value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::Animation:: IGravityConnectedAnimationConfiguration>**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_IsShadowEnabled(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_IsShadowEnabled(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IGravityConnectedAnimationConfigurationFactory< D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation:: IGravityConnectedAnimationConfigurationFactory>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation:: IGravityConnectedAnimationConfigurationFactory, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::Animation:: IGravityConnectedAnimationConfigurationFactory>**)&_winrt_casted_result; check_hresult(_winrt_abi_type->CreateInstance( *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->CreateInstance( *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); } return winrt::Microsoft::UI::Xaml::Media::Animation:: GravityConnectedAnimationConfiguration{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IKeySpline::ControlPoint1() const { winrt::Windows::Foundation::Point value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation::IKeySpline>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IKeySpline, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ControlPoint1(put_abi(value))); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->get_ControlPoint1(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IKeySpline::ControlPoint1( winrt::Windows::Foundation::Point const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation::IKeySpline>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IKeySpline, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_ControlPoint1(impl::bind_in(value))); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->put_ControlPoint1(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IKeySpline::ControlPoint2() const { winrt::Windows::Foundation::Point value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation::IKeySpline>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IKeySpline, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ControlPoint2(put_abi(value))); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->get_ControlPoint2(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IKeySpline::ControlPoint2( winrt::Windows::Foundation::Point const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation::IKeySpline>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IKeySpline, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_ControlPoint2(impl::bind_in(value))); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->put_ControlPoint2(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IKeyTimeHelperStatics:: FromTimeSpan(winrt::Windows::Foundation::TimeSpan const& timeSpan) const { winrt::Microsoft::UI::Xaml::Media::Animation::KeyTime result{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IKeyTimeHelperStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->FromTimeSpan(impl::bind_in(timeSpan), put_abi(result))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->FromTimeSpan(impl::bind_in(timeSpan), put_abi(result))); } return result; } template auto consume_Microsoft_UI_Xaml_Media_Animation_INavigationThemeTransition< D>::DefaultNavigationTransitionInfo() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_DefaultNavigationTransitionInfo(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_DefaultNavigationTransitionInfo(&value)); } return winrt::Microsoft::UI::Xaml::Media::Animation::NavigationTransitionInfo{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_INavigationThemeTransition:: DefaultNavigationTransitionInfo( winrt::Microsoft::UI::Xaml::Media::Animation:: NavigationTransitionInfo const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_DefaultNavigationTransitionInfo( *(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_DefaultNavigationTransitionInfo( *(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_INavigationThemeTransitionStatics< D>::DefaultNavigationTransitionInfoProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->get_DefaultNavigationTransitionInfoProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->get_DefaultNavigationTransitionInfoProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_INavigationTransitionInfoFactory< D>::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->CreateInstance( *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->CreateInstance( *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); } return winrt::Microsoft::UI::Xaml::Media::Animation::NavigationTransitionInfo{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_INavigationTransitionInfoOverrides< D>::GetNavigationStateCore() const { void* result{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->GetNavigationStateCore(&result)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->GetNavigationStateCore(&result)); } return hstring{result, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_INavigationTransitionInfoOverrides< D>::SetNavigationStateCore(param::hstring const& navigationState) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->SetNavigationStateCore(*(void**)(&navigationState))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->SetNavigationStateCore(*(void**)(&navigationState))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IObjectAnimationUsingKeyFrames< D>::KeyFrames() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_KeyFrames(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_KeyFrames(&value)); } return winrt::Microsoft::UI::Xaml::Media::Animation::ObjectKeyFrameCollection{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IObjectAnimationUsingKeyFrames< D>::EnableDependentAnimation() const { bool value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_EnableDependentAnimation(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EnableDependentAnimation(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IObjectAnimationUsingKeyFrames< D>::EnableDependentAnimation(bool value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_EnableDependentAnimation(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_EnableDependentAnimation(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IObjectAnimationUsingKeyFramesStatics< D>::EnableDependentAnimationProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::Animation:: IObjectAnimationUsingKeyFramesStatics>**)&_winrt_casted_result; check_hresult( _winrt_abi_type->get_EnableDependentAnimationProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->get_EnableDependentAnimationProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IObjectKeyFrame::Value() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IObjectKeyFrame, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_Value(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Value(&value)); } return winrt::Windows::Foundation::IInspectable{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IObjectKeyFrame::Value( winrt::Windows::Foundation::IInspectable const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IObjectKeyFrame, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_Value(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Value(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IObjectKeyFrame::KeyTime() const { winrt::Microsoft::UI::Xaml::Media::Animation::KeyTime value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IObjectKeyFrame, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_KeyTime(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_KeyTime(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IObjectKeyFrame::KeyTime( winrt::Microsoft::UI::Xaml::Media::Animation::KeyTime const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IObjectKeyFrame, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_KeyTime(impl::bind_in(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_KeyTime(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IObjectKeyFrameFactory:: CreateInstance( winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IObjectKeyFrameFactory, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->CreateInstance( *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->CreateInstance( *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); } return winrt::Microsoft::UI::Xaml::Media::Animation::ObjectKeyFrame{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IObjectKeyFrameStatics< D>::ValueProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IObjectKeyFrameStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ValueProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ValueProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IObjectKeyFrameStatics< D>::KeyTimeProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IObjectKeyFrameStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_KeyTimeProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_KeyTimeProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPaneThemeTransition::Edge() const { winrt::Microsoft::UI::Xaml::Controls::Primitives::EdgeTransitionLocation value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPaneThemeTransition, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->get_Edge(reinterpret_cast(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->get_Edge(reinterpret_cast(&value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPaneThemeTransition::Edge( winrt::Microsoft::UI::Xaml::Controls::Primitives:: EdgeTransitionLocation const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPaneThemeTransition, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_Edge(static_cast(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Edge(static_cast(value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPaneThemeTransitionStatics< D>::EdgeProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_EdgeProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EdgeProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPointAnimation::From() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPointAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_From(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_From(&value)); } return winrt::Windows::Foundation::IReference< winrt::Windows::Foundation::Point>{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPointAnimation::From( winrt::Windows::Foundation::IReference< winrt::Windows::Foundation::Point> const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPointAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_From(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_From(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPointAnimation::To() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPointAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_To(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_To(&value)); } return winrt::Windows::Foundation::IReference< winrt::Windows::Foundation::Point>{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPointAnimation::To( winrt::Windows::Foundation::IReference< winrt::Windows::Foundation::Point> const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPointAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_To(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_To(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPointAnimation::By() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPointAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_By(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_By(&value)); } return winrt::Windows::Foundation::IReference< winrt::Windows::Foundation::Point>{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPointAnimation::By( winrt::Windows::Foundation::IReference< winrt::Windows::Foundation::Point> const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPointAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_By(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_By(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPointAnimation< D>::EasingFunction() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPointAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_EasingFunction(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EasingFunction(&value)); } return winrt::Microsoft::UI::Xaml::Media::Animation::EasingFunctionBase{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPointAnimation:: EasingFunction( winrt::Microsoft::UI::Xaml::Media::Animation::EasingFunctionBase const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPointAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_EasingFunction(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_EasingFunction(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPointAnimation< D>::EnableDependentAnimation() const { bool value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPointAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_EnableDependentAnimation(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EnableDependentAnimation(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPointAnimation< D>::EnableDependentAnimation(bool value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPointAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_EnableDependentAnimation(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_EnableDependentAnimation(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPointAnimationStatics< D>::FromProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPointAnimationStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_FromProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_FromProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPointAnimationStatics< D>::ToProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPointAnimationStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ToProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ToProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPointAnimationStatics< D>::ByProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPointAnimationStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ByProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ByProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPointAnimationStatics< D>::EasingFunctionProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPointAnimationStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_EasingFunctionProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EasingFunctionProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPointAnimationStatics< D>::EnableDependentAnimationProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPointAnimationStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->get_EnableDependentAnimationProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->get_EnableDependentAnimationProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPointAnimationUsingKeyFrames< D>::KeyFrames() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_KeyFrames(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_KeyFrames(&value)); } return winrt::Microsoft::UI::Xaml::Media::Animation::PointKeyFrameCollection{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPointAnimationUsingKeyFrames< D>::EnableDependentAnimation() const { bool value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_EnableDependentAnimation(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EnableDependentAnimation(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPointAnimationUsingKeyFrames< D>::EnableDependentAnimation(bool value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_EnableDependentAnimation(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_EnableDependentAnimation(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPointAnimationUsingKeyFramesStatics< D>::EnableDependentAnimationProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *( abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->get_EnableDependentAnimationProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->get_EnableDependentAnimationProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPointKeyFrame::Value() const { winrt::Windows::Foundation::Point value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPointKeyFrame, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_Value(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Value(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPointKeyFrame::Value( winrt::Windows::Foundation::Point const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPointKeyFrame, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_Value(impl::bind_in(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Value(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPointKeyFrame::KeyTime() const { winrt::Microsoft::UI::Xaml::Media::Animation::KeyTime value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPointKeyFrame, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_KeyTime(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_KeyTime(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPointKeyFrame::KeyTime( winrt::Microsoft::UI::Xaml::Media::Animation::KeyTime const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPointKeyFrame, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_KeyTime(impl::bind_in(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_KeyTime(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPointKeyFrameFactory:: CreateInstance( winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPointKeyFrameFactory, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->CreateInstance( *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->CreateInstance( *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); } return winrt::Microsoft::UI::Xaml::Media::Animation::PointKeyFrame{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPointKeyFrameStatics< D>::ValueProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPointKeyFrameStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ValueProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ValueProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPointKeyFrameStatics< D>::KeyTimeProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPointKeyFrameStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_KeyTimeProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_KeyTimeProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPointerDownThemeAnimation< D>::TargetName() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_TargetName(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TargetName(&value)); } return hstring{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPointerDownThemeAnimation< D>::TargetName(param::hstring const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_TargetName(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_TargetName(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPointerDownThemeAnimationStatics< D>::TargetNameProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_TargetNameProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TargetNameProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPointerUpThemeAnimation< D>::TargetName() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPointerUpThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_TargetName(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TargetName(&value)); } return hstring{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPointerUpThemeAnimation< D>::TargetName(param::hstring const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPointerUpThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_TargetName(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_TargetName(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPointerUpThemeAnimationStatics< D>::TargetNameProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_TargetNameProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TargetNameProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPopInThemeAnimation< D>::TargetName() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPopInThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_TargetName(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TargetName(&value)); } return hstring{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPopInThemeAnimation< D>::TargetName(param::hstring const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPopInThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_TargetName(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_TargetName(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPopInThemeAnimation< D>::FromHorizontalOffset() const { double value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPopInThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_FromHorizontalOffset(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_FromHorizontalOffset(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPopInThemeAnimation< D>::FromHorizontalOffset(double value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPopInThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_FromHorizontalOffset(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_FromHorizontalOffset(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPopInThemeAnimation< D>::FromVerticalOffset() const { double value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPopInThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_FromVerticalOffset(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_FromVerticalOffset(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPopInThemeAnimation< D>::FromVerticalOffset(double value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPopInThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_FromVerticalOffset(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_FromVerticalOffset(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPopInThemeAnimationStatics< D>::TargetNameProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_TargetNameProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TargetNameProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPopInThemeAnimationStatics< D>::FromHorizontalOffsetProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_FromHorizontalOffsetProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_FromHorizontalOffsetProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPopInThemeAnimationStatics< D>::FromVerticalOffsetProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_FromVerticalOffsetProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_FromVerticalOffsetProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPopOutThemeAnimation< D>::TargetName() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPopOutThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_TargetName(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TargetName(&value)); } return hstring{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPopOutThemeAnimation< D>::TargetName(param::hstring const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPopOutThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_TargetName(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_TargetName(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPopOutThemeAnimationStatics< D>::TargetNameProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_TargetNameProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TargetNameProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPopupThemeTransition< D>::FromHorizontalOffset() const { double value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPopupThemeTransition, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_FromHorizontalOffset(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_FromHorizontalOffset(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPopupThemeTransition< D>::FromHorizontalOffset(double value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPopupThemeTransition, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_FromHorizontalOffset(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_FromHorizontalOffset(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPopupThemeTransition< D>::FromVerticalOffset() const { double value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPopupThemeTransition, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_FromVerticalOffset(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_FromVerticalOffset(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPopupThemeTransition< D>::FromVerticalOffset(double value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPopupThemeTransition, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_FromVerticalOffset(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_FromVerticalOffset(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPopupThemeTransitionStatics< D>::FromHorizontalOffsetProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_FromHorizontalOffsetProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_FromHorizontalOffsetProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPopupThemeTransitionStatics< D>::FromVerticalOffsetProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_FromVerticalOffsetProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_FromVerticalOffsetProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPowerEase::Power() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation::IPowerEase>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPowerEase, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_Power(&value)); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->get_Power(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPowerEase::Power( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation::IPowerEase>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPowerEase, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_Power(value)); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->put_Power(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IPowerEaseStatics< D>::PowerProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IPowerEaseStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_PowerProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_PowerProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IRepeatBehaviorHelperStatics< D>::Forever() const { winrt::Microsoft::UI::Xaml::Media::Animation::RepeatBehavior value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_Forever(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Forever(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IRepeatBehaviorHelperStatics< D>::FromCount(double count) const { winrt::Microsoft::UI::Xaml::Media::Animation::RepeatBehavior result{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->FromCount(count, put_abi(result))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->FromCount(count, put_abi(result))); } return result; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IRepeatBehaviorHelperStatics:: FromDuration(winrt::Windows::Foundation::TimeSpan const& duration) const { winrt::Microsoft::UI::Xaml::Media::Animation::RepeatBehavior result{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->FromDuration(impl::bind_in(duration), put_abi(result))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->FromDuration(impl::bind_in(duration), put_abi(result))); } return result; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IRepeatBehaviorHelperStatics:: GetHasCount( winrt::Microsoft::UI::Xaml::Media::Animation::RepeatBehavior const& target) const { bool result{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->GetHasCount(impl::bind_in(target), &result)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->GetHasCount(impl::bind_in(target), &result)); } return result; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IRepeatBehaviorHelperStatics:: GetHasDuration( winrt::Microsoft::UI::Xaml::Media::Animation::RepeatBehavior const& target) const { bool result{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->GetHasDuration(impl::bind_in(target), &result)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->GetHasDuration(impl::bind_in(target), &result)); } return result; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IRepeatBehaviorHelperStatics:: Equals(winrt::Microsoft::UI::Xaml::Media::Animation::RepeatBehavior const& target, winrt::Microsoft::UI::Xaml::Media::Animation::RepeatBehavior const& value) const { bool result{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->Equals(impl::bind_in(target), impl::bind_in(value), &result)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->Equals(impl::bind_in(target), impl::bind_in(value), &result)); } return result; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IRepositionThemeAnimation< D>::TargetName() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IRepositionThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_TargetName(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TargetName(&value)); } return hstring{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IRepositionThemeAnimation< D>::TargetName(param::hstring const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IRepositionThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_TargetName(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_TargetName(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IRepositionThemeAnimation< D>::FromHorizontalOffset() const { double value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IRepositionThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_FromHorizontalOffset(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_FromHorizontalOffset(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IRepositionThemeAnimation< D>::FromHorizontalOffset(double value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IRepositionThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_FromHorizontalOffset(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_FromHorizontalOffset(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IRepositionThemeAnimation< D>::FromVerticalOffset() const { double value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IRepositionThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_FromVerticalOffset(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_FromVerticalOffset(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IRepositionThemeAnimation< D>::FromVerticalOffset(double value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IRepositionThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_FromVerticalOffset(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_FromVerticalOffset(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IRepositionThemeAnimationStatics< D>::TargetNameProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_TargetNameProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TargetNameProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IRepositionThemeAnimationStatics< D>::FromHorizontalOffsetProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_FromHorizontalOffsetProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_FromHorizontalOffsetProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IRepositionThemeAnimationStatics< D>::FromVerticalOffsetProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_FromVerticalOffsetProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_FromVerticalOffsetProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IRepositionThemeTransition< D>::IsStaggeringEnabled() const { bool value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_IsStaggeringEnabled(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_IsStaggeringEnabled(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IRepositionThemeTransition< D>::IsStaggeringEnabled(bool value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_IsStaggeringEnabled(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_IsStaggeringEnabled(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IRepositionThemeTransitionStatics< D>::IsStaggeringEnabledProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_IsStaggeringEnabledProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_IsStaggeringEnabledProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISlideNavigationTransitionInfo< D>::Effect() const { winrt::Microsoft::UI::Xaml::Media::Animation::SlideNavigationTransitionEffect value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->get_Effect(reinterpret_cast(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->get_Effect(reinterpret_cast(&value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISlideNavigationTransitionInfo< D>::Effect(winrt::Microsoft::UI::Xaml::Media::Animation:: SlideNavigationTransitionEffect const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_Effect(static_cast(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Effect(static_cast(value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISlideNavigationTransitionInfoStatics< D>::EffectProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::Animation:: ISlideNavigationTransitionInfoStatics>**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_EffectProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EffectProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplineColorKeyFrame< D>::KeySpline() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplineColorKeyFrame, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_KeySpline(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_KeySpline(&value)); } return winrt::Microsoft::UI::Xaml::Media::Animation::KeySpline{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplineColorKeyFrame< D>::KeySpline(winrt::Microsoft::UI::Xaml::Media::Animation::KeySpline const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplineColorKeyFrame, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_KeySpline(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_KeySpline(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplineColorKeyFrameStatics< D>::KeySplineProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_KeySplineProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_KeySplineProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplineDoubleKeyFrame< D>::KeySpline() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplineDoubleKeyFrame, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_KeySpline(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_KeySpline(&value)); } return winrt::Microsoft::UI::Xaml::Media::Animation::KeySpline{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplineDoubleKeyFrame< D>::KeySpline(winrt::Microsoft::UI::Xaml::Media::Animation::KeySpline const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplineDoubleKeyFrame, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_KeySpline(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_KeySpline(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplineDoubleKeyFrameStatics< D>::KeySplineProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_KeySplineProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_KeySplineProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplinePointKeyFrame< D>::KeySpline() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplinePointKeyFrame, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_KeySpline(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_KeySpline(&value)); } return winrt::Microsoft::UI::Xaml::Media::Animation::KeySpline{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplinePointKeyFrame< D>::KeySpline(winrt::Microsoft::UI::Xaml::Media::Animation::KeySpline const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplinePointKeyFrame, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_KeySpline(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_KeySpline(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplinePointKeyFrameStatics< D>::KeySplineProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_KeySplineProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_KeySplineProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation< D>::OpenedTargetName() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_OpenedTargetName(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_OpenedTargetName(&value)); } return hstring{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation< D>::OpenedTargetName(param::hstring const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_OpenedTargetName(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_OpenedTargetName(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation< D>::OpenedTarget() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_OpenedTarget(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_OpenedTarget(&value)); } return winrt::Microsoft::UI::Xaml::DependencyObject{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation< D>::OpenedTarget(winrt::Microsoft::UI::Xaml::DependencyObject const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_OpenedTarget(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_OpenedTarget(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation< D>::ClosedTargetName() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ClosedTargetName(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ClosedTargetName(&value)); } return hstring{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation< D>::ClosedTargetName(param::hstring const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_ClosedTargetName(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_ClosedTargetName(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation< D>::ClosedTarget() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ClosedTarget(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ClosedTarget(&value)); } return winrt::Microsoft::UI::Xaml::DependencyObject{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation< D>::ClosedTarget(winrt::Microsoft::UI::Xaml::DependencyObject const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_ClosedTarget(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_ClosedTarget(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation< D>::ContentTargetName() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ContentTargetName(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ContentTargetName(&value)); } return hstring{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation< D>::ContentTargetName(param::hstring const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_ContentTargetName(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_ContentTargetName(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation< D>::ContentTarget() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ContentTarget(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ContentTarget(&value)); } return winrt::Microsoft::UI::Xaml::DependencyObject{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation< D>::ContentTarget(winrt::Microsoft::UI::Xaml::DependencyObject const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_ContentTarget(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_ContentTarget(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation< D>::OpenedLength() const { double value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_OpenedLength(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_OpenedLength(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation< D>::OpenedLength(double value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_OpenedLength(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_OpenedLength(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation< D>::ClosedLength() const { double value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ClosedLength(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ClosedLength(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation< D>::ClosedLength(double value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_ClosedLength(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_ClosedLength(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation< D>::OffsetFromCenter() const { double value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_OffsetFromCenter(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_OffsetFromCenter(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation< D>::OffsetFromCenter(double value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_OffsetFromCenter(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_OffsetFromCenter(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation< D>::ContentTranslationDirection() const { winrt::Microsoft::UI::Xaml::Controls::Primitives::AnimationDirection value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ContentTranslationDirection( reinterpret_cast(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ContentTranslationDirection( reinterpret_cast(&value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation< D>::ContentTranslationDirection(winrt::Microsoft::UI::Xaml::Controls:: Primitives::AnimationDirection const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_ContentTranslationDirection( static_cast(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_ContentTranslationDirection( static_cast(value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation< D>::ContentTranslationOffset() const { double value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ContentTranslationOffset(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ContentTranslationOffset(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitCloseThemeAnimation< D>::ContentTranslationOffset(double value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_ContentTranslationOffset(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_ContentTranslationOffset(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics< D>::OpenedTargetNameProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_OpenedTargetNameProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_OpenedTargetNameProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics< D>::OpenedTargetProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_OpenedTargetProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_OpenedTargetProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics< D>::ClosedTargetNameProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ClosedTargetNameProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ClosedTargetNameProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics< D>::ClosedTargetProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ClosedTargetProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ClosedTargetProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics< D>::ContentTargetNameProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ContentTargetNameProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ContentTargetNameProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics< D>::ContentTargetProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ContentTargetProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ContentTargetProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics< D>::OpenedLengthProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_OpenedLengthProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_OpenedLengthProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics< D>::ClosedLengthProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ClosedLengthProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ClosedLengthProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics< D>::OffsetFromCenterProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_OffsetFromCenterProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_OffsetFromCenterProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics< D>::ContentTranslationDirectionProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->get_ContentTranslationDirectionProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->get_ContentTranslationDirectionProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitCloseThemeAnimationStatics< D>::ContentTranslationOffsetProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->get_ContentTranslationOffsetProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->get_ContentTranslationOffsetProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation< D>::OpenedTargetName() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_OpenedTargetName(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_OpenedTargetName(&value)); } return hstring{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation< D>::OpenedTargetName(param::hstring const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_OpenedTargetName(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_OpenedTargetName(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation< D>::OpenedTarget() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_OpenedTarget(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_OpenedTarget(&value)); } return winrt::Microsoft::UI::Xaml::DependencyObject{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation< D>::OpenedTarget(winrt::Microsoft::UI::Xaml::DependencyObject const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_OpenedTarget(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_OpenedTarget(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation< D>::ClosedTargetName() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ClosedTargetName(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ClosedTargetName(&value)); } return hstring{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation< D>::ClosedTargetName(param::hstring const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_ClosedTargetName(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_ClosedTargetName(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation< D>::ClosedTarget() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ClosedTarget(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ClosedTarget(&value)); } return winrt::Microsoft::UI::Xaml::DependencyObject{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation< D>::ClosedTarget(winrt::Microsoft::UI::Xaml::DependencyObject const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_ClosedTarget(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_ClosedTarget(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation< D>::ContentTargetName() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ContentTargetName(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ContentTargetName(&value)); } return hstring{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation< D>::ContentTargetName(param::hstring const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_ContentTargetName(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_ContentTargetName(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation< D>::ContentTarget() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ContentTarget(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ContentTarget(&value)); } return winrt::Microsoft::UI::Xaml::DependencyObject{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation< D>::ContentTarget(winrt::Microsoft::UI::Xaml::DependencyObject const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_ContentTarget(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_ContentTarget(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation< D>::OpenedLength() const { double value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_OpenedLength(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_OpenedLength(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation< D>::OpenedLength(double value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_OpenedLength(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_OpenedLength(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation< D>::ClosedLength() const { double value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ClosedLength(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ClosedLength(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation< D>::ClosedLength(double value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_ClosedLength(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_ClosedLength(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation< D>::OffsetFromCenter() const { double value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_OffsetFromCenter(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_OffsetFromCenter(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation< D>::OffsetFromCenter(double value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_OffsetFromCenter(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_OffsetFromCenter(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation< D>::ContentTranslationDirection() const { winrt::Microsoft::UI::Xaml::Controls::Primitives::AnimationDirection value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ContentTranslationDirection( reinterpret_cast(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ContentTranslationDirection( reinterpret_cast(&value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation< D>::ContentTranslationDirection(winrt::Microsoft::UI::Xaml::Controls:: Primitives::AnimationDirection const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_ContentTranslationDirection( static_cast(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_ContentTranslationDirection( static_cast(value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation< D>::ContentTranslationOffset() const { double value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ContentTranslationOffset(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ContentTranslationOffset(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitOpenThemeAnimation< D>::ContentTranslationOffset(double value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_ContentTranslationOffset(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_ContentTranslationOffset(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics< D>::OpenedTargetNameProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_OpenedTargetNameProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_OpenedTargetNameProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics< D>::OpenedTargetProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_OpenedTargetProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_OpenedTargetProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics< D>::ClosedTargetNameProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ClosedTargetNameProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ClosedTargetNameProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics< D>::ClosedTargetProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ClosedTargetProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ClosedTargetProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics< D>::ContentTargetNameProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ContentTargetNameProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ContentTargetNameProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics< D>::ContentTargetProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ContentTargetProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ContentTargetProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics< D>::OpenedLengthProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_OpenedLengthProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_OpenedLengthProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics< D>::ClosedLengthProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ClosedLengthProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ClosedLengthProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics< D>::OffsetFromCenterProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_OffsetFromCenterProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_OffsetFromCenterProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics< D>::ContentTranslationDirectionProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->get_ContentTranslationDirectionProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->get_ContentTranslationDirectionProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISplitOpenThemeAnimationStatics< D>::ContentTranslationOffsetProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->get_ContentTranslationOffsetProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->get_ContentTranslationOffsetProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IStoryboard::Children() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IStoryboard, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_Children(&value)); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->get_Children(&value)); } return winrt::Microsoft::UI::Xaml::Media::Animation::TimelineCollection{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IStoryboard::Seek( winrt::Windows::Foundation::TimeSpan const& offset) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IStoryboard, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->Seek(impl::bind_in(offset))); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->Seek(impl::bind_in(offset))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IStoryboard::Stop() const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IStoryboard, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->Stop()); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->Stop()); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IStoryboard::Begin() const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IStoryboard, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->Begin()); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->Begin()); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IStoryboard::Pause() const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IStoryboard, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->Pause()); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->Pause()); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IStoryboard::Resume() const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IStoryboard, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->Resume()); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->Resume()); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IStoryboard::GetCurrentState() const { winrt::Microsoft::UI::Xaml::Media::Animation::ClockState result{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IStoryboard, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->GetCurrentState(reinterpret_cast(&result))); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult( _winrt_abi_type->GetCurrentState(reinterpret_cast(&result))); } return result; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IStoryboard::GetCurrentTime() const { winrt::Windows::Foundation::TimeSpan result{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IStoryboard, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->GetCurrentTime(put_abi(result))); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->GetCurrentTime(put_abi(result))); } return result; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IStoryboard< D>::SeekAlignedToLastTick(winrt::Windows::Foundation::TimeSpan const& offset) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IStoryboard, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->SeekAlignedToLastTick(impl::bind_in(offset))); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult( _winrt_abi_type->SeekAlignedToLastTick(impl::bind_in(offset))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IStoryboard::SkipToFill() const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IStoryboard, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->SkipToFill()); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->SkipToFill()); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IStoryboardStatics< D>::TargetPropertyProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IStoryboardStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_TargetPropertyProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TargetPropertyProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IStoryboardStatics:: GetTargetProperty( winrt::Microsoft::UI::Xaml::Media::Animation::Timeline const& element) const { void* result{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IStoryboardStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->GetTargetProperty(*(void**)(&element), &result)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->GetTargetProperty(*(void**)(&element), &result)); } return hstring{result, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IStoryboardStatics:: SetTargetProperty( winrt::Microsoft::UI::Xaml::Media::Animation::Timeline const& element, param::hstring const& path) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IStoryboardStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->SetTargetProperty(*(void**)(&element), *(void**)(&path))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->SetTargetProperty(*(void**)(&element), *(void**)(&path))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IStoryboardStatics< D>::TargetNameProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IStoryboardStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_TargetNameProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TargetNameProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IStoryboardStatics:: GetTargetName(winrt::Microsoft::UI::Xaml::Media::Animation::Timeline const& element) const { void* result{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IStoryboardStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->GetTargetName(*(void**)(&element), &result)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->GetTargetName(*(void**)(&element), &result)); } return hstring{result, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_IStoryboardStatics:: SetTargetName( winrt::Microsoft::UI::Xaml::Media::Animation::Timeline const& element, param::hstring const& name) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IStoryboardStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->SetTargetName(*(void**)(&element), *(void**)(&name))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->SetTargetName(*(void**)(&element), *(void**)(&name))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_IStoryboardStatics::SetTarget( winrt::Microsoft::UI::Xaml::Media::Animation::Timeline const& timeline, winrt::Microsoft::UI::Xaml::DependencyObject const& target) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::IStoryboardStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->SetTarget(*(void**)(&timeline), *(void**)(&target))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->SetTarget(*(void**)(&timeline), *(void**)(&target))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISwipeBackThemeAnimation< D>::TargetName() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISwipeBackThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_TargetName(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TargetName(&value)); } return hstring{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISwipeBackThemeAnimation< D>::TargetName(param::hstring const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISwipeBackThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_TargetName(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_TargetName(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISwipeBackThemeAnimation< D>::FromHorizontalOffset() const { double value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISwipeBackThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_FromHorizontalOffset(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_FromHorizontalOffset(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISwipeBackThemeAnimation< D>::FromHorizontalOffset(double value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISwipeBackThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_FromHorizontalOffset(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_FromHorizontalOffset(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISwipeBackThemeAnimation< D>::FromVerticalOffset() const { double value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISwipeBackThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_FromVerticalOffset(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_FromVerticalOffset(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISwipeBackThemeAnimation< D>::FromVerticalOffset(double value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISwipeBackThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_FromVerticalOffset(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_FromVerticalOffset(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISwipeBackThemeAnimationStatics< D>::TargetNameProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_TargetNameProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TargetNameProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISwipeBackThemeAnimationStatics< D>::FromHorizontalOffsetProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_FromHorizontalOffsetProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_FromHorizontalOffsetProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISwipeBackThemeAnimationStatics< D>::FromVerticalOffsetProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_FromVerticalOffsetProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_FromVerticalOffsetProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISwipeHintThemeAnimation< D>::TargetName() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISwipeHintThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_TargetName(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TargetName(&value)); } return hstring{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISwipeHintThemeAnimation< D>::TargetName(param::hstring const& value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISwipeHintThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_TargetName(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_TargetName(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISwipeHintThemeAnimation< D>::ToHorizontalOffset() const { double value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISwipeHintThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ToHorizontalOffset(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ToHorizontalOffset(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISwipeHintThemeAnimation< D>::ToHorizontalOffset(double value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISwipeHintThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_ToHorizontalOffset(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_ToHorizontalOffset(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISwipeHintThemeAnimation< D>::ToVerticalOffset() const { double value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISwipeHintThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ToVerticalOffset(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ToVerticalOffset(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISwipeHintThemeAnimation< D>::ToVerticalOffset(double value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ISwipeHintThemeAnimation, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_ToVerticalOffset(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_ToVerticalOffset(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISwipeHintThemeAnimationStatics< D>::TargetNameProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_TargetNameProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TargetNameProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISwipeHintThemeAnimationStatics< D>::ToHorizontalOffsetProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ToHorizontalOffsetProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ToHorizontalOffsetProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ISwipeHintThemeAnimationStatics< D>::ToVerticalOffsetProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_ToVerticalOffsetProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ToVerticalOffsetProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ITimeline::AutoReverse() const { bool value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation::ITimeline>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ITimeline, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_AutoReverse(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_AutoReverse(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ITimeline::AutoReverse( bool value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation::ITimeline>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ITimeline, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_AutoReverse(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_AutoReverse(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ITimeline::BeginTime() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation::ITimeline>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ITimeline, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_BeginTime(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_BeginTime(&value)); } return winrt::Windows::Foundation::IReference< winrt::Windows::Foundation::TimeSpan>{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ITimeline::BeginTime( winrt::Windows::Foundation::IReference< winrt::Windows::Foundation::TimeSpan> const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation::ITimeline>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ITimeline, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_BeginTime(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_BeginTime(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ITimeline::Duration() const { winrt::Microsoft::UI::Xaml::Duration value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation::ITimeline>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ITimeline, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_Duration(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Duration(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ITimeline::Duration( winrt::Microsoft::UI::Xaml::Duration const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation::ITimeline>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ITimeline, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_Duration(impl::bind_in(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Duration(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ITimeline::SpeedRatio() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation::ITimeline>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ITimeline, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_SpeedRatio(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_SpeedRatio(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ITimeline::SpeedRatio( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation::ITimeline>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ITimeline, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_SpeedRatio(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_SpeedRatio(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ITimeline::FillBehavior() const { winrt::Microsoft::UI::Xaml::Media::Animation::FillBehavior value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation::ITimeline>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ITimeline, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->get_FillBehavior(reinterpret_cast(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->get_FillBehavior(reinterpret_cast(&value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ITimeline::FillBehavior( winrt::Microsoft::UI::Xaml::Media::Animation::FillBehavior const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation::ITimeline>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ITimeline, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->put_FillBehavior(static_cast(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->put_FillBehavior(static_cast(value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ITimeline::RepeatBehavior() const { winrt::Microsoft::UI::Xaml::Media::Animation::RepeatBehavior value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation::ITimeline>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ITimeline, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_RepeatBehavior(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_RepeatBehavior(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ITimeline::RepeatBehavior( winrt::Microsoft::UI::Xaml::Media::Animation::RepeatBehavior const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation::ITimeline>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ITimeline, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_RepeatBehavior(impl::bind_in(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_RepeatBehavior(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ITimeline::Completed( winrt::Windows::Foundation::EventHandler< winrt::Windows::Foundation::IInspectable> const& handler) const { winrt::event_token token{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation::ITimeline>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ITimeline, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->add_Completed(*(void**)(&handler), put_abi(token))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->add_Completed(*(void**)(&handler), put_abi(token))); } return token; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ITimeline::Completed( auto_revoke_t, winrt::Windows::Foundation::EventHandler< winrt::Windows::Foundation::IInspectable> const& handler) const { return impl::make_event_revoker(this, Completed(handler)); } template auto consume_Microsoft_UI_Xaml_Media_Animation_ITimeline::Completed( winrt::event_token const& token) const noexcept { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::Animation::ITimeline>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ITimeline, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; _winrt_abi_type->remove_Completed(impl::bind_in(token)); } else { auto const _winrt_abi_type = *(abi_t**)this; _winrt_abi_type->remove_Completed(impl::bind_in(token)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ITimelineFactory:: CreateInstance( winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ITimelineFactory, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->CreateInstance( *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->CreateInstance( *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); } return winrt::Microsoft::UI::Xaml::Media::Animation::Timeline{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ITimelineStatics< D>::AllowDependentAnimations() const { bool value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ITimelineStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_AllowDependentAnimations(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_AllowDependentAnimations(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ITimelineStatics< D>::AllowDependentAnimations(bool value) const { if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ITimelineStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_AllowDependentAnimations(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_AllowDependentAnimations(value)); } } template auto consume_Microsoft_UI_Xaml_Media_Animation_ITimelineStatics< D>::AutoReverseProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ITimelineStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_AutoReverseProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_AutoReverseProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ITimelineStatics< D>::BeginTimeProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ITimelineStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_BeginTimeProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_BeginTimeProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ITimelineStatics< D>::DurationProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ITimelineStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_DurationProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_DurationProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ITimelineStatics< D>::SpeedRatioProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ITimelineStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_SpeedRatioProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_SpeedRatioProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ITimelineStatics< D>::FillBehaviorProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ITimelineStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_FillBehaviorProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_FillBehaviorProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_Animation_ITimelineStatics< D>::RepeatBehaviorProperty() const { void* value{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::Animation::ITimelineStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_RepeatBehaviorProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_RepeatBehaviorProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IAddDeleteThemeTransition> : produce_base {}; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Amplitude(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Amplitude()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Amplitude(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Amplitude(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::IBackEaseStatics> { int32_t __stdcall get_AmplitudeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().AmplitudeProperty()); 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 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< D, winrt::Microsoft::UI::Xaml::Media::Animation::IBeginStoryboard> { int32_t __stdcall get_Storyboard(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().Storyboard()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Storyboard(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Storyboard( *reinterpret_cast< winrt::Microsoft::UI::Xaml::Media::Animation::Storyboard const*>( &value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IBeginStoryboardStatics> : produce_base { int32_t __stdcall get_StoryboardProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().StoryboardProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Bounces(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Bounces()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Bounces(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Bounces(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Bounciness(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Bounciness()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Bounciness(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Bounciness(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::IBounceEaseStatics> { int32_t __stdcall get_BouncesProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().BouncesProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BouncinessProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().BouncinessProperty()); 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< D, winrt::Microsoft::UI::Xaml::Media::Animation::IColorAnimation> { int32_t __stdcall get_From(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from< winrt::Windows::Foundation::IReference>( this->shim().From()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_From(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().From(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_To(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from< winrt::Windows::Foundation::IReference>( this->shim().To()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_To(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().To(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_By(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from< winrt::Windows::Foundation::IReference>( this->shim().By()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_By(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().By(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EasingFunction(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from< winrt::Microsoft::UI::Xaml::Media::Animation::EasingFunctionBase>( this->shim().EasingFunction()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_EasingFunction(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().EasingFunction( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EnableDependentAnimation(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().EnableDependentAnimation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_EnableDependentAnimation(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().EnableDependentAnimation(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IColorAnimationStatics> : produce_base { int32_t __stdcall get_FromProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().FromProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ToProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ToProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ByProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ByProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EasingFunctionProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().EasingFunctionProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EnableDependentAnimationProperty( void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().EnableDependentAnimationProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IColorAnimationUsingKeyFrames> : produce_base { int32_t __stdcall get_KeyFrames(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from< winrt::Microsoft::UI::Xaml::Media::Animation::ColorKeyFrameCollection>( this->shim().KeyFrames()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EnableDependentAnimation(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().EnableDependentAnimation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_EnableDependentAnimation(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().EnableDependentAnimation(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_EnableDependentAnimationProperty( void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().EnableDependentAnimationProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::IColorKeyFrame> { int32_t __stdcall get_Value( struct struct_Windows_UI_Color* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Value()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Value( struct struct_Windows_UI_Color value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Value( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_KeyTime( struct struct_Microsoft_UI_Xaml_Media_Animation_KeyTime* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().KeyTime()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_KeyTime( struct struct_Microsoft_UI_Xaml_Media_Animation_KeyTime value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().KeyTime( *reinterpret_cast< winrt::Microsoft::UI::Xaml::Media::Animation::KeyTime const*>( &value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IColorKeyFrameFactory> : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::IColorKeyFrameFactory> { 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< winrt::Microsoft::UI::Xaml::Media::Animation::ColorKeyFrame>( 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< D, winrt::Microsoft::UI::Xaml::Media::Animation::IColorKeyFrameStatics> : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::IColorKeyFrameStatics> { int32_t __stdcall get_ValueProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ValueProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_KeyTimeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().KeyTimeProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsStaggeringEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsStaggeringEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsStaggeringEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsStaggeringEnabled(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsStaggeringEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().IsStaggeringEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsStaggerElementProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().IsStaggerElementProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetIsStaggerElement(void* element, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetIsStaggerElement( *reinterpret_cast( &element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetIsStaggerElement(void* element, bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetIsStaggerElement( *reinterpret_cast( &element), value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IConnectedAnimation> : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::IConnectedAnimation> { int32_t __stdcall get_IsScaleAnimationEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsScaleAnimationEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsScaleAnimationEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsScaleAnimationEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Configuration(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().Configuration()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Configuration(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Configuration( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_Completed(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Completed( *reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Completed(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Completed( *reinterpret_cast(&token)); return 0; } int32_t __stdcall TryStart(void* destination, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryStart( *reinterpret_cast( &destination))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryStartWithCoordinatedElements(void* destination, void* coordinatedElements, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryStart( *reinterpret_cast( &destination), *reinterpret_cast const*>( &coordinatedElements))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Cancel() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Cancel(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetAnimationComponent(int32_t component, void* animation) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetAnimationComponent( *reinterpret_cast(&component), *reinterpret_cast(&animation)); 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 {}; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IConnectedAnimationService> : produce_base { int32_t __stdcall get_DefaultDuration(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().DefaultDuration()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DefaultDuration(int64_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DefaultDuration( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DefaultEasingFunction(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from< winrt::Microsoft::UI::Composition::CompositionEasingFunction>( this->shim().DefaultEasingFunction()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DefaultEasingFunction(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DefaultEasingFunction( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall PrepareToAnimate(void* key, void* source, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from< winrt::Microsoft::UI::Xaml::Media::Animation::ConnectedAnimation>( this->shim().PrepareToAnimate( *reinterpret_cast(&key), *reinterpret_cast( &source))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetAnimation(void* key, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from< winrt::Microsoft::UI::Xaml::Media::Animation::ConnectedAnimation>( this->shim().GetAnimation(*reinterpret_cast(&key))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall GetForCurrentView(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from( this->shim().GetForCurrentView()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IContentThemeTransition> : produce_base { int32_t __stdcall get_HorizontalOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HorizontalOffset(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HorizontalOffset(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_VerticalOffset(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().VerticalOffset(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_HorizontalOffsetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().HorizontalOffsetProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalOffsetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().VerticalOffsetProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ExitElement(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ExitElement()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ExitElement(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ExitElement( *reinterpret_cast( &value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ExitElementProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ExitElementProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsEntranceElementProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().IsEntranceElementProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetIsEntranceElement(void* element, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetIsEntranceElement( *reinterpret_cast( &element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetIsEntranceElement(void* element, bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetIsEntranceElement( *reinterpret_cast( &element), value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsExitElementProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().IsExitElementProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetIsExitElement(void* element, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetIsExitElement( *reinterpret_cast( &element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetIsExitElement(void* element, bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetIsExitElement( *reinterpret_cast( &element), value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExitElementContainerProperty( void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ExitElementContainerProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetExitElementContainer(void* element, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetExitElementContainer( *reinterpret_cast< winrt::Microsoft::UI::Xaml::Controls::ListViewBase const*>( &element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetExitElementContainer(void* element, bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetExitElementContainer( *reinterpret_cast< winrt::Microsoft::UI::Xaml::Controls::ListViewBase const*>( &element), 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 {}; #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< D, winrt::Microsoft::UI::Xaml::Media::Animation::IDiscreteColorKeyFrame> : produce_base {}; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IDiscreteDoubleKeyFrame> : produce_base {}; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IDiscreteObjectKeyFrame> : produce_base {}; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IDiscretePointKeyFrame> : produce_base {}; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::IDoubleAnimation> { int32_t __stdcall get_From(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>( this->shim().From()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_From(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().From( *reinterpret_cast< winrt::Windows::Foundation::IReference const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_To(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>( this->shim().To()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_To(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().To( *reinterpret_cast< winrt::Windows::Foundation::IReference const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_By(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>( this->shim().By()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_By(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().By( *reinterpret_cast< winrt::Windows::Foundation::IReference const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EasingFunction(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from< winrt::Microsoft::UI::Xaml::Media::Animation::EasingFunctionBase>( this->shim().EasingFunction()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_EasingFunction(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().EasingFunction( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EnableDependentAnimation(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().EnableDependentAnimation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_EnableDependentAnimation(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().EnableDependentAnimation(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IDoubleAnimationStatics> : produce_base { int32_t __stdcall get_FromProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().FromProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ToProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ToProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ByProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ByProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EasingFunctionProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().EasingFunctionProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EnableDependentAnimationProperty( void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().EnableDependentAnimationProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_KeyFrames(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from< winrt::Microsoft::UI::Xaml::Media::Animation::DoubleKeyFrameCollection>( this->shim().KeyFrames()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EnableDependentAnimation(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().EnableDependentAnimation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_EnableDependentAnimation(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().EnableDependentAnimation(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_EnableDependentAnimationProperty( void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().EnableDependentAnimationProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::IDoubleKeyFrame> { int32_t __stdcall get_Value(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Value()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Value(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Value(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_KeyTime( struct struct_Microsoft_UI_Xaml_Media_Animation_KeyTime* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().KeyTime()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_KeyTime( struct struct_Microsoft_UI_Xaml_Media_Animation_KeyTime value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().KeyTime( *reinterpret_cast< winrt::Microsoft::UI::Xaml::Media::Animation::KeyTime const*>( &value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IDoubleKeyFrameFactory> : 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< winrt::Microsoft::UI::Xaml::Media::Animation::DoubleKeyFrame>( 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< D, winrt::Microsoft::UI::Xaml::Media::Animation::IDoubleKeyFrameStatics> : produce_base { int32_t __stdcall get_ValueProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ValueProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_KeyTimeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().KeyTimeProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IDragItemThemeAnimation> : produce_base { int32_t __stdcall get_TargetName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TargetName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TargetName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TargetName(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_TargetNameProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().TargetNameProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IDragOverThemeAnimation> : produce_base { int32_t __stdcall get_TargetName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TargetName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TargetName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TargetName(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ToOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ToOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ToOffset(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ToOffset(value); 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< winrt::Microsoft::UI::Xaml::Controls::Primitives::AnimationDirection>( this->shim().Direction()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Direction(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Direction( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_TargetNameProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().TargetNameProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ToOffsetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ToOffsetProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DirectionProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().DirectionProperty()); 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< D, winrt::Microsoft::UI::Xaml::Media::Animation::IDrillInThemeAnimation> : produce_base { int32_t __stdcall get_EntranceTargetName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().EntranceTargetName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_EntranceTargetName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().EntranceTargetName(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EntranceTarget(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().EntranceTarget()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_EntranceTarget(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().EntranceTarget( *reinterpret_cast( &value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExitTargetName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExitTargetName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ExitTargetName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ExitTargetName(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExitTarget(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ExitTarget()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ExitTarget(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ExitTarget( *reinterpret_cast( &value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IDrillInThemeAnimationStatics> : produce_base { int32_t __stdcall get_EntranceTargetNameProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().EntranceTargetNameProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EntranceTargetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().EntranceTargetProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExitTargetNameProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ExitTargetNameProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExitTargetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ExitTargetProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IDrillOutThemeAnimation> : produce_base { int32_t __stdcall get_EntranceTargetName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().EntranceTargetName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_EntranceTargetName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().EntranceTargetName(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EntranceTarget(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().EntranceTarget()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_EntranceTarget(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().EntranceTarget( *reinterpret_cast( &value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExitTargetName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExitTargetName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ExitTargetName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ExitTargetName(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExitTarget(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ExitTarget()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ExitTarget(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ExitTarget( *reinterpret_cast( &value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_EntranceTargetNameProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().EntranceTargetNameProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EntranceTargetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().EntranceTargetProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExitTargetNameProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ExitTargetNameProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExitTargetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ExitTargetProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IDropTargetItemThemeAnimation> : produce_base { int32_t __stdcall get_TargetName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TargetName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TargetName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TargetName(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_TargetNameProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().TargetNameProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IEasingColorKeyFrame> : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::IEasingColorKeyFrame> { int32_t __stdcall get_EasingFunction(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from< winrt::Microsoft::UI::Xaml::Media::Animation::EasingFunctionBase>( this->shim().EasingFunction()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_EasingFunction(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().EasingFunction( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IEasingColorKeyFrameStatics> : produce_base { int32_t __stdcall get_EasingFunctionProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().EasingFunctionProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IEasingDoubleKeyFrame> : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::IEasingDoubleKeyFrame> { int32_t __stdcall get_EasingFunction(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from< winrt::Microsoft::UI::Xaml::Media::Animation::EasingFunctionBase>( this->shim().EasingFunction()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_EasingFunction(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().EasingFunction( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IEasingDoubleKeyFrameStatics> : produce_base { int32_t __stdcall get_EasingFunctionProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().EasingFunctionProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IEasingFunctionBase> : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::IEasingFunctionBase> { int32_t __stdcall get_EasingMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().EasingMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_EasingMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().EasingMode( *reinterpret_cast< winrt::Microsoft::UI::Xaml::Media::Animation::EasingMode const*>( &value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Ease(double normalizedTime, double* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Ease(normalizedTime)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IEasingFunctionBaseFactory> : produce_base {}; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IEasingFunctionBaseStatics> : produce_base { int32_t __stdcall get_EasingModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().EasingModeProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IEasingPointKeyFrame> : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::IEasingPointKeyFrame> { int32_t __stdcall get_EasingFunction(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from< winrt::Microsoft::UI::Xaml::Media::Animation::EasingFunctionBase>( this->shim().EasingFunction()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_EasingFunction(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().EasingFunction( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IEasingPointKeyFrameStatics> : produce_base { int32_t __stdcall get_EasingFunctionProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().EasingFunctionProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IEdgeUIThemeTransition> : produce_base { int32_t __stdcall get_Edge(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Edge()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Edge(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Edge( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IEdgeUIThemeTransitionStatics> : produce_base { int32_t __stdcall get_EdgeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().EdgeProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Oscillations(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Oscillations()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Oscillations(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Oscillations(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Springiness(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Springiness()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Springiness(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Springiness(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IElasticEaseStatics> : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::IElasticEaseStatics> { int32_t __stdcall get_OscillationsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().OscillationsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SpringinessProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().SpringinessProperty()); 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_IsTargetElementProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().IsTargetElementProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetIsTargetElement(void* element, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetIsTargetElement( *reinterpret_cast( &element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetIsTargetElement(void* element, bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetIsTargetElement( *reinterpret_cast( &element), value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IEntranceThemeTransition> : produce_base { int32_t __stdcall get_FromHorizontalOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FromHorizontalOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FromHorizontalOffset(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FromHorizontalOffset(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FromVerticalOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FromVerticalOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FromVerticalOffset(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FromVerticalOffset(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsStaggeringEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsStaggeringEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsStaggeringEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsStaggeringEnabled(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_FromHorizontalOffsetProperty( void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().FromHorizontalOffsetProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FromVerticalOffsetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().FromVerticalOffsetProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsStaggeringEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().IsStaggeringEnabledProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::IExponentialEase> { int32_t __stdcall get_Exponent(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Exponent()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Exponent(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Exponent(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IExponentialEaseStatics> : produce_base { int32_t __stdcall get_ExponentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ExponentProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IFadeInThemeAnimation> : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::IFadeInThemeAnimation> { int32_t __stdcall get_TargetName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TargetName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TargetName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TargetName(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IFadeInThemeAnimationStatics> : produce_base { int32_t __stdcall get_TargetNameProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().TargetNameProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IFadeOutThemeAnimation> : produce_base { int32_t __stdcall get_TargetName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TargetName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TargetName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TargetName(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IFadeOutThemeAnimationStatics> : produce_base { int32_t __stdcall get_TargetNameProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().TargetNameProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsShadowEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsShadowEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsShadowEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsShadowEnabled(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(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ControlPoint1( winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ControlPoint1()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ControlPoint1( winrt::Windows::Foundation::Point value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ControlPoint1( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ControlPoint2( winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ControlPoint2()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ControlPoint2( winrt::Windows::Foundation::Point value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ControlPoint2( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::IKeyTimeHelper> {}; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IKeyTimeHelperStatics> : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::IKeyTimeHelperStatics> { int32_t __stdcall FromTimeSpan( int64_t timeSpan, struct struct_Microsoft_UI_Xaml_Media_Animation_KeyTime* result) noexcept final try { zero_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from( this->shim().FromTimeSpan( *reinterpret_cast( &timeSpan))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::ILinearColorKeyFrame> : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::ILinearColorKeyFrame> { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::ILinearDoubleKeyFrame> : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::ILinearDoubleKeyFrame> { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::ILinearPointKeyFrame> : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::ILinearPointKeyFrame> { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::INavigationThemeTransition> : produce_base { int32_t __stdcall get_DefaultNavigationTransitionInfo( void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from< winrt::Microsoft::UI::Xaml::Media::Animation::NavigationTransitionInfo>( this->shim().DefaultNavigationTransitionInfo()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DefaultNavigationTransitionInfo( void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DefaultNavigationTransitionInfo( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_DefaultNavigationTransitionInfoProperty( void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().DefaultNavigationTransitionInfoProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::INavigationTransitionInfo> : produce_base {}; #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< winrt::Microsoft::UI::Xaml::Media::Animation::NavigationTransitionInfo>( this->shim().CreateInstance( *reinterpret_cast( &baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } }; #endif template struct produce : produce_base { int32_t __stdcall GetNavigationStateCore(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetNavigationStateCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetNavigationStateCore(void* navigationState) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetNavigationStateCore( *reinterpret_cast(&navigationState)); return 0; } catch (...) { return to_hresult(); } }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_KeyFrames(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from< winrt::Microsoft::UI::Xaml::Media::Animation::ObjectKeyFrameCollection>( this->shim().KeyFrames()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EnableDependentAnimation(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().EnableDependentAnimation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_EnableDependentAnimation(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().EnableDependentAnimation(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_EnableDependentAnimationProperty( void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().EnableDependentAnimationProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::IObjectKeyFrame> { int32_t __stdcall get_Value(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().Value()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Value(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Value( *reinterpret_cast( &value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_KeyTime( struct struct_Microsoft_UI_Xaml_Media_Animation_KeyTime* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().KeyTime()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_KeyTime( struct struct_Microsoft_UI_Xaml_Media_Animation_KeyTime value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().KeyTime( *reinterpret_cast< winrt::Microsoft::UI::Xaml::Media::Animation::KeyTime const*>( &value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IObjectKeyFrameFactory> : 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< winrt::Microsoft::UI::Xaml::Media::Animation::ObjectKeyFrame>( 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< D, winrt::Microsoft::UI::Xaml::Media::Animation::IObjectKeyFrameStatics> : produce_base { int32_t __stdcall get_ValueProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ValueProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_KeyTimeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().KeyTimeProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IPaneThemeTransition> : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::IPaneThemeTransition> { int32_t __stdcall get_Edge(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Edge()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Edge(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Edge( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IPaneThemeTransitionStatics> : produce_base { int32_t __stdcall get_EdgeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().EdgeProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::IPointAnimation> { int32_t __stdcall get_From(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().From()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_From(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().From(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_To(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().To()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_To(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().To(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_By(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().By()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_By(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().By(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EasingFunction(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from< winrt::Microsoft::UI::Xaml::Media::Animation::EasingFunctionBase>( this->shim().EasingFunction()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_EasingFunction(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().EasingFunction( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EnableDependentAnimation(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().EnableDependentAnimation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_EnableDependentAnimation(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().EnableDependentAnimation(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IPointAnimationStatics> : produce_base { int32_t __stdcall get_FromProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().FromProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ToProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ToProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ByProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ByProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EasingFunctionProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().EasingFunctionProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EnableDependentAnimationProperty( void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().EnableDependentAnimationProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IPointAnimationUsingKeyFrames> : produce_base { int32_t __stdcall get_KeyFrames(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from< winrt::Microsoft::UI::Xaml::Media::Animation::PointKeyFrameCollection>( this->shim().KeyFrames()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EnableDependentAnimation(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().EnableDependentAnimation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_EnableDependentAnimation(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().EnableDependentAnimation(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_EnableDependentAnimationProperty( void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().EnableDependentAnimationProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::IPointKeyFrame> { int32_t __stdcall get_Value( winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Value()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Value( winrt::Windows::Foundation::Point value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Value( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_KeyTime( struct struct_Microsoft_UI_Xaml_Media_Animation_KeyTime* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().KeyTime()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_KeyTime( struct struct_Microsoft_UI_Xaml_Media_Animation_KeyTime value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().KeyTime( *reinterpret_cast< winrt::Microsoft::UI::Xaml::Media::Animation::KeyTime const*>( &value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IPointKeyFrameFactory> : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::IPointKeyFrameFactory> { 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< winrt::Microsoft::UI::Xaml::Media::Animation::PointKeyFrame>( 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< D, winrt::Microsoft::UI::Xaml::Media::Animation::IPointKeyFrameStatics> : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::IPointKeyFrameStatics> { int32_t __stdcall get_ValueProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ValueProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_KeyTimeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().KeyTimeProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IPointerDownThemeAnimation> : produce_base { int32_t __stdcall get_TargetName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TargetName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TargetName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TargetName(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_TargetNameProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().TargetNameProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IPointerUpThemeAnimation> : produce_base { int32_t __stdcall get_TargetName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TargetName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TargetName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TargetName(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_TargetNameProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().TargetNameProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IPopInThemeAnimation> : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::IPopInThemeAnimation> { int32_t __stdcall get_TargetName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TargetName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TargetName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TargetName(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FromHorizontalOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FromHorizontalOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FromHorizontalOffset(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FromHorizontalOffset(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FromVerticalOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FromVerticalOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FromVerticalOffset(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FromVerticalOffset(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IPopInThemeAnimationStatics> : produce_base { int32_t __stdcall get_TargetNameProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().TargetNameProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FromHorizontalOffsetProperty( void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().FromHorizontalOffsetProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FromVerticalOffsetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().FromVerticalOffsetProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IPopOutThemeAnimation> : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::IPopOutThemeAnimation> { int32_t __stdcall get_TargetName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TargetName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TargetName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TargetName(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IPopOutThemeAnimationStatics> : produce_base { int32_t __stdcall get_TargetNameProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().TargetNameProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IPopupThemeTransition> : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::IPopupThemeTransition> { int32_t __stdcall get_FromHorizontalOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FromHorizontalOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FromHorizontalOffset(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FromHorizontalOffset(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FromVerticalOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FromVerticalOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FromVerticalOffset(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FromVerticalOffset(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IPopupThemeTransitionStatics> : produce_base { int32_t __stdcall get_FromHorizontalOffsetProperty( void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().FromHorizontalOffsetProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FromVerticalOffsetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().FromVerticalOffsetProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Power(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Power()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Power(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Power(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::IPowerEaseStatics> { int32_t __stdcall get_PowerProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().PowerProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::IQuadraticEase> {}; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IReorderThemeTransition> : produce_base {}; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IRepeatBehaviorHelper> : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::IRepeatBehaviorHelper> { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IRepeatBehaviorHelperStatics> : produce_base { int32_t __stdcall get_Forever( struct struct_Microsoft_UI_Xaml_Media_Animation_RepeatBehavior* value) noexcept final try { zero_abi( value); typename D::abi_guard guard(this->shim()); *value = detach_from< winrt::Microsoft::UI::Xaml::Media::Animation::RepeatBehavior>( this->shim().Forever()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall FromCount( double count, struct struct_Microsoft_UI_Xaml_Media_Animation_RepeatBehavior* result) noexcept final try { zero_abi( result); typename D::abi_guard guard(this->shim()); *result = detach_from< winrt::Microsoft::UI::Xaml::Media::Animation::RepeatBehavior>( this->shim().FromCount(count)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall FromDuration( int64_t duration, struct struct_Microsoft_UI_Xaml_Media_Animation_RepeatBehavior* result) noexcept final try { zero_abi( result); typename D::abi_guard guard(this->shim()); *result = detach_from< winrt::Microsoft::UI::Xaml::Media::Animation::RepeatBehavior>( this->shim().FromDuration( *reinterpret_cast( &duration))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetHasCount( struct struct_Microsoft_UI_Xaml_Media_Animation_RepeatBehavior target, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetHasCount( *reinterpret_cast(&target))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetHasDuration( struct struct_Microsoft_UI_Xaml_Media_Animation_RepeatBehavior target, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetHasDuration( *reinterpret_cast(&target))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Equals( struct struct_Microsoft_UI_Xaml_Media_Animation_RepeatBehavior target, struct struct_Microsoft_UI_Xaml_Media_Animation_RepeatBehavior value, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Equals( *reinterpret_cast(&target), *reinterpret_cast(&value))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IRepositionThemeAnimation> : produce_base { int32_t __stdcall get_TargetName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TargetName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TargetName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TargetName(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FromHorizontalOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FromHorizontalOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FromHorizontalOffset(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FromHorizontalOffset(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FromVerticalOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FromVerticalOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FromVerticalOffset(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FromVerticalOffset(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_TargetNameProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().TargetNameProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FromHorizontalOffsetProperty( void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().FromHorizontalOffsetProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FromVerticalOffsetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().FromVerticalOffsetProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::IRepositionThemeTransition> : produce_base { int32_t __stdcall get_IsStaggeringEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsStaggeringEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsStaggeringEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsStaggeringEnabled(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsStaggeringEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().IsStaggeringEnabledProperty()); 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_Effect(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Effect()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Effect(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Effect( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_EffectProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().EffectProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::ISplineColorKeyFrame> : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::ISplineColorKeyFrame> { int32_t __stdcall get_KeySpline(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().KeySpline()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_KeySpline(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().KeySpline( *reinterpret_cast< winrt::Microsoft::UI::Xaml::Media::Animation::KeySpline const*>( &value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::ISplineColorKeyFrameStatics> : produce_base { int32_t __stdcall get_KeySplineProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().KeySplineProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::ISplineDoubleKeyFrame> : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::ISplineDoubleKeyFrame> { int32_t __stdcall get_KeySpline(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().KeySpline()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_KeySpline(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().KeySpline( *reinterpret_cast< winrt::Microsoft::UI::Xaml::Media::Animation::KeySpline const*>( &value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::ISplineDoubleKeyFrameStatics> : produce_base { int32_t __stdcall get_KeySplineProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().KeySplineProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::ISplinePointKeyFrame> : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::ISplinePointKeyFrame> { int32_t __stdcall get_KeySpline(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().KeySpline()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_KeySpline(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().KeySpline( *reinterpret_cast< winrt::Microsoft::UI::Xaml::Media::Animation::KeySpline const*>( &value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::ISplinePointKeyFrameStatics> : produce_base { int32_t __stdcall get_KeySplineProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().KeySplineProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation> : produce_base { int32_t __stdcall get_OpenedTargetName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OpenedTargetName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_OpenedTargetName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OpenedTargetName(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OpenedTarget(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().OpenedTarget()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_OpenedTarget(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OpenedTarget( *reinterpret_cast( &value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ClosedTargetName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ClosedTargetName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ClosedTargetName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ClosedTargetName(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ClosedTarget(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ClosedTarget()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ClosedTarget(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ClosedTarget( *reinterpret_cast( &value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentTargetName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentTargetName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ContentTargetName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ContentTargetName(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentTarget(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ContentTarget()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ContentTarget(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ContentTarget( *reinterpret_cast( &value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OpenedLength(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OpenedLength()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_OpenedLength(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OpenedLength(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ClosedLength(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ClosedLength()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ClosedLength(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ClosedLength(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OffsetFromCenter(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OffsetFromCenter()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_OffsetFromCenter(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OffsetFromCenter(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentTranslationDirection( int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from< winrt::Microsoft::UI::Xaml::Controls::Primitives::AnimationDirection>( this->shim().ContentTranslationDirection()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ContentTranslationDirection( int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ContentTranslationDirection( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentTranslationOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentTranslationOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ContentTranslationOffset(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ContentTranslationOffset(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_OpenedTargetNameProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().OpenedTargetNameProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OpenedTargetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().OpenedTargetProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ClosedTargetNameProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ClosedTargetNameProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ClosedTargetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ClosedTargetProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentTargetNameProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ContentTargetNameProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentTargetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ContentTargetProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OpenedLengthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().OpenedLengthProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ClosedLengthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ClosedLengthProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OffsetFromCenterProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().OffsetFromCenterProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentTranslationDirectionProperty( void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ContentTranslationDirectionProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentTranslationOffsetProperty( void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ContentTranslationOffsetProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation> : produce_base { int32_t __stdcall get_OpenedTargetName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OpenedTargetName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_OpenedTargetName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OpenedTargetName(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OpenedTarget(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().OpenedTarget()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_OpenedTarget(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OpenedTarget( *reinterpret_cast( &value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ClosedTargetName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ClosedTargetName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ClosedTargetName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ClosedTargetName(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ClosedTarget(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ClosedTarget()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ClosedTarget(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ClosedTarget( *reinterpret_cast( &value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentTargetName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentTargetName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ContentTargetName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ContentTargetName(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentTarget(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ContentTarget()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ContentTarget(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ContentTarget( *reinterpret_cast( &value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OpenedLength(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OpenedLength()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_OpenedLength(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OpenedLength(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ClosedLength(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ClosedLength()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ClosedLength(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ClosedLength(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OffsetFromCenter(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OffsetFromCenter()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_OffsetFromCenter(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OffsetFromCenter(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentTranslationDirection( int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from< winrt::Microsoft::UI::Xaml::Controls::Primitives::AnimationDirection>( this->shim().ContentTranslationDirection()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ContentTranslationDirection( int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ContentTranslationDirection( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentTranslationOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentTranslationOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ContentTranslationOffset(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ContentTranslationOffset(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_OpenedTargetNameProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().OpenedTargetNameProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OpenedTargetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().OpenedTargetProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ClosedTargetNameProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ClosedTargetNameProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ClosedTargetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ClosedTargetProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentTargetNameProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ContentTargetNameProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentTargetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ContentTargetProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OpenedLengthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().OpenedLengthProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ClosedLengthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ClosedLengthProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OffsetFromCenterProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().OffsetFromCenterProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentTranslationDirectionProperty( void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ContentTranslationDirectionProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentTranslationOffsetProperty( void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ContentTranslationOffsetProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Children(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from< winrt::Microsoft::UI::Xaml::Media::Animation::TimelineCollection>( this->shim().Children()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Seek(int64_t offset) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Seek( *reinterpret_cast( &offset)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Stop() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Stop(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Begin() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Begin(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Pause() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Pause(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Resume() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Resume(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetCurrentState(int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from( this->shim().GetCurrentState()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetCurrentTime(int64_t* result) noexcept final try { zero_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from( this->shim().GetCurrentTime()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SeekAlignedToLastTick(int64_t offset) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SeekAlignedToLastTick( *reinterpret_cast( &offset)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SkipToFill() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SkipToFill(); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::IStoryboardStatics> { int32_t __stdcall get_TargetPropertyProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().TargetPropertyProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetTargetProperty(void* element, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetTargetProperty( *reinterpret_cast< winrt::Microsoft::UI::Xaml::Media::Animation::Timeline const*>( &element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetTargetProperty(void* element, void* path) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetTargetProperty( *reinterpret_cast< winrt::Microsoft::UI::Xaml::Media::Animation::Timeline const*>( &element), *reinterpret_cast(&path)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TargetNameProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().TargetNameProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetTargetName(void* element, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetTargetName( *reinterpret_cast< winrt::Microsoft::UI::Xaml::Media::Animation::Timeline const*>( &element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetTargetName(void* element, void* name) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetTargetName( *reinterpret_cast< winrt::Microsoft::UI::Xaml::Media::Animation::Timeline const*>( &element), *reinterpret_cast(&name)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetTarget(void* timeline, void* target) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetTarget( *reinterpret_cast< winrt::Microsoft::UI::Xaml::Media::Animation::Timeline const*>( &timeline), *reinterpret_cast( &target)); 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< D, winrt::Microsoft::UI::Xaml::Media::Animation::ISwipeBackThemeAnimation> : produce_base { int32_t __stdcall get_TargetName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TargetName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TargetName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TargetName(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FromHorizontalOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FromHorizontalOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FromHorizontalOffset(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FromHorizontalOffset(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FromVerticalOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FromVerticalOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FromVerticalOffset(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FromVerticalOffset(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_TargetNameProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().TargetNameProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FromHorizontalOffsetProperty( void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().FromHorizontalOffsetProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FromVerticalOffsetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().FromVerticalOffsetProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::Animation::ISwipeHintThemeAnimation> : produce_base { int32_t __stdcall get_TargetName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TargetName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TargetName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TargetName(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ToHorizontalOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ToHorizontalOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ToHorizontalOffset(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ToHorizontalOffset(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ToVerticalOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ToVerticalOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ToVerticalOffset(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ToVerticalOffset(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_TargetNameProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().TargetNameProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ToHorizontalOffsetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ToHorizontalOffsetProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ToVerticalOffsetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ToVerticalOffsetProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_AutoReverse(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AutoReverse()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AutoReverse(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AutoReverse(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BeginTime(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().BeginTime()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BeginTime(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BeginTime( *reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Duration( struct struct_Microsoft_UI_Xaml_Duration* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().Duration()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Duration( struct struct_Microsoft_UI_Xaml_Duration value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Duration( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SpeedRatio(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SpeedRatio()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SpeedRatio(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SpeedRatio(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FillBehavior(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().FillBehavior()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FillBehavior(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FillBehavior( *reinterpret_cast< winrt::Microsoft::UI::Xaml::Media::Animation::FillBehavior const*>( &value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RepeatBehavior( struct struct_Microsoft_UI_Xaml_Media_Animation_RepeatBehavior* value) noexcept final try { zero_abi( value); typename D::abi_guard guard(this->shim()); *value = detach_from< winrt::Microsoft::UI::Xaml::Media::Animation::RepeatBehavior>( this->shim().RepeatBehavior()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_RepeatBehavior( struct struct_Microsoft_UI_Xaml_Media_Animation_RepeatBehavior value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RepeatBehavior( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_Completed(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Completed( *reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Completed(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Completed( *reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base< D, winrt::Microsoft::UI::Xaml::Media::Animation::ITimelineFactory> { 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< winrt::Microsoft::UI::Xaml::Media::Animation::Timeline>( 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< D, winrt::Microsoft::UI::Xaml::Media::Animation::ITimelineStatics> { int32_t __stdcall get_AllowDependentAnimations(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AllowDependentAnimations()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AllowDependentAnimations(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AllowDependentAnimations(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AutoReverseProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().AutoReverseProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BeginTimeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().BeginTimeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DurationProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().DurationProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SpeedRatioProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().SpeedRatioProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FillBehaviorProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().FillBehaviorProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RepeatBehaviorProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().RepeatBehaviorProperty()); 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< D, winrt::Microsoft::UI::Xaml::Media::Animation::ITransitionFactory> { }; #endif template struct WINRT_IMPL_EMPTY_BASES produce_dispatch_to_overridable< T, D, winrt::Microsoft::UI::Xaml::Media::Animation:: INavigationTransitionInfoOverrides> : produce_dispatch_to_overridable_base< T, D, winrt::Microsoft::UI::Xaml::Media::Animation:: INavigationTransitionInfoOverrides> { auto GetNavigationStateCore() { if (auto overridable = this->shim_overridable()) { return overridable.GetNavigationStateCore(); } return this->shim().GetNavigationStateCore(); } auto SetNavigationStateCore(hstring const& navigationState) { if (auto overridable = this->shim_overridable()) { return overridable.SetNavigationStateCore(navigationState); } return this->shim().SetNavigationStateCore(navigationState); } }; } // namespace winrt::impl WINRT_EXPORT namespace winrt::Microsoft::UI::Xaml::Media::Animation { inline AddDeleteThemeTransition::AddDeleteThemeTransition() : AddDeleteThemeTransition( impl::call_factory_cast< AddDeleteThemeTransition (*)( winrt::Windows::Foundation::IActivationFactory const&), AddDeleteThemeTransition>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f .template ActivateInstance(); })) {} inline BackEase::BackEase() : BackEase(impl::call_factory_cast< BackEase (*)( winrt::Windows::Foundation::IActivationFactory const&), BackEase>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto BackEase::AmplitudeProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IBackEaseStatics const&), BackEase, IBackEaseStatics>( [](IBackEaseStatics const& f) { return f.AmplitudeProperty(); }); } inline BasicConnectedAnimationConfiguration:: BasicConnectedAnimationConfiguration() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory( [&](IBasicConnectedAnimationConfigurationFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline BeginStoryboard::BeginStoryboard() : BeginStoryboard( impl::call_factory_cast< BeginStoryboard (*)( winrt::Windows::Foundation::IActivationFactory const&), BeginStoryboard>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto BeginStoryboard::StoryboardProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IBeginStoryboardStatics const&), BeginStoryboard, IBeginStoryboardStatics>( [](IBeginStoryboardStatics const& f) { return f.StoryboardProperty(); }); } inline BounceEase::BounceEase() : BounceEase(impl::call_factory_cast< BounceEase (*)( winrt::Windows::Foundation::IActivationFactory const&), BounceEase>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto BounceEase::BouncesProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IBounceEaseStatics const&), BounceEase, IBounceEaseStatics>( [](IBounceEaseStatics const& f) { return f.BouncesProperty(); }); } inline auto BounceEase::BouncinessProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IBounceEaseStatics const&), BounceEase, IBounceEaseStatics>( [](IBounceEaseStatics const& f) { return f.BouncinessProperty(); }); } inline CircleEase::CircleEase() : CircleEase(impl::call_factory_cast< CircleEase (*)( winrt::Windows::Foundation::IActivationFactory const&), CircleEase>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline ColorAnimation::ColorAnimation() : ColorAnimation( impl::call_factory_cast< ColorAnimation (*)( winrt::Windows::Foundation::IActivationFactory const&), ColorAnimation>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto ColorAnimation::FromProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IColorAnimationStatics const&), ColorAnimation, IColorAnimationStatics>( [](IColorAnimationStatics const& f) { return f.FromProperty(); }); } inline auto ColorAnimation::ToProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IColorAnimationStatics const&), ColorAnimation, IColorAnimationStatics>( [](IColorAnimationStatics const& f) { return f.ToProperty(); }); } inline auto ColorAnimation::ByProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IColorAnimationStatics const&), ColorAnimation, IColorAnimationStatics>( [](IColorAnimationStatics const& f) { return f.ByProperty(); }); } inline auto ColorAnimation::EasingFunctionProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IColorAnimationStatics const&), ColorAnimation, IColorAnimationStatics>( [](IColorAnimationStatics const& f) { return f.EasingFunctionProperty(); }); } inline auto ColorAnimation::EnableDependentAnimationProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IColorAnimationStatics const&), ColorAnimation, IColorAnimationStatics>( [](IColorAnimationStatics const& f) { return f.EnableDependentAnimationProperty(); }); } inline ColorAnimationUsingKeyFrames::ColorAnimationUsingKeyFrames() : ColorAnimationUsingKeyFrames( impl::call_factory_cast< ColorAnimationUsingKeyFrames (*)( winrt::Windows::Foundation::IActivationFactory const&), ColorAnimationUsingKeyFrames>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance< ColorAnimationUsingKeyFrames>(); })) {} inline auto ColorAnimationUsingKeyFrames::EnableDependentAnimationProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IColorAnimationUsingKeyFramesStatics const&), ColorAnimationUsingKeyFrames, IColorAnimationUsingKeyFramesStatics>( [](IColorAnimationUsingKeyFramesStatics const& f) { return f.EnableDependentAnimationProperty(); }); } inline auto ColorKeyFrame::ValueProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IColorKeyFrameStatics const&), ColorKeyFrame, IColorKeyFrameStatics>( [](IColorKeyFrameStatics const& f) { return f.ValueProperty(); }); } inline auto ColorKeyFrame::KeyTimeProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IColorKeyFrameStatics const&), ColorKeyFrame, IColorKeyFrameStatics>( [](IColorKeyFrameStatics const& f) { return f.KeyTimeProperty(); }); } inline ColorKeyFrameCollection::ColorKeyFrameCollection() : ColorKeyFrameCollection( impl::call_factory_cast< ColorKeyFrameCollection (*)( winrt::Windows::Foundation::IActivationFactory const&), ColorKeyFrameCollection>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline CommonNavigationTransitionInfo::CommonNavigationTransitionInfo() : CommonNavigationTransitionInfo( impl::call_factory_cast< CommonNavigationTransitionInfo (*)( winrt::Windows::Foundation::IActivationFactory const&), CommonNavigationTransitionInfo>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance< CommonNavigationTransitionInfo>(); })) {} inline auto CommonNavigationTransitionInfo::IsStaggeringEnabledProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ICommonNavigationTransitionInfoStatics const&), CommonNavigationTransitionInfo, ICommonNavigationTransitionInfoStatics>( [](ICommonNavigationTransitionInfoStatics const& f) { return f.IsStaggeringEnabledProperty(); }); } inline auto CommonNavigationTransitionInfo::IsStaggerElementProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ICommonNavigationTransitionInfoStatics const&), CommonNavigationTransitionInfo, ICommonNavigationTransitionInfoStatics>( [](ICommonNavigationTransitionInfoStatics const& f) { return f.IsStaggerElementProperty(); }); } inline auto CommonNavigationTransitionInfo::GetIsStaggerElement( winrt::Microsoft::UI::Xaml::UIElement const& element) { return impl::call_factory( [&](ICommonNavigationTransitionInfoStatics const& f) { return f.GetIsStaggerElement(element); }); } inline auto CommonNavigationTransitionInfo::SetIsStaggerElement( winrt::Microsoft::UI::Xaml::UIElement const& element, bool value) { impl::call_factory( [&](ICommonNavigationTransitionInfoStatics const& f) { return f.SetIsStaggerElement(element, value); }); } inline auto ConnectedAnimationService::GetForCurrentView() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::Media::Animation:: ConnectedAnimationService (*)( IConnectedAnimationServiceStatics const&), ConnectedAnimationService, IConnectedAnimationServiceStatics>( [](IConnectedAnimationServiceStatics const& f) { return f.GetForCurrentView(); }); } inline ContentThemeTransition::ContentThemeTransition() : ContentThemeTransition( impl::call_factory_cast< ContentThemeTransition (*)( winrt::Windows::Foundation::IActivationFactory const&), ContentThemeTransition>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto ContentThemeTransition::HorizontalOffsetProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IContentThemeTransitionStatics const&), ContentThemeTransition, IContentThemeTransitionStatics>( [](IContentThemeTransitionStatics const& f) { return f.HorizontalOffsetProperty(); }); } inline auto ContentThemeTransition::VerticalOffsetProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IContentThemeTransitionStatics const&), ContentThemeTransition, IContentThemeTransitionStatics>( [](IContentThemeTransitionStatics const& f) { return f.VerticalOffsetProperty(); }); } inline ContinuumNavigationTransitionInfo::ContinuumNavigationTransitionInfo() : ContinuumNavigationTransitionInfo( impl::call_factory_cast< ContinuumNavigationTransitionInfo (*)( winrt::Windows::Foundation::IActivationFactory const&), ContinuumNavigationTransitionInfo>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance< ContinuumNavigationTransitionInfo>(); })) {} inline auto ContinuumNavigationTransitionInfo::ExitElementProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IContinuumNavigationTransitionInfoStatics const&), ContinuumNavigationTransitionInfo, IContinuumNavigationTransitionInfoStatics>( [](IContinuumNavigationTransitionInfoStatics const& f) { return f.ExitElementProperty(); }); } inline auto ContinuumNavigationTransitionInfo::IsEntranceElementProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IContinuumNavigationTransitionInfoStatics const&), ContinuumNavigationTransitionInfo, IContinuumNavigationTransitionInfoStatics>( [](IContinuumNavigationTransitionInfoStatics const& f) { return f.IsEntranceElementProperty(); }); } inline auto ContinuumNavigationTransitionInfo::GetIsEntranceElement( winrt::Microsoft::UI::Xaml::UIElement const& element) { return impl::call_factory( [&](IContinuumNavigationTransitionInfoStatics const& f) { return f.GetIsEntranceElement(element); }); } inline auto ContinuumNavigationTransitionInfo::SetIsEntranceElement( winrt::Microsoft::UI::Xaml::UIElement const& element, bool value) { impl::call_factory( [&](IContinuumNavigationTransitionInfoStatics const& f) { return f.SetIsEntranceElement(element, value); }); } inline auto ContinuumNavigationTransitionInfo::IsExitElementProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IContinuumNavigationTransitionInfoStatics const&), ContinuumNavigationTransitionInfo, IContinuumNavigationTransitionInfoStatics>( [](IContinuumNavigationTransitionInfoStatics const& f) { return f.IsExitElementProperty(); }); } inline auto ContinuumNavigationTransitionInfo::GetIsExitElement( winrt::Microsoft::UI::Xaml::UIElement const& element) { return impl::call_factory( [&](IContinuumNavigationTransitionInfoStatics const& f) { return f.GetIsExitElement(element); }); } inline auto ContinuumNavigationTransitionInfo::SetIsExitElement( winrt::Microsoft::UI::Xaml::UIElement const& element, bool value) { impl::call_factory( [&](IContinuumNavigationTransitionInfoStatics const& f) { return f.SetIsExitElement(element, value); }); } inline auto ContinuumNavigationTransitionInfo::ExitElementContainerProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IContinuumNavigationTransitionInfoStatics const&), ContinuumNavigationTransitionInfo, IContinuumNavigationTransitionInfoStatics>( [](IContinuumNavigationTransitionInfoStatics const& f) { return f.ExitElementContainerProperty(); }); } inline auto ContinuumNavigationTransitionInfo::GetExitElementContainer( winrt::Microsoft::UI::Xaml::Controls::ListViewBase const& element) { return impl::call_factory( [&](IContinuumNavigationTransitionInfoStatics const& f) { return f.GetExitElementContainer(element); }); } inline auto ContinuumNavigationTransitionInfo::SetExitElementContainer( winrt::Microsoft::UI::Xaml::Controls::ListViewBase const& element, bool value) { impl::call_factory( [&](IContinuumNavigationTransitionInfoStatics const& f) { return f.SetExitElementContainer(element, value); }); } inline CubicEase::CubicEase() : CubicEase(impl::call_factory_cast< CubicEase (*)( winrt::Windows::Foundation::IActivationFactory const&), CubicEase>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline DirectConnectedAnimationConfiguration:: DirectConnectedAnimationConfiguration() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory( [&](IDirectConnectedAnimationConfigurationFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline DiscreteColorKeyFrame::DiscreteColorKeyFrame() : DiscreteColorKeyFrame( impl::call_factory_cast< DiscreteColorKeyFrame (*)( winrt::Windows::Foundation::IActivationFactory const&), DiscreteColorKeyFrame>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline DiscreteDoubleKeyFrame::DiscreteDoubleKeyFrame() : DiscreteDoubleKeyFrame( impl::call_factory_cast< DiscreteDoubleKeyFrame (*)( winrt::Windows::Foundation::IActivationFactory const&), DiscreteDoubleKeyFrame>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline DiscreteObjectKeyFrame::DiscreteObjectKeyFrame() : DiscreteObjectKeyFrame( impl::call_factory_cast< DiscreteObjectKeyFrame (*)( winrt::Windows::Foundation::IActivationFactory const&), DiscreteObjectKeyFrame>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline DiscretePointKeyFrame::DiscretePointKeyFrame() : DiscretePointKeyFrame( impl::call_factory_cast< DiscretePointKeyFrame (*)( winrt::Windows::Foundation::IActivationFactory const&), DiscretePointKeyFrame>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline DoubleAnimation::DoubleAnimation() : DoubleAnimation( impl::call_factory_cast< DoubleAnimation (*)( winrt::Windows::Foundation::IActivationFactory const&), DoubleAnimation>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto DoubleAnimation::FromProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IDoubleAnimationStatics const&), DoubleAnimation, IDoubleAnimationStatics>( [](IDoubleAnimationStatics const& f) { return f.FromProperty(); }); } inline auto DoubleAnimation::ToProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IDoubleAnimationStatics const&), DoubleAnimation, IDoubleAnimationStatics>( [](IDoubleAnimationStatics const& f) { return f.ToProperty(); }); } inline auto DoubleAnimation::ByProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IDoubleAnimationStatics const&), DoubleAnimation, IDoubleAnimationStatics>( [](IDoubleAnimationStatics const& f) { return f.ByProperty(); }); } inline auto DoubleAnimation::EasingFunctionProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IDoubleAnimationStatics const&), DoubleAnimation, IDoubleAnimationStatics>( [](IDoubleAnimationStatics const& f) { return f.EasingFunctionProperty(); }); } inline auto DoubleAnimation::EnableDependentAnimationProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IDoubleAnimationStatics const&), DoubleAnimation, IDoubleAnimationStatics>( [](IDoubleAnimationStatics const& f) { return f.EnableDependentAnimationProperty(); }); } inline DoubleAnimationUsingKeyFrames::DoubleAnimationUsingKeyFrames() : DoubleAnimationUsingKeyFrames( impl::call_factory_cast< DoubleAnimationUsingKeyFrames (*)( winrt::Windows::Foundation::IActivationFactory const&), DoubleAnimationUsingKeyFrames>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance< DoubleAnimationUsingKeyFrames>(); })) {} inline auto DoubleAnimationUsingKeyFrames::EnableDependentAnimationProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IDoubleAnimationUsingKeyFramesStatics const&), DoubleAnimationUsingKeyFrames, IDoubleAnimationUsingKeyFramesStatics>( [](IDoubleAnimationUsingKeyFramesStatics const& f) { return f.EnableDependentAnimationProperty(); }); } inline auto DoubleKeyFrame::ValueProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IDoubleKeyFrameStatics const&), DoubleKeyFrame, IDoubleKeyFrameStatics>( [](IDoubleKeyFrameStatics const& f) { return f.ValueProperty(); }); } inline auto DoubleKeyFrame::KeyTimeProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IDoubleKeyFrameStatics const&), DoubleKeyFrame, IDoubleKeyFrameStatics>( [](IDoubleKeyFrameStatics const& f) { return f.KeyTimeProperty(); }); } inline DoubleKeyFrameCollection::DoubleKeyFrameCollection() : DoubleKeyFrameCollection( impl::call_factory_cast< DoubleKeyFrameCollection (*)( winrt::Windows::Foundation::IActivationFactory const&), DoubleKeyFrameCollection>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f .template ActivateInstance(); })) {} inline DragItemThemeAnimation::DragItemThemeAnimation() : DragItemThemeAnimation( impl::call_factory_cast< DragItemThemeAnimation (*)( winrt::Windows::Foundation::IActivationFactory const&), DragItemThemeAnimation>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto DragItemThemeAnimation::TargetNameProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IDragItemThemeAnimationStatics const&), DragItemThemeAnimation, IDragItemThemeAnimationStatics>( [](IDragItemThemeAnimationStatics const& f) { return f.TargetNameProperty(); }); } inline DragOverThemeAnimation::DragOverThemeAnimation() : DragOverThemeAnimation( impl::call_factory_cast< DragOverThemeAnimation (*)( winrt::Windows::Foundation::IActivationFactory const&), DragOverThemeAnimation>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto DragOverThemeAnimation::TargetNameProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IDragOverThemeAnimationStatics const&), DragOverThemeAnimation, IDragOverThemeAnimationStatics>( [](IDragOverThemeAnimationStatics const& f) { return f.TargetNameProperty(); }); } inline auto DragOverThemeAnimation::ToOffsetProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IDragOverThemeAnimationStatics const&), DragOverThemeAnimation, IDragOverThemeAnimationStatics>( [](IDragOverThemeAnimationStatics const& f) { return f.ToOffsetProperty(); }); } inline auto DragOverThemeAnimation::DirectionProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IDragOverThemeAnimationStatics const&), DragOverThemeAnimation, IDragOverThemeAnimationStatics>( [](IDragOverThemeAnimationStatics const& f) { return f.DirectionProperty(); }); } inline DrillInNavigationTransitionInfo::DrillInNavigationTransitionInfo() : DrillInNavigationTransitionInfo( impl::call_factory_cast< DrillInNavigationTransitionInfo (*)( winrt::Windows::Foundation::IActivationFactory const&), DrillInNavigationTransitionInfo>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance< DrillInNavigationTransitionInfo>(); })) {} inline DrillInThemeAnimation::DrillInThemeAnimation() : DrillInThemeAnimation( impl::call_factory_cast< DrillInThemeAnimation (*)( winrt::Windows::Foundation::IActivationFactory const&), DrillInThemeAnimation>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto DrillInThemeAnimation::EntranceTargetNameProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IDrillInThemeAnimationStatics const&), DrillInThemeAnimation, IDrillInThemeAnimationStatics>( [](IDrillInThemeAnimationStatics const& f) { return f.EntranceTargetNameProperty(); }); } inline auto DrillInThemeAnimation::EntranceTargetProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IDrillInThemeAnimationStatics const&), DrillInThemeAnimation, IDrillInThemeAnimationStatics>( [](IDrillInThemeAnimationStatics const& f) { return f.EntranceTargetProperty(); }); } inline auto DrillInThemeAnimation::ExitTargetNameProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IDrillInThemeAnimationStatics const&), DrillInThemeAnimation, IDrillInThemeAnimationStatics>( [](IDrillInThemeAnimationStatics const& f) { return f.ExitTargetNameProperty(); }); } inline auto DrillInThemeAnimation::ExitTargetProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IDrillInThemeAnimationStatics const&), DrillInThemeAnimation, IDrillInThemeAnimationStatics>( [](IDrillInThemeAnimationStatics const& f) { return f.ExitTargetProperty(); }); } inline DrillOutThemeAnimation::DrillOutThemeAnimation() : DrillOutThemeAnimation( impl::call_factory_cast< DrillOutThemeAnimation (*)( winrt::Windows::Foundation::IActivationFactory const&), DrillOutThemeAnimation>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto DrillOutThemeAnimation::EntranceTargetNameProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IDrillOutThemeAnimationStatics const&), DrillOutThemeAnimation, IDrillOutThemeAnimationStatics>( [](IDrillOutThemeAnimationStatics const& f) { return f.EntranceTargetNameProperty(); }); } inline auto DrillOutThemeAnimation::EntranceTargetProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IDrillOutThemeAnimationStatics const&), DrillOutThemeAnimation, IDrillOutThemeAnimationStatics>( [](IDrillOutThemeAnimationStatics const& f) { return f.EntranceTargetProperty(); }); } inline auto DrillOutThemeAnimation::ExitTargetNameProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IDrillOutThemeAnimationStatics const&), DrillOutThemeAnimation, IDrillOutThemeAnimationStatics>( [](IDrillOutThemeAnimationStatics const& f) { return f.ExitTargetNameProperty(); }); } inline auto DrillOutThemeAnimation::ExitTargetProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IDrillOutThemeAnimationStatics const&), DrillOutThemeAnimation, IDrillOutThemeAnimationStatics>( [](IDrillOutThemeAnimationStatics const& f) { return f.ExitTargetProperty(); }); } inline DropTargetItemThemeAnimation::DropTargetItemThemeAnimation() : DropTargetItemThemeAnimation( impl::call_factory_cast< DropTargetItemThemeAnimation (*)( winrt::Windows::Foundation::IActivationFactory const&), DropTargetItemThemeAnimation>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance< DropTargetItemThemeAnimation>(); })) {} inline auto DropTargetItemThemeAnimation::TargetNameProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IDropTargetItemThemeAnimationStatics const&), DropTargetItemThemeAnimation, IDropTargetItemThemeAnimationStatics>( [](IDropTargetItemThemeAnimationStatics const& f) { return f.TargetNameProperty(); }); } inline EasingColorKeyFrame::EasingColorKeyFrame() : EasingColorKeyFrame( impl::call_factory_cast< EasingColorKeyFrame (*)( winrt::Windows::Foundation::IActivationFactory const&), EasingColorKeyFrame>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto EasingColorKeyFrame::EasingFunctionProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IEasingColorKeyFrameStatics const&), EasingColorKeyFrame, IEasingColorKeyFrameStatics>( [](IEasingColorKeyFrameStatics const& f) { return f.EasingFunctionProperty(); }); } inline EasingDoubleKeyFrame::EasingDoubleKeyFrame() : EasingDoubleKeyFrame( impl::call_factory_cast< EasingDoubleKeyFrame (*)( winrt::Windows::Foundation::IActivationFactory const&), EasingDoubleKeyFrame>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto EasingDoubleKeyFrame::EasingFunctionProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IEasingDoubleKeyFrameStatics const&), EasingDoubleKeyFrame, IEasingDoubleKeyFrameStatics>( [](IEasingDoubleKeyFrameStatics const& f) { return f.EasingFunctionProperty(); }); } inline auto EasingFunctionBase::EasingModeProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IEasingFunctionBaseStatics const&), EasingFunctionBase, IEasingFunctionBaseStatics>( [](IEasingFunctionBaseStatics const& f) { return f.EasingModeProperty(); }); } inline EasingPointKeyFrame::EasingPointKeyFrame() : EasingPointKeyFrame( impl::call_factory_cast< EasingPointKeyFrame (*)( winrt::Windows::Foundation::IActivationFactory const&), EasingPointKeyFrame>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto EasingPointKeyFrame::EasingFunctionProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IEasingPointKeyFrameStatics const&), EasingPointKeyFrame, IEasingPointKeyFrameStatics>( [](IEasingPointKeyFrameStatics const& f) { return f.EasingFunctionProperty(); }); } inline EdgeUIThemeTransition::EdgeUIThemeTransition() : EdgeUIThemeTransition( impl::call_factory_cast< EdgeUIThemeTransition (*)( winrt::Windows::Foundation::IActivationFactory const&), EdgeUIThemeTransition>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto EdgeUIThemeTransition::EdgeProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IEdgeUIThemeTransitionStatics const&), EdgeUIThemeTransition, IEdgeUIThemeTransitionStatics>( [](IEdgeUIThemeTransitionStatics const& f) { return f.EdgeProperty(); }); } inline ElasticEase::ElasticEase() : ElasticEase(impl::call_factory_cast< ElasticEase (*)( winrt::Windows::Foundation::IActivationFactory const&), ElasticEase>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto ElasticEase::OscillationsProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IElasticEaseStatics const&), ElasticEase, IElasticEaseStatics>( [](IElasticEaseStatics const& f) { return f.OscillationsProperty(); }); } inline auto ElasticEase::SpringinessProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IElasticEaseStatics const&), ElasticEase, IElasticEaseStatics>( [](IElasticEaseStatics const& f) { return f.SpringinessProperty(); }); } inline EntranceNavigationTransitionInfo::EntranceNavigationTransitionInfo() : EntranceNavigationTransitionInfo( impl::call_factory_cast< EntranceNavigationTransitionInfo (*)( winrt::Windows::Foundation::IActivationFactory const&), EntranceNavigationTransitionInfo>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance< EntranceNavigationTransitionInfo>(); })) {} inline auto EntranceNavigationTransitionInfo::IsTargetElementProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IEntranceNavigationTransitionInfoStatics const&), EntranceNavigationTransitionInfo, IEntranceNavigationTransitionInfoStatics>( [](IEntranceNavigationTransitionInfoStatics const& f) { return f.IsTargetElementProperty(); }); } inline auto EntranceNavigationTransitionInfo::GetIsTargetElement( winrt::Microsoft::UI::Xaml::UIElement const& element) { return impl::call_factory( [&](IEntranceNavigationTransitionInfoStatics const& f) { return f.GetIsTargetElement(element); }); } inline auto EntranceNavigationTransitionInfo::SetIsTargetElement( winrt::Microsoft::UI::Xaml::UIElement const& element, bool value) { impl::call_factory( [&](IEntranceNavigationTransitionInfoStatics const& f) { return f.SetIsTargetElement(element, value); }); } inline EntranceThemeTransition::EntranceThemeTransition() : EntranceThemeTransition( impl::call_factory_cast< EntranceThemeTransition (*)( winrt::Windows::Foundation::IActivationFactory const&), EntranceThemeTransition>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto EntranceThemeTransition::FromHorizontalOffsetProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IEntranceThemeTransitionStatics const&), EntranceThemeTransition, IEntranceThemeTransitionStatics>( [](IEntranceThemeTransitionStatics const& f) { return f.FromHorizontalOffsetProperty(); }); } inline auto EntranceThemeTransition::FromVerticalOffsetProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IEntranceThemeTransitionStatics const&), EntranceThemeTransition, IEntranceThemeTransitionStatics>( [](IEntranceThemeTransitionStatics const& f) { return f.FromVerticalOffsetProperty(); }); } inline auto EntranceThemeTransition::IsStaggeringEnabledProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IEntranceThemeTransitionStatics const&), EntranceThemeTransition, IEntranceThemeTransitionStatics>( [](IEntranceThemeTransitionStatics const& f) { return f.IsStaggeringEnabledProperty(); }); } inline ExponentialEase::ExponentialEase() : ExponentialEase( impl::call_factory_cast< ExponentialEase (*)( winrt::Windows::Foundation::IActivationFactory const&), ExponentialEase>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto ExponentialEase::ExponentProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IExponentialEaseStatics const&), ExponentialEase, IExponentialEaseStatics>( [](IExponentialEaseStatics const& f) { return f.ExponentProperty(); }); } inline FadeInThemeAnimation::FadeInThemeAnimation() : FadeInThemeAnimation( impl::call_factory_cast< FadeInThemeAnimation (*)( winrt::Windows::Foundation::IActivationFactory const&), FadeInThemeAnimation>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto FadeInThemeAnimation::TargetNameProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IFadeInThemeAnimationStatics const&), FadeInThemeAnimation, IFadeInThemeAnimationStatics>( [](IFadeInThemeAnimationStatics const& f) { return f.TargetNameProperty(); }); } inline FadeOutThemeAnimation::FadeOutThemeAnimation() : FadeOutThemeAnimation( impl::call_factory_cast< FadeOutThemeAnimation (*)( winrt::Windows::Foundation::IActivationFactory const&), FadeOutThemeAnimation>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto FadeOutThemeAnimation::TargetNameProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IFadeOutThemeAnimationStatics const&), FadeOutThemeAnimation, IFadeOutThemeAnimationStatics>( [](IFadeOutThemeAnimationStatics const& f) { return f.TargetNameProperty(); }); } inline GravityConnectedAnimationConfiguration:: GravityConnectedAnimationConfiguration() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory( [&](IGravityConnectedAnimationConfigurationFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline KeySpline::KeySpline() : KeySpline(impl::call_factory_cast< KeySpline (*)( winrt::Windows::Foundation::IActivationFactory const&), KeySpline>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto KeyTimeHelper::FromTimeSpan( winrt::Windows::Foundation::TimeSpan const& timeSpan) { return impl::call_factory( [&](IKeyTimeHelperStatics const& f) { return f.FromTimeSpan(timeSpan); }); } inline LinearColorKeyFrame::LinearColorKeyFrame() : LinearColorKeyFrame( impl::call_factory_cast< LinearColorKeyFrame (*)( winrt::Windows::Foundation::IActivationFactory const&), LinearColorKeyFrame>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline LinearDoubleKeyFrame::LinearDoubleKeyFrame() : LinearDoubleKeyFrame( impl::call_factory_cast< LinearDoubleKeyFrame (*)( winrt::Windows::Foundation::IActivationFactory const&), LinearDoubleKeyFrame>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline LinearPointKeyFrame::LinearPointKeyFrame() : LinearPointKeyFrame( impl::call_factory_cast< LinearPointKeyFrame (*)( winrt::Windows::Foundation::IActivationFactory const&), LinearPointKeyFrame>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline NavigationThemeTransition::NavigationThemeTransition() : NavigationThemeTransition( impl::call_factory_cast< NavigationThemeTransition (*)( winrt::Windows::Foundation::IActivationFactory const&), NavigationThemeTransition>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f .template ActivateInstance(); })) {} inline auto NavigationThemeTransition::DefaultNavigationTransitionInfoProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( INavigationThemeTransitionStatics const&), NavigationThemeTransition, INavigationThemeTransitionStatics>( [](INavigationThemeTransitionStatics const& f) { return f.DefaultNavigationTransitionInfoProperty(); }); } inline ObjectAnimationUsingKeyFrames::ObjectAnimationUsingKeyFrames() : ObjectAnimationUsingKeyFrames( impl::call_factory_cast< ObjectAnimationUsingKeyFrames (*)( winrt::Windows::Foundation::IActivationFactory const&), ObjectAnimationUsingKeyFrames>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance< ObjectAnimationUsingKeyFrames>(); })) {} inline auto ObjectAnimationUsingKeyFrames::EnableDependentAnimationProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IObjectAnimationUsingKeyFramesStatics const&), ObjectAnimationUsingKeyFrames, IObjectAnimationUsingKeyFramesStatics>( [](IObjectAnimationUsingKeyFramesStatics const& f) { return f.EnableDependentAnimationProperty(); }); } inline auto ObjectKeyFrame::ValueProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IObjectKeyFrameStatics const&), ObjectKeyFrame, IObjectKeyFrameStatics>( [](IObjectKeyFrameStatics const& f) { return f.ValueProperty(); }); } inline auto ObjectKeyFrame::KeyTimeProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IObjectKeyFrameStatics const&), ObjectKeyFrame, IObjectKeyFrameStatics>( [](IObjectKeyFrameStatics const& f) { return f.KeyTimeProperty(); }); } inline ObjectKeyFrameCollection::ObjectKeyFrameCollection() : ObjectKeyFrameCollection( impl::call_factory_cast< ObjectKeyFrameCollection (*)( winrt::Windows::Foundation::IActivationFactory const&), ObjectKeyFrameCollection>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f .template ActivateInstance(); })) {} inline PaneThemeTransition::PaneThemeTransition() : PaneThemeTransition( impl::call_factory_cast< PaneThemeTransition (*)( winrt::Windows::Foundation::IActivationFactory const&), PaneThemeTransition>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto PaneThemeTransition::EdgeProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPaneThemeTransitionStatics const&), PaneThemeTransition, IPaneThemeTransitionStatics>( [](IPaneThemeTransitionStatics const& f) { return f.EdgeProperty(); }); } inline PointAnimation::PointAnimation() : PointAnimation( impl::call_factory_cast< PointAnimation (*)( winrt::Windows::Foundation::IActivationFactory const&), PointAnimation>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto PointAnimation::FromProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPointAnimationStatics const&), PointAnimation, IPointAnimationStatics>( [](IPointAnimationStatics const& f) { return f.FromProperty(); }); } inline auto PointAnimation::ToProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPointAnimationStatics const&), PointAnimation, IPointAnimationStatics>( [](IPointAnimationStatics const& f) { return f.ToProperty(); }); } inline auto PointAnimation::ByProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPointAnimationStatics const&), PointAnimation, IPointAnimationStatics>( [](IPointAnimationStatics const& f) { return f.ByProperty(); }); } inline auto PointAnimation::EasingFunctionProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPointAnimationStatics const&), PointAnimation, IPointAnimationStatics>( [](IPointAnimationStatics const& f) { return f.EasingFunctionProperty(); }); } inline auto PointAnimation::EnableDependentAnimationProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPointAnimationStatics const&), PointAnimation, IPointAnimationStatics>( [](IPointAnimationStatics const& f) { return f.EnableDependentAnimationProperty(); }); } inline PointAnimationUsingKeyFrames::PointAnimationUsingKeyFrames() : PointAnimationUsingKeyFrames( impl::call_factory_cast< PointAnimationUsingKeyFrames (*)( winrt::Windows::Foundation::IActivationFactory const&), PointAnimationUsingKeyFrames>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance< PointAnimationUsingKeyFrames>(); })) {} inline auto PointAnimationUsingKeyFrames::EnableDependentAnimationProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPointAnimationUsingKeyFramesStatics const&), PointAnimationUsingKeyFrames, IPointAnimationUsingKeyFramesStatics>( [](IPointAnimationUsingKeyFramesStatics const& f) { return f.EnableDependentAnimationProperty(); }); } inline auto PointKeyFrame::ValueProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPointKeyFrameStatics const&), PointKeyFrame, IPointKeyFrameStatics>( [](IPointKeyFrameStatics const& f) { return f.ValueProperty(); }); } inline auto PointKeyFrame::KeyTimeProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPointKeyFrameStatics const&), PointKeyFrame, IPointKeyFrameStatics>( [](IPointKeyFrameStatics const& f) { return f.KeyTimeProperty(); }); } inline PointKeyFrameCollection::PointKeyFrameCollection() : PointKeyFrameCollection( impl::call_factory_cast< PointKeyFrameCollection (*)( winrt::Windows::Foundation::IActivationFactory const&), PointKeyFrameCollection>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline PointerDownThemeAnimation::PointerDownThemeAnimation() : PointerDownThemeAnimation( impl::call_factory_cast< PointerDownThemeAnimation (*)( winrt::Windows::Foundation::IActivationFactory const&), PointerDownThemeAnimation>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f .template ActivateInstance(); })) {} inline auto PointerDownThemeAnimation::TargetNameProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPointerDownThemeAnimationStatics const&), PointerDownThemeAnimation, IPointerDownThemeAnimationStatics>( [](IPointerDownThemeAnimationStatics const& f) { return f.TargetNameProperty(); }); } inline PointerUpThemeAnimation::PointerUpThemeAnimation() : PointerUpThemeAnimation( impl::call_factory_cast< PointerUpThemeAnimation (*)( winrt::Windows::Foundation::IActivationFactory const&), PointerUpThemeAnimation>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto PointerUpThemeAnimation::TargetNameProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPointerUpThemeAnimationStatics const&), PointerUpThemeAnimation, IPointerUpThemeAnimationStatics>( [](IPointerUpThemeAnimationStatics const& f) { return f.TargetNameProperty(); }); } inline PopInThemeAnimation::PopInThemeAnimation() : PopInThemeAnimation( impl::call_factory_cast< PopInThemeAnimation (*)( winrt::Windows::Foundation::IActivationFactory const&), PopInThemeAnimation>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto PopInThemeAnimation::TargetNameProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPopInThemeAnimationStatics const&), PopInThemeAnimation, IPopInThemeAnimationStatics>( [](IPopInThemeAnimationStatics const& f) { return f.TargetNameProperty(); }); } inline auto PopInThemeAnimation::FromHorizontalOffsetProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPopInThemeAnimationStatics const&), PopInThemeAnimation, IPopInThemeAnimationStatics>( [](IPopInThemeAnimationStatics const& f) { return f.FromHorizontalOffsetProperty(); }); } inline auto PopInThemeAnimation::FromVerticalOffsetProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPopInThemeAnimationStatics const&), PopInThemeAnimation, IPopInThemeAnimationStatics>( [](IPopInThemeAnimationStatics const& f) { return f.FromVerticalOffsetProperty(); }); } inline PopOutThemeAnimation::PopOutThemeAnimation() : PopOutThemeAnimation( impl::call_factory_cast< PopOutThemeAnimation (*)( winrt::Windows::Foundation::IActivationFactory const&), PopOutThemeAnimation>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto PopOutThemeAnimation::TargetNameProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPopOutThemeAnimationStatics const&), PopOutThemeAnimation, IPopOutThemeAnimationStatics>( [](IPopOutThemeAnimationStatics const& f) { return f.TargetNameProperty(); }); } inline PopupThemeTransition::PopupThemeTransition() : PopupThemeTransition( impl::call_factory_cast< PopupThemeTransition (*)( winrt::Windows::Foundation::IActivationFactory const&), PopupThemeTransition>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto PopupThemeTransition::FromHorizontalOffsetProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPopupThemeTransitionStatics const&), PopupThemeTransition, IPopupThemeTransitionStatics>( [](IPopupThemeTransitionStatics const& f) { return f.FromHorizontalOffsetProperty(); }); } inline auto PopupThemeTransition::FromVerticalOffsetProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPopupThemeTransitionStatics const&), PopupThemeTransition, IPopupThemeTransitionStatics>( [](IPopupThemeTransitionStatics const& f) { return f.FromVerticalOffsetProperty(); }); } inline PowerEase::PowerEase() : PowerEase(impl::call_factory_cast< PowerEase (*)( winrt::Windows::Foundation::IActivationFactory const&), PowerEase>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto PowerEase::PowerProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPowerEaseStatics const&), PowerEase, IPowerEaseStatics>( [](IPowerEaseStatics const& f) { return f.PowerProperty(); }); } inline QuadraticEase::QuadraticEase() : QuadraticEase( impl::call_factory_cast< QuadraticEase (*)( winrt::Windows::Foundation::IActivationFactory const&), QuadraticEase>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline QuarticEase::QuarticEase() : QuarticEase(impl::call_factory_cast< QuarticEase (*)( winrt::Windows::Foundation::IActivationFactory const&), QuarticEase>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline QuinticEase::QuinticEase() : QuinticEase(impl::call_factory_cast< QuinticEase (*)( winrt::Windows::Foundation::IActivationFactory const&), QuinticEase>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline ReorderThemeTransition::ReorderThemeTransition() : ReorderThemeTransition( impl::call_factory_cast< ReorderThemeTransition (*)( winrt::Windows::Foundation::IActivationFactory const&), ReorderThemeTransition>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto RepeatBehaviorHelper::Forever() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::Media::Animation::RepeatBehavior (*)( IRepeatBehaviorHelperStatics const&), RepeatBehaviorHelper, IRepeatBehaviorHelperStatics>( [](IRepeatBehaviorHelperStatics const& f) { return f.Forever(); }); } inline auto RepeatBehaviorHelper::FromCount(double count) { return impl::call_factory( [&](IRepeatBehaviorHelperStatics const& f) { return f.FromCount(count); }); } inline auto RepeatBehaviorHelper::FromDuration( winrt::Windows::Foundation::TimeSpan const& duration) { return impl::call_factory( [&](IRepeatBehaviorHelperStatics const& f) { return f.FromDuration(duration); }); } inline auto RepeatBehaviorHelper::GetHasCount( winrt::Microsoft::UI::Xaml::Media::Animation::RepeatBehavior const& target) { return impl::call_factory( [&](IRepeatBehaviorHelperStatics const& f) { return f.GetHasCount(target); }); } inline auto RepeatBehaviorHelper::GetHasDuration( winrt::Microsoft::UI::Xaml::Media::Animation::RepeatBehavior const& target) { return impl::call_factory( [&](IRepeatBehaviorHelperStatics const& f) { return f.GetHasDuration(target); }); } inline auto RepeatBehaviorHelper::Equals( winrt::Microsoft::UI::Xaml::Media::Animation::RepeatBehavior const& target, winrt::Microsoft::UI::Xaml::Media::Animation::RepeatBehavior const& value) { return impl::call_factory( [&](IRepeatBehaviorHelperStatics const& f) { return f.Equals(target, value); }); } inline RepositionThemeAnimation::RepositionThemeAnimation() : RepositionThemeAnimation( impl::call_factory_cast< RepositionThemeAnimation (*)( winrt::Windows::Foundation::IActivationFactory const&), RepositionThemeAnimation>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f .template ActivateInstance(); })) {} inline auto RepositionThemeAnimation::TargetNameProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IRepositionThemeAnimationStatics const&), RepositionThemeAnimation, IRepositionThemeAnimationStatics>( [](IRepositionThemeAnimationStatics const& f) { return f.TargetNameProperty(); }); } inline auto RepositionThemeAnimation::FromHorizontalOffsetProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IRepositionThemeAnimationStatics const&), RepositionThemeAnimation, IRepositionThemeAnimationStatics>( [](IRepositionThemeAnimationStatics const& f) { return f.FromHorizontalOffsetProperty(); }); } inline auto RepositionThemeAnimation::FromVerticalOffsetProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IRepositionThemeAnimationStatics const&), RepositionThemeAnimation, IRepositionThemeAnimationStatics>( [](IRepositionThemeAnimationStatics const& f) { return f.FromVerticalOffsetProperty(); }); } inline RepositionThemeTransition::RepositionThemeTransition() : RepositionThemeTransition( impl::call_factory_cast< RepositionThemeTransition (*)( winrt::Windows::Foundation::IActivationFactory const&), RepositionThemeTransition>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f .template ActivateInstance(); })) {} inline auto RepositionThemeTransition::IsStaggeringEnabledProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IRepositionThemeTransitionStatics const&), RepositionThemeTransition, IRepositionThemeTransitionStatics>( [](IRepositionThemeTransitionStatics const& f) { return f.IsStaggeringEnabledProperty(); }); } inline SineEase::SineEase() : SineEase(impl::call_factory_cast< SineEase (*)( winrt::Windows::Foundation::IActivationFactory const&), SineEase>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline SlideNavigationTransitionInfo::SlideNavigationTransitionInfo() : SlideNavigationTransitionInfo( impl::call_factory_cast< SlideNavigationTransitionInfo (*)( winrt::Windows::Foundation::IActivationFactory const&), SlideNavigationTransitionInfo>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance< SlideNavigationTransitionInfo>(); })) {} inline auto SlideNavigationTransitionInfo::EffectProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISlideNavigationTransitionInfoStatics const&), SlideNavigationTransitionInfo, ISlideNavigationTransitionInfoStatics>( [](ISlideNavigationTransitionInfoStatics const& f) { return f.EffectProperty(); }); } inline SplineColorKeyFrame::SplineColorKeyFrame() : SplineColorKeyFrame( impl::call_factory_cast< SplineColorKeyFrame (*)( winrt::Windows::Foundation::IActivationFactory const&), SplineColorKeyFrame>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto SplineColorKeyFrame::KeySplineProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISplineColorKeyFrameStatics const&), SplineColorKeyFrame, ISplineColorKeyFrameStatics>( [](ISplineColorKeyFrameStatics const& f) { return f.KeySplineProperty(); }); } inline SplineDoubleKeyFrame::SplineDoubleKeyFrame() : SplineDoubleKeyFrame( impl::call_factory_cast< SplineDoubleKeyFrame (*)( winrt::Windows::Foundation::IActivationFactory const&), SplineDoubleKeyFrame>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto SplineDoubleKeyFrame::KeySplineProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISplineDoubleKeyFrameStatics const&), SplineDoubleKeyFrame, ISplineDoubleKeyFrameStatics>( [](ISplineDoubleKeyFrameStatics const& f) { return f.KeySplineProperty(); }); } inline SplinePointKeyFrame::SplinePointKeyFrame() : SplinePointKeyFrame( impl::call_factory_cast< SplinePointKeyFrame (*)( winrt::Windows::Foundation::IActivationFactory const&), SplinePointKeyFrame>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto SplinePointKeyFrame::KeySplineProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISplinePointKeyFrameStatics const&), SplinePointKeyFrame, ISplinePointKeyFrameStatics>( [](ISplinePointKeyFrameStatics const& f) { return f.KeySplineProperty(); }); } inline SplitCloseThemeAnimation::SplitCloseThemeAnimation() : SplitCloseThemeAnimation( impl::call_factory_cast< SplitCloseThemeAnimation (*)( winrt::Windows::Foundation::IActivationFactory const&), SplitCloseThemeAnimation>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f .template ActivateInstance(); })) {} inline auto SplitCloseThemeAnimation::OpenedTargetNameProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISplitCloseThemeAnimationStatics const&), SplitCloseThemeAnimation, ISplitCloseThemeAnimationStatics>( [](ISplitCloseThemeAnimationStatics const& f) { return f.OpenedTargetNameProperty(); }); } inline auto SplitCloseThemeAnimation::OpenedTargetProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISplitCloseThemeAnimationStatics const&), SplitCloseThemeAnimation, ISplitCloseThemeAnimationStatics>( [](ISplitCloseThemeAnimationStatics const& f) { return f.OpenedTargetProperty(); }); } inline auto SplitCloseThemeAnimation::ClosedTargetNameProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISplitCloseThemeAnimationStatics const&), SplitCloseThemeAnimation, ISplitCloseThemeAnimationStatics>( [](ISplitCloseThemeAnimationStatics const& f) { return f.ClosedTargetNameProperty(); }); } inline auto SplitCloseThemeAnimation::ClosedTargetProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISplitCloseThemeAnimationStatics const&), SplitCloseThemeAnimation, ISplitCloseThemeAnimationStatics>( [](ISplitCloseThemeAnimationStatics const& f) { return f.ClosedTargetProperty(); }); } inline auto SplitCloseThemeAnimation::ContentTargetNameProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISplitCloseThemeAnimationStatics const&), SplitCloseThemeAnimation, ISplitCloseThemeAnimationStatics>( [](ISplitCloseThemeAnimationStatics const& f) { return f.ContentTargetNameProperty(); }); } inline auto SplitCloseThemeAnimation::ContentTargetProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISplitCloseThemeAnimationStatics const&), SplitCloseThemeAnimation, ISplitCloseThemeAnimationStatics>( [](ISplitCloseThemeAnimationStatics const& f) { return f.ContentTargetProperty(); }); } inline auto SplitCloseThemeAnimation::OpenedLengthProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISplitCloseThemeAnimationStatics const&), SplitCloseThemeAnimation, ISplitCloseThemeAnimationStatics>( [](ISplitCloseThemeAnimationStatics const& f) { return f.OpenedLengthProperty(); }); } inline auto SplitCloseThemeAnimation::ClosedLengthProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISplitCloseThemeAnimationStatics const&), SplitCloseThemeAnimation, ISplitCloseThemeAnimationStatics>( [](ISplitCloseThemeAnimationStatics const& f) { return f.ClosedLengthProperty(); }); } inline auto SplitCloseThemeAnimation::OffsetFromCenterProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISplitCloseThemeAnimationStatics const&), SplitCloseThemeAnimation, ISplitCloseThemeAnimationStatics>( [](ISplitCloseThemeAnimationStatics const& f) { return f.OffsetFromCenterProperty(); }); } inline auto SplitCloseThemeAnimation::ContentTranslationDirectionProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISplitCloseThemeAnimationStatics const&), SplitCloseThemeAnimation, ISplitCloseThemeAnimationStatics>( [](ISplitCloseThemeAnimationStatics const& f) { return f.ContentTranslationDirectionProperty(); }); } inline auto SplitCloseThemeAnimation::ContentTranslationOffsetProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISplitCloseThemeAnimationStatics const&), SplitCloseThemeAnimation, ISplitCloseThemeAnimationStatics>( [](ISplitCloseThemeAnimationStatics const& f) { return f.ContentTranslationOffsetProperty(); }); } inline SplitOpenThemeAnimation::SplitOpenThemeAnimation() : SplitOpenThemeAnimation( impl::call_factory_cast< SplitOpenThemeAnimation (*)( winrt::Windows::Foundation::IActivationFactory const&), SplitOpenThemeAnimation>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto SplitOpenThemeAnimation::OpenedTargetNameProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISplitOpenThemeAnimationStatics const&), SplitOpenThemeAnimation, ISplitOpenThemeAnimationStatics>( [](ISplitOpenThemeAnimationStatics const& f) { return f.OpenedTargetNameProperty(); }); } inline auto SplitOpenThemeAnimation::OpenedTargetProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISplitOpenThemeAnimationStatics const&), SplitOpenThemeAnimation, ISplitOpenThemeAnimationStatics>( [](ISplitOpenThemeAnimationStatics const& f) { return f.OpenedTargetProperty(); }); } inline auto SplitOpenThemeAnimation::ClosedTargetNameProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISplitOpenThemeAnimationStatics const&), SplitOpenThemeAnimation, ISplitOpenThemeAnimationStatics>( [](ISplitOpenThemeAnimationStatics const& f) { return f.ClosedTargetNameProperty(); }); } inline auto SplitOpenThemeAnimation::ClosedTargetProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISplitOpenThemeAnimationStatics const&), SplitOpenThemeAnimation, ISplitOpenThemeAnimationStatics>( [](ISplitOpenThemeAnimationStatics const& f) { return f.ClosedTargetProperty(); }); } inline auto SplitOpenThemeAnimation::ContentTargetNameProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISplitOpenThemeAnimationStatics const&), SplitOpenThemeAnimation, ISplitOpenThemeAnimationStatics>( [](ISplitOpenThemeAnimationStatics const& f) { return f.ContentTargetNameProperty(); }); } inline auto SplitOpenThemeAnimation::ContentTargetProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISplitOpenThemeAnimationStatics const&), SplitOpenThemeAnimation, ISplitOpenThemeAnimationStatics>( [](ISplitOpenThemeAnimationStatics const& f) { return f.ContentTargetProperty(); }); } inline auto SplitOpenThemeAnimation::OpenedLengthProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISplitOpenThemeAnimationStatics const&), SplitOpenThemeAnimation, ISplitOpenThemeAnimationStatics>( [](ISplitOpenThemeAnimationStatics const& f) { return f.OpenedLengthProperty(); }); } inline auto SplitOpenThemeAnimation::ClosedLengthProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISplitOpenThemeAnimationStatics const&), SplitOpenThemeAnimation, ISplitOpenThemeAnimationStatics>( [](ISplitOpenThemeAnimationStatics const& f) { return f.ClosedLengthProperty(); }); } inline auto SplitOpenThemeAnimation::OffsetFromCenterProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISplitOpenThemeAnimationStatics const&), SplitOpenThemeAnimation, ISplitOpenThemeAnimationStatics>( [](ISplitOpenThemeAnimationStatics const& f) { return f.OffsetFromCenterProperty(); }); } inline auto SplitOpenThemeAnimation::ContentTranslationDirectionProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISplitOpenThemeAnimationStatics const&), SplitOpenThemeAnimation, ISplitOpenThemeAnimationStatics>( [](ISplitOpenThemeAnimationStatics const& f) { return f.ContentTranslationDirectionProperty(); }); } inline auto SplitOpenThemeAnimation::ContentTranslationOffsetProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISplitOpenThemeAnimationStatics const&), SplitOpenThemeAnimation, ISplitOpenThemeAnimationStatics>( [](ISplitOpenThemeAnimationStatics const& f) { return f.ContentTranslationOffsetProperty(); }); } inline Storyboard::Storyboard() : Storyboard(impl::call_factory_cast< Storyboard (*)( winrt::Windows::Foundation::IActivationFactory const&), Storyboard>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto Storyboard::TargetPropertyProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IStoryboardStatics const&), Storyboard, IStoryboardStatics>( [](IStoryboardStatics const& f) { return f.TargetPropertyProperty(); }); } inline auto Storyboard::GetTargetProperty( winrt::Microsoft::UI::Xaml::Media::Animation::Timeline const& element) { return impl::call_factory( [&](IStoryboardStatics const& f) { return f.GetTargetProperty(element); }); } inline auto Storyboard::SetTargetProperty( winrt::Microsoft::UI::Xaml::Media::Animation::Timeline const& element, param::hstring const& path) { impl::call_factory( [&](IStoryboardStatics const& f) { return f.SetTargetProperty(element, path); }); } inline auto Storyboard::TargetNameProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IStoryboardStatics const&), Storyboard, IStoryboardStatics>( [](IStoryboardStatics const& f) { return f.TargetNameProperty(); }); } inline auto Storyboard::GetTargetName( winrt::Microsoft::UI::Xaml::Media::Animation::Timeline const& element) { return impl::call_factory( [&](IStoryboardStatics const& f) { return f.GetTargetName(element); }); } inline auto Storyboard::SetTargetName( winrt::Microsoft::UI::Xaml::Media::Animation::Timeline const& element, param::hstring const& name) { impl::call_factory( [&](IStoryboardStatics const& f) { return f.SetTargetName(element, name); }); } inline auto Storyboard::SetTarget( winrt::Microsoft::UI::Xaml::Media::Animation::Timeline const& timeline, winrt::Microsoft::UI::Xaml::DependencyObject const& target) { impl::call_factory( [&](IStoryboardStatics const& f) { return f.SetTarget(timeline, target); }); } inline SuppressNavigationTransitionInfo::SuppressNavigationTransitionInfo() : SuppressNavigationTransitionInfo( impl::call_factory_cast< SuppressNavigationTransitionInfo (*)( winrt::Windows::Foundation::IActivationFactory const&), SuppressNavigationTransitionInfo>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance< SuppressNavigationTransitionInfo>(); })) {} inline SwipeBackThemeAnimation::SwipeBackThemeAnimation() : SwipeBackThemeAnimation( impl::call_factory_cast< SwipeBackThemeAnimation (*)( winrt::Windows::Foundation::IActivationFactory const&), SwipeBackThemeAnimation>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto SwipeBackThemeAnimation::TargetNameProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISwipeBackThemeAnimationStatics const&), SwipeBackThemeAnimation, ISwipeBackThemeAnimationStatics>( [](ISwipeBackThemeAnimationStatics const& f) { return f.TargetNameProperty(); }); } inline auto SwipeBackThemeAnimation::FromHorizontalOffsetProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISwipeBackThemeAnimationStatics const&), SwipeBackThemeAnimation, ISwipeBackThemeAnimationStatics>( [](ISwipeBackThemeAnimationStatics const& f) { return f.FromHorizontalOffsetProperty(); }); } inline auto SwipeBackThemeAnimation::FromVerticalOffsetProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISwipeBackThemeAnimationStatics const&), SwipeBackThemeAnimation, ISwipeBackThemeAnimationStatics>( [](ISwipeBackThemeAnimationStatics const& f) { return f.FromVerticalOffsetProperty(); }); } inline SwipeHintThemeAnimation::SwipeHintThemeAnimation() : SwipeHintThemeAnimation( impl::call_factory_cast< SwipeHintThemeAnimation (*)( winrt::Windows::Foundation::IActivationFactory const&), SwipeHintThemeAnimation>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto SwipeHintThemeAnimation::TargetNameProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISwipeHintThemeAnimationStatics const&), SwipeHintThemeAnimation, ISwipeHintThemeAnimationStatics>( [](ISwipeHintThemeAnimationStatics const& f) { return f.TargetNameProperty(); }); } inline auto SwipeHintThemeAnimation::ToHorizontalOffsetProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISwipeHintThemeAnimationStatics const&), SwipeHintThemeAnimation, ISwipeHintThemeAnimationStatics>( [](ISwipeHintThemeAnimationStatics const& f) { return f.ToHorizontalOffsetProperty(); }); } inline auto SwipeHintThemeAnimation::ToVerticalOffsetProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISwipeHintThemeAnimationStatics const&), SwipeHintThemeAnimation, ISwipeHintThemeAnimationStatics>( [](ISwipeHintThemeAnimationStatics const& f) { return f.ToVerticalOffsetProperty(); }); } inline auto Timeline::AllowDependentAnimations() { return impl::call_factory_cast( [](ITimelineStatics const& f) { return f.AllowDependentAnimations(); }); } inline auto Timeline::AllowDependentAnimations(bool value) { impl::call_factory( [&](ITimelineStatics const& f) { return f.AllowDependentAnimations(value); }); } inline auto Timeline::AutoReverseProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ITimelineStatics const&), Timeline, ITimelineStatics>( [](ITimelineStatics const& f) { return f.AutoReverseProperty(); }); } inline auto Timeline::BeginTimeProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ITimelineStatics const&), Timeline, ITimelineStatics>( [](ITimelineStatics const& f) { return f.BeginTimeProperty(); }); } inline auto Timeline::DurationProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ITimelineStatics const&), Timeline, ITimelineStatics>( [](ITimelineStatics const& f) { return f.DurationProperty(); }); } inline auto Timeline::SpeedRatioProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ITimelineStatics const&), Timeline, ITimelineStatics>( [](ITimelineStatics const& f) { return f.SpeedRatioProperty(); }); } inline auto Timeline::FillBehaviorProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ITimelineStatics const&), Timeline, ITimelineStatics>( [](ITimelineStatics const& f) { return f.FillBehaviorProperty(); }); } inline auto Timeline::RepeatBehaviorProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ITimelineStatics const&), Timeline, ITimelineStatics>( [](ITimelineStatics const& f) { return f.RepeatBehaviorProperty(); }); } inline TimelineCollection::TimelineCollection() : TimelineCollection( impl::call_factory_cast< TimelineCollection (*)( winrt::Windows::Foundation::IActivationFactory const&), TimelineCollection>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline TransitionCollection::TransitionCollection() : TransitionCollection( impl::call_factory_cast< TransitionCollection (*)( winrt::Windows::Foundation::IActivationFactory const&), TransitionCollection>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} template auto INavigationTransitionInfoOverridesT::GetNavigationStateCore() const { return shim() .template try_as() .GetNavigationStateCore(); } template auto INavigationTransitionInfoOverridesT::SetNavigationStateCore( param::hstring const& navigationState) const { return shim() .template try_as() .SetNavigationStateCore(navigationState); } template struct BasicConnectedAnimationConfigurationT : implements, impl::require, impl::base { using composable = BasicConnectedAnimationConfiguration; protected: BasicConnectedAnimationConfigurationT() { impl::call_factory( [&](IBasicConnectedAnimationConfigurationFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ColorKeyFrameT : implements, impl::require< D, winrt::Microsoft::UI::Xaml::Media::Animation::IColorKeyFrame, winrt::Microsoft::UI::Xaml::IDependencyObject>, impl::base { using composable = ColorKeyFrame; protected: ColorKeyFrameT() { impl::call_factory( [&](IColorKeyFrameFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct DirectConnectedAnimationConfigurationT : implements, impl::require, impl::base { using composable = DirectConnectedAnimationConfiguration; protected: DirectConnectedAnimationConfigurationT() { impl::call_factory( [&](IDirectConnectedAnimationConfigurationFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct DoubleKeyFrameT : implements, impl::require< D, winrt::Microsoft::UI::Xaml::Media::Animation::IDoubleKeyFrame, winrt::Microsoft::UI::Xaml::IDependencyObject>, impl::base { using composable = DoubleKeyFrame; protected: DoubleKeyFrameT() { impl::call_factory( [&](IDoubleKeyFrameFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct GravityConnectedAnimationConfigurationT : implements, impl::require, impl::base { using composable = GravityConnectedAnimationConfiguration; protected: GravityConnectedAnimationConfigurationT() { impl::call_factory( [&](IGravityConnectedAnimationConfigurationFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct NavigationTransitionInfoT : implements, impl::require, impl::base, winrt::Microsoft::UI::Xaml::Media::Animation:: INavigationTransitionInfoOverridesT { using composable = NavigationTransitionInfo; friend impl::produce; protected: NavigationTransitionInfoT() { impl::call_factory( [&](INavigationTransitionInfoFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ObjectKeyFrameT : implements, impl::require< D, winrt::Microsoft::UI::Xaml::Media::Animation::IObjectKeyFrame, winrt::Microsoft::UI::Xaml::IDependencyObject>, impl::base { using composable = ObjectKeyFrame; protected: ObjectKeyFrameT() { impl::call_factory( [&](IObjectKeyFrameFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct PointKeyFrameT : implements, impl::require< D, winrt::Microsoft::UI::Xaml::Media::Animation::IPointKeyFrame, winrt::Microsoft::UI::Xaml::IDependencyObject>, impl::base { using composable = PointKeyFrame; protected: PointKeyFrameT() { impl::call_factory( [&](IPointKeyFrameFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct TimelineT : implements, impl::require, impl::base { using composable = Timeline; protected: TimelineT() { impl::call_factory( [&](ITimelineFactory 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::Microsoft::UI::Xaml::Media::Animation::IAddDeleteThemeTransition> : 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::Microsoft::UI::Xaml::Media::Animation::IBeginStoryboardStatics> : 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::Microsoft::UI::Xaml::Media::Animation::IColorAnimationStatics> : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IColorAnimationUsingKeyFrames> : 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::Microsoft::UI::Xaml::Media::Animation::IConnectedAnimationService> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IContentThemeTransition> : 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::Microsoft::UI::Xaml::Media::Animation::IDiscreteColorKeyFrame> : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IDiscreteDoubleKeyFrame> : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IDiscreteObjectKeyFrame> : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IDiscretePointKeyFrame> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IDoubleAnimationStatics> : 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::Microsoft::UI::Xaml::Media::Animation::IDoubleKeyFrameFactory> : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IDoubleKeyFrameStatics> : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IDragItemThemeAnimation> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IDragOverThemeAnimation> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IDrillInThemeAnimation> : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IDrillInThemeAnimationStatics> : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IDrillOutThemeAnimation> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IDropTargetItemThemeAnimation> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base { }; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IEasingColorKeyFrameStatics> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IEasingDoubleKeyFrameStatics> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IEasingFunctionBaseFactory> : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IEasingFunctionBaseStatics> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IEasingPointKeyFrameStatics> : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IEdgeUIThemeTransition> : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IEdgeUIThemeTransitionStatics> : 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::Microsoft::UI::Xaml::Media::Animation::IEntranceThemeTransition> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IExponentialEaseStatics> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IFadeInThemeAnimationStatics> : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IFadeOutThemeAnimation> : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IFadeOutThemeAnimationStatics> : 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::Microsoft::UI::Xaml::Media::Animation::INavigationThemeTransition> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::INavigationTransitionInfo> : 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::Microsoft::UI::Xaml::Media::Animation::IObjectKeyFrameFactory> : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IObjectKeyFrameStatics> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IPaneThemeTransitionStatics> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IPointAnimationStatics> : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IPointAnimationUsingKeyFrames> : 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::Microsoft::UI::Xaml::Media::Animation::IPointerDownThemeAnimation> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IPointerUpThemeAnimation> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IPopInThemeAnimationStatics> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IPopOutThemeAnimationStatics> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IPopupThemeTransitionStatics> : 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::Microsoft::UI::Xaml::Media::Animation::IReorderThemeTransition> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IRepeatBehaviorHelperStatics> : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IRepositionThemeAnimation> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::IRepositionThemeTransition> : 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::Microsoft::UI::Xaml::Media::Animation::ISplineColorKeyFrameStatics> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::ISplineDoubleKeyFrameStatics> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::ISplinePointKeyFrameStatics> : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitCloseThemeAnimation> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::ISplitOpenThemeAnimation> : 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::Microsoft::UI::Xaml::Media::Animation::ISwipeBackThemeAnimation> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::ISwipeHintThemeAnimation> : 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::Microsoft::UI::Xaml::Media::Animation::AddDeleteThemeTransition> : 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::Microsoft::UI::Xaml::Media::Animation::ColorAnimationUsingKeyFrames> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::ColorKeyFrameCollection> : 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::Microsoft::UI::Xaml::Media::Animation::ConnectedAnimationService> : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::ContentThemeTransition> : 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::Microsoft::UI::Xaml::Media::Animation::DiscreteDoubleKeyFrame> : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::DiscreteObjectKeyFrame> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::DoubleAnimationUsingKeyFrames> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::DoubleKeyFrameCollection> : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::DragItemThemeAnimation> : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::DragOverThemeAnimation> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::DrillOutThemeAnimation> : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::DropTargetItemThemeAnimation> : 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::Microsoft::UI::Xaml::Media::Animation::EntranceThemeTransition> : 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::Microsoft::UI::Xaml::Media::Animation::NavigationThemeTransition> : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::NavigationTransitionInfo> : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::ObjectAnimationUsingKeyFrames> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::ObjectKeyFrameCollection> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::PointAnimationUsingKeyFrames> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::PointKeyFrameCollection> : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::PointerDownThemeAnimation> : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::PointerUpThemeAnimation> : 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::Microsoft::UI::Xaml::Media::Animation::ReorderThemeTransition> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::RepositionThemeAnimation> : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::RepositionThemeTransition> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::SlideNavigationTransitionInfo> : 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::Microsoft::UI::Xaml::Media::Animation::SplitCloseThemeAnimation> : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::SplitOpenThemeAnimation> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::SwipeBackThemeAnimation> : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::Animation::SwipeHintThemeAnimation> : 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 } // namespace std #endif