// 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_H #define WINRT_Microsoft_UI_Xaml_Media_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.h" #include "winrt/impl/Microsoft.UI.Composition.2.h" #include "winrt/impl/Microsoft.UI.Composition.SystemBackdrops.2.h" #include "winrt/impl/Microsoft.UI.Xaml.2.h" #include "winrt/impl/Microsoft.UI.Xaml.Controls.Primitives.2.h" #include "winrt/impl/Microsoft.UI.Xaml.Media.2.h" #include "winrt/impl/Microsoft.UI.Xaml.Media.Media3D.2.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Storage.Streams.2.h" #include "winrt/impl/Windows.UI.2.h" namespace winrt::impl { template auto consume_Microsoft_UI_Xaml_Media_IAcrylicBrush::TintColor() const { winrt::Windows::UI::Color value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IAcrylicBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IAcrylicBrush, D const*>( static_cast(this), _winrt_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_TintColor(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TintColor(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IAcrylicBrush::TintColor( winrt::Windows::UI::Color const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IAcrylicBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IAcrylicBrush, D const*>( static_cast(this), _winrt_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_TintColor(impl::bind_in(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_TintColor(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_IAcrylicBrush::TintOpacity() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IAcrylicBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IAcrylicBrush, D const*>( static_cast(this), _winrt_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_TintOpacity(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TintOpacity(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IAcrylicBrush::TintOpacity( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IAcrylicBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IAcrylicBrush, D const*>( static_cast(this), _winrt_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_TintOpacity(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_TintOpacity(value)); } } template auto consume_Microsoft_UI_Xaml_Media_IAcrylicBrush::TintTransitionDuration() const { winrt::Windows::Foundation::TimeSpan value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IAcrylicBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IAcrylicBrush, D const*>( static_cast(this), _winrt_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_TintTransitionDuration(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TintTransitionDuration(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IAcrylicBrush::TintTransitionDuration( winrt::Windows::Foundation::TimeSpan const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IAcrylicBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IAcrylicBrush, D const*>( static_cast(this), _winrt_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_TintTransitionDuration(impl::bind_in(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->put_TintTransitionDuration(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_IAcrylicBrush::AlwaysUseFallback() const { bool value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IAcrylicBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IAcrylicBrush, D const*>( static_cast(this), _winrt_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_AlwaysUseFallback(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_AlwaysUseFallback(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IAcrylicBrush::AlwaysUseFallback( bool value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IAcrylicBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IAcrylicBrush, D const*>( static_cast(this), _winrt_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_AlwaysUseFallback(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_AlwaysUseFallback(value)); } } template auto consume_Microsoft_UI_Xaml_Media_IAcrylicBrush2::TintLuminosityOpacity() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IAcrylicBrush2>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IAcrylicBrush2, D const*>( static_cast(this), _winrt_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_TintLuminosityOpacity(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TintLuminosityOpacity(&value)); } return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IAcrylicBrush2::TintLuminosityOpacity( winrt::Windows::Foundation::IReference const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IAcrylicBrush2>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IAcrylicBrush2, D const*>( static_cast(this), _winrt_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_TintLuminosityOpacity(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->put_TintLuminosityOpacity(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_IAcrylicBrushFactory::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::IAcrylicBrushFactory>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IAcrylicBrushFactory, D const*>( static_cast(this), _winrt_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::AcrylicBrush{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IAcrylicBrushStatics< D>::TintColorProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IAcrylicBrushStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IAcrylicBrushStatics, D const*>( static_cast(this), _winrt_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_TintColorProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TintColorProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IAcrylicBrushStatics< D>::TintOpacityProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IAcrylicBrushStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IAcrylicBrushStatics, D const*>( static_cast(this), _winrt_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_TintOpacityProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TintOpacityProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IAcrylicBrushStatics< D>::TintTransitionDurationProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IAcrylicBrushStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IAcrylicBrushStatics, D const*>( static_cast(this), _winrt_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_TintTransitionDurationProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TintTransitionDurationProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IAcrylicBrushStatics< D>::AlwaysUseFallbackProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IAcrylicBrushStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IAcrylicBrushStatics, D const*>( static_cast(this), _winrt_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_AlwaysUseFallbackProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_AlwaysUseFallbackProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IAcrylicBrushStatics2< D>::TintLuminosityOpacityProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IAcrylicBrushStatics2>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IAcrylicBrushStatics2, D const*>( static_cast(this), _winrt_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_TintLuminosityOpacityProperty(&value)); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->get_TintLuminosityOpacityProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IArcSegment::Point() const { winrt::Windows::Foundation::Point value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IArcSegment>) { 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_Point(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Point(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IArcSegment::Point( winrt::Windows::Foundation::Point const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IArcSegment>) { 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_Point(impl::bind_in(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Point(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_IArcSegment::Size() const { winrt::Windows::Foundation::Size value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IArcSegment>) { 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_Size(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Size(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IArcSegment::Size( winrt::Windows::Foundation::Size const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IArcSegment>) { 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_Size(impl::bind_in(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Size(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_IArcSegment::RotationAngle() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IArcSegment>) { 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_RotationAngle(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_RotationAngle(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IArcSegment::RotationAngle( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IArcSegment>) { 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_RotationAngle(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_RotationAngle(value)); } } template auto consume_Microsoft_UI_Xaml_Media_IArcSegment::IsLargeArc() const { bool value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IArcSegment>) { 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_IsLargeArc(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_IsLargeArc(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IArcSegment::IsLargeArc( bool value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IArcSegment>) { 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_IsLargeArc(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_IsLargeArc(value)); } } template auto consume_Microsoft_UI_Xaml_Media_IArcSegment::SweepDirection() const { winrt::Microsoft::UI::Xaml::Media::SweepDirection value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IArcSegment>) { 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_SweepDirection( reinterpret_cast(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_SweepDirection( reinterpret_cast(&value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IArcSegment::SweepDirection( winrt::Microsoft::UI::Xaml::Media::SweepDirection const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IArcSegment>) { 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_SweepDirection(static_cast(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->put_SweepDirection(static_cast(value))); } } template auto consume_Microsoft_UI_Xaml_Media_IArcSegmentStatics::PointProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IArcSegmentStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IArcSegmentStatics, D const*>( static_cast(this), _winrt_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_PointProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_PointProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IArcSegmentStatics::SizeProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IArcSegmentStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IArcSegmentStatics, D const*>( static_cast(this), _winrt_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_SizeProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_SizeProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IArcSegmentStatics< D>::RotationAngleProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IArcSegmentStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IArcSegmentStatics, D const*>( static_cast(this), _winrt_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_RotationAngleProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_RotationAngleProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IArcSegmentStatics::IsLargeArcProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IArcSegmentStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IArcSegmentStatics, D const*>( static_cast(this), _winrt_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_IsLargeArcProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_IsLargeArcProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IArcSegmentStatics< D>::SweepDirectionProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IArcSegmentStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IArcSegmentStatics, D const*>( static_cast(this), _winrt_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_SweepDirectionProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_SweepDirectionProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IBezierSegment::Point1() const { winrt::Windows::Foundation::Point value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IBezierSegment>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IBezierSegment, D const*>( static_cast(this), _winrt_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_Point1(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Point1(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IBezierSegment::Point1( winrt::Windows::Foundation::Point const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IBezierSegment>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IBezierSegment, D const*>( static_cast(this), _winrt_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_Point1(impl::bind_in(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Point1(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_IBezierSegment::Point2() const { winrt::Windows::Foundation::Point value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IBezierSegment>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IBezierSegment, D const*>( static_cast(this), _winrt_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_Point2(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Point2(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IBezierSegment::Point2( winrt::Windows::Foundation::Point const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IBezierSegment>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IBezierSegment, D const*>( static_cast(this), _winrt_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_Point2(impl::bind_in(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Point2(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_IBezierSegment::Point3() const { winrt::Windows::Foundation::Point value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IBezierSegment>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IBezierSegment, D const*>( static_cast(this), _winrt_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_Point3(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Point3(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IBezierSegment::Point3( winrt::Windows::Foundation::Point const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IBezierSegment>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IBezierSegment, D const*>( static_cast(this), _winrt_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_Point3(impl::bind_in(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Point3(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_IBezierSegmentStatics::Point1Property() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IBezierSegmentStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IBezierSegmentStatics, D const*>( static_cast(this), _winrt_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_Point1Property(&value)); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->get_Point1Property(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IBezierSegmentStatics::Point2Property() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IBezierSegmentStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IBezierSegmentStatics, D const*>( static_cast(this), _winrt_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_Point2Property(&value)); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->get_Point2Property(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IBezierSegmentStatics::Point3Property() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IBezierSegmentStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IBezierSegmentStatics, D const*>( static_cast(this), _winrt_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_Point3Property(&value)); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->get_Point3Property(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IBrush::Opacity() 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(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::IBrush>**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_Opacity(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Opacity(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IBrush::Opacity(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(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::IBrush>**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_Opacity(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Opacity(value)); } } template auto consume_Microsoft_UI_Xaml_Media_IBrush::Transform() 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::IBrush>**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_Transform(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Transform(&value)); } return winrt::Microsoft::UI::Xaml::Media::Transform{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IBrush::Transform( winrt::Microsoft::UI::Xaml::Media::Transform 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::Microsoft::UI::Xaml::Media::IBrush>**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_Transform(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Transform(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_IBrush::RelativeTransform() 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::IBrush>**)&_winrt_casted_result; check_hresult(_winrt_abi_type->get_RelativeTransform(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_RelativeTransform(&value)); } return winrt::Microsoft::UI::Xaml::Media::Transform{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IBrush::RelativeTransform( winrt::Microsoft::UI::Xaml::Media::Transform 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::Microsoft::UI::Xaml::Media::IBrush>**)&_winrt_casted_result; check_hresult(_winrt_abi_type->put_RelativeTransform(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_RelativeTransform(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_IBrushFactory::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::IBrushFactory>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IBrushFactory, D const*>( static_cast(this), _winrt_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::Brush{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IBrushOverrides:: PopulatePropertyInfoOverride( param::hstring const& propertyName, winrt::Microsoft::UI::Composition::AnimationPropertyInfo const& animationPropertyInfo) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IBrushOverrides>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IBrushOverrides, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->PopulatePropertyInfoOverride( *(void**)(&propertyName), *(void**)(&animationPropertyInfo))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->PopulatePropertyInfoOverride( *(void**)(&propertyName), *(void**)(&animationPropertyInfo))); } } template auto consume_Microsoft_UI_Xaml_Media_IBrushStatics::OpacityProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IBrushStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IBrushStatics, D const*>( static_cast(this), _winrt_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_OpacityProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_OpacityProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IBrushStatics::TransformProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IBrushStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IBrushStatics, D const*>( static_cast(this), _winrt_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_TransformProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TransformProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IBrushStatics< D>::RelativeTransformProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IBrushStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IBrushStatics, D const*>( static_cast(this), _winrt_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_RelativeTransformProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_RelativeTransformProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ICacheModeFactory::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::ICacheModeFactory>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ICacheModeFactory, D const*>( static_cast(this), _winrt_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::CacheMode{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ICompositeTransform::CenterX() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ICompositeTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ICompositeTransform, D const*>( static_cast(this), _winrt_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_CenterX(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_CenterX(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_ICompositeTransform::CenterX( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ICompositeTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ICompositeTransform, D const*>( static_cast(this), _winrt_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_CenterX(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_CenterX(value)); } } template auto consume_Microsoft_UI_Xaml_Media_ICompositeTransform::CenterY() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ICompositeTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ICompositeTransform, D const*>( static_cast(this), _winrt_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_CenterY(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_CenterY(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_ICompositeTransform::CenterY( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ICompositeTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ICompositeTransform, D const*>( static_cast(this), _winrt_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_CenterY(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_CenterY(value)); } } template auto consume_Microsoft_UI_Xaml_Media_ICompositeTransform::ScaleX() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ICompositeTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ICompositeTransform, D const*>( static_cast(this), _winrt_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_ScaleX(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ScaleX(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_ICompositeTransform::ScaleX( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ICompositeTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ICompositeTransform, D const*>( static_cast(this), _winrt_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_ScaleX(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_ScaleX(value)); } } template auto consume_Microsoft_UI_Xaml_Media_ICompositeTransform::ScaleY() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ICompositeTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ICompositeTransform, D const*>( static_cast(this), _winrt_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_ScaleY(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ScaleY(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_ICompositeTransform::ScaleY( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ICompositeTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ICompositeTransform, D const*>( static_cast(this), _winrt_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_ScaleY(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_ScaleY(value)); } } template auto consume_Microsoft_UI_Xaml_Media_ICompositeTransform::SkewX() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ICompositeTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ICompositeTransform, D const*>( static_cast(this), _winrt_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_SkewX(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_SkewX(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_ICompositeTransform::SkewX( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ICompositeTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ICompositeTransform, D const*>( static_cast(this), _winrt_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_SkewX(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_SkewX(value)); } } template auto consume_Microsoft_UI_Xaml_Media_ICompositeTransform::SkewY() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ICompositeTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ICompositeTransform, D const*>( static_cast(this), _winrt_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_SkewY(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_SkewY(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_ICompositeTransform::SkewY( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ICompositeTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ICompositeTransform, D const*>( static_cast(this), _winrt_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_SkewY(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_SkewY(value)); } } template auto consume_Microsoft_UI_Xaml_Media_ICompositeTransform::Rotation() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ICompositeTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ICompositeTransform, D const*>( static_cast(this), _winrt_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_Rotation(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Rotation(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_ICompositeTransform::Rotation( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ICompositeTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ICompositeTransform, D const*>( static_cast(this), _winrt_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_Rotation(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Rotation(value)); } } template auto consume_Microsoft_UI_Xaml_Media_ICompositeTransform::TranslateX() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ICompositeTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ICompositeTransform, D const*>( static_cast(this), _winrt_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_TranslateX(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TranslateX(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_ICompositeTransform::TranslateX( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ICompositeTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ICompositeTransform, D const*>( static_cast(this), _winrt_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_TranslateX(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_TranslateX(value)); } } template auto consume_Microsoft_UI_Xaml_Media_ICompositeTransform::TranslateY() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ICompositeTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ICompositeTransform, D const*>( static_cast(this), _winrt_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_TranslateY(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TranslateY(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_ICompositeTransform::TranslateY( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ICompositeTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ICompositeTransform, D const*>( static_cast(this), _winrt_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_TranslateY(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_TranslateY(value)); } } template auto consume_Microsoft_UI_Xaml_Media_ICompositeTransformStatics< D>::CenterXProperty() 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::ICompositeTransformStatics, D const*>(static_cast(this), _winrt_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_CenterXProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_CenterXProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ICompositeTransformStatics< D>::CenterYProperty() 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::ICompositeTransformStatics, D const*>(static_cast(this), _winrt_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_CenterYProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_CenterYProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ICompositeTransformStatics< D>::ScaleXProperty() 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::ICompositeTransformStatics, D const*>(static_cast(this), _winrt_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_ScaleXProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ScaleXProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ICompositeTransformStatics< D>::ScaleYProperty() 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::ICompositeTransformStatics, D const*>(static_cast(this), _winrt_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_ScaleYProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ScaleYProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ICompositeTransformStatics< D>::SkewXProperty() 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::ICompositeTransformStatics, D const*>(static_cast(this), _winrt_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_SkewXProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_SkewXProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ICompositeTransformStatics< D>::SkewYProperty() 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::ICompositeTransformStatics, D const*>(static_cast(this), _winrt_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_SkewYProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_SkewYProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ICompositeTransformStatics< D>::RotationProperty() 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::ICompositeTransformStatics, D const*>(static_cast(this), _winrt_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_RotationProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_RotationProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ICompositeTransformStatics< D>::TranslateXProperty() 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::ICompositeTransformStatics, D const*>(static_cast(this), _winrt_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_TranslateXProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TranslateXProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ICompositeTransformStatics< D>::TranslateYProperty() 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::ICompositeTransformStatics, D const*>(static_cast(this), _winrt_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_TranslateYProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TranslateYProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ICompositionTargetStatics::Rendering( winrt::Windows::Foundation::EventHandler< 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::ICompositionTargetStatics, D const*>( static_cast(this), _winrt_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_Rendering(*(void**)(&handler), put_abi(token))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->add_Rendering(*(void**)(&handler), put_abi(token))); } return token; } template auto consume_Microsoft_UI_Xaml_Media_ICompositionTargetStatics::Rendering( auto_revoke_t, winrt::Windows::Foundation::EventHandler< winrt::Windows::Foundation::IInspectable> const& handler) const { return impl::make_event_revoker(this, Rendering(handler)); } template auto consume_Microsoft_UI_Xaml_Media_ICompositionTargetStatics::Rendering( 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::ICompositionTargetStatics, D 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_Rendering(impl::bind_in(token)); } else { auto const _winrt_abi_type = *(abi_t**)this; _winrt_abi_type->remove_Rendering(impl::bind_in(token)); } } template auto consume_Microsoft_UI_Xaml_Media_ICompositionTargetStatics::Rendered( winrt::Windows::Foundation::EventHandler< winrt::Microsoft::UI::Xaml::Media::RenderedEventArgs> 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::ICompositionTargetStatics, D const*>( static_cast(this), _winrt_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_Rendered(*(void**)(&handler), put_abi(token))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->add_Rendered(*(void**)(&handler), put_abi(token))); } return token; } template auto consume_Microsoft_UI_Xaml_Media_ICompositionTargetStatics::Rendered( auto_revoke_t, winrt::Windows::Foundation::EventHandler< winrt::Microsoft::UI::Xaml::Media::RenderedEventArgs> const& handler) const { return impl::make_event_revoker(this, Rendered(handler)); } template auto consume_Microsoft_UI_Xaml_Media_ICompositionTargetStatics::Rendered( 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::ICompositionTargetStatics, D 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_Rendered(impl::bind_in(token)); } else { auto const _winrt_abi_type = *(abi_t**)this; _winrt_abi_type->remove_Rendered(impl::bind_in(token)); } } template auto consume_Microsoft_UI_Xaml_Media_ICompositionTargetStatics:: SurfaceContentsLost( winrt::Windows::Foundation::EventHandler< 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::ICompositionTargetStatics, D const*>( static_cast(this), _winrt_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_SurfaceContentsLost(*(void**)(&handler), put_abi(token))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->add_SurfaceContentsLost(*(void**)(&handler), put_abi(token))); } return token; } template auto consume_Microsoft_UI_Xaml_Media_ICompositionTargetStatics< D>::SurfaceContentsLost(auto_revoke_t, winrt::Windows::Foundation::EventHandler< winrt::Windows::Foundation::IInspectable> const& handler) const { return impl::make_event_revoker( this, SurfaceContentsLost(handler)); } template auto consume_Microsoft_UI_Xaml_Media_ICompositionTargetStatics< D>::SurfaceContentsLost(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::ICompositionTargetStatics, D 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_SurfaceContentsLost(impl::bind_in(token)); } else { auto const _winrt_abi_type = *(abi_t**)this; _winrt_abi_type->remove_SurfaceContentsLost(impl::bind_in(token)); } } template auto consume_Microsoft_UI_Xaml_Media_ICompositionTargetStatics< D>::GetCompositorForCurrentThread() 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::ICompositionTargetStatics, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->GetCompositorForCurrentThread(&result)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->GetCompositorForCurrentThread(&result)); } return winrt::Microsoft::UI::Composition::Compositor{result, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IDesktopAcrylicBackdropFactory:: 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::IDesktopAcrylicBackdropFactory, D const*>(static_cast(this), _winrt_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::DesktopAcrylicBackdrop{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IEllipseGeometry::Center() const { winrt::Windows::Foundation::Point value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IEllipseGeometry>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IEllipseGeometry, D const*>( static_cast(this), _winrt_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_Center(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Center(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IEllipseGeometry::Center( winrt::Windows::Foundation::Point const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IEllipseGeometry>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IEllipseGeometry, D const*>( static_cast(this), _winrt_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_Center(impl::bind_in(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Center(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_IEllipseGeometry::RadiusX() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IEllipseGeometry>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IEllipseGeometry, D const*>( static_cast(this), _winrt_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_RadiusX(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_RadiusX(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IEllipseGeometry::RadiusX( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IEllipseGeometry>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IEllipseGeometry, D const*>( static_cast(this), _winrt_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_RadiusX(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_RadiusX(value)); } } template auto consume_Microsoft_UI_Xaml_Media_IEllipseGeometry::RadiusY() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IEllipseGeometry>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IEllipseGeometry, D const*>( static_cast(this), _winrt_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_RadiusY(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_RadiusY(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IEllipseGeometry::RadiusY( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IEllipseGeometry>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IEllipseGeometry, D const*>( static_cast(this), _winrt_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_RadiusY(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_RadiusY(value)); } } template auto consume_Microsoft_UI_Xaml_Media_IEllipseGeometryStatics< D>::CenterProperty() 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::IEllipseGeometryStatics, D const*>( static_cast(this), _winrt_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_CenterProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IEllipseGeometryStatics>**)this; check_hresult(_winrt_abi_type->get_CenterProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IEllipseGeometryStatics< D>::RadiusXProperty() 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::IEllipseGeometryStatics, D const*>( static_cast(this), _winrt_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_RadiusXProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IEllipseGeometryStatics>**)this; check_hresult(_winrt_abi_type->get_RadiusXProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IEllipseGeometryStatics< D>::RadiusYProperty() 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::IEllipseGeometryStatics, D const*>( static_cast(this), _winrt_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_RadiusYProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IEllipseGeometryStatics>**)this; check_hresult(_winrt_abi_type->get_RadiusYProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IFontFamily::Source() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IFontFamily>) { 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_Source(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Source(&value)); } return hstring{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IFontFamilyFactory:: CreateInstanceWithName( param::hstring const& familyName, 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::IFontFamilyFactory>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IFontFamilyFactory, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->CreateInstanceWithName( *(void**)(&familyName), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->CreateInstanceWithName( *(void**)(&familyName), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); } return winrt::Microsoft::UI::Xaml::Media::FontFamily{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IFontFamilyStatics::XamlAutoFontFamily() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IFontFamilyStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IFontFamilyStatics, D const*>( static_cast(this), _winrt_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_XamlAutoFontFamily(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_XamlAutoFontFamily(&value)); } return winrt::Microsoft::UI::Xaml::Media::FontFamily{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IGeneralTransform::Inverse() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IGeneralTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IGeneralTransform, D const*>( static_cast(this), _winrt_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_Inverse(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Inverse(&value)); } return winrt::Microsoft::UI::Xaml::Media::GeneralTransform{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IGeneralTransform::TransformPoint( winrt::Windows::Foundation::Point const& point) const { winrt::Windows::Foundation::Point result{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IGeneralTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IGeneralTransform, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->TransformPoint(impl::bind_in(point), put_abi(result))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->TransformPoint(impl::bind_in(point), put_abi(result))); } return result; } template auto consume_Microsoft_UI_Xaml_Media_IGeneralTransform::TryTransform( winrt::Windows::Foundation::Point const& inPoint, winrt::Windows::Foundation::Point& outPoint) const { bool returnValue{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IGeneralTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IGeneralTransform, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->TryTransform( impl::bind_in(inPoint), impl::bind_out(outPoint), &returnValue)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->TryTransform( impl::bind_in(inPoint), impl::bind_out(outPoint), &returnValue)); } return returnValue; } template auto consume_Microsoft_UI_Xaml_Media_IGeneralTransform::TransformBounds( winrt::Windows::Foundation::Rect const& rect) const { winrt::Windows::Foundation::Rect result{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IGeneralTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IGeneralTransform, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->TransformBounds(impl::bind_in(rect), put_abi(result))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->TransformBounds(impl::bind_in(rect), put_abi(result))); } return result; } template auto consume_Microsoft_UI_Xaml_Media_IGeneralTransformFactory:: 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::IGeneralTransformFactory, D const*>( static_cast(this), _winrt_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< winrt::Microsoft::UI::Xaml::Media::IGeneralTransformFactory>**)this; check_hresult(_winrt_abi_type->CreateInstance( *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); } return winrt::Microsoft::UI::Xaml::Media::GeneralTransform{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IGeneralTransformOverrides< D>::InverseCore() 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::IGeneralTransformOverrides, D const*>(static_cast(this), _winrt_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_InverseCore(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_InverseCore(&value)); } return winrt::Microsoft::UI::Xaml::Media::GeneralTransform{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IGeneralTransformOverrides< D>::TryTransformCore(winrt::Windows::Foundation::Point const& inPoint, winrt::Windows::Foundation::Point& outPoint) const { bool returnValue{}; if constexpr (!std::is_same_v) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IGeneralTransformOverrides, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->TryTransformCore( impl::bind_in(inPoint), impl::bind_out(outPoint), &returnValue)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->TryTransformCore( impl::bind_in(inPoint), impl::bind_out(outPoint), &returnValue)); } return returnValue; } template auto consume_Microsoft_UI_Xaml_Media_IGeneralTransformOverrides:: TransformBoundsCore(winrt::Windows::Foundation::Rect const& rect) const { winrt::Windows::Foundation::Rect 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::IGeneralTransformOverrides, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->TransformBoundsCore(impl::bind_in(rect), put_abi(result))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->TransformBoundsCore(impl::bind_in(rect), put_abi(result))); } return result; } template auto consume_Microsoft_UI_Xaml_Media_IGeometry::Transform() 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_Transform(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Transform(&value)); } return winrt::Microsoft::UI::Xaml::Media::Transform{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IGeometry::Transform( winrt::Microsoft::UI::Xaml::Media::Transform 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_Transform(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Transform(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_IGeometry::Bounds() const { winrt::Windows::Foundation::Rect 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_Bounds(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Bounds(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IGeometryGroup::FillRule() const { winrt::Microsoft::UI::Xaml::Media::FillRule value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IGeometryGroup>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IGeometryGroup, D const*>( static_cast(this), _winrt_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_FillRule(reinterpret_cast(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->get_FillRule(reinterpret_cast(&value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IGeometryGroup::FillRule( winrt::Microsoft::UI::Xaml::Media::FillRule const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IGeometryGroup>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IGeometryGroup, D const*>( static_cast(this), _winrt_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_FillRule(static_cast(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_FillRule(static_cast(value))); } } template auto consume_Microsoft_UI_Xaml_Media_IGeometryGroup::Children() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IGeometryGroup>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IGeometryGroup, D const*>( static_cast(this), _winrt_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::GeometryCollection{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IGeometryGroup::Children( winrt::Microsoft::UI::Xaml::Media::GeometryCollection const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IGeometryGroup>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IGeometryGroup, D const*>( static_cast(this), _winrt_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_Children(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Children(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_IGeometryGroupStatics< D>::FillRuleProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IGeometryGroupStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IGeometryGroupStatics, D const*>( static_cast(this), _winrt_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_FillRuleProperty(&value)); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->get_FillRuleProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IGeometryGroupStatics< D>::ChildrenProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IGeometryGroupStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IGeometryGroupStatics, D const*>( static_cast(this), _winrt_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_ChildrenProperty(&value)); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->get_ChildrenProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IGeometryStatics::Empty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IGeometryStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IGeometryStatics, D const*>( static_cast(this), _winrt_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_Empty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Empty(&value)); } return winrt::Microsoft::UI::Xaml::Media::Geometry{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IGeometryStatics< D>::StandardFlatteningTolerance() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IGeometryStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IGeometryStatics, D const*>( static_cast(this), _winrt_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_StandardFlatteningTolerance(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_StandardFlatteningTolerance(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IGeometryStatics::TransformProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IGeometryStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IGeometryStatics, D const*>( static_cast(this), _winrt_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_TransformProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_TransformProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IGradientBrush::SpreadMethod() const { winrt::Microsoft::UI::Xaml::Media::GradientSpreadMethod value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IGradientBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IGradientBrush, D const*>( static_cast(this), _winrt_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_SpreadMethod(reinterpret_cast(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->get_SpreadMethod(reinterpret_cast(&value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IGradientBrush::SpreadMethod( winrt::Microsoft::UI::Xaml::Media::GradientSpreadMethod const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IGradientBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IGradientBrush, D const*>( static_cast(this), _winrt_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_SpreadMethod(static_cast(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->put_SpreadMethod(static_cast(value))); } } template auto consume_Microsoft_UI_Xaml_Media_IGradientBrush::MappingMode() const { winrt::Microsoft::UI::Xaml::Media::BrushMappingMode value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IGradientBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IGradientBrush, D const*>( static_cast(this), _winrt_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_MappingMode(reinterpret_cast(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->get_MappingMode(reinterpret_cast(&value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IGradientBrush::MappingMode( winrt::Microsoft::UI::Xaml::Media::BrushMappingMode const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IGradientBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IGradientBrush, D const*>( static_cast(this), _winrt_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_MappingMode(static_cast(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->put_MappingMode(static_cast(value))); } } template auto consume_Microsoft_UI_Xaml_Media_IGradientBrush::ColorInterpolationMode() const { winrt::Microsoft::UI::Xaml::Media::ColorInterpolationMode value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IGradientBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IGradientBrush, D const*>( static_cast(this), _winrt_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_ColorInterpolationMode( reinterpret_cast(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ColorInterpolationMode( reinterpret_cast(&value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IGradientBrush::ColorInterpolationMode( winrt::Microsoft::UI::Xaml::Media::ColorInterpolationMode const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IGradientBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IGradientBrush, D const*>( static_cast(this), _winrt_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_ColorInterpolationMode( static_cast(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_ColorInterpolationMode( static_cast(value))); } } template auto consume_Microsoft_UI_Xaml_Media_IGradientBrush::GradientStops() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IGradientBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IGradientBrush, D const*>( static_cast(this), _winrt_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_GradientStops(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_GradientStops(&value)); } return winrt::Microsoft::UI::Xaml::Media::GradientStopCollection{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IGradientBrush::GradientStops( winrt::Microsoft::UI::Xaml::Media::GradientStopCollection const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IGradientBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IGradientBrush, D const*>( static_cast(this), _winrt_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_GradientStops(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_GradientStops(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_IGradientBrushFactory::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::IGradientBrushFactory>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IGradientBrushFactory, D const*>( static_cast(this), _winrt_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::GradientBrush{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IGradientBrushStatics< D>::SpreadMethodProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IGradientBrushStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IGradientBrushStatics, D const*>( static_cast(this), _winrt_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_SpreadMethodProperty(&value)); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->get_SpreadMethodProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IGradientBrushStatics< D>::MappingModeProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IGradientBrushStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IGradientBrushStatics, D const*>( static_cast(this), _winrt_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_MappingModeProperty(&value)); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->get_MappingModeProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IGradientBrushStatics< D>::ColorInterpolationModeProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IGradientBrushStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IGradientBrushStatics, D const*>( static_cast(this), _winrt_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_ColorInterpolationModeProperty(&value)); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->get_ColorInterpolationModeProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IGradientBrushStatics< D>::GradientStopsProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IGradientBrushStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IGradientBrushStatics, D const*>( static_cast(this), _winrt_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_GradientStopsProperty(&value)); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->get_GradientStopsProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IGradientStop::Color() const { winrt::Windows::UI::Color value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IGradientStop>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IGradientStop, D const*>( static_cast(this), _winrt_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_Color(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Color(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IGradientStop::Color( winrt::Windows::UI::Color const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IGradientStop>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IGradientStop, D const*>( static_cast(this), _winrt_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_Color(impl::bind_in(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Color(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_IGradientStop::Offset() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IGradientStop>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IGradientStop, D const*>( static_cast(this), _winrt_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_Offset(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Offset(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IGradientStop::Offset( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IGradientStop>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IGradientStop, D const*>( static_cast(this), _winrt_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_Offset(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Offset(value)); } } template auto consume_Microsoft_UI_Xaml_Media_IGradientStopStatics::ColorProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IGradientStopStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IGradientStopStatics, D const*>( static_cast(this), _winrt_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_ColorProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ColorProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IGradientStopStatics::OffsetProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IGradientStopStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IGradientStopStatics, D const*>( static_cast(this), _winrt_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_OffsetProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_OffsetProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IImageBrush::ImageSource() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IImageBrush>) { 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_ImageSource(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ImageSource(&value)); } return winrt::Microsoft::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IImageBrush::ImageSource( winrt::Microsoft::UI::Xaml::Media::ImageSource const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IImageBrush>) { 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_ImageSource(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_ImageSource(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_IImageBrush::ImageFailed( winrt::Microsoft::UI::Xaml::ExceptionRoutedEventHandler const& handler) const { winrt::event_token token{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IImageBrush>) { 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->add_ImageFailed(*(void**)(&handler), put_abi(token))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->add_ImageFailed(*(void**)(&handler), put_abi(token))); } return token; } template auto consume_Microsoft_UI_Xaml_Media_IImageBrush::ImageFailed( auto_revoke_t, winrt::Microsoft::UI::Xaml::ExceptionRoutedEventHandler const& handler) const { return impl::make_event_revoker(this, ImageFailed(handler)); } template auto consume_Microsoft_UI_Xaml_Media_IImageBrush::ImageFailed( winrt::event_token const& token) const noexcept { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IImageBrush>) { 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; _winrt_abi_type->remove_ImageFailed(impl::bind_in(token)); } else { auto const _winrt_abi_type = *(abi_t**)this; _winrt_abi_type->remove_ImageFailed(impl::bind_in(token)); } } template auto consume_Microsoft_UI_Xaml_Media_IImageBrush::ImageOpened( winrt::Microsoft::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IImageBrush>) { 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->add_ImageOpened(*(void**)(&handler), put_abi(token))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->add_ImageOpened(*(void**)(&handler), put_abi(token))); } return token; } template auto consume_Microsoft_UI_Xaml_Media_IImageBrush::ImageOpened( auto_revoke_t, winrt::Microsoft::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, ImageOpened(handler)); } template auto consume_Microsoft_UI_Xaml_Media_IImageBrush::ImageOpened( winrt::event_token const& token) const noexcept { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IImageBrush>) { 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; _winrt_abi_type->remove_ImageOpened(impl::bind_in(token)); } else { auto const _winrt_abi_type = *(abi_t**)this; _winrt_abi_type->remove_ImageOpened(impl::bind_in(token)); } } template auto consume_Microsoft_UI_Xaml_Media_IImageBrushStatics< D>::ImageSourceProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IImageBrushStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IImageBrushStatics, D const*>( static_cast(this), _winrt_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_ImageSourceProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ImageSourceProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ILineGeometry::StartPoint() const { winrt::Windows::Foundation::Point value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ILineGeometry>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ILineGeometry, D const*>( static_cast(this), _winrt_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_StartPoint(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_StartPoint(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_ILineGeometry::StartPoint( winrt::Windows::Foundation::Point const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ILineGeometry>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ILineGeometry, D const*>( static_cast(this), _winrt_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_StartPoint(impl::bind_in(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_StartPoint(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_ILineGeometry::EndPoint() const { winrt::Windows::Foundation::Point value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ILineGeometry>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ILineGeometry, D const*>( static_cast(this), _winrt_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_EndPoint(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EndPoint(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_ILineGeometry::EndPoint( winrt::Windows::Foundation::Point const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ILineGeometry>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ILineGeometry, D const*>( static_cast(this), _winrt_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_EndPoint(impl::bind_in(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_EndPoint(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_ILineGeometryStatics< D>::StartPointProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ILineGeometryStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ILineGeometryStatics, D const*>( static_cast(this), _winrt_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_StartPointProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_StartPointProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ILineGeometryStatics::EndPointProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ILineGeometryStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ILineGeometryStatics, D const*>( static_cast(this), _winrt_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_EndPointProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EndPointProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ILineSegment::Point() const { winrt::Windows::Foundation::Point value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ILineSegment>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ILineSegment, D const*>( static_cast(this), _winrt_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_Point(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Point(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_ILineSegment::Point( winrt::Windows::Foundation::Point const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ILineSegment>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ILineSegment, D const*>( static_cast(this), _winrt_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_Point(impl::bind_in(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Point(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_ILineSegmentStatics::PointProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ILineSegmentStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ILineSegmentStatics, D const*>( static_cast(this), _winrt_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_PointProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_PointProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ILinearGradientBrush::StartPoint() const { winrt::Windows::Foundation::Point value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ILinearGradientBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ILinearGradientBrush, D const*>( static_cast(this), _winrt_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_StartPoint(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_StartPoint(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_ILinearGradientBrush::StartPoint( winrt::Windows::Foundation::Point const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ILinearGradientBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ILinearGradientBrush, D const*>( static_cast(this), _winrt_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_StartPoint(impl::bind_in(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_StartPoint(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_ILinearGradientBrush::EndPoint() const { winrt::Windows::Foundation::Point value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ILinearGradientBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ILinearGradientBrush, D const*>( static_cast(this), _winrt_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_EndPoint(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EndPoint(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_ILinearGradientBrush::EndPoint( winrt::Windows::Foundation::Point const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ILinearGradientBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ILinearGradientBrush, D const*>( static_cast(this), _winrt_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_EndPoint(impl::bind_in(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_EndPoint(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_ILinearGradientBrushFactory:: CreateInstanceWithGradientStopCollectionAndAngle( winrt::Microsoft::UI::Xaml::Media::GradientStopCollection const& gradientStopCollection, double angle) 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::ILinearGradientBrushFactory, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->CreateInstanceWithGradientStopCollectionAndAngle( *(void**)(&gradientStopCollection), angle, &value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->CreateInstanceWithGradientStopCollectionAndAngle( *(void**)(&gradientStopCollection), angle, &value)); } return winrt::Microsoft::UI::Xaml::Media::LinearGradientBrush{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ILinearGradientBrushStatics< D>::StartPointProperty() 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::ILinearGradientBrushStatics, D const*>(static_cast(this), _winrt_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_StartPointProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_StartPointProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ILinearGradientBrushStatics< D>::EndPointProperty() 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::ILinearGradientBrushStatics, D const*>(static_cast(this), _winrt_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_EndPointProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_EndPointProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ILoadedImageSourceLoadCompletedEventArgs< D>::Status() const { winrt::Microsoft::UI::Xaml::Media::LoadedImageSourceLoadStatus 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:: ILoadedImageSourceLoadCompletedEventArgs>**)&_winrt_casted_result; check_hresult( _winrt_abi_type->get_Status(reinterpret_cast(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->get_Status(reinterpret_cast(&value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_ILoadedImageSurface< D>::DecodedPhysicalSize() const { winrt::Windows::Foundation::Size value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ILoadedImageSurface>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ILoadedImageSurface, D const*>( static_cast(this), _winrt_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_DecodedPhysicalSize(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_DecodedPhysicalSize(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_ILoadedImageSurface::DecodedSize() const { winrt::Windows::Foundation::Size value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ILoadedImageSurface>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ILoadedImageSurface, D const*>( static_cast(this), _winrt_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_DecodedSize(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_DecodedSize(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_ILoadedImageSurface::NaturalSize() const { winrt::Windows::Foundation::Size value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ILoadedImageSurface>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ILoadedImageSurface, D const*>( static_cast(this), _winrt_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_NaturalSize(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_NaturalSize(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_ILoadedImageSurface::LoadCompleted( winrt::Windows::Foundation::TypedEventHandler< winrt::Microsoft::UI::Xaml::Media::LoadedImageSurface, winrt::Microsoft::UI::Xaml::Media:: LoadedImageSourceLoadCompletedEventArgs> const& handler) const { winrt::event_token token{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ILoadedImageSurface>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ILoadedImageSurface, D const*>( static_cast(this), _winrt_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_LoadCompleted(*(void**)(&handler), put_abi(token))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->add_LoadCompleted(*(void**)(&handler), put_abi(token))); } return token; } template auto consume_Microsoft_UI_Xaml_Media_ILoadedImageSurface::LoadCompleted( auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler< winrt::Microsoft::UI::Xaml::Media::LoadedImageSurface, winrt::Microsoft::UI::Xaml::Media:: LoadedImageSourceLoadCompletedEventArgs> const& handler) const { return impl::make_event_revoker( this, LoadCompleted(handler)); } template auto consume_Microsoft_UI_Xaml_Media_ILoadedImageSurface::LoadCompleted( winrt::event_token const& token) const noexcept { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ILoadedImageSurface>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ILoadedImageSurface, D 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_LoadCompleted(impl::bind_in(token)); } else { auto const _winrt_abi_type = *(abi_t**)this; _winrt_abi_type->remove_LoadCompleted(impl::bind_in(token)); } } template auto consume_Microsoft_UI_Xaml_Media_ILoadedImageSurfaceStatics< D>::StartLoadFromUri(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Foundation::Size const& desiredMaxSize) 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::ILoadedImageSurfaceStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->StartLoadFromUriWithSize( *(void**)(&uri), impl::bind_in(desiredMaxSize), &result)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->StartLoadFromUriWithSize( *(void**)(&uri), impl::bind_in(desiredMaxSize), &result)); } return winrt::Microsoft::UI::Xaml::Media::LoadedImageSurface{ result, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ILoadedImageSurfaceStatics< D>::StartLoadFromUri(winrt::Windows::Foundation::Uri const& uri) 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::ILoadedImageSurfaceStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->StartLoadFromUri(*(void**)(&uri), &result)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->StartLoadFromUri(*(void**)(&uri), &result)); } return winrt::Microsoft::UI::Xaml::Media::LoadedImageSurface{ result, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ILoadedImageSurfaceStatics:: StartLoadFromStream( winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, winrt::Windows::Foundation::Size const& desiredMaxSize) 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::ILoadedImageSurfaceStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->StartLoadFromStreamWithSize( *(void**)(&stream), impl::bind_in(desiredMaxSize), &result)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->StartLoadFromStreamWithSize( *(void**)(&stream), impl::bind_in(desiredMaxSize), &result)); } return winrt::Microsoft::UI::Xaml::Media::LoadedImageSurface{ result, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ILoadedImageSurfaceStatics:: StartLoadFromStream( winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) 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::ILoadedImageSurfaceStatics, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->StartLoadFromStream(*(void**)(&stream), &result)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->StartLoadFromStream(*(void**)(&stream), &result)); } return winrt::Microsoft::UI::Xaml::Media::LoadedImageSurface{ result, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IMatrix3DProjection::ProjectionMatrix() const { winrt::Microsoft::UI::Xaml::Media::Media3D::Matrix3D value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IMatrix3DProjection>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IMatrix3DProjection, D const*>( static_cast(this), _winrt_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_ProjectionMatrix(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ProjectionMatrix(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IMatrix3DProjection::ProjectionMatrix( winrt::Microsoft::UI::Xaml::Media::Media3D::Matrix3D const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IMatrix3DProjection>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IMatrix3DProjection, D const*>( static_cast(this), _winrt_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_ProjectionMatrix(impl::bind_in(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_ProjectionMatrix(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_IMatrix3DProjectionStatics< D>::ProjectionMatrixProperty() 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::IMatrix3DProjectionStatics, D const*>(static_cast(this), _winrt_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_ProjectionMatrixProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ProjectionMatrixProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IMatrixHelperStatics::Identity() const { winrt::Microsoft::UI::Xaml::Media::Matrix value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IMatrixHelperStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IMatrixHelperStatics, D const*>( static_cast(this), _winrt_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_Identity(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Identity(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IMatrixHelperStatics::FromElements( double m11, double m12, double m21, double m22, double offsetX, double offsetY) const { winrt::Microsoft::UI::Xaml::Media::Matrix result{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IMatrixHelperStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IMatrixHelperStatics, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->FromElements(m11, m12, m21, m22, offsetX, offsetY, put_abi(result))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->FromElements(m11, m12, m21, m22, offsetX, offsetY, put_abi(result))); } return result; } template auto consume_Microsoft_UI_Xaml_Media_IMatrixHelperStatics::GetIsIdentity( winrt::Microsoft::UI::Xaml::Media::Matrix const& target) const { bool result{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IMatrixHelperStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IMatrixHelperStatics, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->GetIsIdentity(impl::bind_in(target), &result)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->GetIsIdentity(impl::bind_in(target), &result)); } return result; } template auto consume_Microsoft_UI_Xaml_Media_IMatrixHelperStatics::Transform( winrt::Microsoft::UI::Xaml::Media::Matrix const& target, winrt::Windows::Foundation::Point const& point) const { winrt::Windows::Foundation::Point result{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IMatrixHelperStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IMatrixHelperStatics, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->Transform( impl::bind_in(target), impl::bind_in(point), put_abi(result))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->Transform( impl::bind_in(target), impl::bind_in(point), put_abi(result))); } return result; } template auto consume_Microsoft_UI_Xaml_Media_IMatrixTransform::Matrix() const { winrt::Microsoft::UI::Xaml::Media::Matrix value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IMatrixTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IMatrixTransform, D const*>( static_cast(this), _winrt_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_Matrix(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Matrix(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IMatrixTransform::Matrix( winrt::Microsoft::UI::Xaml::Media::Matrix const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IMatrixTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IMatrixTransform, D const*>( static_cast(this), _winrt_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_Matrix(impl::bind_in(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Matrix(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_IMatrixTransformStatics< D>::MatrixProperty() 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::IMatrixTransformStatics, D const*>( static_cast(this), _winrt_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_MatrixProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IMatrixTransformStatics>**)this; check_hresult(_winrt_abi_type->get_MatrixProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IMediaTransportControlsThumbnailRequestedEventArgs< D>::SetThumbnailImage(winrt::Windows::Storage::Streams::IInputStream const& source) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media:: IMediaTransportControlsThumbnailRequestedEventArgs>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media:: IMediaTransportControlsThumbnailRequestedEventArgs, 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:: IMediaTransportControlsThumbnailRequestedEventArgs>**)&_winrt_casted_result; check_hresult(_winrt_abi_type->SetThumbnailImage(*(void**)(&source))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->SetThumbnailImage(*(void**)(&source))); } } template auto consume_Microsoft_UI_Xaml_Media_IMediaTransportControlsThumbnailRequestedEventArgs< D>::GetDeferral() const { void* result{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media:: IMediaTransportControlsThumbnailRequestedEventArgs>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media:: IMediaTransportControlsThumbnailRequestedEventArgs, 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:: IMediaTransportControlsThumbnailRequestedEventArgs>**)&_winrt_casted_result; check_hresult(_winrt_abi_type->GetDeferral(&result)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->GetDeferral(&result)); } return winrt::Windows::Foundation::Deferral{result, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IMicaBackdrop::Kind() const { winrt::Microsoft::UI::Composition::SystemBackdrops::MicaKind value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IMicaBackdrop>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IMicaBackdrop, D const*>( static_cast(this), _winrt_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_Kind(reinterpret_cast(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->get_Kind(reinterpret_cast(&value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IMicaBackdrop::Kind( winrt::Microsoft::UI::Composition::SystemBackdrops::MicaKind const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IMicaBackdrop>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IMicaBackdrop, D const*>( static_cast(this), _winrt_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_Kind(static_cast(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Kind(static_cast(value))); } } template auto consume_Microsoft_UI_Xaml_Media_IMicaBackdropFactory::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::IMicaBackdropFactory>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IMicaBackdropFactory, D const*>( static_cast(this), _winrt_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::MicaBackdrop{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IMicaBackdropStatics::KindProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IMicaBackdropStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IMicaBackdropStatics, D const*>( static_cast(this), _winrt_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_KindProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_KindProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IPathFigure::Segments() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPathFigure>) { 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_Segments(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Segments(&value)); } return winrt::Microsoft::UI::Xaml::Media::PathSegmentCollection{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IPathFigure::Segments( winrt::Microsoft::UI::Xaml::Media::PathSegmentCollection const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPathFigure>) { 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_Segments(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Segments(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_IPathFigure::StartPoint() const { winrt::Windows::Foundation::Point value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPathFigure>) { 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_StartPoint(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_StartPoint(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IPathFigure::StartPoint( winrt::Windows::Foundation::Point const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPathFigure>) { 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_StartPoint(impl::bind_in(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_StartPoint(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_IPathFigure::IsClosed() const { bool value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPathFigure>) { 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_IsClosed(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_IsClosed(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IPathFigure::IsClosed( bool value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPathFigure>) { 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_IsClosed(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_IsClosed(value)); } } template auto consume_Microsoft_UI_Xaml_Media_IPathFigure::IsFilled() const { bool value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPathFigure>) { 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_IsFilled(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_IsFilled(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IPathFigure::IsFilled( bool value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPathFigure>) { 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_IsFilled(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_IsFilled(value)); } } template auto consume_Microsoft_UI_Xaml_Media_IPathFigureStatics::SegmentsProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPathFigureStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPathFigureStatics, D const*>( static_cast(this), _winrt_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_SegmentsProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_SegmentsProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IPathFigureStatics::StartPointProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPathFigureStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPathFigureStatics, D const*>( static_cast(this), _winrt_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_StartPointProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_StartPointProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IPathFigureStatics::IsClosedProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPathFigureStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPathFigureStatics, D const*>( static_cast(this), _winrt_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_IsClosedProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_IsClosedProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IPathFigureStatics::IsFilledProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPathFigureStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPathFigureStatics, D const*>( static_cast(this), _winrt_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_IsFilledProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_IsFilledProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IPathGeometry::FillRule() const { winrt::Microsoft::UI::Xaml::Media::FillRule value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPathGeometry>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPathGeometry, D const*>( static_cast(this), _winrt_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_FillRule(reinterpret_cast(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->get_FillRule(reinterpret_cast(&value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IPathGeometry::FillRule( winrt::Microsoft::UI::Xaml::Media::FillRule const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPathGeometry>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPathGeometry, D const*>( static_cast(this), _winrt_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_FillRule(static_cast(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_FillRule(static_cast(value))); } } template auto consume_Microsoft_UI_Xaml_Media_IPathGeometry::Figures() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPathGeometry>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPathGeometry, D const*>( static_cast(this), _winrt_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_Figures(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Figures(&value)); } return winrt::Microsoft::UI::Xaml::Media::PathFigureCollection{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IPathGeometry::Figures( winrt::Microsoft::UI::Xaml::Media::PathFigureCollection const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPathGeometry>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPathGeometry, D const*>( static_cast(this), _winrt_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_Figures(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Figures(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_IPathGeometryStatics::FillRuleProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPathGeometryStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPathGeometryStatics, D const*>( static_cast(this), _winrt_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_FillRuleProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_FillRuleProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IPathGeometryStatics::FiguresProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPathGeometryStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPathGeometryStatics, D const*>( static_cast(this), _winrt_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_FiguresProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_FiguresProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjection::LocalOffsetX() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPlaneProjection>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPlaneProjection, D const*>( static_cast(this), _winrt_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_LocalOffsetX(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_LocalOffsetX(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjection::LocalOffsetX( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPlaneProjection>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPlaneProjection, D const*>( static_cast(this), _winrt_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_LocalOffsetX(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_LocalOffsetX(value)); } } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjection::LocalOffsetY() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPlaneProjection>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPlaneProjection, D const*>( static_cast(this), _winrt_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_LocalOffsetY(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_LocalOffsetY(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjection::LocalOffsetY( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPlaneProjection>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPlaneProjection, D const*>( static_cast(this), _winrt_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_LocalOffsetY(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_LocalOffsetY(value)); } } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjection::LocalOffsetZ() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPlaneProjection>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPlaneProjection, D const*>( static_cast(this), _winrt_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_LocalOffsetZ(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_LocalOffsetZ(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjection::LocalOffsetZ( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPlaneProjection>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPlaneProjection, D const*>( static_cast(this), _winrt_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_LocalOffsetZ(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_LocalOffsetZ(value)); } } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjection::RotationX() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPlaneProjection>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPlaneProjection, D const*>( static_cast(this), _winrt_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_RotationX(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_RotationX(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjection::RotationX( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPlaneProjection>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPlaneProjection, D const*>( static_cast(this), _winrt_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_RotationX(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_RotationX(value)); } } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjection::RotationY() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPlaneProjection>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPlaneProjection, D const*>( static_cast(this), _winrt_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_RotationY(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_RotationY(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjection::RotationY( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPlaneProjection>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPlaneProjection, D const*>( static_cast(this), _winrt_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_RotationY(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_RotationY(value)); } } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjection::RotationZ() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPlaneProjection>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPlaneProjection, D const*>( static_cast(this), _winrt_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_RotationZ(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_RotationZ(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjection::RotationZ( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPlaneProjection>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPlaneProjection, D const*>( static_cast(this), _winrt_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_RotationZ(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_RotationZ(value)); } } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjection::CenterOfRotationX() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPlaneProjection>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPlaneProjection, D const*>( static_cast(this), _winrt_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_CenterOfRotationX(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_CenterOfRotationX(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjection::CenterOfRotationX( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPlaneProjection>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPlaneProjection, D const*>( static_cast(this), _winrt_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_CenterOfRotationX(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_CenterOfRotationX(value)); } } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjection::CenterOfRotationY() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPlaneProjection>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPlaneProjection, D const*>( static_cast(this), _winrt_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_CenterOfRotationY(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_CenterOfRotationY(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjection::CenterOfRotationY( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPlaneProjection>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPlaneProjection, D const*>( static_cast(this), _winrt_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_CenterOfRotationY(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_CenterOfRotationY(value)); } } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjection::CenterOfRotationZ() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPlaneProjection>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPlaneProjection, D const*>( static_cast(this), _winrt_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_CenterOfRotationZ(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_CenterOfRotationZ(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjection::CenterOfRotationZ( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPlaneProjection>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPlaneProjection, D const*>( static_cast(this), _winrt_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_CenterOfRotationZ(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_CenterOfRotationZ(value)); } } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjection::GlobalOffsetX() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPlaneProjection>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPlaneProjection, D const*>( static_cast(this), _winrt_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_GlobalOffsetX(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_GlobalOffsetX(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjection::GlobalOffsetX( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPlaneProjection>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPlaneProjection, D const*>( static_cast(this), _winrt_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_GlobalOffsetX(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_GlobalOffsetX(value)); } } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjection::GlobalOffsetY() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPlaneProjection>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPlaneProjection, D const*>( static_cast(this), _winrt_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_GlobalOffsetY(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_GlobalOffsetY(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjection::GlobalOffsetY( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPlaneProjection>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPlaneProjection, D const*>( static_cast(this), _winrt_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_GlobalOffsetY(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_GlobalOffsetY(value)); } } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjection::GlobalOffsetZ() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPlaneProjection>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPlaneProjection, D const*>( static_cast(this), _winrt_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_GlobalOffsetZ(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_GlobalOffsetZ(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjection::GlobalOffsetZ( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPlaneProjection>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPlaneProjection, D const*>( static_cast(this), _winrt_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_GlobalOffsetZ(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_GlobalOffsetZ(value)); } } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjection::ProjectionMatrix() const { winrt::Microsoft::UI::Xaml::Media::Media3D::Matrix3D value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPlaneProjection>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPlaneProjection, D const*>( static_cast(this), _winrt_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_ProjectionMatrix(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ProjectionMatrix(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjectionStatics< D>::LocalOffsetXProperty() 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::IPlaneProjectionStatics, D const*>( static_cast(this), _winrt_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_LocalOffsetXProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IPlaneProjectionStatics>**)this; check_hresult(_winrt_abi_type->get_LocalOffsetXProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjectionStatics< D>::LocalOffsetYProperty() 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::IPlaneProjectionStatics, D const*>( static_cast(this), _winrt_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_LocalOffsetYProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IPlaneProjectionStatics>**)this; check_hresult(_winrt_abi_type->get_LocalOffsetYProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjectionStatics< D>::LocalOffsetZProperty() 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::IPlaneProjectionStatics, D const*>( static_cast(this), _winrt_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_LocalOffsetZProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IPlaneProjectionStatics>**)this; check_hresult(_winrt_abi_type->get_LocalOffsetZProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjectionStatics< D>::RotationXProperty() 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::IPlaneProjectionStatics, D const*>( static_cast(this), _winrt_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_RotationXProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IPlaneProjectionStatics>**)this; check_hresult(_winrt_abi_type->get_RotationXProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjectionStatics< D>::RotationYProperty() 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::IPlaneProjectionStatics, D const*>( static_cast(this), _winrt_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_RotationYProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IPlaneProjectionStatics>**)this; check_hresult(_winrt_abi_type->get_RotationYProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjectionStatics< D>::RotationZProperty() 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::IPlaneProjectionStatics, D const*>( static_cast(this), _winrt_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_RotationZProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IPlaneProjectionStatics>**)this; check_hresult(_winrt_abi_type->get_RotationZProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjectionStatics< D>::CenterOfRotationXProperty() 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::IPlaneProjectionStatics, D const*>( static_cast(this), _winrt_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_CenterOfRotationXProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IPlaneProjectionStatics>**)this; check_hresult(_winrt_abi_type->get_CenterOfRotationXProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjectionStatics< D>::CenterOfRotationYProperty() 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::IPlaneProjectionStatics, D const*>( static_cast(this), _winrt_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_CenterOfRotationYProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IPlaneProjectionStatics>**)this; check_hresult(_winrt_abi_type->get_CenterOfRotationYProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjectionStatics< D>::CenterOfRotationZProperty() 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::IPlaneProjectionStatics, D const*>( static_cast(this), _winrt_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_CenterOfRotationZProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IPlaneProjectionStatics>**)this; check_hresult(_winrt_abi_type->get_CenterOfRotationZProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjectionStatics< D>::GlobalOffsetXProperty() 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::IPlaneProjectionStatics, D const*>( static_cast(this), _winrt_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_GlobalOffsetXProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IPlaneProjectionStatics>**)this; check_hresult(_winrt_abi_type->get_GlobalOffsetXProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjectionStatics< D>::GlobalOffsetYProperty() 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::IPlaneProjectionStatics, D const*>( static_cast(this), _winrt_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_GlobalOffsetYProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IPlaneProjectionStatics>**)this; check_hresult(_winrt_abi_type->get_GlobalOffsetYProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjectionStatics< D>::GlobalOffsetZProperty() 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::IPlaneProjectionStatics, D const*>( static_cast(this), _winrt_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_GlobalOffsetZProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IPlaneProjectionStatics>**)this; check_hresult(_winrt_abi_type->get_GlobalOffsetZProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IPlaneProjectionStatics< D>::ProjectionMatrixProperty() 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::IPlaneProjectionStatics, D const*>( static_cast(this), _winrt_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_ProjectionMatrixProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IPlaneProjectionStatics>**)this; check_hresult(_winrt_abi_type->get_ProjectionMatrixProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IPolyBezierSegment::Points() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPolyBezierSegment>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPolyBezierSegment, D const*>( static_cast(this), _winrt_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_Points(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Points(&value)); } return winrt::Microsoft::UI::Xaml::Media::PointCollection{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IPolyBezierSegment::Points( winrt::Microsoft::UI::Xaml::Media::PointCollection const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPolyBezierSegment>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPolyBezierSegment, D const*>( static_cast(this), _winrt_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_Points(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Points(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_IPolyBezierSegmentStatics< D>::PointsProperty() 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::IPolyBezierSegmentStatics, D const*>( static_cast(this), _winrt_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_PointsProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_PointsProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IPolyLineSegment::Points() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPolyLineSegment>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPolyLineSegment, D const*>( static_cast(this), _winrt_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_Points(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Points(&value)); } return winrt::Microsoft::UI::Xaml::Media::PointCollection{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IPolyLineSegment::Points( winrt::Microsoft::UI::Xaml::Media::PointCollection const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IPolyLineSegment>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IPolyLineSegment, D const*>( static_cast(this), _winrt_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_Points(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Points(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_IPolyLineSegmentStatics< D>::PointsProperty() 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::IPolyLineSegmentStatics, D const*>( static_cast(this), _winrt_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_PointsProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IPolyLineSegmentStatics>**)this; check_hresult(_winrt_abi_type->get_PointsProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IPolyQuadraticBezierSegment::Points() 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::IPolyQuadraticBezierSegment, D const*>(static_cast(this), _winrt_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_Points(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Points(&value)); } return winrt::Microsoft::UI::Xaml::Media::PointCollection{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IPolyQuadraticBezierSegment::Points( winrt::Microsoft::UI::Xaml::Media::PointCollection 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::IPolyQuadraticBezierSegment, D const*>(static_cast(this), _winrt_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_Points(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Points(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_IPolyQuadraticBezierSegmentStatics< D>::PointsProperty() 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::IPolyQuadraticBezierSegmentStatics, D const*>(static_cast(this), _winrt_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_PointsProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_PointsProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IProjectionFactory::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::IProjectionFactory>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IProjectionFactory, D const*>( static_cast(this), _winrt_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::Projection{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IQuadraticBezierSegment::Point1() 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::IQuadraticBezierSegment, D const*>( static_cast(this), _winrt_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_Point1(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IQuadraticBezierSegment>**)this; check_hresult(_winrt_abi_type->get_Point1(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IQuadraticBezierSegment::Point1( 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::IQuadraticBezierSegment, D const*>( static_cast(this), _winrt_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_Point1(impl::bind_in(value))); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IQuadraticBezierSegment>**)this; check_hresult(_winrt_abi_type->put_Point1(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_IQuadraticBezierSegment::Point2() 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::IQuadraticBezierSegment, D const*>( static_cast(this), _winrt_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_Point2(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IQuadraticBezierSegment>**)this; check_hresult(_winrt_abi_type->get_Point2(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IQuadraticBezierSegment::Point2( 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::IQuadraticBezierSegment, D const*>( static_cast(this), _winrt_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_Point2(impl::bind_in(value))); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IQuadraticBezierSegment>**)this; check_hresult(_winrt_abi_type->put_Point2(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_IQuadraticBezierSegmentStatics< D>::Point1Property() 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::IQuadraticBezierSegmentStatics, D const*>(static_cast(this), _winrt_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_Point1Property(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Point1Property(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IQuadraticBezierSegmentStatics< D>::Point2Property() 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::IQuadraticBezierSegmentStatics, D const*>(static_cast(this), _winrt_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_Point2Property(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Point2Property(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IRadialGradientBrush::Center() const { winrt::Windows::Foundation::Point value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IRadialGradientBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IRadialGradientBrush, D const*>( static_cast(this), _winrt_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_Center(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Center(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IRadialGradientBrush::Center( winrt::Windows::Foundation::Point const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IRadialGradientBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IRadialGradientBrush, D const*>( static_cast(this), _winrt_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_Center(impl::bind_in(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Center(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_IRadialGradientBrush::RadiusX() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IRadialGradientBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IRadialGradientBrush, D const*>( static_cast(this), _winrt_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_RadiusX(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_RadiusX(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IRadialGradientBrush::RadiusX( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IRadialGradientBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IRadialGradientBrush, D const*>( static_cast(this), _winrt_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_RadiusX(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_RadiusX(value)); } } template auto consume_Microsoft_UI_Xaml_Media_IRadialGradientBrush::RadiusY() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IRadialGradientBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IRadialGradientBrush, D const*>( static_cast(this), _winrt_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_RadiusY(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_RadiusY(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IRadialGradientBrush::RadiusY( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IRadialGradientBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IRadialGradientBrush, D const*>( static_cast(this), _winrt_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_RadiusY(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_RadiusY(value)); } } template auto consume_Microsoft_UI_Xaml_Media_IRadialGradientBrush::GradientOrigin() const { winrt::Windows::Foundation::Point value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IRadialGradientBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IRadialGradientBrush, D const*>( static_cast(this), _winrt_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_GradientOrigin(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_GradientOrigin(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IRadialGradientBrush::GradientOrigin( winrt::Windows::Foundation::Point const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IRadialGradientBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IRadialGradientBrush, D const*>( static_cast(this), _winrt_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_GradientOrigin(impl::bind_in(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_GradientOrigin(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_IRadialGradientBrush::MappingMode() const { winrt::Microsoft::UI::Xaml::Media::BrushMappingMode value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IRadialGradientBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IRadialGradientBrush, D const*>( static_cast(this), _winrt_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_MappingMode(reinterpret_cast(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->get_MappingMode(reinterpret_cast(&value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IRadialGradientBrush::MappingMode( winrt::Microsoft::UI::Xaml::Media::BrushMappingMode const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IRadialGradientBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IRadialGradientBrush, D const*>( static_cast(this), _winrt_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_MappingMode(static_cast(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->put_MappingMode(static_cast(value))); } } template auto consume_Microsoft_UI_Xaml_Media_IRadialGradientBrush< D>::InterpolationSpace() const { winrt::Microsoft::UI::Composition::CompositionColorSpace value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IRadialGradientBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IRadialGradientBrush, D const*>( static_cast(this), _winrt_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_InterpolationSpace( reinterpret_cast(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_InterpolationSpace( reinterpret_cast(&value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IRadialGradientBrush:: InterpolationSpace( winrt::Microsoft::UI::Composition::CompositionColorSpace const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IRadialGradientBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IRadialGradientBrush, D const*>( static_cast(this), _winrt_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_InterpolationSpace(static_cast(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->put_InterpolationSpace(static_cast(value))); } } template auto consume_Microsoft_UI_Xaml_Media_IRadialGradientBrush::SpreadMethod() const { winrt::Microsoft::UI::Xaml::Media::GradientSpreadMethod value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IRadialGradientBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IRadialGradientBrush, D const*>( static_cast(this), _winrt_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_SpreadMethod(reinterpret_cast(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->get_SpreadMethod(reinterpret_cast(&value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IRadialGradientBrush::SpreadMethod( winrt::Microsoft::UI::Xaml::Media::GradientSpreadMethod const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IRadialGradientBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IRadialGradientBrush, D const*>( static_cast(this), _winrt_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_SpreadMethod(static_cast(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->put_SpreadMethod(static_cast(value))); } } template auto consume_Microsoft_UI_Xaml_Media_IRadialGradientBrush::GradientStops() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IRadialGradientBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IRadialGradientBrush, D const*>( static_cast(this), _winrt_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_GradientStops(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_GradientStops(&value)); } return winrt::Windows::Foundation::Collections::IObservableVector< winrt::Microsoft::UI::Xaml::Media::GradientStop>{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IRadialGradientBrushFactory:: 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::IRadialGradientBrushFactory, D const*>(static_cast(this), _winrt_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::RadialGradientBrush{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IRadialGradientBrushStatics< D>::CenterProperty() 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::IRadialGradientBrushStatics, D const*>(static_cast(this), _winrt_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_CenterProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_CenterProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IRadialGradientBrushStatics< D>::RadiusXProperty() 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::IRadialGradientBrushStatics, D const*>(static_cast(this), _winrt_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_RadiusXProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_RadiusXProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IRadialGradientBrushStatics< D>::RadiusYProperty() 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::IRadialGradientBrushStatics, D const*>(static_cast(this), _winrt_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_RadiusYProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_RadiusYProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IRadialGradientBrushStatics< D>::GradientOriginProperty() 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::IRadialGradientBrushStatics, D const*>(static_cast(this), _winrt_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_GradientOriginProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_GradientOriginProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IRadialGradientBrushStatics< D>::InterpolationSpaceProperty() 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::IRadialGradientBrushStatics, D const*>(static_cast(this), _winrt_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_InterpolationSpaceProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_InterpolationSpaceProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IRadialGradientBrushStatics< D>::MappingModeProperty() 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::IRadialGradientBrushStatics, D const*>(static_cast(this), _winrt_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_MappingModeProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_MappingModeProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IRadialGradientBrushStatics< D>::SpreadMethodProperty() 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::IRadialGradientBrushStatics, D const*>(static_cast(this), _winrt_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_SpreadMethodProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_SpreadMethodProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IRectangleGeometry::Rect() const { winrt::Windows::Foundation::Rect value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IRectangleGeometry>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IRectangleGeometry, D const*>( static_cast(this), _winrt_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_Rect(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Rect(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IRectangleGeometry::Rect( winrt::Windows::Foundation::Rect const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IRectangleGeometry>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IRectangleGeometry, D const*>( static_cast(this), _winrt_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_Rect(impl::bind_in(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Rect(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_IRectangleGeometryStatics< D>::RectProperty() 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::IRectangleGeometryStatics, D const*>( static_cast(this), _winrt_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_RectProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_RectProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IRenderedEventArgs::FrameDuration() const { winrt::Windows::Foundation::TimeSpan value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IRenderedEventArgs>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IRenderedEventArgs, D const*>( static_cast(this), _winrt_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_FrameDuration(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_FrameDuration(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IRenderingEventArgs::RenderingTime() const { winrt::Windows::Foundation::TimeSpan value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IRenderingEventArgs>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IRenderingEventArgs, D const*>( static_cast(this), _winrt_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_RenderingTime(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_RenderingTime(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IRotateTransform::CenterX() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IRotateTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IRotateTransform, D const*>( static_cast(this), _winrt_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_CenterX(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_CenterX(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IRotateTransform::CenterX( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IRotateTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IRotateTransform, D const*>( static_cast(this), _winrt_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_CenterX(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_CenterX(value)); } } template auto consume_Microsoft_UI_Xaml_Media_IRotateTransform::CenterY() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IRotateTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IRotateTransform, D const*>( static_cast(this), _winrt_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_CenterY(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_CenterY(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IRotateTransform::CenterY( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IRotateTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IRotateTransform, D const*>( static_cast(this), _winrt_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_CenterY(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_CenterY(value)); } } template auto consume_Microsoft_UI_Xaml_Media_IRotateTransform::Angle() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IRotateTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IRotateTransform, D const*>( static_cast(this), _winrt_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_Angle(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Angle(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IRotateTransform::Angle( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IRotateTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IRotateTransform, D const*>( static_cast(this), _winrt_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_Angle(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Angle(value)); } } template auto consume_Microsoft_UI_Xaml_Media_IRotateTransformStatics< D>::CenterXProperty() 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::IRotateTransformStatics, D const*>( static_cast(this), _winrt_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_CenterXProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IRotateTransformStatics>**)this; check_hresult(_winrt_abi_type->get_CenterXProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IRotateTransformStatics< D>::CenterYProperty() 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::IRotateTransformStatics, D const*>( static_cast(this), _winrt_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_CenterYProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IRotateTransformStatics>**)this; check_hresult(_winrt_abi_type->get_CenterYProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IRotateTransformStatics::AngleProperty() 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::IRotateTransformStatics, D const*>( static_cast(this), _winrt_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_AngleProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IRotateTransformStatics>**)this; check_hresult(_winrt_abi_type->get_AngleProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IScaleTransform::CenterX() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IScaleTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IScaleTransform, D const*>( static_cast(this), _winrt_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_CenterX(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_CenterX(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IScaleTransform::CenterX( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IScaleTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IScaleTransform, D const*>( static_cast(this), _winrt_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_CenterX(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_CenterX(value)); } } template auto consume_Microsoft_UI_Xaml_Media_IScaleTransform::CenterY() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IScaleTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IScaleTransform, D const*>( static_cast(this), _winrt_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_CenterY(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_CenterY(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IScaleTransform::CenterY( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IScaleTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IScaleTransform, D const*>( static_cast(this), _winrt_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_CenterY(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_CenterY(value)); } } template auto consume_Microsoft_UI_Xaml_Media_IScaleTransform::ScaleX() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IScaleTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IScaleTransform, D const*>( static_cast(this), _winrt_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_ScaleX(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ScaleX(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IScaleTransform::ScaleX( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IScaleTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IScaleTransform, D const*>( static_cast(this), _winrt_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_ScaleX(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_ScaleX(value)); } } template auto consume_Microsoft_UI_Xaml_Media_IScaleTransform::ScaleY() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IScaleTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IScaleTransform, D const*>( static_cast(this), _winrt_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_ScaleY(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_ScaleY(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IScaleTransform::ScaleY( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IScaleTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IScaleTransform, D const*>( static_cast(this), _winrt_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_ScaleY(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_ScaleY(value)); } } template auto consume_Microsoft_UI_Xaml_Media_IScaleTransformStatics< D>::CenterXProperty() 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::IScaleTransformStatics, D const*>( static_cast(this), _winrt_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_CenterXProperty(&value)); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->get_CenterXProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IScaleTransformStatics< D>::CenterYProperty() 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::IScaleTransformStatics, D const*>( static_cast(this), _winrt_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_CenterYProperty(&value)); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->get_CenterYProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IScaleTransformStatics::ScaleXProperty() 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::IScaleTransformStatics, D const*>( static_cast(this), _winrt_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_ScaleXProperty(&value)); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->get_ScaleXProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IScaleTransformStatics::ScaleYProperty() 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::IScaleTransformStatics, D const*>( static_cast(this), _winrt_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_ScaleYProperty(&value)); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->get_ScaleYProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ISkewTransform::CenterX() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ISkewTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ISkewTransform, D const*>( static_cast(this), _winrt_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_CenterX(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_CenterX(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_ISkewTransform::CenterX( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ISkewTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ISkewTransform, D const*>( static_cast(this), _winrt_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_CenterX(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_CenterX(value)); } } template auto consume_Microsoft_UI_Xaml_Media_ISkewTransform::CenterY() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ISkewTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ISkewTransform, D const*>( static_cast(this), _winrt_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_CenterY(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_CenterY(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_ISkewTransform::CenterY( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ISkewTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ISkewTransform, D const*>( static_cast(this), _winrt_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_CenterY(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_CenterY(value)); } } template auto consume_Microsoft_UI_Xaml_Media_ISkewTransform::AngleX() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ISkewTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ISkewTransform, D const*>( static_cast(this), _winrt_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_AngleX(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_AngleX(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_ISkewTransform::AngleX( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ISkewTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ISkewTransform, D const*>( static_cast(this), _winrt_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_AngleX(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_AngleX(value)); } } template auto consume_Microsoft_UI_Xaml_Media_ISkewTransform::AngleY() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ISkewTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ISkewTransform, D const*>( static_cast(this), _winrt_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_AngleY(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_AngleY(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_ISkewTransform::AngleY( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ISkewTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ISkewTransform, D const*>( static_cast(this), _winrt_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_AngleY(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_AngleY(value)); } } template auto consume_Microsoft_UI_Xaml_Media_ISkewTransformStatics::CenterXProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ISkewTransformStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ISkewTransformStatics, D const*>( static_cast(this), _winrt_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_CenterXProperty(&value)); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->get_CenterXProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ISkewTransformStatics::CenterYProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ISkewTransformStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ISkewTransformStatics, D const*>( static_cast(this), _winrt_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_CenterYProperty(&value)); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->get_CenterYProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ISkewTransformStatics::AngleXProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ISkewTransformStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ISkewTransformStatics, D const*>( static_cast(this), _winrt_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_AngleXProperty(&value)); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->get_AngleXProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ISkewTransformStatics::AngleYProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ISkewTransformStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ISkewTransformStatics, D const*>( static_cast(this), _winrt_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_AngleYProperty(&value)); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->get_AngleYProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ISolidColorBrush::Color() const { winrt::Windows::UI::Color value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ISolidColorBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ISolidColorBrush, D const*>( static_cast(this), _winrt_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_Color(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Color(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_ISolidColorBrush::Color( winrt::Windows::UI::Color const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ISolidColorBrush>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ISolidColorBrush, D const*>( static_cast(this), _winrt_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_Color(impl::bind_in(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Color(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_ISolidColorBrushFactory< D>::CreateInstanceWithColor(winrt::Windows::UI::Color const& color) 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::ISolidColorBrushFactory, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->CreateInstanceWithColor(impl::bind_in(color), &value)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::ISolidColorBrushFactory>**)this; check_hresult( _winrt_abi_type->CreateInstanceWithColor(impl::bind_in(color), &value)); } return winrt::Microsoft::UI::Xaml::Media::SolidColorBrush{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ISolidColorBrushStatics::ColorProperty() 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::ISolidColorBrushStatics, D const*>( static_cast(this), _winrt_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_ColorProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::ISolidColorBrushStatics>**)this; check_hresult(_winrt_abi_type->get_ColorProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ISystemBackdrop:: GetDefaultSystemBackdropConfiguration( winrt::Microsoft::UI::Composition:: ICompositionSupportsSystemBackdrop const& target, winrt::Microsoft::UI::Xaml::XamlRoot const& xamlRoot) const { void* result{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ISystemBackdrop>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ISystemBackdrop, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->GetDefaultSystemBackdropConfiguration( *(void**)(&target), *(void**)(&xamlRoot), &result)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->GetDefaultSystemBackdropConfiguration( *(void**)(&target), *(void**)(&xamlRoot), &result)); } return winrt::Microsoft::UI::Composition::SystemBackdrops:: SystemBackdropConfiguration{result, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ISystemBackdropFactory::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::ISystemBackdropFactory, D const*>( static_cast(this), _winrt_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::SystemBackdrop{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ISystemBackdropOverrides:: OnTargetConnected( winrt::Microsoft::UI::Composition:: ICompositionSupportsSystemBackdrop const& connectedTarget, winrt::Microsoft::UI::Xaml::XamlRoot const& xamlRoot) 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::ISystemBackdropOverrides, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->OnTargetConnected( *(void**)(&connectedTarget), *(void**)(&xamlRoot))); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::ISystemBackdropOverrides>**)this; check_hresult(_winrt_abi_type->OnTargetConnected( *(void**)(&connectedTarget), *(void**)(&xamlRoot))); } } template auto consume_Microsoft_UI_Xaml_Media_ISystemBackdropOverrides< D>::OnTargetDisconnected(winrt::Microsoft::UI::Composition:: ICompositionSupportsSystemBackdrop const& disconnectedTarget) 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::ISystemBackdropOverrides, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->OnTargetDisconnected(*(void**)(&disconnectedTarget))); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::ISystemBackdropOverrides>**)this; check_hresult( _winrt_abi_type->OnTargetDisconnected(*(void**)(&disconnectedTarget))); } } template auto consume_Microsoft_UI_Xaml_Media_ISystemBackdropOverrides:: OnDefaultSystemBackdropConfigurationChanged( winrt::Microsoft::UI::Composition:: ICompositionSupportsSystemBackdrop const& target, winrt::Microsoft::UI::Xaml::XamlRoot const& xamlRoot) 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::ISystemBackdropOverrides, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->OnDefaultSystemBackdropConfigurationChanged( *(void**)(&target), *(void**)(&xamlRoot))); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::ISystemBackdropOverrides>**)this; check_hresult(_winrt_abi_type->OnDefaultSystemBackdropConfigurationChanged( *(void**)(&target), *(void**)(&xamlRoot))); } } template auto consume_Microsoft_UI_Xaml_Media_IThemeShadow::Receivers() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IThemeShadow>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IThemeShadow, D const*>( static_cast(this), _winrt_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_Receivers(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Receivers(&value)); } return winrt::Microsoft::UI::Xaml::UIElementWeakCollection{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IThemeShadowFactory::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::IThemeShadowFactory>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IThemeShadowFactory, D const*>( static_cast(this), _winrt_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::ThemeShadow{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ITileBrush::AlignmentX() const { winrt::Microsoft::UI::Xaml::Media::AlignmentX value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ITileBrush>) { 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_AlignmentX(reinterpret_cast(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->get_AlignmentX(reinterpret_cast(&value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_ITileBrush::AlignmentX( winrt::Microsoft::UI::Xaml::Media::AlignmentX const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ITileBrush>) { 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_AlignmentX(static_cast(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_AlignmentX(static_cast(value))); } } template auto consume_Microsoft_UI_Xaml_Media_ITileBrush::AlignmentY() const { winrt::Microsoft::UI::Xaml::Media::AlignmentY value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ITileBrush>) { 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_AlignmentY(reinterpret_cast(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->get_AlignmentY(reinterpret_cast(&value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_ITileBrush::AlignmentY( winrt::Microsoft::UI::Xaml::Media::AlignmentY const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ITileBrush>) { 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_AlignmentY(static_cast(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_AlignmentY(static_cast(value))); } } template auto consume_Microsoft_UI_Xaml_Media_ITileBrush::Stretch() const { winrt::Microsoft::UI::Xaml::Media::Stretch value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ITileBrush>) { 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_Stretch(reinterpret_cast(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult( _winrt_abi_type->get_Stretch(reinterpret_cast(&value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_ITileBrush::Stretch( winrt::Microsoft::UI::Xaml::Media::Stretch const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ITileBrush>) { 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_Stretch(static_cast(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Stretch(static_cast(value))); } } template auto consume_Microsoft_UI_Xaml_Media_ITileBrushFactory::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::ITileBrushFactory>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ITileBrushFactory, D const*>( static_cast(this), _winrt_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::TileBrush{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ITileBrushStatics::AlignmentXProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ITileBrushStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ITileBrushStatics, D const*>( static_cast(this), _winrt_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_AlignmentXProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_AlignmentXProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ITileBrushStatics::AlignmentYProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ITileBrushStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ITileBrushStatics, D const*>( static_cast(this), _winrt_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_AlignmentYProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_AlignmentYProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ITileBrushStatics::StretchProperty() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ITileBrushStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ITileBrushStatics, D const*>( static_cast(this), _winrt_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_StretchProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_StretchProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ITransformGroup::Children() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ITransformGroup>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ITransformGroup, D const*>( static_cast(this), _winrt_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::TransformCollection{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ITransformGroup::Children( winrt::Microsoft::UI::Xaml::Media::TransformCollection const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ITransformGroup>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ITransformGroup, D const*>( static_cast(this), _winrt_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_Children(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Children(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_ITransformGroup::Value() const { winrt::Microsoft::UI::Xaml::Media::Matrix value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ITransformGroup>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ITransformGroup, D const*>( static_cast(this), _winrt_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_ITransformGroupStatics< D>::ChildrenProperty() 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::ITransformGroupStatics, D const*>( static_cast(this), _winrt_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_ChildrenProperty(&value)); } else { auto const _winrt_abi_type = *( abi_t**)this; check_hresult(_winrt_abi_type->get_ChildrenProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ITranslateTransform::X() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ITranslateTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ITranslateTransform, D const*>( static_cast(this), _winrt_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_X(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_X(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_ITranslateTransform::X( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ITranslateTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ITranslateTransform, D const*>( static_cast(this), _winrt_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_X(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_X(value)); } } template auto consume_Microsoft_UI_Xaml_Media_ITranslateTransform::Y() const { double value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ITranslateTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ITranslateTransform, D const*>( static_cast(this), _winrt_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_Y(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_Y(&value)); } return value; } template auto consume_Microsoft_UI_Xaml_Media_ITranslateTransform::Y( double value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::ITranslateTransform>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::ITranslateTransform, D const*>( static_cast(this), _winrt_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_Y(value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_Y(value)); } } template auto consume_Microsoft_UI_Xaml_Media_ITranslateTransformStatics::XProperty() 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::ITranslateTransformStatics, D const*>(static_cast(this), _winrt_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_XProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_XProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_ITranslateTransformStatics::YProperty() 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::ITranslateTransformStatics, D const*>(static_cast(this), _winrt_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_YProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_YProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IVisualTreeHelperStatics:: FindElementsInHostCoordinates( winrt::Windows::Foundation::Point const& intersectingPoint, winrt::Microsoft::UI::Xaml::UIElement const& subtree) 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::IVisualTreeHelperStatics, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->FindElementsInHostCoordinatesPoint( impl::bind_in(intersectingPoint), *(void**)(&subtree), &result)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IVisualTreeHelperStatics>**)this; check_hresult(_winrt_abi_type->FindElementsInHostCoordinatesPoint( impl::bind_in(intersectingPoint), *(void**)(&subtree), &result)); } return winrt::Windows::Foundation::Collections::IIterable< winrt::Microsoft::UI::Xaml::UIElement>{result, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IVisualTreeHelperStatics:: FindElementsInHostCoordinates( winrt::Windows::Foundation::Rect const& intersectingRect, winrt::Microsoft::UI::Xaml::UIElement const& subtree) 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::IVisualTreeHelperStatics, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->FindElementsInHostCoordinatesRect( impl::bind_in(intersectingRect), *(void**)(&subtree), &result)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IVisualTreeHelperStatics>**)this; check_hresult(_winrt_abi_type->FindElementsInHostCoordinatesRect( impl::bind_in(intersectingRect), *(void**)(&subtree), &result)); } return winrt::Windows::Foundation::Collections::IIterable< winrt::Microsoft::UI::Xaml::UIElement>{result, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IVisualTreeHelperStatics:: FindElementsInHostCoordinates( winrt::Windows::Foundation::Point const& intersectingPoint, winrt::Microsoft::UI::Xaml::UIElement const& subtree, bool includeAllElements) 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::IVisualTreeHelperStatics, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->FindAllElementsInHostCoordinatesPoint( impl::bind_in(intersectingPoint), *(void**)(&subtree), includeAllElements, &result)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IVisualTreeHelperStatics>**)this; check_hresult(_winrt_abi_type->FindAllElementsInHostCoordinatesPoint( impl::bind_in(intersectingPoint), *(void**)(&subtree), includeAllElements, &result)); } return winrt::Windows::Foundation::Collections::IIterable< winrt::Microsoft::UI::Xaml::UIElement>{result, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IVisualTreeHelperStatics:: FindElementsInHostCoordinates( winrt::Windows::Foundation::Rect const& intersectingRect, winrt::Microsoft::UI::Xaml::UIElement const& subtree, bool includeAllElements) 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::IVisualTreeHelperStatics, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->FindAllElementsInHostCoordinatesRect( impl::bind_in(intersectingRect), *(void**)(&subtree), includeAllElements, &result)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IVisualTreeHelperStatics>**)this; check_hresult(_winrt_abi_type->FindAllElementsInHostCoordinatesRect( impl::bind_in(intersectingRect), *(void**)(&subtree), includeAllElements, &result)); } return winrt::Windows::Foundation::Collections::IIterable< winrt::Microsoft::UI::Xaml::UIElement>{result, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IVisualTreeHelperStatics::GetChild( winrt::Microsoft::UI::Xaml::DependencyObject const& reference, int32_t childIndex) 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::IVisualTreeHelperStatics, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->GetChild(*(void**)(&reference), childIndex, &result)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IVisualTreeHelperStatics>**)this; check_hresult( _winrt_abi_type->GetChild(*(void**)(&reference), childIndex, &result)); } return winrt::Microsoft::UI::Xaml::DependencyObject{result, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IVisualTreeHelperStatics< D>::GetChildrenCount(winrt::Microsoft::UI::Xaml::DependencyObject const& reference) const { int32_t 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::IVisualTreeHelperStatics, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->GetChildrenCount(*(void**)(&reference), &result)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IVisualTreeHelperStatics>**)this; check_hresult( _winrt_abi_type->GetChildrenCount(*(void**)(&reference), &result)); } return result; } template auto consume_Microsoft_UI_Xaml_Media_IVisualTreeHelperStatics::GetParent( winrt::Microsoft::UI::Xaml::DependencyObject const& reference) 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::IVisualTreeHelperStatics, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->GetParent(*(void**)(&reference), &result)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IVisualTreeHelperStatics>**)this; check_hresult(_winrt_abi_type->GetParent(*(void**)(&reference), &result)); } return winrt::Microsoft::UI::Xaml::DependencyObject{result, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IVisualTreeHelperStatics< D>::DisconnectChildrenRecursive(winrt::Microsoft::UI::Xaml::UIElement const& element) 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::IVisualTreeHelperStatics, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult( _winrt_abi_type->DisconnectChildrenRecursive(*(void**)(&element))); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IVisualTreeHelperStatics>**)this; check_hresult( _winrt_abi_type->DisconnectChildrenRecursive(*(void**)(&element))); } } template auto consume_Microsoft_UI_Xaml_Media_IVisualTreeHelperStatics::GetOpenPopups( winrt::Microsoft::UI::Xaml::Window const& window) 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::IVisualTreeHelperStatics, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->GetOpenPopups(*(void**)(&window), &result)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IVisualTreeHelperStatics>**)this; check_hresult(_winrt_abi_type->GetOpenPopups(*(void**)(&window), &result)); } return winrt::Windows::Foundation::Collections::IVectorView< winrt::Microsoft::UI::Xaml::Controls::Primitives::Popup>{ result, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IVisualTreeHelperStatics< D>::GetOpenPopupsForXamlRoot(winrt::Microsoft::UI::Xaml::XamlRoot const& xamlRoot) 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::IVisualTreeHelperStatics, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->GetOpenPopupsForXamlRoot( *(void**)(&xamlRoot), &result)); } else { auto const _winrt_abi_type = *(abi_t< winrt::Microsoft::UI::Xaml::Media::IVisualTreeHelperStatics>**)this; check_hresult(_winrt_abi_type->GetOpenPopupsForXamlRoot( *(void**)(&xamlRoot), &result)); } return winrt::Windows::Foundation::Collections::IVectorView< winrt::Microsoft::UI::Xaml::Controls::Primitives::Popup>{ result, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IXamlCompositionBrushBase< D>::FallbackColor() 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::IXamlCompositionBrushBase, D const*>( static_cast(this), _winrt_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_FallbackColor(put_abi(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_FallbackColor(put_abi(value))); } return value; } template auto consume_Microsoft_UI_Xaml_Media_IXamlCompositionBrushBase< D>::FallbackColor(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::IXamlCompositionBrushBase, D const*>( static_cast(this), _winrt_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_FallbackColor(impl::bind_in(value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_FallbackColor(impl::bind_in(value))); } } template auto consume_Microsoft_UI_Xaml_Media_IXamlCompositionBrushBaseFactory:: 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::IXamlCompositionBrushBaseFactory, D const*>(static_cast(this), _winrt_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::XamlCompositionBrushBase{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IXamlCompositionBrushBaseOverrides< D>::OnConnected() 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::IXamlCompositionBrushBaseOverrides, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->OnConnected()); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->OnConnected()); } } template auto consume_Microsoft_UI_Xaml_Media_IXamlCompositionBrushBaseOverrides< D>::OnDisconnected() 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::IXamlCompositionBrushBaseOverrides, D const*>(static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->OnDisconnected()); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->OnDisconnected()); } } template auto consume_Microsoft_UI_Xaml_Media_IXamlCompositionBrushBaseProtected< D>::CompositionBrush() 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::IXamlCompositionBrushBaseProtected, D const*>(static_cast(this), _winrt_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_CompositionBrush(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_CompositionBrush(&value)); } return winrt::Microsoft::UI::Composition::CompositionBrush{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IXamlCompositionBrushBaseProtected:: CompositionBrush(winrt::Microsoft::UI::Composition::CompositionBrush 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::IXamlCompositionBrushBaseProtected, D const*>(static_cast(this), _winrt_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_CompositionBrush(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_CompositionBrush(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_IXamlCompositionBrushBaseStatics< D>::FallbackColorProperty() 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::IXamlCompositionBrushBaseStatics, D const*>(static_cast(this), _winrt_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_FallbackColorProperty(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_FallbackColorProperty(&value)); } return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IXamlLightFactory::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::IXamlLightFactory>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IXamlLightFactory, D const*>( static_cast(this), _winrt_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::XamlLight{value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IXamlLightOverrides::GetId() const { void* result{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IXamlLightOverrides>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IXamlLightOverrides, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->GetId(&result)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->GetId(&result)); } return hstring{result, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IXamlLightOverrides::OnConnected( winrt::Microsoft::UI::Xaml::UIElement const& newElement) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IXamlLightOverrides>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IXamlLightOverrides, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->OnConnected(*(void**)(&newElement))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->OnConnected(*(void**)(&newElement))); } } template auto consume_Microsoft_UI_Xaml_Media_IXamlLightOverrides::OnDisconnected( winrt::Microsoft::UI::Xaml::UIElement const& oldElement) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IXamlLightOverrides>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IXamlLightOverrides, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->OnDisconnected(*(void**)(&oldElement))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->OnDisconnected(*(void**)(&oldElement))); } } template auto consume_Microsoft_UI_Xaml_Media_IXamlLightProtected::CompositionLight() const { void* value{}; if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IXamlLightProtected>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IXamlLightProtected, D const*>( static_cast(this), _winrt_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_CompositionLight(&value)); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->get_CompositionLight(&value)); } return winrt::Microsoft::UI::Composition::CompositionLight{ value, take_ownership_from_abi}; } template auto consume_Microsoft_UI_Xaml_Media_IXamlLightProtected::CompositionLight( winrt::Microsoft::UI::Composition::CompositionLight const& value) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IXamlLightProtected>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IXamlLightProtected, D const*>( static_cast(this), _winrt_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_CompositionLight(*(void**)(&value))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->put_CompositionLight(*(void**)(&value))); } } template auto consume_Microsoft_UI_Xaml_Media_IXamlLightStatics::AddTargetElement( param::hstring const& lightId, winrt::Microsoft::UI::Xaml::UIElement const& element) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IXamlLightStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IXamlLightStatics, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->AddTargetElement(*(void**)(&lightId), *(void**)(&element))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->AddTargetElement(*(void**)(&lightId), *(void**)(&element))); } } template auto consume_Microsoft_UI_Xaml_Media_IXamlLightStatics::RemoveTargetElement( param::hstring const& lightId, winrt::Microsoft::UI::Xaml::UIElement const& element) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IXamlLightStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IXamlLightStatics, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->RemoveTargetElement(*(void**)(&lightId), *(void**)(&element))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->RemoveTargetElement(*(void**)(&lightId), *(void**)(&element))); } } template auto consume_Microsoft_UI_Xaml_Media_IXamlLightStatics::AddTargetBrush( param::hstring const& lightId, winrt::Microsoft::UI::Xaml::Media::Brush const& brush) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IXamlLightStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IXamlLightStatics, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->AddTargetBrush(*(void**)(&lightId), *(void**)(&brush))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->AddTargetBrush(*(void**)(&lightId), *(void**)(&brush))); } } template auto consume_Microsoft_UI_Xaml_Media_IXamlLightStatics::RemoveTargetBrush( param::hstring const& lightId, winrt::Microsoft::UI::Xaml::Media::Brush const& brush) const { if constexpr (!std::is_same_v< D, winrt::Microsoft::UI::Xaml::Media::IXamlLightStatics>) { winrt::hresult _winrt_cast_result_code; auto const _winrt_casted_result = impl::try_as_with_reason< winrt::Microsoft::UI::Xaml::Media::IXamlLightStatics, D const*>( static_cast(this), _winrt_cast_result_code); check_hresult(_winrt_cast_result_code); auto const _winrt_abi_type = *(abi_t**)&_winrt_casted_result; check_hresult(_winrt_abi_type->RemoveTargetBrush(*(void**)(&lightId), *(void**)(&brush))); } else { auto const _winrt_abi_type = *(abi_t**)this; check_hresult(_winrt_abi_type->RemoveTargetBrush(*(void**)(&lightId), *(void**)(&brush))); } } #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_TintColor( struct struct_Windows_UI_Color* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TintColor()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TintColor( struct struct_Windows_UI_Color value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TintColor( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TintOpacity(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TintOpacity()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TintOpacity(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TintOpacity(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TintTransitionDuration(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().TintTransitionDuration()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TintTransitionDuration(int64_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TintTransitionDuration( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AlwaysUseFallback(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AlwaysUseFallback()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AlwaysUseFallback(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AlwaysUseFallback(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_TintLuminosityOpacity(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>( this->shim().TintLuminosityOpacity()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TintLuminosityOpacity(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TintLuminosityOpacity( *reinterpret_cast< winrt::Windows::Foundation::IReference const*>(&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_TintColorProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().TintColorProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TintOpacityProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().TintOpacityProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TintTransitionDurationProperty( void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().TintTransitionDurationProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AlwaysUseFallbackProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().AlwaysUseFallbackProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_TintLuminosityOpacityProperty( void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().TintLuminosityOpacityProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Point( winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Point()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Point( winrt::Windows::Foundation::Point value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Point( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Size( winrt::Windows::Foundation::Size* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Size()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Size( winrt::Windows::Foundation::Size value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Size( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RotationAngle(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RotationAngle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_RotationAngle(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RotationAngle(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsLargeArc(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsLargeArc()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsLargeArc(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsLargeArc(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SweepDirection(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().SweepDirection()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SweepDirection(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SweepDirection( *reinterpret_cast< winrt::Microsoft::UI::Xaml::Media::SweepDirection const*>(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_PointProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().PointProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SizeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().SizeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RotationAngleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().RotationAngleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsLargeArcProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().IsLargeArcProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SweepDirectionProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().SweepDirectionProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Point1( winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Point1()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Point1( winrt::Windows::Foundation::Point value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Point1( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Point2( winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Point2()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Point2( winrt::Windows::Foundation::Point value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Point2( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Point3( winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Point3()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Point3( winrt::Windows::Foundation::Point value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Point3( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Point1Property(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().Point1Property()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Point2Property(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().Point2Property()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Point3Property(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().Point3Property()); 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_Opacity(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Opacity()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Opacity(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Opacity(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Transform(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().Transform()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Transform(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Transform( *reinterpret_cast( &value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RelativeTransform(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().RelativeTransform()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_RelativeTransform(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RelativeTransform( *reinterpret_cast( &value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().CreateInstance( *reinterpret_cast( &baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } }; #endif template struct produce : produce_base { int32_t __stdcall PopulatePropertyInfoOverride( void* propertyName, void* animationPropertyInfo) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PopulatePropertyInfoOverride( *reinterpret_cast(&propertyName), *reinterpret_cast< winrt::Microsoft::UI::Composition::AnimationPropertyInfo const*>( &animationPropertyInfo)); return 0; } catch (...) { return to_hresult(); } }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_OpacityProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().OpacityProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TransformProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().TransformProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RelativeTransformProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().RelativeTransformProperty()); 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 { int32_t __stdcall get_CenterX(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CenterX()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CenterX(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CenterX(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CenterY(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CenterY()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CenterY(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CenterY(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ScaleX(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScaleX()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ScaleX(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ScaleX(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ScaleY(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScaleY()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ScaleY(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ScaleY(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SkewX(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SkewX()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SkewX(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SkewX(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SkewY(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SkewY()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SkewY(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SkewY(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Rotation(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Rotation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Rotation(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Rotation(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TranslateX(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TranslateX()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TranslateX(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TranslateX(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TranslateY(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TranslateY()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TranslateY(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TranslateY(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base< D, winrt::Microsoft::UI::Xaml::Media::ICompositeTransformStatics> { int32_t __stdcall get_CenterXProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().CenterXProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CenterYProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().CenterYProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ScaleXProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ScaleXProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ScaleYProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ScaleYProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SkewXProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().SkewXProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SkewYProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().SkewYProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RotationProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().RotationProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TranslateXProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().TranslateXProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TranslateYProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().TranslateYProperty()); 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::ICompositionTargetStatics> { int32_t __stdcall add_Rendering(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Rendering( *reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Rendering(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Rendering( *reinterpret_cast(&token)); return 0; } int32_t __stdcall add_Rendered(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Rendered( *reinterpret_cast const*>( &handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Rendered(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Rendered(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_SurfaceContentsLost( void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().SurfaceContentsLost( *reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_SurfaceContentsLost( winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().SurfaceContentsLost( *reinterpret_cast(&token)); return 0; } int32_t __stdcall GetCompositorForCurrentThread(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from( this->shim().GetCompositorForCurrentThread()); 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::IDesktopAcrylicBackdropFactory> : produce_base< D, winrt::Microsoft::UI::Xaml::Media::IDesktopAcrylicBackdropFactory> { 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::DesktopAcrylicBackdrop>( 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_Center( winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Center()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Center( winrt::Windows::Foundation::Point value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Center( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RadiusX(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RadiusX()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_RadiusX(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RadiusX(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RadiusY(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RadiusY()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_RadiusY(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RadiusY(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CenterProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().CenterProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RadiusXProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().RadiusXProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RadiusYProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().RadiusYProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Source(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Source()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithName(void* familyName, 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().CreateInstanceWithName( *reinterpret_cast(&familyName), *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_XamlAutoFontFamily(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().XamlAutoFontFamily()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Inverse(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().Inverse()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TransformPoint( winrt::Windows::Foundation::Point point, winrt::Windows::Foundation::Point* result) noexcept final try { zero_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from( this->shim().TransformPoint( *reinterpret_cast( &point))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryTransform(winrt::Windows::Foundation::Point inPoint, winrt::Windows::Foundation::Point* outPoint, bool* returnValue) noexcept final try { zero_abi(outPoint); typename D::abi_guard guard(this->shim()); *returnValue = detach_from(this->shim().TryTransform( *reinterpret_cast(&inPoint), *reinterpret_cast(outPoint))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TransformBounds( winrt::Windows::Foundation::Rect rect, winrt::Windows::Foundation::Rect* result) noexcept final try { zero_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from( this->shim().TransformBounds( *reinterpret_cast(&rect))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base< D, winrt::Microsoft::UI::Xaml::Media::IGeneralTransformFactory> { 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 template struct produce : produce_base< D, winrt::Microsoft::UI::Xaml::Media::IGeneralTransformOverrides> { int32_t __stdcall get_InverseCore(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().InverseCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryTransformCore( winrt::Windows::Foundation::Point inPoint, winrt::Windows::Foundation::Point* outPoint, bool* returnValue) noexcept final try { zero_abi(outPoint); typename D::abi_guard guard(this->shim()); *returnValue = detach_from(this->shim().TryTransformCore( *reinterpret_cast(&inPoint), *reinterpret_cast(outPoint))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TransformBoundsCore( winrt::Windows::Foundation::Rect rect, winrt::Windows::Foundation::Rect* result) noexcept final try { zero_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from( this->shim().TransformBoundsCore( *reinterpret_cast(&rect))); return 0; } catch (...) { return to_hresult(); } }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Transform(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().Transform()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Transform(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Transform( *reinterpret_cast( &value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Bounds( winrt::Windows::Foundation::Rect* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Bounds()); 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_FillRule(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().FillRule()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FillRule(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FillRule( *reinterpret_cast( &value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Children(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().Children()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Children(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Children( *reinterpret_cast< winrt::Microsoft::UI::Xaml::Media::GeometryCollection const*>( &value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_FillRuleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().FillRuleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ChildrenProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ChildrenProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Empty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().Empty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_StandardFlatteningTolerance( double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().StandardFlatteningTolerance()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TransformProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().TransformProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_SpreadMethod(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().SpreadMethod()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SpreadMethod(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SpreadMethod( *reinterpret_cast< winrt::Microsoft::UI::Xaml::Media::GradientSpreadMethod const*>( &value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MappingMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().MappingMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MappingMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MappingMode( *reinterpret_cast< winrt::Microsoft::UI::Xaml::Media::BrushMappingMode const*>( &value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ColorInterpolationMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ColorInterpolationMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ColorInterpolationMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ColorInterpolationMode( *reinterpret_cast< winrt::Microsoft::UI::Xaml::Media::ColorInterpolationMode const*>( &value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_GradientStops(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().GradientStops()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_GradientStops(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().GradientStops( *reinterpret_cast< winrt::Microsoft::UI::Xaml::Media::GradientStopCollection const*>( &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_SpreadMethodProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().SpreadMethodProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MappingModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().MappingModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ColorInterpolationModeProperty( void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ColorInterpolationModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_GradientStopsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().GradientStopsProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Color( struct struct_Windows_UI_Color* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Color()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Color( struct struct_Windows_UI_Color value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Color( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Offset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Offset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Offset(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Offset(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ColorProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ColorProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OffsetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().OffsetProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ImageSource(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ImageSource()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ImageSource(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ImageSource( *reinterpret_cast< winrt::Microsoft::UI::Xaml::Media::ImageSource const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_ImageFailed(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ImageFailed( *reinterpret_cast< winrt::Microsoft::UI::Xaml::ExceptionRoutedEventHandler const*>( &handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ImageFailed( winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ImageFailed( *reinterpret_cast(&token)); return 0; } int32_t __stdcall add_ImageOpened(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ImageOpened( *reinterpret_cast< winrt::Microsoft::UI::Xaml::RoutedEventHandler const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ImageOpened( winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ImageOpened( *reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ImageSourceProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ImageSourceProperty()); 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 get_StartPoint( winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().StartPoint()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_StartPoint( winrt::Windows::Foundation::Point value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StartPoint( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EndPoint( winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().EndPoint()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_EndPoint( winrt::Windows::Foundation::Point value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().EndPoint( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_StartPointProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().StartPointProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EndPointProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().EndPointProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Point( winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Point()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Point( winrt::Windows::Foundation::Point value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Point( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_PointProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().PointProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_StartPoint( winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().StartPoint()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_StartPoint( winrt::Windows::Foundation::Point value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StartPoint( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EndPoint( winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().EndPoint()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_EndPoint( winrt::Windows::Foundation::Point value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().EndPoint( *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::ILinearGradientBrushFactory> { int32_t __stdcall CreateInstanceWithGradientStopCollectionAndAngle( void* gradientStopCollection, double angle, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().CreateInstanceWithGradientStopCollectionAndAngle( *reinterpret_cast( &gradientStopCollection), angle)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base< D, winrt::Microsoft::UI::Xaml::Media::ILinearGradientBrushStatics> { int32_t __stdcall get_StartPointProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().StartPointProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EndPointProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().EndPointProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::ILoadedImageSourceLoadCompletedEventArgs> : produce_base { int32_t __stdcall get_Status(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from< winrt::Microsoft::UI::Xaml::Media::LoadedImageSourceLoadStatus>( this->shim().Status()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_DecodedPhysicalSize( winrt::Windows::Foundation::Size* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().DecodedPhysicalSize()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DecodedSize( winrt::Windows::Foundation::Size* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().DecodedSize()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NaturalSize( winrt::Windows::Foundation::Size* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().NaturalSize()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_LoadCompleted(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().LoadCompleted( *reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_LoadCompleted( winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().LoadCompleted( *reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base< D, winrt::Microsoft::UI::Xaml::Media::ILoadedImageSurfaceStatics> { int32_t __stdcall StartLoadFromUriWithSize( void* uri, winrt::Windows::Foundation::Size desiredMaxSize, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from( this->shim().StartLoadFromUri( *reinterpret_cast(&uri), *reinterpret_cast( &desiredMaxSize))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall StartLoadFromUri(void* uri, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from( this->shim().StartLoadFromUri( *reinterpret_cast( &uri))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall StartLoadFromStreamWithSize( void* stream, winrt::Windows::Foundation::Size desiredMaxSize, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from( this->shim().StartLoadFromStream( *reinterpret_cast(&stream), *reinterpret_cast( &desiredMaxSize))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall StartLoadFromStream(void* stream, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from( this->shim().StartLoadFromStream( *reinterpret_cast(&stream))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ProjectionMatrix( struct struct_Microsoft_UI_Xaml_Media_Media3D_Matrix3D* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ProjectionMatrix()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ProjectionMatrix( struct struct_Microsoft_UI_Xaml_Media_Media3D_Matrix3D value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ProjectionMatrix( *reinterpret_cast< winrt::Microsoft::UI::Xaml::Media::Media3D::Matrix3D const*>( &value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base< D, winrt::Microsoft::UI::Xaml::Media::IMatrix3DProjectionStatics> { int32_t __stdcall get_ProjectionMatrixProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ProjectionMatrixProperty()); 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_Identity( struct struct_Microsoft_UI_Xaml_Media_Matrix* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().Identity()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall FromElements( double m11, double m12, double m21, double m22, double offsetX, double offsetY, struct struct_Microsoft_UI_Xaml_Media_Matrix* result) noexcept final try { zero_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from( this->shim().FromElements(m11, m12, m21, m22, offsetX, offsetY)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetIsIdentity( struct struct_Microsoft_UI_Xaml_Media_Matrix target, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetIsIdentity( *reinterpret_cast( &target))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Transform( struct struct_Microsoft_UI_Xaml_Media_Matrix target, winrt::Windows::Foundation::Point point, winrt::Windows::Foundation::Point* result) noexcept final try { zero_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Transform( *reinterpret_cast( &target), *reinterpret_cast( &point))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Matrix( struct struct_Microsoft_UI_Xaml_Media_Matrix* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().Matrix()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Matrix( struct struct_Microsoft_UI_Xaml_Media_Matrix value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Matrix( *reinterpret_cast( &value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_MatrixProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().MatrixProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall SetThumbnailImage(void* source) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetThumbnailImage( *reinterpret_cast< winrt::Windows::Storage::Streams::IInputStream const*>(&source)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetDeferral(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from( this->shim().GetDeferral()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Kind(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from< winrt::Microsoft::UI::Composition::SystemBackdrops::MicaKind>( this->shim().Kind()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Kind(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Kind( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().CreateInstance( *reinterpret_cast( &baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_KindProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().KindProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Segments(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().Segments()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Segments(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Segments( *reinterpret_cast< winrt::Microsoft::UI::Xaml::Media::PathSegmentCollection const*>( &value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_StartPoint( winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().StartPoint()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_StartPoint( winrt::Windows::Foundation::Point value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StartPoint( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsClosed(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsClosed()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsClosed(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsClosed(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsFilled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsFilled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsFilled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsFilled(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_SegmentsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().SegmentsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_StartPointProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().StartPointProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsClosedProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().IsClosedProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsFilledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().IsFilledProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_FillRule(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().FillRule()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FillRule(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FillRule( *reinterpret_cast( &value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Figures(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().Figures()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Figures(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Figures( *reinterpret_cast< winrt::Microsoft::UI::Xaml::Media::PathFigureCollection const*>( &value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_FillRuleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().FillRuleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FiguresProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().FiguresProperty()); 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 get_LocalOffsetX(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LocalOffsetX()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LocalOffsetX(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LocalOffsetX(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LocalOffsetY(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LocalOffsetY()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LocalOffsetY(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LocalOffsetY(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LocalOffsetZ(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LocalOffsetZ()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LocalOffsetZ(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LocalOffsetZ(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RotationX(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RotationX()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_RotationX(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RotationX(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RotationY(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RotationY()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_RotationY(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RotationY(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RotationZ(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RotationZ()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_RotationZ(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RotationZ(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CenterOfRotationX(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CenterOfRotationX()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CenterOfRotationX(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CenterOfRotationX(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CenterOfRotationY(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CenterOfRotationY()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CenterOfRotationY(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CenterOfRotationY(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CenterOfRotationZ(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CenterOfRotationZ()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CenterOfRotationZ(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CenterOfRotationZ(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_GlobalOffsetX(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GlobalOffsetX()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_GlobalOffsetX(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().GlobalOffsetX(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_GlobalOffsetY(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GlobalOffsetY()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_GlobalOffsetY(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().GlobalOffsetY(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_GlobalOffsetZ(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GlobalOffsetZ()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_GlobalOffsetZ(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().GlobalOffsetZ(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ProjectionMatrix( struct struct_Microsoft_UI_Xaml_Media_Media3D_Matrix3D* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ProjectionMatrix()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_LocalOffsetXProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().LocalOffsetXProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LocalOffsetYProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().LocalOffsetYProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LocalOffsetZProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().LocalOffsetZProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RotationXProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().RotationXProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RotationYProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().RotationYProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RotationZProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().RotationZProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CenterOfRotationXProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().CenterOfRotationXProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CenterOfRotationYProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().CenterOfRotationYProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CenterOfRotationZProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().CenterOfRotationZProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_GlobalOffsetXProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().GlobalOffsetXProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_GlobalOffsetYProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().GlobalOffsetYProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_GlobalOffsetZProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().GlobalOffsetZProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ProjectionMatrixProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ProjectionMatrixProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Points(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().Points()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Points(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Points( *reinterpret_cast< winrt::Microsoft::UI::Xaml::Media::PointCollection const*>(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base< D, winrt::Microsoft::UI::Xaml::Media::IPolyBezierSegmentStatics> { int32_t __stdcall get_PointsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().PointsProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Points(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().Points()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Points(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Points( *reinterpret_cast< winrt::Microsoft::UI::Xaml::Media::PointCollection const*>(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_PointsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().PointsProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base< D, winrt::Microsoft::UI::Xaml::Media::IPolyQuadraticBezierSegment> { int32_t __stdcall get_Points(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().Points()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Points(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Points( *reinterpret_cast< winrt::Microsoft::UI::Xaml::Media::PointCollection const*>(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::IPolyQuadraticBezierSegmentStatics> : produce_base { int32_t __stdcall get_PointsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().PointsProperty()); 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 { int32_t __stdcall get_Point1( winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Point1()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Point1( winrt::Windows::Foundation::Point value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Point1( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Point2( winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Point2()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Point2( winrt::Windows::Foundation::Point value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Point2( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::IQuadraticBezierSegmentStatics> : produce_base< D, winrt::Microsoft::UI::Xaml::Media::IQuadraticBezierSegmentStatics> { int32_t __stdcall get_Point1Property(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().Point1Property()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Point2Property(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().Point2Property()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Center( winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Center()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Center( winrt::Windows::Foundation::Point value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Center( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RadiusX(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RadiusX()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_RadiusX(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RadiusX(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RadiusY(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RadiusY()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_RadiusY(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RadiusY(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_GradientOrigin( winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().GradientOrigin()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_GradientOrigin( winrt::Windows::Foundation::Point value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().GradientOrigin( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MappingMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().MappingMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MappingMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MappingMode( *reinterpret_cast< winrt::Microsoft::UI::Xaml::Media::BrushMappingMode const*>( &value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_InterpolationSpace(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().InterpolationSpace()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_InterpolationSpace(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InterpolationSpace( *reinterpret_cast< winrt::Microsoft::UI::Composition::CompositionColorSpace const*>( &value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SpreadMethod(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().SpreadMethod()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SpreadMethod(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SpreadMethod( *reinterpret_cast< winrt::Microsoft::UI::Xaml::Media::GradientSpreadMethod const*>( &value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_GradientStops(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>( this->shim().GradientStops()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base< D, winrt::Microsoft::UI::Xaml::Media::IRadialGradientBrushFactory> { 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::RadialGradientBrush>( 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::IRadialGradientBrushStatics> { int32_t __stdcall get_CenterProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().CenterProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RadiusXProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().RadiusXProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RadiusYProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().RadiusYProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_GradientOriginProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().GradientOriginProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_InterpolationSpaceProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().InterpolationSpaceProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MappingModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().MappingModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SpreadMethodProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().SpreadMethodProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Rect( winrt::Windows::Foundation::Rect* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Rect()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Rect( winrt::Windows::Foundation::Rect value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Rect( *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::IRectangleGeometryStatics> { int32_t __stdcall get_RectProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().RectProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_FrameDuration(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().FrameDuration()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_RenderingTime(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().RenderingTime()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CenterX(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CenterX()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CenterX(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CenterX(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CenterY(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CenterY()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CenterY(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CenterY(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Angle(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Angle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Angle(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Angle(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CenterXProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().CenterXProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CenterYProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().CenterYProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AngleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().AngleProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CenterX(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CenterX()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CenterX(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CenterX(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CenterY(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CenterY()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CenterY(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CenterY(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ScaleX(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScaleX()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ScaleX(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ScaleX(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ScaleY(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScaleY()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ScaleY(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ScaleY(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CenterXProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().CenterXProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CenterYProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().CenterYProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ScaleXProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ScaleXProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ScaleYProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ScaleYProperty()); 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 get_CenterX(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CenterX()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CenterX(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CenterX(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CenterY(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CenterY()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CenterY(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CenterY(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AngleX(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AngleX()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AngleX(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AngleX(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AngleY(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AngleY()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AngleY(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AngleY(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CenterXProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().CenterXProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CenterYProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().CenterYProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AngleXProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().AngleXProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AngleYProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().AngleYProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Color( struct struct_Windows_UI_Color* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Color()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Color( struct struct_Windows_UI_Color value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Color( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithColor( struct struct_Windows_UI_Color color, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().CreateInstanceWithColor( *reinterpret_cast(&color))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ColorProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ColorProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall GetDefaultSystemBackdropConfiguration( void* target, void* xamlRoot, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from( this->shim().GetDefaultSystemBackdropConfiguration( *reinterpret_cast( &target), *reinterpret_cast( &xamlRoot))); 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 template struct produce : produce_base< D, winrt::Microsoft::UI::Xaml::Media::ISystemBackdropOverrides> { int32_t __stdcall OnTargetConnected(void* connectedTarget, void* xamlRoot) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnTargetConnected( *reinterpret_cast( &connectedTarget), *reinterpret_cast( &xamlRoot)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnTargetDisconnected( void* disconnectedTarget) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnTargetDisconnected( *reinterpret_cast( &disconnectedTarget)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnDefaultSystemBackdropConfigurationChanged( void* target, void* xamlRoot) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnDefaultSystemBackdropConfigurationChanged( *reinterpret_cast( &target), *reinterpret_cast( &xamlRoot)); return 0; } catch (...) { return to_hresult(); } }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Receivers(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().Receivers()); 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_AlignmentX(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().AlignmentX()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AlignmentX(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AlignmentX( *reinterpret_cast( &value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AlignmentY(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().AlignmentY()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AlignmentY(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AlignmentY( *reinterpret_cast( &value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Stretch(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().Stretch()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Stretch(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Stretch( *reinterpret_cast( &value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().CreateInstance( *reinterpret_cast( &baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_AlignmentXProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().AlignmentXProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AlignmentYProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().AlignmentYProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_StretchProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().StretchProperty()); 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 get_Children(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().Children()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Children(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Children( *reinterpret_cast< winrt::Microsoft::UI::Xaml::Media::TransformCollection const*>( &value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Value( struct struct_Microsoft_UI_Xaml_Media_Matrix* 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(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ChildrenProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().ChildrenProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_X(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().X()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_X(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().X(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Y(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Y()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Y(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Y(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base< D, winrt::Microsoft::UI::Xaml::Media::ITranslateTransformStatics> { int32_t __stdcall get_XProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().XProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_YProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().YProperty()); 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::IVisualTreeHelperStatics> { int32_t __stdcall FindElementsInHostCoordinatesPoint( winrt::Windows::Foundation::Point intersectingPoint, void* subtree, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from>( this->shim().FindElementsInHostCoordinates( *reinterpret_cast( &intersectingPoint), *reinterpret_cast( &subtree))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall FindElementsInHostCoordinatesRect( winrt::Windows::Foundation::Rect intersectingRect, void* subtree, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from>( this->shim().FindElementsInHostCoordinates( *reinterpret_cast( &intersectingRect), *reinterpret_cast( &subtree))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall FindAllElementsInHostCoordinatesPoint( winrt::Windows::Foundation::Point intersectingPoint, void* subtree, bool includeAllElements, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from>( this->shim().FindElementsInHostCoordinates( *reinterpret_cast( &intersectingPoint), *reinterpret_cast( &subtree), includeAllElements)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall FindAllElementsInHostCoordinatesRect( winrt::Windows::Foundation::Rect intersectingRect, void* subtree, bool includeAllElements, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from>( this->shim().FindElementsInHostCoordinates( *reinterpret_cast( &intersectingRect), *reinterpret_cast( &subtree), includeAllElements)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetChild(void* reference, int32_t childIndex, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from< winrt::Microsoft::UI::Xaml::DependencyObject>(this->shim().GetChild( *reinterpret_cast( &reference), childIndex)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetChildrenCount(void* reference, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetChildrenCount( *reinterpret_cast( &reference))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetParent(void* reference, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from< winrt::Microsoft::UI::Xaml::DependencyObject>(this->shim().GetParent( *reinterpret_cast( &reference))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall DisconnectChildrenRecursive(void* element) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DisconnectChildrenRecursive( *reinterpret_cast( &element)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetOpenPopups(void* window, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from>( this->shim().GetOpenPopups( *reinterpret_cast( &window))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetOpenPopupsForXamlRoot(void* xamlRoot, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from>( this->shim().GetOpenPopupsForXamlRoot( *reinterpret_cast( &xamlRoot))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base< D, winrt::Microsoft::UI::Xaml::Media::IXamlCompositionBrushBase> { int32_t __stdcall get_FallbackColor( struct struct_Windows_UI_Color* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FallbackColor()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FallbackColor( struct struct_Windows_UI_Color value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FallbackColor( *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::IXamlCompositionBrushBaseFactory> : produce_base< D, winrt::Microsoft::UI::Xaml::Media::IXamlCompositionBrushBaseFactory> { 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::XamlCompositionBrushBase>( 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< D, winrt::Microsoft::UI::Xaml::Media::IXamlCompositionBrushBaseOverrides> : produce_base { int32_t __stdcall OnConnected() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnConnected(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnDisconnected() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnDisconnected(); return 0; } catch (...) { return to_hresult(); } }; #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::IXamlCompositionBrushBaseProtected> : produce_base { int32_t __stdcall get_CompositionBrush(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().CompositionBrush()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CompositionBrush(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CompositionBrush( *reinterpret_cast< winrt::Microsoft::UI::Composition::CompositionBrush const*>( &value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce< D, winrt::Microsoft::UI::Xaml::Media::IXamlCompositionBrushBaseStatics> : produce_base< D, winrt::Microsoft::UI::Xaml::Media::IXamlCompositionBrushBaseStatics> { int32_t __stdcall get_FallbackColorProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().FallbackColorProperty()); 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 template struct produce : produce_base { int32_t __stdcall GetId(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnConnected(void* newElement) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnConnected( *reinterpret_cast( &newElement)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnDisconnected(void* oldElement) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnDisconnected( *reinterpret_cast( &oldElement)); return 0; } catch (...) { return to_hresult(); } }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CompositionLight(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from( this->shim().CompositionLight()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CompositionLight(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CompositionLight( *reinterpret_cast< winrt::Microsoft::UI::Composition::CompositionLight const*>( &value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall AddTargetElement(void* lightId, void* element) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AddTargetElement( *reinterpret_cast(&lightId), *reinterpret_cast( &element)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RemoveTargetElement(void* lightId, void* element) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RemoveTargetElement( *reinterpret_cast(&lightId), *reinterpret_cast( &element)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall AddTargetBrush(void* lightId, void* brush) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AddTargetBrush( *reinterpret_cast(&lightId), *reinterpret_cast( &brush)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RemoveTargetBrush(void* lightId, void* brush) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RemoveTargetBrush( *reinterpret_cast(&lightId), *reinterpret_cast( &brush)); return 0; } catch (...) { return to_hresult(); } }; #endif template struct WINRT_IMPL_EMPTY_BASES produce_dispatch_to_overridable< T, D, winrt::Microsoft::UI::Xaml::Media::IBrushOverrides> : produce_dispatch_to_overridable_base< T, D, winrt::Microsoft::UI::Xaml::Media::IBrushOverrides> { auto PopulatePropertyInfoOverride( hstring const& propertyName, winrt::Microsoft::UI::Composition::AnimationPropertyInfo const& animationPropertyInfo) { if (auto overridable = this->shim_overridable()) { return overridable.PopulatePropertyInfoOverride(propertyName, animationPropertyInfo); } return this->shim().PopulatePropertyInfoOverride(propertyName, animationPropertyInfo); } }; template struct WINRT_IMPL_EMPTY_BASES produce_dispatch_to_overridable< T, D, winrt::Microsoft::UI::Xaml::Media::IGeneralTransformOverrides> : produce_dispatch_to_overridable_base< T, D, winrt::Microsoft::UI::Xaml::Media::IGeneralTransformOverrides> { auto InverseCore() { if (auto overridable = this->shim_overridable()) { return overridable.InverseCore(); } return this->shim().InverseCore(); } auto TryTransformCore(winrt::Windows::Foundation::Point const& inPoint, winrt::Windows::Foundation::Point& outPoint) { if (auto overridable = this->shim_overridable()) { return overridable.TryTransformCore(inPoint, outPoint); } return this->shim().TryTransformCore(inPoint, outPoint); } auto TransformBoundsCore(winrt::Windows::Foundation::Rect const& rect) { if (auto overridable = this->shim_overridable()) { return overridable.TransformBoundsCore(rect); } return this->shim().TransformBoundsCore(rect); } }; template struct WINRT_IMPL_EMPTY_BASES produce_dispatch_to_overridable< T, D, winrt::Microsoft::UI::Xaml::Media::ISystemBackdropOverrides> : produce_dispatch_to_overridable_base< T, D, winrt::Microsoft::UI::Xaml::Media::ISystemBackdropOverrides> { auto OnTargetConnected( winrt::Microsoft::UI::Composition:: ICompositionSupportsSystemBackdrop const& connectedTarget, winrt::Microsoft::UI::Xaml::XamlRoot const& xamlRoot) { if (auto overridable = this->shim_overridable()) { return overridable.OnTargetConnected(connectedTarget, xamlRoot); } return this->shim().OnTargetConnected(connectedTarget, xamlRoot); } auto OnTargetDisconnected( winrt::Microsoft::UI::Composition:: ICompositionSupportsSystemBackdrop const& disconnectedTarget) { if (auto overridable = this->shim_overridable()) { return overridable.OnTargetDisconnected(disconnectedTarget); } return this->shim().OnTargetDisconnected(disconnectedTarget); } auto OnDefaultSystemBackdropConfigurationChanged( winrt::Microsoft::UI::Composition:: ICompositionSupportsSystemBackdrop const& target, winrt::Microsoft::UI::Xaml::XamlRoot const& xamlRoot) { if (auto overridable = this->shim_overridable()) { return overridable.OnDefaultSystemBackdropConfigurationChanged(target, xamlRoot); } return this->shim().OnDefaultSystemBackdropConfigurationChanged(target, xamlRoot); } }; template struct WINRT_IMPL_EMPTY_BASES produce_dispatch_to_overridable< T, D, winrt::Microsoft::UI::Xaml::Media::IXamlCompositionBrushBaseOverrides> : produce_dispatch_to_overridable_base< T, D, winrt::Microsoft::UI::Xaml::Media:: IXamlCompositionBrushBaseOverrides> { auto OnConnected() { if (auto overridable = this->shim_overridable()) { return overridable.OnConnected(); } return this->shim().OnConnected(); } auto OnDisconnected() { if (auto overridable = this->shim_overridable()) { return overridable.OnDisconnected(); } return this->shim().OnDisconnected(); } }; template struct WINRT_IMPL_EMPTY_BASES produce_dispatch_to_overridable< T, D, winrt::Microsoft::UI::Xaml::Media::IXamlLightOverrides> : produce_dispatch_to_overridable_base< T, D, winrt::Microsoft::UI::Xaml::Media::IXamlLightOverrides> { auto GetId() { if (auto overridable = this->shim_overridable()) { return overridable.GetId(); } return this->shim().GetId(); } auto OnConnected(winrt::Microsoft::UI::Xaml::UIElement const& newElement) { if (auto overridable = this->shim_overridable()) { return overridable.OnConnected(newElement); } return this->shim().OnConnected(newElement); } auto OnDisconnected(winrt::Microsoft::UI::Xaml::UIElement const& oldElement) { if (auto overridable = this->shim_overridable()) { return overridable.OnDisconnected(oldElement); } return this->shim().OnDisconnected(oldElement); } }; } // namespace winrt::impl WINRT_EXPORT namespace winrt::Microsoft::UI::Xaml::Media { inline AcrylicBrush::AcrylicBrush() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory( [&](IAcrylicBrushFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto AcrylicBrush::TintColorProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IAcrylicBrushStatics const&), AcrylicBrush, IAcrylicBrushStatics>( [](IAcrylicBrushStatics const& f) { return f.TintColorProperty(); }); } inline auto AcrylicBrush::TintOpacityProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IAcrylicBrushStatics const&), AcrylicBrush, IAcrylicBrushStatics>( [](IAcrylicBrushStatics const& f) { return f.TintOpacityProperty(); }); } inline auto AcrylicBrush::TintTransitionDurationProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IAcrylicBrushStatics const&), AcrylicBrush, IAcrylicBrushStatics>([](IAcrylicBrushStatics const& f) { return f.TintTransitionDurationProperty(); }); } inline auto AcrylicBrush::AlwaysUseFallbackProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IAcrylicBrushStatics const&), AcrylicBrush, IAcrylicBrushStatics>([](IAcrylicBrushStatics const& f) { return f.AlwaysUseFallbackProperty(); }); } inline auto AcrylicBrush::TintLuminosityOpacityProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IAcrylicBrushStatics2 const&), AcrylicBrush, IAcrylicBrushStatics2>( [](IAcrylicBrushStatics2 const& f) { return f.TintLuminosityOpacityProperty(); }); } inline ArcSegment::ArcSegment() : ArcSegment(impl::call_factory_cast< ArcSegment (*)( winrt::Windows::Foundation::IActivationFactory const&), ArcSegment>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto ArcSegment::PointProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IArcSegmentStatics const&), ArcSegment, IArcSegmentStatics>( [](IArcSegmentStatics const& f) { return f.PointProperty(); }); } inline auto ArcSegment::SizeProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IArcSegmentStatics const&), ArcSegment, IArcSegmentStatics>( [](IArcSegmentStatics const& f) { return f.SizeProperty(); }); } inline auto ArcSegment::RotationAngleProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IArcSegmentStatics const&), ArcSegment, IArcSegmentStatics>( [](IArcSegmentStatics const& f) { return f.RotationAngleProperty(); }); } inline auto ArcSegment::IsLargeArcProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IArcSegmentStatics const&), ArcSegment, IArcSegmentStatics>( [](IArcSegmentStatics const& f) { return f.IsLargeArcProperty(); }); } inline auto ArcSegment::SweepDirectionProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IArcSegmentStatics const&), ArcSegment, IArcSegmentStatics>( [](IArcSegmentStatics const& f) { return f.SweepDirectionProperty(); }); } inline BezierSegment::BezierSegment() : BezierSegment( impl::call_factory_cast< BezierSegment (*)( winrt::Windows::Foundation::IActivationFactory const&), BezierSegment>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto BezierSegment::Point1Property() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IBezierSegmentStatics const&), BezierSegment, IBezierSegmentStatics>( [](IBezierSegmentStatics const& f) { return f.Point1Property(); }); } inline auto BezierSegment::Point2Property() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IBezierSegmentStatics const&), BezierSegment, IBezierSegmentStatics>( [](IBezierSegmentStatics const& f) { return f.Point2Property(); }); } inline auto BezierSegment::Point3Property() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IBezierSegmentStatics const&), BezierSegment, IBezierSegmentStatics>( [](IBezierSegmentStatics const& f) { return f.Point3Property(); }); } inline BitmapCache::BitmapCache() : BitmapCache(impl::call_factory_cast< BitmapCache (*)( winrt::Windows::Foundation::IActivationFactory const&), BitmapCache>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto Brush::OpacityProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IBrushStatics const&), Brush, IBrushStatics>( [](IBrushStatics const& f) { return f.OpacityProperty(); }); } inline auto Brush::TransformProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IBrushStatics const&), Brush, IBrushStatics>( [](IBrushStatics const& f) { return f.TransformProperty(); }); } inline auto Brush::RelativeTransformProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IBrushStatics const&), Brush, IBrushStatics>( [](IBrushStatics const& f) { return f.RelativeTransformProperty(); }); } inline BrushCollection::BrushCollection() : BrushCollection( impl::call_factory_cast< BrushCollection (*)( winrt::Windows::Foundation::IActivationFactory const&), BrushCollection>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline CompositeTransform::CompositeTransform() : CompositeTransform( impl::call_factory_cast< CompositeTransform (*)( winrt::Windows::Foundation::IActivationFactory const&), CompositeTransform>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto CompositeTransform::CenterXProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ICompositeTransformStatics const&), CompositeTransform, ICompositeTransformStatics>( [](ICompositeTransformStatics const& f) { return f.CenterXProperty(); }); } inline auto CompositeTransform::CenterYProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ICompositeTransformStatics const&), CompositeTransform, ICompositeTransformStatics>( [](ICompositeTransformStatics const& f) { return f.CenterYProperty(); }); } inline auto CompositeTransform::ScaleXProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ICompositeTransformStatics const&), CompositeTransform, ICompositeTransformStatics>( [](ICompositeTransformStatics const& f) { return f.ScaleXProperty(); }); } inline auto CompositeTransform::ScaleYProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ICompositeTransformStatics const&), CompositeTransform, ICompositeTransformStatics>( [](ICompositeTransformStatics const& f) { return f.ScaleYProperty(); }); } inline auto CompositeTransform::SkewXProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ICompositeTransformStatics const&), CompositeTransform, ICompositeTransformStatics>( [](ICompositeTransformStatics const& f) { return f.SkewXProperty(); }); } inline auto CompositeTransform::SkewYProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ICompositeTransformStatics const&), CompositeTransform, ICompositeTransformStatics>( [](ICompositeTransformStatics const& f) { return f.SkewYProperty(); }); } inline auto CompositeTransform::RotationProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ICompositeTransformStatics const&), CompositeTransform, ICompositeTransformStatics>( [](ICompositeTransformStatics const& f) { return f.RotationProperty(); }); } inline auto CompositeTransform::TranslateXProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ICompositeTransformStatics const&), CompositeTransform, ICompositeTransformStatics>( [](ICompositeTransformStatics const& f) { return f.TranslateXProperty(); }); } inline auto CompositeTransform::TranslateYProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ICompositeTransformStatics const&), CompositeTransform, ICompositeTransformStatics>( [](ICompositeTransformStatics const& f) { return f.TranslateYProperty(); }); } inline auto CompositionTarget::Rendering( winrt::Windows::Foundation::EventHandler< winrt::Windows::Foundation::IInspectable> const& handler) { return impl::call_factory( [&](ICompositionTargetStatics const& f) { return f.Rendering(handler); }); } inline auto CompositionTarget::Rendering( auto_revoke_t, winrt::Windows::Foundation::EventHandler< winrt::Windows::Foundation::IInspectable> const& handler) { auto f = get_activation_factory< CompositionTarget, winrt::Microsoft::UI::Xaml::Media::ICompositionTargetStatics>(); return CompositionTarget::Rendering_revoker{f, f.Rendering(handler)}; } inline auto CompositionTarget::Rendering(winrt::event_token const& token) { impl::call_factory( [&](ICompositionTargetStatics const& f) { return f.Rendering(token); }); } inline auto CompositionTarget::Rendered( winrt::Windows::Foundation::EventHandler< winrt::Microsoft::UI::Xaml::Media::RenderedEventArgs> const& handler) { return impl::call_factory( [&](ICompositionTargetStatics const& f) { return f.Rendered(handler); }); } inline auto CompositionTarget::Rendered( auto_revoke_t, winrt::Windows::Foundation::EventHandler< winrt::Microsoft::UI::Xaml::Media::RenderedEventArgs> const& handler) { auto f = get_activation_factory< CompositionTarget, winrt::Microsoft::UI::Xaml::Media::ICompositionTargetStatics>(); return CompositionTarget::Rendered_revoker{f, f.Rendered(handler)}; } inline auto CompositionTarget::Rendered(winrt::event_token const& token) { impl::call_factory( [&](ICompositionTargetStatics const& f) { return f.Rendered(token); }); } inline auto CompositionTarget::SurfaceContentsLost( winrt::Windows::Foundation::EventHandler< winrt::Windows::Foundation::IInspectable> const& handler) { return impl::call_factory( [&](ICompositionTargetStatics const& f) { return f.SurfaceContentsLost(handler); }); } inline auto CompositionTarget::SurfaceContentsLost( auto_revoke_t, winrt::Windows::Foundation::EventHandler< winrt::Windows::Foundation::IInspectable> const& handler) { auto f = get_activation_factory< CompositionTarget, winrt::Microsoft::UI::Xaml::Media::ICompositionTargetStatics>(); return CompositionTarget::SurfaceContentsLost_revoker{ f, f.SurfaceContentsLost(handler)}; } inline auto CompositionTarget::SurfaceContentsLost( winrt::event_token const& token) { impl::call_factory( [&](ICompositionTargetStatics const& f) { return f.SurfaceContentsLost(token); }); } inline auto CompositionTarget::GetCompositorForCurrentThread() { return impl::call_factory_cast< winrt::Microsoft::UI::Composition::Compositor (*)( ICompositionTargetStatics const&), CompositionTarget, ICompositionTargetStatics>( [](ICompositionTargetStatics const& f) { return f.GetCompositorForCurrentThread(); }); } inline DesktopAcrylicBackdrop::DesktopAcrylicBackdrop() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory( [&](IDesktopAcrylicBackdropFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline DoubleCollection::DoubleCollection() : DoubleCollection( impl::call_factory_cast< DoubleCollection (*)( winrt::Windows::Foundation::IActivationFactory const&), DoubleCollection>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline EllipseGeometry::EllipseGeometry() : EllipseGeometry( impl::call_factory_cast< EllipseGeometry (*)( winrt::Windows::Foundation::IActivationFactory const&), EllipseGeometry>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto EllipseGeometry::CenterProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IEllipseGeometryStatics const&), EllipseGeometry, IEllipseGeometryStatics>( [](IEllipseGeometryStatics const& f) { return f.CenterProperty(); }); } inline auto EllipseGeometry::RadiusXProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IEllipseGeometryStatics const&), EllipseGeometry, IEllipseGeometryStatics>( [](IEllipseGeometryStatics const& f) { return f.RadiusXProperty(); }); } inline auto EllipseGeometry::RadiusYProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IEllipseGeometryStatics const&), EllipseGeometry, IEllipseGeometryStatics>( [](IEllipseGeometryStatics const& f) { return f.RadiusYProperty(); }); } inline FontFamily::FontFamily(param::hstring const& familyName) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory( [&](IFontFamilyFactory const& f) { return f.CreateInstanceWithName(familyName, baseInterface, innerInterface); }); } inline auto FontFamily::XamlAutoFontFamily() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::Media::FontFamily (*)( IFontFamilyStatics const&), FontFamily, IFontFamilyStatics>( [](IFontFamilyStatics const& f) { return f.XamlAutoFontFamily(); }); } inline auto Geometry::Empty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::Media::Geometry (*)( IGeometryStatics const&), Geometry, IGeometryStatics>( [](IGeometryStatics const& f) { return f.Empty(); }); } inline auto Geometry::StandardFlatteningTolerance() { return impl::call_factory_cast( [](IGeometryStatics const& f) { return f.StandardFlatteningTolerance(); }); } inline auto Geometry::TransformProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IGeometryStatics const&), Geometry, IGeometryStatics>( [](IGeometryStatics const& f) { return f.TransformProperty(); }); } inline GeometryCollection::GeometryCollection() : GeometryCollection( impl::call_factory_cast< GeometryCollection (*)( winrt::Windows::Foundation::IActivationFactory const&), GeometryCollection>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline GeometryGroup::GeometryGroup() : GeometryGroup( impl::call_factory_cast< GeometryGroup (*)( winrt::Windows::Foundation::IActivationFactory const&), GeometryGroup>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto GeometryGroup::FillRuleProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IGeometryGroupStatics const&), GeometryGroup, IGeometryGroupStatics>( [](IGeometryGroupStatics const& f) { return f.FillRuleProperty(); }); } inline auto GeometryGroup::ChildrenProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IGeometryGroupStatics const&), GeometryGroup, IGeometryGroupStatics>( [](IGeometryGroupStatics const& f) { return f.ChildrenProperty(); }); } inline auto GradientBrush::SpreadMethodProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IGradientBrushStatics const&), GradientBrush, IGradientBrushStatics>( [](IGradientBrushStatics const& f) { return f.SpreadMethodProperty(); }); } inline auto GradientBrush::MappingModeProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IGradientBrushStatics const&), GradientBrush, IGradientBrushStatics>( [](IGradientBrushStatics const& f) { return f.MappingModeProperty(); }); } inline auto GradientBrush::ColorInterpolationModeProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IGradientBrushStatics const&), GradientBrush, IGradientBrushStatics>( [](IGradientBrushStatics const& f) { return f.ColorInterpolationModeProperty(); }); } inline auto GradientBrush::GradientStopsProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IGradientBrushStatics const&), GradientBrush, IGradientBrushStatics>( [](IGradientBrushStatics const& f) { return f.GradientStopsProperty(); }); } inline GradientStop::GradientStop() : GradientStop(impl::call_factory_cast< GradientStop (*)( winrt::Windows::Foundation::IActivationFactory const&), GradientStop>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto GradientStop::ColorProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IGradientStopStatics const&), GradientStop, IGradientStopStatics>( [](IGradientStopStatics const& f) { return f.ColorProperty(); }); } inline auto GradientStop::OffsetProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IGradientStopStatics const&), GradientStop, IGradientStopStatics>( [](IGradientStopStatics const& f) { return f.OffsetProperty(); }); } inline GradientStopCollection::GradientStopCollection() : GradientStopCollection( impl::call_factory_cast< GradientStopCollection (*)( winrt::Windows::Foundation::IActivationFactory const&), GradientStopCollection>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline ImageBrush::ImageBrush() : ImageBrush(impl::call_factory_cast< ImageBrush (*)( winrt::Windows::Foundation::IActivationFactory const&), ImageBrush>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto ImageBrush::ImageSourceProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IImageBrushStatics const&), ImageBrush, IImageBrushStatics>( [](IImageBrushStatics const& f) { return f.ImageSourceProperty(); }); } inline LineGeometry::LineGeometry() : LineGeometry(impl::call_factory_cast< LineGeometry (*)( winrt::Windows::Foundation::IActivationFactory const&), LineGeometry>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto LineGeometry::StartPointProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ILineGeometryStatics const&), LineGeometry, ILineGeometryStatics>( [](ILineGeometryStatics const& f) { return f.StartPointProperty(); }); } inline auto LineGeometry::EndPointProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ILineGeometryStatics const&), LineGeometry, ILineGeometryStatics>( [](ILineGeometryStatics const& f) { return f.EndPointProperty(); }); } inline LineSegment::LineSegment() : LineSegment(impl::call_factory_cast< LineSegment (*)( winrt::Windows::Foundation::IActivationFactory const&), LineSegment>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto LineSegment::PointProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ILineSegmentStatics const&), LineSegment, ILineSegmentStatics>( [](ILineSegmentStatics const& f) { return f.PointProperty(); }); } inline LinearGradientBrush::LinearGradientBrush() : LinearGradientBrush( impl::call_factory_cast< LinearGradientBrush (*)( winrt::Windows::Foundation::IActivationFactory const&), LinearGradientBrush>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline LinearGradientBrush::LinearGradientBrush( winrt::Microsoft::UI::Xaml::Media::GradientStopCollection const& gradientStopCollection, double angle) : LinearGradientBrush(impl::call_factory( [&](ILinearGradientBrushFactory const& f) { return f.CreateInstanceWithGradientStopCollectionAndAngle( gradientStopCollection, angle); })) {} inline auto LinearGradientBrush::StartPointProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ILinearGradientBrushStatics const&), LinearGradientBrush, ILinearGradientBrushStatics>( [](ILinearGradientBrushStatics const& f) { return f.StartPointProperty(); }); } inline auto LinearGradientBrush::EndPointProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ILinearGradientBrushStatics const&), LinearGradientBrush, ILinearGradientBrushStatics>( [](ILinearGradientBrushStatics const& f) { return f.EndPointProperty(); }); } inline auto LoadedImageSurface::StartLoadFromUri( winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Foundation::Size const& desiredMaxSize) { return impl::call_factory( [&](ILoadedImageSurfaceStatics const& f) { return f.StartLoadFromUri(uri, desiredMaxSize); }); } inline auto LoadedImageSurface::StartLoadFromUri( winrt::Windows::Foundation::Uri const& uri) { return impl::call_factory( [&](ILoadedImageSurfaceStatics const& f) { return f.StartLoadFromUri(uri); }); } inline auto LoadedImageSurface::StartLoadFromStream( winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, winrt::Windows::Foundation::Size const& desiredMaxSize) { return impl::call_factory( [&](ILoadedImageSurfaceStatics const& f) { return f.StartLoadFromStream(stream, desiredMaxSize); }); } inline auto LoadedImageSurface::StartLoadFromStream( winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) { return impl::call_factory( [&](ILoadedImageSurfaceStatics const& f) { return f.StartLoadFromStream(stream); }); } inline Matrix3DProjection::Matrix3DProjection() : Matrix3DProjection( impl::call_factory_cast< Matrix3DProjection (*)( winrt::Windows::Foundation::IActivationFactory const&), Matrix3DProjection>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto Matrix3DProjection::ProjectionMatrixProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IMatrix3DProjectionStatics const&), Matrix3DProjection, IMatrix3DProjectionStatics>( [](IMatrix3DProjectionStatics const& f) { return f.ProjectionMatrixProperty(); }); } inline auto MatrixHelper::Identity() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::Media::Matrix (*)( IMatrixHelperStatics const&), MatrixHelper, IMatrixHelperStatics>( [](IMatrixHelperStatics const& f) { return f.Identity(); }); } inline auto MatrixHelper::FromElements(double m11, double m12, double m21, double m22, double offsetX, double offsetY) { return impl::call_factory( [&](IMatrixHelperStatics const& f) { return f.FromElements(m11, m12, m21, m22, offsetX, offsetY); }); } inline auto MatrixHelper::GetIsIdentity( winrt::Microsoft::UI::Xaml::Media::Matrix const& target) { return impl::call_factory( [&](IMatrixHelperStatics const& f) { return f.GetIsIdentity(target); }); } inline auto MatrixHelper::Transform( winrt::Microsoft::UI::Xaml::Media::Matrix const& target, winrt::Windows::Foundation::Point const& point) { return impl::call_factory( [&](IMatrixHelperStatics const& f) { return f.Transform(target, point); }); } inline MatrixTransform::MatrixTransform() : MatrixTransform( impl::call_factory_cast< MatrixTransform (*)( winrt::Windows::Foundation::IActivationFactory const&), MatrixTransform>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto MatrixTransform::MatrixProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IMatrixTransformStatics const&), MatrixTransform, IMatrixTransformStatics>( [](IMatrixTransformStatics const& f) { return f.MatrixProperty(); }); } inline MicaBackdrop::MicaBackdrop() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory( [&](IMicaBackdropFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto MicaBackdrop::KindProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IMicaBackdropStatics const&), MicaBackdrop, IMicaBackdropStatics>( [](IMicaBackdropStatics const& f) { return f.KindProperty(); }); } inline PathFigure::PathFigure() : PathFigure(impl::call_factory_cast< PathFigure (*)( winrt::Windows::Foundation::IActivationFactory const&), PathFigure>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto PathFigure::SegmentsProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPathFigureStatics const&), PathFigure, IPathFigureStatics>( [](IPathFigureStatics const& f) { return f.SegmentsProperty(); }); } inline auto PathFigure::StartPointProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPathFigureStatics const&), PathFigure, IPathFigureStatics>( [](IPathFigureStatics const& f) { return f.StartPointProperty(); }); } inline auto PathFigure::IsClosedProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPathFigureStatics const&), PathFigure, IPathFigureStatics>( [](IPathFigureStatics const& f) { return f.IsClosedProperty(); }); } inline auto PathFigure::IsFilledProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPathFigureStatics const&), PathFigure, IPathFigureStatics>( [](IPathFigureStatics const& f) { return f.IsFilledProperty(); }); } inline PathFigureCollection::PathFigureCollection() : PathFigureCollection( impl::call_factory_cast< PathFigureCollection (*)( winrt::Windows::Foundation::IActivationFactory const&), PathFigureCollection>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline PathGeometry::PathGeometry() : PathGeometry(impl::call_factory_cast< PathGeometry (*)( winrt::Windows::Foundation::IActivationFactory const&), PathGeometry>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto PathGeometry::FillRuleProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPathGeometryStatics const&), PathGeometry, IPathGeometryStatics>( [](IPathGeometryStatics const& f) { return f.FillRuleProperty(); }); } inline auto PathGeometry::FiguresProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPathGeometryStatics const&), PathGeometry, IPathGeometryStatics>( [](IPathGeometryStatics const& f) { return f.FiguresProperty(); }); } inline PathSegmentCollection::PathSegmentCollection() : PathSegmentCollection( impl::call_factory_cast< PathSegmentCollection (*)( winrt::Windows::Foundation::IActivationFactory const&), PathSegmentCollection>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline PlaneProjection::PlaneProjection() : PlaneProjection( impl::call_factory_cast< PlaneProjection (*)( winrt::Windows::Foundation::IActivationFactory const&), PlaneProjection>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto PlaneProjection::LocalOffsetXProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPlaneProjectionStatics const&), PlaneProjection, IPlaneProjectionStatics>( [](IPlaneProjectionStatics const& f) { return f.LocalOffsetXProperty(); }); } inline auto PlaneProjection::LocalOffsetYProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPlaneProjectionStatics const&), PlaneProjection, IPlaneProjectionStatics>( [](IPlaneProjectionStatics const& f) { return f.LocalOffsetYProperty(); }); } inline auto PlaneProjection::LocalOffsetZProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPlaneProjectionStatics const&), PlaneProjection, IPlaneProjectionStatics>( [](IPlaneProjectionStatics const& f) { return f.LocalOffsetZProperty(); }); } inline auto PlaneProjection::RotationXProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPlaneProjectionStatics const&), PlaneProjection, IPlaneProjectionStatics>( [](IPlaneProjectionStatics const& f) { return f.RotationXProperty(); }); } inline auto PlaneProjection::RotationYProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPlaneProjectionStatics const&), PlaneProjection, IPlaneProjectionStatics>( [](IPlaneProjectionStatics const& f) { return f.RotationYProperty(); }); } inline auto PlaneProjection::RotationZProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPlaneProjectionStatics const&), PlaneProjection, IPlaneProjectionStatics>( [](IPlaneProjectionStatics const& f) { return f.RotationZProperty(); }); } inline auto PlaneProjection::CenterOfRotationXProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPlaneProjectionStatics const&), PlaneProjection, IPlaneProjectionStatics>( [](IPlaneProjectionStatics const& f) { return f.CenterOfRotationXProperty(); }); } inline auto PlaneProjection::CenterOfRotationYProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPlaneProjectionStatics const&), PlaneProjection, IPlaneProjectionStatics>( [](IPlaneProjectionStatics const& f) { return f.CenterOfRotationYProperty(); }); } inline auto PlaneProjection::CenterOfRotationZProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPlaneProjectionStatics const&), PlaneProjection, IPlaneProjectionStatics>( [](IPlaneProjectionStatics const& f) { return f.CenterOfRotationZProperty(); }); } inline auto PlaneProjection::GlobalOffsetXProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPlaneProjectionStatics const&), PlaneProjection, IPlaneProjectionStatics>( [](IPlaneProjectionStatics const& f) { return f.GlobalOffsetXProperty(); }); } inline auto PlaneProjection::GlobalOffsetYProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPlaneProjectionStatics const&), PlaneProjection, IPlaneProjectionStatics>( [](IPlaneProjectionStatics const& f) { return f.GlobalOffsetYProperty(); }); } inline auto PlaneProjection::GlobalOffsetZProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPlaneProjectionStatics const&), PlaneProjection, IPlaneProjectionStatics>( [](IPlaneProjectionStatics const& f) { return f.GlobalOffsetZProperty(); }); } inline auto PlaneProjection::ProjectionMatrixProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPlaneProjectionStatics const&), PlaneProjection, IPlaneProjectionStatics>( [](IPlaneProjectionStatics const& f) { return f.ProjectionMatrixProperty(); }); } inline PointCollection::PointCollection() : PointCollection( impl::call_factory_cast< PointCollection (*)( winrt::Windows::Foundation::IActivationFactory const&), PointCollection>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline PolyBezierSegment::PolyBezierSegment() : PolyBezierSegment( impl::call_factory_cast< PolyBezierSegment (*)( winrt::Windows::Foundation::IActivationFactory const&), PolyBezierSegment>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto PolyBezierSegment::PointsProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPolyBezierSegmentStatics const&), PolyBezierSegment, IPolyBezierSegmentStatics>( [](IPolyBezierSegmentStatics const& f) { return f.PointsProperty(); }); } inline PolyLineSegment::PolyLineSegment() : PolyLineSegment( impl::call_factory_cast< PolyLineSegment (*)( winrt::Windows::Foundation::IActivationFactory const&), PolyLineSegment>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto PolyLineSegment::PointsProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPolyLineSegmentStatics const&), PolyLineSegment, IPolyLineSegmentStatics>( [](IPolyLineSegmentStatics const& f) { return f.PointsProperty(); }); } inline PolyQuadraticBezierSegment::PolyQuadraticBezierSegment() : PolyQuadraticBezierSegment( impl::call_factory_cast< PolyQuadraticBezierSegment (*)( winrt::Windows::Foundation::IActivationFactory const&), PolyQuadraticBezierSegment>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f .template ActivateInstance(); })) {} inline auto PolyQuadraticBezierSegment::PointsProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IPolyQuadraticBezierSegmentStatics const&), PolyQuadraticBezierSegment, IPolyQuadraticBezierSegmentStatics>( [](IPolyQuadraticBezierSegmentStatics const& f) { return f.PointsProperty(); }); } inline QuadraticBezierSegment::QuadraticBezierSegment() : QuadraticBezierSegment( impl::call_factory_cast< QuadraticBezierSegment (*)( winrt::Windows::Foundation::IActivationFactory const&), QuadraticBezierSegment>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto QuadraticBezierSegment::Point1Property() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IQuadraticBezierSegmentStatics const&), QuadraticBezierSegment, IQuadraticBezierSegmentStatics>( [](IQuadraticBezierSegmentStatics const& f) { return f.Point1Property(); }); } inline auto QuadraticBezierSegment::Point2Property() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IQuadraticBezierSegmentStatics const&), QuadraticBezierSegment, IQuadraticBezierSegmentStatics>( [](IQuadraticBezierSegmentStatics const& f) { return f.Point2Property(); }); } inline RadialGradientBrush::RadialGradientBrush() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory( [&](IRadialGradientBrushFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto RadialGradientBrush::CenterProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IRadialGradientBrushStatics const&), RadialGradientBrush, IRadialGradientBrushStatics>( [](IRadialGradientBrushStatics const& f) { return f.CenterProperty(); }); } inline auto RadialGradientBrush::RadiusXProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IRadialGradientBrushStatics const&), RadialGradientBrush, IRadialGradientBrushStatics>( [](IRadialGradientBrushStatics const& f) { return f.RadiusXProperty(); }); } inline auto RadialGradientBrush::RadiusYProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IRadialGradientBrushStatics const&), RadialGradientBrush, IRadialGradientBrushStatics>( [](IRadialGradientBrushStatics const& f) { return f.RadiusYProperty(); }); } inline auto RadialGradientBrush::GradientOriginProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IRadialGradientBrushStatics const&), RadialGradientBrush, IRadialGradientBrushStatics>( [](IRadialGradientBrushStatics const& f) { return f.GradientOriginProperty(); }); } inline auto RadialGradientBrush::InterpolationSpaceProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IRadialGradientBrushStatics const&), RadialGradientBrush, IRadialGradientBrushStatics>( [](IRadialGradientBrushStatics const& f) { return f.InterpolationSpaceProperty(); }); } inline auto RadialGradientBrush::MappingModeProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IRadialGradientBrushStatics const&), RadialGradientBrush, IRadialGradientBrushStatics>( [](IRadialGradientBrushStatics const& f) { return f.MappingModeProperty(); }); } inline auto RadialGradientBrush::SpreadMethodProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IRadialGradientBrushStatics const&), RadialGradientBrush, IRadialGradientBrushStatics>( [](IRadialGradientBrushStatics const& f) { return f.SpreadMethodProperty(); }); } inline RectangleGeometry::RectangleGeometry() : RectangleGeometry( impl::call_factory_cast< RectangleGeometry (*)( winrt::Windows::Foundation::IActivationFactory const&), RectangleGeometry>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto RectangleGeometry::RectProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IRectangleGeometryStatics const&), RectangleGeometry, IRectangleGeometryStatics>( [](IRectangleGeometryStatics const& f) { return f.RectProperty(); }); } inline RotateTransform::RotateTransform() : RotateTransform( impl::call_factory_cast< RotateTransform (*)( winrt::Windows::Foundation::IActivationFactory const&), RotateTransform>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto RotateTransform::CenterXProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IRotateTransformStatics const&), RotateTransform, IRotateTransformStatics>( [](IRotateTransformStatics const& f) { return f.CenterXProperty(); }); } inline auto RotateTransform::CenterYProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IRotateTransformStatics const&), RotateTransform, IRotateTransformStatics>( [](IRotateTransformStatics const& f) { return f.CenterYProperty(); }); } inline auto RotateTransform::AngleProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IRotateTransformStatics const&), RotateTransform, IRotateTransformStatics>( [](IRotateTransformStatics const& f) { return f.AngleProperty(); }); } inline ScaleTransform::ScaleTransform() : ScaleTransform( impl::call_factory_cast< ScaleTransform (*)( winrt::Windows::Foundation::IActivationFactory const&), ScaleTransform>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto ScaleTransform::CenterXProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IScaleTransformStatics const&), ScaleTransform, IScaleTransformStatics>( [](IScaleTransformStatics const& f) { return f.CenterXProperty(); }); } inline auto ScaleTransform::CenterYProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IScaleTransformStatics const&), ScaleTransform, IScaleTransformStatics>( [](IScaleTransformStatics const& f) { return f.CenterYProperty(); }); } inline auto ScaleTransform::ScaleXProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IScaleTransformStatics const&), ScaleTransform, IScaleTransformStatics>( [](IScaleTransformStatics const& f) { return f.ScaleXProperty(); }); } inline auto ScaleTransform::ScaleYProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IScaleTransformStatics const&), ScaleTransform, IScaleTransformStatics>( [](IScaleTransformStatics const& f) { return f.ScaleYProperty(); }); } inline SkewTransform::SkewTransform() : SkewTransform( impl::call_factory_cast< SkewTransform (*)( winrt::Windows::Foundation::IActivationFactory const&), SkewTransform>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto SkewTransform::CenterXProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISkewTransformStatics const&), SkewTransform, ISkewTransformStatics>( [](ISkewTransformStatics const& f) { return f.CenterXProperty(); }); } inline auto SkewTransform::CenterYProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISkewTransformStatics const&), SkewTransform, ISkewTransformStatics>( [](ISkewTransformStatics const& f) { return f.CenterYProperty(); }); } inline auto SkewTransform::AngleXProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISkewTransformStatics const&), SkewTransform, ISkewTransformStatics>( [](ISkewTransformStatics const& f) { return f.AngleXProperty(); }); } inline auto SkewTransform::AngleYProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISkewTransformStatics const&), SkewTransform, ISkewTransformStatics>( [](ISkewTransformStatics const& f) { return f.AngleYProperty(); }); } inline SolidColorBrush::SolidColorBrush() : SolidColorBrush( impl::call_factory_cast< SolidColorBrush (*)( winrt::Windows::Foundation::IActivationFactory const&), SolidColorBrush>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline SolidColorBrush::SolidColorBrush( winrt::Windows::UI::Color const& color) : SolidColorBrush( impl::call_factory( [&](ISolidColorBrushFactory const& f) { return f.CreateInstanceWithColor(color); })) {} inline auto SolidColorBrush::ColorProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ISolidColorBrushStatics const&), SolidColorBrush, ISolidColorBrushStatics>( [](ISolidColorBrushStatics const& f) { return f.ColorProperty(); }); } inline ThemeShadow::ThemeShadow() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory( [&](IThemeShadowFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto TileBrush::AlignmentXProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ITileBrushStatics const&), TileBrush, ITileBrushStatics>( [](ITileBrushStatics const& f) { return f.AlignmentXProperty(); }); } inline auto TileBrush::AlignmentYProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ITileBrushStatics const&), TileBrush, ITileBrushStatics>( [](ITileBrushStatics const& f) { return f.AlignmentYProperty(); }); } inline auto TileBrush::StretchProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ITileBrushStatics const&), TileBrush, ITileBrushStatics>( [](ITileBrushStatics const& f) { return f.StretchProperty(); }); } inline TransformCollection::TransformCollection() : TransformCollection( impl::call_factory_cast< TransformCollection (*)( winrt::Windows::Foundation::IActivationFactory const&), TransformCollection>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline TransformGroup::TransformGroup() : TransformGroup( impl::call_factory_cast< TransformGroup (*)( winrt::Windows::Foundation::IActivationFactory const&), TransformGroup>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto TransformGroup::ChildrenProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ITransformGroupStatics const&), TransformGroup, ITransformGroupStatics>( [](ITransformGroupStatics const& f) { return f.ChildrenProperty(); }); } inline TranslateTransform::TranslateTransform() : TranslateTransform( impl::call_factory_cast< TranslateTransform (*)( winrt::Windows::Foundation::IActivationFactory const&), TranslateTransform>( [](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) {} inline auto TranslateTransform::XProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ITranslateTransformStatics const&), TranslateTransform, ITranslateTransformStatics>( [](ITranslateTransformStatics const& f) { return f.XProperty(); }); } inline auto TranslateTransform::YProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( ITranslateTransformStatics const&), TranslateTransform, ITranslateTransformStatics>( [](ITranslateTransformStatics const& f) { return f.YProperty(); }); } inline auto VisualTreeHelper::FindElementsInHostCoordinates( winrt::Windows::Foundation::Point const& intersectingPoint, winrt::Microsoft::UI::Xaml::UIElement const& subtree) { return impl::call_factory( [&](IVisualTreeHelperStatics const& f) { return f.FindElementsInHostCoordinates(intersectingPoint, subtree); }); } inline auto VisualTreeHelper::FindElementsInHostCoordinates( winrt::Windows::Foundation::Rect const& intersectingRect, winrt::Microsoft::UI::Xaml::UIElement const& subtree) { return impl::call_factory( [&](IVisualTreeHelperStatics const& f) { return f.FindElementsInHostCoordinates(intersectingRect, subtree); }); } inline auto VisualTreeHelper::FindElementsInHostCoordinates( winrt::Windows::Foundation::Point const& intersectingPoint, winrt::Microsoft::UI::Xaml::UIElement const& subtree, bool includeAllElements) { return impl::call_factory( [&](IVisualTreeHelperStatics const& f) { return f.FindElementsInHostCoordinates(intersectingPoint, subtree, includeAllElements); }); } inline auto VisualTreeHelper::FindElementsInHostCoordinates( winrt::Windows::Foundation::Rect const& intersectingRect, winrt::Microsoft::UI::Xaml::UIElement const& subtree, bool includeAllElements) { return impl::call_factory( [&](IVisualTreeHelperStatics const& f) { return f.FindElementsInHostCoordinates(intersectingRect, subtree, includeAllElements); }); } inline auto VisualTreeHelper::GetChild( winrt::Microsoft::UI::Xaml::DependencyObject const& reference, int32_t childIndex) { return impl::call_factory( [&](IVisualTreeHelperStatics const& f) { return f.GetChild(reference, childIndex); }); } inline auto VisualTreeHelper::GetChildrenCount( winrt::Microsoft::UI::Xaml::DependencyObject const& reference) { return impl::call_factory( [&](IVisualTreeHelperStatics const& f) { return f.GetChildrenCount(reference); }); } inline auto VisualTreeHelper::GetParent( winrt::Microsoft::UI::Xaml::DependencyObject const& reference) { return impl::call_factory( [&](IVisualTreeHelperStatics const& f) { return f.GetParent(reference); }); } inline auto VisualTreeHelper::DisconnectChildrenRecursive( winrt::Microsoft::UI::Xaml::UIElement const& element) { impl::call_factory( [&](IVisualTreeHelperStatics const& f) { return f.DisconnectChildrenRecursive(element); }); } inline auto VisualTreeHelper::GetOpenPopups( winrt::Microsoft::UI::Xaml::Window const& window) { return impl::call_factory( [&](IVisualTreeHelperStatics const& f) { return f.GetOpenPopups(window); }); } inline auto VisualTreeHelper::GetOpenPopupsForXamlRoot( winrt::Microsoft::UI::Xaml::XamlRoot const& xamlRoot) { return impl::call_factory( [&](IVisualTreeHelperStatics const& f) { return f.GetOpenPopupsForXamlRoot(xamlRoot); }); } inline auto XamlCompositionBrushBase::FallbackColorProperty() { return impl::call_factory_cast< winrt::Microsoft::UI::Xaml::DependencyProperty (*)( IXamlCompositionBrushBaseStatics const&), XamlCompositionBrushBase, IXamlCompositionBrushBaseStatics>( [](IXamlCompositionBrushBaseStatics const& f) { return f.FallbackColorProperty(); }); } inline XamlLight::XamlLight() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory( [&](IXamlLightFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto XamlLight::AddTargetElement( param::hstring const& lightId, winrt::Microsoft::UI::Xaml::UIElement const& element) { impl::call_factory( [&](IXamlLightStatics const& f) { return f.AddTargetElement(lightId, element); }); } inline auto XamlLight::RemoveTargetElement( param::hstring const& lightId, winrt::Microsoft::UI::Xaml::UIElement const& element) { impl::call_factory( [&](IXamlLightStatics const& f) { return f.RemoveTargetElement(lightId, element); }); } inline auto XamlLight::AddTargetBrush( param::hstring const& lightId, winrt::Microsoft::UI::Xaml::Media::Brush const& brush) { impl::call_factory( [&](IXamlLightStatics const& f) { return f.AddTargetBrush(lightId, brush); }); } inline auto XamlLight::RemoveTargetBrush( param::hstring const& lightId, winrt::Microsoft::UI::Xaml::Media::Brush const& brush) { impl::call_factory( [&](IXamlLightStatics const& f) { return f.RemoveTargetBrush(lightId, brush); }); } template auto IBrushOverridesT::PopulatePropertyInfoOverride( param::hstring const& propertyName, winrt::Microsoft::UI::Composition::AnimationPropertyInfo const& animationPropertyInfo) const { return shim() .template try_as() .PopulatePropertyInfoOverride(propertyName, animationPropertyInfo); } template auto IGeneralTransformOverridesT::InverseCore() const { return shim().template try_as().InverseCore(); } template auto IGeneralTransformOverridesT::TryTransformCore( winrt::Windows::Foundation::Point const& inPoint, winrt::Windows::Foundation::Point& outPoint) const { return shim() .template try_as() .TryTransformCore(inPoint, outPoint); } template auto IGeneralTransformOverridesT::TransformBoundsCore( winrt::Windows::Foundation::Rect const& rect) const { return shim() .template try_as() .TransformBoundsCore(rect); } template auto ISystemBackdropOverridesT::OnTargetConnected( winrt::Microsoft::UI::Composition:: ICompositionSupportsSystemBackdrop const& connectedTarget, winrt::Microsoft::UI::Xaml::XamlRoot const& xamlRoot) const { return shim().template try_as().OnTargetConnected( connectedTarget, xamlRoot); } template auto ISystemBackdropOverridesT::OnTargetDisconnected( winrt::Microsoft::UI::Composition:: ICompositionSupportsSystemBackdrop const& disconnectedTarget) const { return shim() .template try_as() .OnTargetDisconnected(disconnectedTarget); } template auto ISystemBackdropOverridesT::OnDefaultSystemBackdropConfigurationChanged( winrt::Microsoft::UI::Composition:: ICompositionSupportsSystemBackdrop const& target, winrt::Microsoft::UI::Xaml::XamlRoot const& xamlRoot) const { return shim() .template try_as() .OnDefaultSystemBackdropConfigurationChanged(target, xamlRoot); } template auto IXamlCompositionBrushBaseOverridesT::OnConnected() const { return shim() .template try_as() .OnConnected(); } template auto IXamlCompositionBrushBaseOverridesT::OnDisconnected() const { return shim() .template try_as() .OnDisconnected(); } template auto IXamlLightOverridesT::GetId() const { return shim().template try_as().GetId(); } template auto IXamlLightOverridesT::OnConnected( winrt::Microsoft::UI::Xaml::UIElement const& newElement) const { return shim().template try_as().OnConnected( newElement); } template auto IXamlLightOverridesT::OnDisconnected( winrt::Microsoft::UI::Xaml::UIElement const& oldElement) const { return shim().template try_as().OnDisconnected( oldElement); } template struct AcrylicBrushT : implements, impl::require< D, winrt::Microsoft::UI::Xaml::Media::IAcrylicBrush, winrt::Microsoft::UI::Xaml::Media::IAcrylicBrush2, winrt::Microsoft::UI::Xaml::Media::IXamlCompositionBrushBase, winrt::Microsoft::UI::Xaml::Media::IBrush, winrt::Microsoft::UI::Composition::IAnimationObject, winrt::Microsoft::UI::Xaml::IDependencyObject>, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Media::IXamlCompositionBrushBaseOverridesT< D>, winrt::Microsoft::UI::Xaml::Media::IBrushOverridesT { using composable = AcrylicBrush; friend impl::consume_t< D, winrt::Microsoft::UI::Xaml::Media::IXamlCompositionBrushBaseProtected>; friend impl::require_one< D, winrt::Microsoft::UI::Xaml::Media::IXamlCompositionBrushBaseProtected>; friend impl::produce< D, winrt::Microsoft::UI::Xaml::Media::IXamlCompositionBrushBaseOverrides>; friend impl::produce; protected: AcrylicBrushT() { impl::call_factory( [&](IAcrylicBrushFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct BrushT : implements, impl::require, impl::base, winrt::Microsoft::UI::Xaml::Media::IBrushOverridesT { using composable = Brush; friend impl::produce; protected: BrushT() { impl::call_factory([&](IBrushFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct CacheModeT : implements, impl::require, impl::base { using composable = CacheMode; protected: CacheModeT() { impl::call_factory( [&](ICacheModeFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct DesktopAcrylicBackdropT : implements, impl::require< D, winrt::Microsoft::UI::Xaml::Media::IDesktopAcrylicBackdrop, winrt::Microsoft::UI::Xaml::Media::ISystemBackdrop, winrt::Microsoft::UI::Xaml::IDependencyObject>, impl::base, winrt::Microsoft::UI::Xaml::Media::ISystemBackdropOverridesT { using composable = DesktopAcrylicBackdrop; friend impl::produce< D, winrt::Microsoft::UI::Xaml::Media::ISystemBackdropOverrides>; protected: DesktopAcrylicBackdropT() { impl::call_factory( [&](IDesktopAcrylicBackdropFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct FontFamilyT : implements, impl::require, impl::base { using composable = FontFamily; protected: FontFamilyT(param::hstring const& familyName) { impl::call_factory( [&](IFontFamilyFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithName(familyName, *this, this->m_inner); }); } }; template struct GeneralTransformT : implements< D, winrt::Microsoft::UI::Xaml::Media::IGeneralTransformOverrides, composing, Interfaces...>, impl::require, impl::base, winrt::Microsoft::UI::Xaml::Media::IGeneralTransformOverridesT { using composable = GeneralTransform; friend impl::produce< D, winrt::Microsoft::UI::Xaml::Media::IGeneralTransformOverrides>; protected: GeneralTransformT() { impl::call_factory( [&](IGeneralTransformFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct GradientBrushT : implements, impl::require, impl::base, winrt::Microsoft::UI::Xaml::Media::IBrushOverridesT { using composable = GradientBrush; friend impl::produce; protected: GradientBrushT() { impl::call_factory( [&](IGradientBrushFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct MicaBackdropT : implements, impl::require, impl::base, winrt::Microsoft::UI::Xaml::Media::ISystemBackdropOverridesT { using composable = MicaBackdrop; friend impl::produce< D, winrt::Microsoft::UI::Xaml::Media::ISystemBackdropOverrides>; protected: MicaBackdropT() { impl::call_factory( [&](IMicaBackdropFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ProjectionT : implements, impl::require, impl::base { using composable = Projection; protected: ProjectionT() { impl::call_factory( [&](IProjectionFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct RadialGradientBrushT : implements, impl::require< D, winrt::Microsoft::UI::Xaml::Media::IRadialGradientBrush, winrt::Microsoft::UI::Xaml::Media::IXamlCompositionBrushBase, winrt::Microsoft::UI::Xaml::Media::IBrush, winrt::Microsoft::UI::Composition::IAnimationObject, winrt::Microsoft::UI::Xaml::IDependencyObject>, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Media::IXamlCompositionBrushBaseOverridesT< D>, winrt::Microsoft::UI::Xaml::Media::IBrushOverridesT { using composable = RadialGradientBrush; friend impl::consume_t< D, winrt::Microsoft::UI::Xaml::Media::IXamlCompositionBrushBaseProtected>; friend impl::require_one< D, winrt::Microsoft::UI::Xaml::Media::IXamlCompositionBrushBaseProtected>; friend impl::produce< D, winrt::Microsoft::UI::Xaml::Media::IXamlCompositionBrushBaseOverrides>; friend impl::produce; protected: RadialGradientBrushT() { impl::call_factory( [&](IRadialGradientBrushFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct SystemBackdropT : implements, impl::require, impl::base, winrt::Microsoft::UI::Xaml::Media::ISystemBackdropOverridesT { using composable = SystemBackdrop; friend impl::produce< D, winrt::Microsoft::UI::Xaml::Media::ISystemBackdropOverrides>; protected: SystemBackdropT() { impl::call_factory( [&](ISystemBackdropFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ThemeShadowT : implements, impl::require, impl::base { using composable = ThemeShadow; protected: ThemeShadowT() { impl::call_factory( [&](IThemeShadowFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct TileBrushT : implements, impl::require, impl::base, winrt::Microsoft::UI::Xaml::Media::IBrushOverridesT { using composable = TileBrush; friend impl::produce; protected: TileBrushT() { impl::call_factory( [&](ITileBrushFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct XamlCompositionBrushBaseT : implements, impl::require< D, winrt::Microsoft::UI::Xaml::Media::IXamlCompositionBrushBase, winrt::Microsoft::UI::Xaml::Media::IBrush, winrt::Microsoft::UI::Composition::IAnimationObject, winrt::Microsoft::UI::Xaml::IDependencyObject>, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Media::IXamlCompositionBrushBaseOverridesT< D>, winrt::Microsoft::UI::Xaml::Media::IBrushOverridesT { using composable = XamlCompositionBrushBase; friend impl::consume_t< D, winrt::Microsoft::UI::Xaml::Media::IXamlCompositionBrushBaseProtected>; friend impl::require_one< D, winrt::Microsoft::UI::Xaml::Media::IXamlCompositionBrushBaseProtected>; friend impl::produce< D, winrt::Microsoft::UI::Xaml::Media::IXamlCompositionBrushBaseOverrides>; friend impl::produce; protected: XamlCompositionBrushBaseT() { impl::call_factory( [&](IXamlCompositionBrushBaseFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct XamlLightT : implements, impl::require, protected impl::require< D, winrt::Microsoft::UI::Xaml::Media::IXamlLightProtected>, impl::base, winrt::Microsoft::UI::Xaml::Media::IXamlLightOverridesT { using composable = XamlLight; friend impl::consume_t< D, winrt::Microsoft::UI::Xaml::Media::IXamlLightProtected>; friend impl::require_one< D, winrt::Microsoft::UI::Xaml::Media::IXamlLightProtected>; friend impl::produce< D, winrt::Microsoft::UI::Xaml::Media::IXamlLightOverrides>; protected: XamlLightT() { impl::call_factory( [&](IXamlLightFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; } namespace std { #ifndef WINRT_LEAN_AND_MEAN template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::ILoadedImageSourceLoadCompletedEventArgs> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::IPolyQuadraticBezierSegmentStatics> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::IXamlCompositionBrushBaseOverrides> : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::IXamlCompositionBrushBaseProtected> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base { }; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash< winrt::Microsoft::UI::Xaml::Media::LoadedImageSourceLoadCompletedEventArgs> : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; template <> struct hash : winrt::impl::hash_base {}; #endif #ifdef __cpp_lib_format #endif } // namespace std #endif