// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #pragma once #ifndef WINRT_Windows_UI_Xaml_Media_H #define WINRT_Windows_UI_Xaml_Media_H #include "winrt/base.h" static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.240405.15"), "Mismatched C++/WinRT headers."); #define CPPWINRT_VERSION "2.0.240405.15" #include "winrt/Windows.UI.Xaml.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Media.Playback.2.h" #include "winrt/impl/Windows.Storage.Streams.2.h" #include "winrt/impl/Windows.UI.2.h" #include "winrt/impl/Windows.UI.Composition.2.h" #include "winrt/impl/Windows.UI.Xaml.2.h" #include "winrt/impl/Windows.UI.Xaml.Controls.Primitives.2.h" #include "winrt/impl/Windows.UI.Xaml.Media.Media3D.2.h" #include "winrt/impl/Windows.UI.Xaml.Media.2.h" namespace winrt::impl { template auto consume_Windows_UI_Xaml_Media_IAcrylicBrush::BackgroundSource() const { winrt::Windows::UI::Xaml::Media::AcrylicBackgroundSource value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrush)->get_BackgroundSource(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Media_IAcrylicBrush::BackgroundSource(winrt::Windows::UI::Xaml::Media::AcrylicBackgroundSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrush)->put_BackgroundSource(static_cast(value))); } template auto consume_Windows_UI_Xaml_Media_IAcrylicBrush::TintColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrush)->get_TintColor(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Media_IAcrylicBrush::TintColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrush)->put_TintColor(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Media_IAcrylicBrush::TintOpacity() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrush)->get_TintOpacity(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_IAcrylicBrush::TintOpacity(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrush)->put_TintOpacity(value)); } template auto consume_Windows_UI_Xaml_Media_IAcrylicBrush::TintTransitionDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrush)->get_TintTransitionDuration(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Media_IAcrylicBrush::TintTransitionDuration(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrush)->put_TintTransitionDuration(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Media_IAcrylicBrush::AlwaysUseFallback() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrush)->get_AlwaysUseFallback(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_IAcrylicBrush::AlwaysUseFallback(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrush)->put_AlwaysUseFallback(value)); } template auto consume_Windows_UI_Xaml_Media_IAcrylicBrush2::TintLuminosityOpacity() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrush2)->get_TintLuminosityOpacity(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IAcrylicBrush2::TintLuminosityOpacity(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrush2)->put_TintLuminosityOpacity(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Media_IAcrylicBrushFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrushFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::AcrylicBrush{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IAcrylicBrushStatics::BackgroundSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrushStatics)->get_BackgroundSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IAcrylicBrushStatics::TintColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrushStatics)->get_TintColorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IAcrylicBrushStatics::TintOpacityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrushStatics)->get_TintOpacityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IAcrylicBrushStatics::TintTransitionDurationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrushStatics)->get_TintTransitionDurationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IAcrylicBrushStatics::AlwaysUseFallbackProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrushStatics)->get_AlwaysUseFallbackProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IAcrylicBrushStatics2::TintLuminosityOpacityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IAcrylicBrushStatics2)->get_TintLuminosityOpacityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IArcSegment::Point() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegment)->get_Point(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Media_IArcSegment::Point(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegment)->put_Point(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Media_IArcSegment::Size() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegment)->get_Size(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Media_IArcSegment::Size(winrt::Windows::Foundation::Size const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegment)->put_Size(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Media_IArcSegment::RotationAngle() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegment)->get_RotationAngle(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_IArcSegment::RotationAngle(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegment)->put_RotationAngle(value)); } template auto consume_Windows_UI_Xaml_Media_IArcSegment::IsLargeArc() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegment)->get_IsLargeArc(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_IArcSegment::IsLargeArc(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegment)->put_IsLargeArc(value)); } template auto consume_Windows_UI_Xaml_Media_IArcSegment::SweepDirection() const { winrt::Windows::UI::Xaml::Media::SweepDirection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegment)->get_SweepDirection(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Media_IArcSegment::SweepDirection(winrt::Windows::UI::Xaml::Media::SweepDirection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegment)->put_SweepDirection(static_cast(value))); } template auto consume_Windows_UI_Xaml_Media_IArcSegmentStatics::PointProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegmentStatics)->get_PointProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IArcSegmentStatics::SizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegmentStatics)->get_SizeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IArcSegmentStatics::RotationAngleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegmentStatics)->get_RotationAngleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IArcSegmentStatics::IsLargeArcProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegmentStatics)->get_IsLargeArcProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IArcSegmentStatics::SweepDirectionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IArcSegmentStatics)->get_SweepDirectionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IBezierSegment::Point1() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBezierSegment)->get_Point1(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Media_IBezierSegment::Point1(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBezierSegment)->put_Point1(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Media_IBezierSegment::Point2() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBezierSegment)->get_Point2(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Media_IBezierSegment::Point2(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBezierSegment)->put_Point2(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Media_IBezierSegment::Point3() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBezierSegment)->get_Point3(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Media_IBezierSegment::Point3(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBezierSegment)->put_Point3(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Media_IBezierSegmentStatics::Point1Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBezierSegmentStatics)->get_Point1Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IBezierSegmentStatics::Point2Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBezierSegmentStatics)->get_Point2Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IBezierSegmentStatics::Point3Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBezierSegmentStatics)->get_Point3Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IBrush::Opacity() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBrush)->get_Opacity(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_IBrush::Opacity(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBrush)->put_Opacity(value)); } template auto consume_Windows_UI_Xaml_Media_IBrush::Transform() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBrush)->get_Transform(&value)); return winrt::Windows::UI::Xaml::Media::Transform{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IBrush::Transform(winrt::Windows::UI::Xaml::Media::Transform const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBrush)->put_Transform(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Media_IBrush::RelativeTransform() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBrush)->get_RelativeTransform(&value)); return winrt::Windows::UI::Xaml::Media::Transform{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IBrush::RelativeTransform(winrt::Windows::UI::Xaml::Media::Transform const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBrush)->put_RelativeTransform(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Media_IBrushFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBrushFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IBrushOverrides2::PopulatePropertyInfoOverride(param::hstring const& propertyName, winrt::Windows::UI::Composition::AnimationPropertyInfo const& animationPropertyInfo) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBrushOverrides2)->PopulatePropertyInfoOverride(*(void**)(&propertyName), *(void**)(&animationPropertyInfo))); } template auto consume_Windows_UI_Xaml_Media_IBrushStatics::OpacityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBrushStatics)->get_OpacityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IBrushStatics::TransformProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBrushStatics)->get_TransformProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IBrushStatics::RelativeTransformProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IBrushStatics)->get_RelativeTransformProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ICacheModeFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICacheModeFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::CacheMode{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::CenterX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->get_CenterX(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::CenterX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->put_CenterX(value)); } template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::CenterY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->get_CenterY(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::CenterY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->put_CenterY(value)); } template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::ScaleX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->get_ScaleX(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::ScaleX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->put_ScaleX(value)); } template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::ScaleY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->get_ScaleY(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::ScaleY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->put_ScaleY(value)); } template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::SkewX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->get_SkewX(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::SkewX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->put_SkewX(value)); } template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::SkewY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->get_SkewY(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::SkewY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->put_SkewY(value)); } template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::Rotation() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->get_Rotation(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::Rotation(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->put_Rotation(value)); } template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::TranslateX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->get_TranslateX(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::TranslateX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->put_TranslateX(value)); } template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::TranslateY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->get_TranslateY(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_ICompositeTransform::TranslateY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransform)->put_TranslateY(value)); } template auto consume_Windows_UI_Xaml_Media_ICompositeTransformStatics::CenterXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransformStatics)->get_CenterXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ICompositeTransformStatics::CenterYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransformStatics)->get_CenterYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ICompositeTransformStatics::ScaleXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransformStatics)->get_ScaleXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ICompositeTransformStatics::ScaleYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransformStatics)->get_ScaleYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ICompositeTransformStatics::SkewXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransformStatics)->get_SkewXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ICompositeTransformStatics::SkewYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransformStatics)->get_SkewYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ICompositeTransformStatics::RotationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransformStatics)->get_RotationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ICompositeTransformStatics::TranslateXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransformStatics)->get_TranslateXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ICompositeTransformStatics::TranslateYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositeTransformStatics)->get_TranslateYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ICompositionTargetStatics::Rendering(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositionTargetStatics)->add_Rendering(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Media_ICompositionTargetStatics::Rendering(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, Rendering(handler)); } template auto consume_Windows_UI_Xaml_Media_ICompositionTargetStatics::Rendering(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositionTargetStatics)->remove_Rendering(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Media_ICompositionTargetStatics::SurfaceContentsLost(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositionTargetStatics)->add_SurfaceContentsLost(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Media_ICompositionTargetStatics::SurfaceContentsLost(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, SurfaceContentsLost(handler)); } template auto consume_Windows_UI_Xaml_Media_ICompositionTargetStatics::SurfaceContentsLost(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositionTargetStatics)->remove_SurfaceContentsLost(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Media_ICompositionTargetStatics3::Rendered(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositionTargetStatics3)->add_Rendered(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Media_ICompositionTargetStatics3::Rendered(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, Rendered(handler)); } template auto consume_Windows_UI_Xaml_Media_ICompositionTargetStatics3::Rendered(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ICompositionTargetStatics3)->remove_Rendered(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Media_IEllipseGeometry::Center() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IEllipseGeometry)->get_Center(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Media_IEllipseGeometry::Center(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IEllipseGeometry)->put_Center(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Media_IEllipseGeometry::RadiusX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IEllipseGeometry)->get_RadiusX(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_IEllipseGeometry::RadiusX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IEllipseGeometry)->put_RadiusX(value)); } template auto consume_Windows_UI_Xaml_Media_IEllipseGeometry::RadiusY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IEllipseGeometry)->get_RadiusY(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_IEllipseGeometry::RadiusY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IEllipseGeometry)->put_RadiusY(value)); } template auto consume_Windows_UI_Xaml_Media_IEllipseGeometryStatics::CenterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IEllipseGeometryStatics)->get_CenterProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IEllipseGeometryStatics::RadiusXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IEllipseGeometryStatics)->get_RadiusXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IEllipseGeometryStatics::RadiusYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IEllipseGeometryStatics)->get_RadiusYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IFontFamily::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IFontFamily)->get_Source(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IFontFamilyFactory::CreateInstanceWithName(param::hstring const& familyName, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IFontFamilyFactory)->CreateInstanceWithName(*(void**)(&familyName), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::FontFamily{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IFontFamilyStatics2::XamlAutoFontFamily() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IFontFamilyStatics2)->get_XamlAutoFontFamily(&value)); return winrt::Windows::UI::Xaml::Media::FontFamily{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IGeneralTransform::Inverse() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeneralTransform)->get_Inverse(&value)); return winrt::Windows::UI::Xaml::Media::GeneralTransform{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IGeneralTransform::TransformPoint(winrt::Windows::Foundation::Point const& point) const { winrt::Windows::Foundation::Point result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeneralTransform)->TransformPoint(impl::bind_in(point), put_abi(result))); return result; } template auto consume_Windows_UI_Xaml_Media_IGeneralTransform::TryTransform(winrt::Windows::Foundation::Point const& inPoint, winrt::Windows::Foundation::Point& outPoint) const { bool returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeneralTransform)->TryTransform(impl::bind_in(inPoint), impl::bind_out(outPoint), &returnValue)); return returnValue; } template auto consume_Windows_UI_Xaml_Media_IGeneralTransform::TransformBounds(winrt::Windows::Foundation::Rect const& rect) const { winrt::Windows::Foundation::Rect result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeneralTransform)->TransformBounds(impl::bind_in(rect), put_abi(result))); return result; } template auto consume_Windows_UI_Xaml_Media_IGeneralTransformFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeneralTransformFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::GeneralTransform{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IGeneralTransformOverrides::InverseCore() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeneralTransformOverrides)->get_InverseCore(&value)); return winrt::Windows::UI::Xaml::Media::GeneralTransform{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IGeneralTransformOverrides::TryTransformCore(winrt::Windows::Foundation::Point const& inPoint, winrt::Windows::Foundation::Point& outPoint) const { bool returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeneralTransformOverrides)->TryTransformCore(impl::bind_in(inPoint), impl::bind_out(outPoint), &returnValue)); return returnValue; } template auto consume_Windows_UI_Xaml_Media_IGeneralTransformOverrides::TransformBoundsCore(winrt::Windows::Foundation::Rect const& rect) const { winrt::Windows::Foundation::Rect result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeneralTransformOverrides)->TransformBoundsCore(impl::bind_in(rect), put_abi(result))); return result; } template auto consume_Windows_UI_Xaml_Media_IGeometry::Transform() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeometry)->get_Transform(&value)); return winrt::Windows::UI::Xaml::Media::Transform{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IGeometry::Transform(winrt::Windows::UI::Xaml::Media::Transform const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeometry)->put_Transform(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Media_IGeometry::Bounds() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeometry)->get_Bounds(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Media_IGeometryGroup::FillRule() const { winrt::Windows::UI::Xaml::Media::FillRule value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeometryGroup)->get_FillRule(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Media_IGeometryGroup::FillRule(winrt::Windows::UI::Xaml::Media::FillRule const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeometryGroup)->put_FillRule(static_cast(value))); } template auto consume_Windows_UI_Xaml_Media_IGeometryGroup::Children() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeometryGroup)->get_Children(&value)); return winrt::Windows::UI::Xaml::Media::GeometryCollection{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IGeometryGroup::Children(winrt::Windows::UI::Xaml::Media::GeometryCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeometryGroup)->put_Children(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Media_IGeometryGroupStatics::FillRuleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeometryGroupStatics)->get_FillRuleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IGeometryGroupStatics::ChildrenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeometryGroupStatics)->get_ChildrenProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IGeometryStatics::Empty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeometryStatics)->get_Empty(&value)); return winrt::Windows::UI::Xaml::Media::Geometry{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IGeometryStatics::StandardFlatteningTolerance() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeometryStatics)->get_StandardFlatteningTolerance(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_IGeometryStatics::TransformProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGeometryStatics)->get_TransformProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IGradientBrush::SpreadMethod() const { winrt::Windows::UI::Xaml::Media::GradientSpreadMethod value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientBrush)->get_SpreadMethod(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Media_IGradientBrush::SpreadMethod(winrt::Windows::UI::Xaml::Media::GradientSpreadMethod const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientBrush)->put_SpreadMethod(static_cast(value))); } template auto consume_Windows_UI_Xaml_Media_IGradientBrush::MappingMode() const { winrt::Windows::UI::Xaml::Media::BrushMappingMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientBrush)->get_MappingMode(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Media_IGradientBrush::MappingMode(winrt::Windows::UI::Xaml::Media::BrushMappingMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientBrush)->put_MappingMode(static_cast(value))); } template auto consume_Windows_UI_Xaml_Media_IGradientBrush::ColorInterpolationMode() const { winrt::Windows::UI::Xaml::Media::ColorInterpolationMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientBrush)->get_ColorInterpolationMode(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Media_IGradientBrush::ColorInterpolationMode(winrt::Windows::UI::Xaml::Media::ColorInterpolationMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientBrush)->put_ColorInterpolationMode(static_cast(value))); } template auto consume_Windows_UI_Xaml_Media_IGradientBrush::GradientStops() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientBrush)->get_GradientStops(&value)); return winrt::Windows::UI::Xaml::Media::GradientStopCollection{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IGradientBrush::GradientStops(winrt::Windows::UI::Xaml::Media::GradientStopCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientBrush)->put_GradientStops(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Media_IGradientBrushFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientBrushFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::GradientBrush{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IGradientBrushStatics::SpreadMethodProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientBrushStatics)->get_SpreadMethodProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IGradientBrushStatics::MappingModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientBrushStatics)->get_MappingModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IGradientBrushStatics::ColorInterpolationModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientBrushStatics)->get_ColorInterpolationModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IGradientBrushStatics::GradientStopsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientBrushStatics)->get_GradientStopsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IGradientStop::Color() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientStop)->get_Color(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Media_IGradientStop::Color(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientStop)->put_Color(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Media_IGradientStop::Offset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientStop)->get_Offset(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_IGradientStop::Offset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientStop)->put_Offset(value)); } template auto consume_Windows_UI_Xaml_Media_IGradientStopStatics::ColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientStopStatics)->get_ColorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IGradientStopStatics::OffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IGradientStopStatics)->get_OffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IImageBrush::ImageSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IImageBrush)->get_ImageSource(&value)); return winrt::Windows::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IImageBrush::ImageSource(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IImageBrush)->put_ImageSource(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Media_IImageBrush::ImageFailed(winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IImageBrush)->add_ImageFailed(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Media_IImageBrush::ImageFailed(auto_revoke_t, winrt::Windows::UI::Xaml::ExceptionRoutedEventHandler const& handler) const { return impl::make_event_revoker(this, ImageFailed(handler)); } template auto consume_Windows_UI_Xaml_Media_IImageBrush::ImageFailed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IImageBrush)->remove_ImageFailed(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Media_IImageBrush::ImageOpened(winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IImageBrush)->add_ImageOpened(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Media_IImageBrush::ImageOpened(auto_revoke_t, winrt::Windows::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, ImageOpened(handler)); } template auto consume_Windows_UI_Xaml_Media_IImageBrush::ImageOpened(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IImageBrush)->remove_ImageOpened(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Media_IImageBrushStatics::ImageSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IImageBrushStatics)->get_ImageSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ILineGeometry::StartPoint() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILineGeometry)->get_StartPoint(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Media_ILineGeometry::StartPoint(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILineGeometry)->put_StartPoint(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Media_ILineGeometry::EndPoint() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILineGeometry)->get_EndPoint(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Media_ILineGeometry::EndPoint(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILineGeometry)->put_EndPoint(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Media_ILineGeometryStatics::StartPointProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILineGeometryStatics)->get_StartPointProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ILineGeometryStatics::EndPointProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILineGeometryStatics)->get_EndPointProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ILineSegment::Point() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILineSegment)->get_Point(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Media_ILineSegment::Point(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILineSegment)->put_Point(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Media_ILineSegmentStatics::PointProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILineSegmentStatics)->get_PointProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ILinearGradientBrush::StartPoint() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILinearGradientBrush)->get_StartPoint(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Media_ILinearGradientBrush::StartPoint(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILinearGradientBrush)->put_StartPoint(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Media_ILinearGradientBrush::EndPoint() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILinearGradientBrush)->get_EndPoint(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Media_ILinearGradientBrush::EndPoint(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILinearGradientBrush)->put_EndPoint(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Media_ILinearGradientBrushFactory::CreateInstanceWithGradientStopCollectionAndAngle(winrt::Windows::UI::Xaml::Media::GradientStopCollection const& gradientStopCollection, double angle) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILinearGradientBrushFactory)->CreateInstanceWithGradientStopCollectionAndAngle(*(void**)(&gradientStopCollection), angle, &value)); return winrt::Windows::UI::Xaml::Media::LinearGradientBrush{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ILinearGradientBrushStatics::StartPointProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILinearGradientBrushStatics)->get_StartPointProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ILinearGradientBrushStatics::EndPointProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILinearGradientBrushStatics)->get_EndPointProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ILoadedImageSourceLoadCompletedEventArgs::Status() const { winrt::Windows::UI::Xaml::Media::LoadedImageSourceLoadStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILoadedImageSourceLoadCompletedEventArgs)->get_Status(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Media_ILoadedImageSurface::DecodedPhysicalSize() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILoadedImageSurface)->get_DecodedPhysicalSize(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Media_ILoadedImageSurface::DecodedSize() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILoadedImageSurface)->get_DecodedSize(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Media_ILoadedImageSurface::NaturalSize() const { winrt::Windows::Foundation::Size value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILoadedImageSurface)->get_NaturalSize(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Media_ILoadedImageSurface::LoadCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILoadedImageSurface)->add_LoadCompleted(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Media_ILoadedImageSurface::LoadCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, LoadCompleted(handler)); } template auto consume_Windows_UI_Xaml_Media_ILoadedImageSurface::LoadCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILoadedImageSurface)->remove_LoadCompleted(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Media_ILoadedImageSurfaceStatics::StartLoadFromUri(winrt::Windows::Foundation::Uri const& uri, winrt::Windows::Foundation::Size const& desiredMaxSize) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILoadedImageSurfaceStatics)->StartLoadFromUriWithSize(*(void**)(&uri), impl::bind_in(desiredMaxSize), &result)); return winrt::Windows::UI::Xaml::Media::LoadedImageSurface{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ILoadedImageSurfaceStatics::StartLoadFromUri(winrt::Windows::Foundation::Uri const& uri) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILoadedImageSurfaceStatics)->StartLoadFromUri(*(void**)(&uri), &result)); return winrt::Windows::UI::Xaml::Media::LoadedImageSurface{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ILoadedImageSurfaceStatics::StartLoadFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream, winrt::Windows::Foundation::Size const& desiredMaxSize) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILoadedImageSurfaceStatics)->StartLoadFromStreamWithSize(*(void**)(&stream), impl::bind_in(desiredMaxSize), &result)); return winrt::Windows::UI::Xaml::Media::LoadedImageSurface{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ILoadedImageSurfaceStatics::StartLoadFromStream(winrt::Windows::Storage::Streams::IRandomAccessStream const& stream) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ILoadedImageSurfaceStatics)->StartLoadFromStream(*(void**)(&stream), &result)); return winrt::Windows::UI::Xaml::Media::LoadedImageSurface{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IMatrix3DProjection::ProjectionMatrix() const { winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IMatrix3DProjection)->get_ProjectionMatrix(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Media_IMatrix3DProjection::ProjectionMatrix(winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IMatrix3DProjection)->put_ProjectionMatrix(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Media_IMatrix3DProjectionStatics::ProjectionMatrixProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IMatrix3DProjectionStatics)->get_ProjectionMatrixProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IMatrixHelperStatics::Identity() const { winrt::Windows::UI::Xaml::Media::Matrix value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IMatrixHelperStatics)->get_Identity(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Media_IMatrixHelperStatics::FromElements(double m11, double m12, double m21, double m22, double offsetX, double offsetY) const { winrt::Windows::UI::Xaml::Media::Matrix result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IMatrixHelperStatics)->FromElements(m11, m12, m21, m22, offsetX, offsetY, put_abi(result))); return result; } template auto consume_Windows_UI_Xaml_Media_IMatrixHelperStatics::GetIsIdentity(winrt::Windows::UI::Xaml::Media::Matrix const& target) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IMatrixHelperStatics)->GetIsIdentity(impl::bind_in(target), &result)); return result; } template auto consume_Windows_UI_Xaml_Media_IMatrixHelperStatics::Transform(winrt::Windows::UI::Xaml::Media::Matrix const& target, winrt::Windows::Foundation::Point const& point) const { winrt::Windows::Foundation::Point result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IMatrixHelperStatics)->Transform(impl::bind_in(target), impl::bind_in(point), put_abi(result))); return result; } template auto consume_Windows_UI_Xaml_Media_IMatrixTransform::Matrix() const { winrt::Windows::UI::Xaml::Media::Matrix value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IMatrixTransform)->get_Matrix(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Media_IMatrixTransform::Matrix(winrt::Windows::UI::Xaml::Media::Matrix const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IMatrixTransform)->put_Matrix(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Media_IMatrixTransformStatics::MatrixProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IMatrixTransformStatics)->get_MatrixProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IMediaTransportControlsThumbnailRequestedEventArgs::SetThumbnailImage(winrt::Windows::Storage::Streams::IInputStream const& source) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IMediaTransportControlsThumbnailRequestedEventArgs)->SetThumbnailImage(*(void**)(&source))); } template auto consume_Windows_UI_Xaml_Media_IMediaTransportControlsThumbnailRequestedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IMediaTransportControlsThumbnailRequestedEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IPartialMediaFailureDetectedEventArgs::StreamKind() const { winrt::Windows::Media::Playback::FailedMediaStreamKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPartialMediaFailureDetectedEventArgs)->get_StreamKind(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Media_IPartialMediaFailureDetectedEventArgs2::ExtendedError() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPartialMediaFailureDetectedEventArgs2)->get_ExtendedError(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Media_IPathFigure::Segments() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathFigure)->get_Segments(&value)); return winrt::Windows::UI::Xaml::Media::PathSegmentCollection{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IPathFigure::Segments(winrt::Windows::UI::Xaml::Media::PathSegmentCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathFigure)->put_Segments(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Media_IPathFigure::StartPoint() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathFigure)->get_StartPoint(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Media_IPathFigure::StartPoint(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathFigure)->put_StartPoint(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Media_IPathFigure::IsClosed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathFigure)->get_IsClosed(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_IPathFigure::IsClosed(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathFigure)->put_IsClosed(value)); } template auto consume_Windows_UI_Xaml_Media_IPathFigure::IsFilled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathFigure)->get_IsFilled(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_IPathFigure::IsFilled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathFigure)->put_IsFilled(value)); } template auto consume_Windows_UI_Xaml_Media_IPathFigureStatics::SegmentsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathFigureStatics)->get_SegmentsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IPathFigureStatics::StartPointProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathFigureStatics)->get_StartPointProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IPathFigureStatics::IsClosedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathFigureStatics)->get_IsClosedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IPathFigureStatics::IsFilledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathFigureStatics)->get_IsFilledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IPathGeometry::FillRule() const { winrt::Windows::UI::Xaml::Media::FillRule value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathGeometry)->get_FillRule(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Media_IPathGeometry::FillRule(winrt::Windows::UI::Xaml::Media::FillRule const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathGeometry)->put_FillRule(static_cast(value))); } template auto consume_Windows_UI_Xaml_Media_IPathGeometry::Figures() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathGeometry)->get_Figures(&value)); return winrt::Windows::UI::Xaml::Media::PathFigureCollection{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IPathGeometry::Figures(winrt::Windows::UI::Xaml::Media::PathFigureCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathGeometry)->put_Figures(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Media_IPathGeometryStatics::FillRuleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathGeometryStatics)->get_FillRuleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IPathGeometryStatics::FiguresProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPathGeometryStatics)->get_FiguresProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::LocalOffsetX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_LocalOffsetX(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::LocalOffsetX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_LocalOffsetX(value)); } template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::LocalOffsetY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_LocalOffsetY(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::LocalOffsetY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_LocalOffsetY(value)); } template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::LocalOffsetZ() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_LocalOffsetZ(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::LocalOffsetZ(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_LocalOffsetZ(value)); } template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::RotationX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_RotationX(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::RotationX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_RotationX(value)); } template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::RotationY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_RotationY(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::RotationY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_RotationY(value)); } template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::RotationZ() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_RotationZ(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::RotationZ(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_RotationZ(value)); } template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::CenterOfRotationX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_CenterOfRotationX(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::CenterOfRotationX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_CenterOfRotationX(value)); } template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::CenterOfRotationY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_CenterOfRotationY(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::CenterOfRotationY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_CenterOfRotationY(value)); } template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::CenterOfRotationZ() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_CenterOfRotationZ(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::CenterOfRotationZ(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_CenterOfRotationZ(value)); } template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::GlobalOffsetX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_GlobalOffsetX(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::GlobalOffsetX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_GlobalOffsetX(value)); } template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::GlobalOffsetY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_GlobalOffsetY(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::GlobalOffsetY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_GlobalOffsetY(value)); } template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::GlobalOffsetZ() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_GlobalOffsetZ(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::GlobalOffsetZ(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->put_GlobalOffsetZ(value)); } template auto consume_Windows_UI_Xaml_Media_IPlaneProjection::ProjectionMatrix() const { winrt::Windows::UI::Xaml::Media::Media3D::Matrix3D value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjection)->get_ProjectionMatrix(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::LocalOffsetXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjectionStatics)->get_LocalOffsetXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::LocalOffsetYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjectionStatics)->get_LocalOffsetYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::LocalOffsetZProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjectionStatics)->get_LocalOffsetZProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::RotationXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjectionStatics)->get_RotationXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::RotationYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjectionStatics)->get_RotationYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::RotationZProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjectionStatics)->get_RotationZProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::CenterOfRotationXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjectionStatics)->get_CenterOfRotationXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::CenterOfRotationYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjectionStatics)->get_CenterOfRotationYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::CenterOfRotationZProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjectionStatics)->get_CenterOfRotationZProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::GlobalOffsetXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjectionStatics)->get_GlobalOffsetXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::GlobalOffsetYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjectionStatics)->get_GlobalOffsetYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::GlobalOffsetZProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjectionStatics)->get_GlobalOffsetZProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IPlaneProjectionStatics::ProjectionMatrixProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPlaneProjectionStatics)->get_ProjectionMatrixProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IPolyBezierSegment::Points() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPolyBezierSegment)->get_Points(&value)); return winrt::Windows::UI::Xaml::Media::PointCollection{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IPolyBezierSegment::Points(winrt::Windows::UI::Xaml::Media::PointCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPolyBezierSegment)->put_Points(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Media_IPolyBezierSegmentStatics::PointsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPolyBezierSegmentStatics)->get_PointsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IPolyLineSegment::Points() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPolyLineSegment)->get_Points(&value)); return winrt::Windows::UI::Xaml::Media::PointCollection{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IPolyLineSegment::Points(winrt::Windows::UI::Xaml::Media::PointCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPolyLineSegment)->put_Points(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Media_IPolyLineSegmentStatics::PointsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPolyLineSegmentStatics)->get_PointsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IPolyQuadraticBezierSegment::Points() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPolyQuadraticBezierSegment)->get_Points(&value)); return winrt::Windows::UI::Xaml::Media::PointCollection{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IPolyQuadraticBezierSegment::Points(winrt::Windows::UI::Xaml::Media::PointCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPolyQuadraticBezierSegment)->put_Points(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Media_IPolyQuadraticBezierSegmentStatics::PointsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IPolyQuadraticBezierSegmentStatics)->get_PointsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IProjectionFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IProjectionFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::Projection{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IQuadraticBezierSegment::Point1() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IQuadraticBezierSegment)->get_Point1(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Media_IQuadraticBezierSegment::Point1(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IQuadraticBezierSegment)->put_Point1(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Media_IQuadraticBezierSegment::Point2() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IQuadraticBezierSegment)->get_Point2(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Media_IQuadraticBezierSegment::Point2(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IQuadraticBezierSegment)->put_Point2(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Media_IQuadraticBezierSegmentStatics::Point1Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IQuadraticBezierSegmentStatics)->get_Point1Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IQuadraticBezierSegmentStatics::Point2Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IQuadraticBezierSegmentStatics)->get_Point2Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IRectangleGeometry::Rect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRectangleGeometry)->get_Rect(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Media_IRectangleGeometry::Rect(winrt::Windows::Foundation::Rect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRectangleGeometry)->put_Rect(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Media_IRectangleGeometryStatics::RectProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRectangleGeometryStatics)->get_RectProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IRenderedEventArgs::FrameDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRenderedEventArgs)->get_FrameDuration(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Media_IRenderingEventArgs::RenderingTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRenderingEventArgs)->get_RenderingTime(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Media_IRevealBackgroundBrushFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRevealBackgroundBrushFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::RevealBackgroundBrush{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IRevealBorderBrushFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRevealBorderBrushFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::RevealBorderBrush{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IRevealBrush::Color() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRevealBrush)->get_Color(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Media_IRevealBrush::Color(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRevealBrush)->put_Color(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Media_IRevealBrush::TargetTheme() const { winrt::Windows::UI::Xaml::ApplicationTheme value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRevealBrush)->get_TargetTheme(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Media_IRevealBrush::TargetTheme(winrt::Windows::UI::Xaml::ApplicationTheme const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRevealBrush)->put_TargetTheme(static_cast(value))); } template auto consume_Windows_UI_Xaml_Media_IRevealBrush::AlwaysUseFallback() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRevealBrush)->get_AlwaysUseFallback(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_IRevealBrush::AlwaysUseFallback(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRevealBrush)->put_AlwaysUseFallback(value)); } template auto consume_Windows_UI_Xaml_Media_IRevealBrushFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRevealBrushFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::RevealBrush{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IRevealBrushStatics::ColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRevealBrushStatics)->get_ColorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IRevealBrushStatics::TargetThemeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRevealBrushStatics)->get_TargetThemeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IRevealBrushStatics::AlwaysUseFallbackProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRevealBrushStatics)->get_AlwaysUseFallbackProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IRevealBrushStatics::StateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRevealBrushStatics)->get_StateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IRevealBrushStatics::SetState(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::UI::Xaml::Media::RevealBrushState const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRevealBrushStatics)->SetState(*(void**)(&element), static_cast(value))); } template auto consume_Windows_UI_Xaml_Media_IRevealBrushStatics::GetState(winrt::Windows::UI::Xaml::UIElement const& element) const { winrt::Windows::UI::Xaml::Media::RevealBrushState result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRevealBrushStatics)->GetState(*(void**)(&element), reinterpret_cast(&result))); return result; } template auto consume_Windows_UI_Xaml_Media_IRotateTransform::CenterX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRotateTransform)->get_CenterX(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_IRotateTransform::CenterX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRotateTransform)->put_CenterX(value)); } template auto consume_Windows_UI_Xaml_Media_IRotateTransform::CenterY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRotateTransform)->get_CenterY(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_IRotateTransform::CenterY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRotateTransform)->put_CenterY(value)); } template auto consume_Windows_UI_Xaml_Media_IRotateTransform::Angle() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRotateTransform)->get_Angle(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_IRotateTransform::Angle(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRotateTransform)->put_Angle(value)); } template auto consume_Windows_UI_Xaml_Media_IRotateTransformStatics::CenterXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRotateTransformStatics)->get_CenterXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IRotateTransformStatics::CenterYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRotateTransformStatics)->get_CenterYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IRotateTransformStatics::AngleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IRotateTransformStatics)->get_AngleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IScaleTransform::CenterX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IScaleTransform)->get_CenterX(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_IScaleTransform::CenterX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IScaleTransform)->put_CenterX(value)); } template auto consume_Windows_UI_Xaml_Media_IScaleTransform::CenterY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IScaleTransform)->get_CenterY(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_IScaleTransform::CenterY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IScaleTransform)->put_CenterY(value)); } template auto consume_Windows_UI_Xaml_Media_IScaleTransform::ScaleX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IScaleTransform)->get_ScaleX(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_IScaleTransform::ScaleX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IScaleTransform)->put_ScaleX(value)); } template auto consume_Windows_UI_Xaml_Media_IScaleTransform::ScaleY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IScaleTransform)->get_ScaleY(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_IScaleTransform::ScaleY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IScaleTransform)->put_ScaleY(value)); } template auto consume_Windows_UI_Xaml_Media_IScaleTransformStatics::CenterXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IScaleTransformStatics)->get_CenterXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IScaleTransformStatics::CenterYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IScaleTransformStatics)->get_CenterYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IScaleTransformStatics::ScaleXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IScaleTransformStatics)->get_ScaleXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IScaleTransformStatics::ScaleYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IScaleTransformStatics)->get_ScaleYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ISkewTransform::CenterX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISkewTransform)->get_CenterX(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_ISkewTransform::CenterX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISkewTransform)->put_CenterX(value)); } template auto consume_Windows_UI_Xaml_Media_ISkewTransform::CenterY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISkewTransform)->get_CenterY(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_ISkewTransform::CenterY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISkewTransform)->put_CenterY(value)); } template auto consume_Windows_UI_Xaml_Media_ISkewTransform::AngleX() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISkewTransform)->get_AngleX(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_ISkewTransform::AngleX(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISkewTransform)->put_AngleX(value)); } template auto consume_Windows_UI_Xaml_Media_ISkewTransform::AngleY() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISkewTransform)->get_AngleY(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_ISkewTransform::AngleY(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISkewTransform)->put_AngleY(value)); } template auto consume_Windows_UI_Xaml_Media_ISkewTransformStatics::CenterXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISkewTransformStatics)->get_CenterXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ISkewTransformStatics::CenterYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISkewTransformStatics)->get_CenterYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ISkewTransformStatics::AngleXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISkewTransformStatics)->get_AngleXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ISkewTransformStatics::AngleYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISkewTransformStatics)->get_AngleYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ISolidColorBrush::Color() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISolidColorBrush)->get_Color(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Media_ISolidColorBrush::Color(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISolidColorBrush)->put_Color(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Media_ISolidColorBrushFactory::CreateInstanceWithColor(winrt::Windows::UI::Color const& color) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISolidColorBrushFactory)->CreateInstanceWithColor(impl::bind_in(color), &value)); return winrt::Windows::UI::Xaml::Media::SolidColorBrush{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ISolidColorBrushStatics::ColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ISolidColorBrushStatics)->get_ColorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IThemeShadow::Receivers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IThemeShadow)->get_Receivers(&value)); return winrt::Windows::UI::Xaml::UIElementWeakCollection{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IThemeShadowFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IThemeShadowFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::ThemeShadow{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ITileBrush::AlignmentX() const { winrt::Windows::UI::Xaml::Media::AlignmentX value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITileBrush)->get_AlignmentX(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Media_ITileBrush::AlignmentX(winrt::Windows::UI::Xaml::Media::AlignmentX const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITileBrush)->put_AlignmentX(static_cast(value))); } template auto consume_Windows_UI_Xaml_Media_ITileBrush::AlignmentY() const { winrt::Windows::UI::Xaml::Media::AlignmentY value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITileBrush)->get_AlignmentY(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Media_ITileBrush::AlignmentY(winrt::Windows::UI::Xaml::Media::AlignmentY const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITileBrush)->put_AlignmentY(static_cast(value))); } template auto consume_Windows_UI_Xaml_Media_ITileBrush::Stretch() const { winrt::Windows::UI::Xaml::Media::Stretch value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITileBrush)->get_Stretch(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Media_ITileBrush::Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITileBrush)->put_Stretch(static_cast(value))); } template auto consume_Windows_UI_Xaml_Media_ITileBrushFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITileBrushFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::TileBrush{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ITileBrushStatics::AlignmentXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITileBrushStatics)->get_AlignmentXProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ITileBrushStatics::AlignmentYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITileBrushStatics)->get_AlignmentYProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ITileBrushStatics::StretchProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITileBrushStatics)->get_StretchProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ITimelineMarker::Time() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITimelineMarker)->get_Time(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Media_ITimelineMarker::Time(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITimelineMarker)->put_Time(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Media_ITimelineMarker::Type() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITimelineMarker)->get_Type(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ITimelineMarker::Type(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITimelineMarker)->put_Type(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Media_ITimelineMarker::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITimelineMarker)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ITimelineMarker::Text(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITimelineMarker)->put_Text(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Media_ITimelineMarkerRoutedEventArgs::Marker() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITimelineMarkerRoutedEventArgs)->get_Marker(&value)); return winrt::Windows::UI::Xaml::Media::TimelineMarker{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ITimelineMarkerRoutedEventArgs::Marker(winrt::Windows::UI::Xaml::Media::TimelineMarker const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITimelineMarkerRoutedEventArgs)->put_Marker(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Media_ITimelineMarkerStatics::TimeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITimelineMarkerStatics)->get_TimeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ITimelineMarkerStatics::TypeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITimelineMarkerStatics)->get_TypeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ITimelineMarkerStatics::TextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITimelineMarkerStatics)->get_TextProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ITransformGroup::Children() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITransformGroup)->get_Children(&value)); return winrt::Windows::UI::Xaml::Media::TransformCollection{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ITransformGroup::Children(winrt::Windows::UI::Xaml::Media::TransformCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITransformGroup)->put_Children(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Media_ITransformGroup::Value() const { winrt::Windows::UI::Xaml::Media::Matrix value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITransformGroup)->get_Value(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Media_ITransformGroupStatics::ChildrenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITransformGroupStatics)->get_ChildrenProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ITranslateTransform::X() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITranslateTransform)->get_X(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_ITranslateTransform::X(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITranslateTransform)->put_X(value)); } template auto consume_Windows_UI_Xaml_Media_ITranslateTransform::Y() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITranslateTransform)->get_Y(&value)); return value; } template auto consume_Windows_UI_Xaml_Media_ITranslateTransform::Y(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITranslateTransform)->put_Y(value)); } template auto consume_Windows_UI_Xaml_Media_ITranslateTransformStatics::XProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITranslateTransformStatics)->get_XProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_ITranslateTransformStatics::YProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::ITranslateTransformStatics)->get_YProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics::FindElementsInHostCoordinates(winrt::Windows::Foundation::Point const& intersectingPoint, winrt::Windows::UI::Xaml::UIElement const& subtree) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IVisualTreeHelperStatics)->FindElementsInHostCoordinatesPoint(impl::bind_in(intersectingPoint), *(void**)(&subtree), &result)); return winrt::Windows::Foundation::Collections::IIterable{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics::FindElementsInHostCoordinates(winrt::Windows::Foundation::Rect const& intersectingRect, winrt::Windows::UI::Xaml::UIElement const& subtree) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IVisualTreeHelperStatics)->FindElementsInHostCoordinatesRect(impl::bind_in(intersectingRect), *(void**)(&subtree), &result)); return winrt::Windows::Foundation::Collections::IIterable{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics::FindElementsInHostCoordinates(winrt::Windows::Foundation::Point const& intersectingPoint, winrt::Windows::UI::Xaml::UIElement const& subtree, bool includeAllElements) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IVisualTreeHelperStatics)->FindAllElementsInHostCoordinatesPoint(impl::bind_in(intersectingPoint), *(void**)(&subtree), includeAllElements, &result)); return winrt::Windows::Foundation::Collections::IIterable{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics::FindElementsInHostCoordinates(winrt::Windows::Foundation::Rect const& intersectingRect, winrt::Windows::UI::Xaml::UIElement const& subtree, bool includeAllElements) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IVisualTreeHelperStatics)->FindAllElementsInHostCoordinatesRect(impl::bind_in(intersectingRect), *(void**)(&subtree), includeAllElements, &result)); return winrt::Windows::Foundation::Collections::IIterable{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics::GetChild(winrt::Windows::UI::Xaml::DependencyObject const& reference, int32_t childIndex) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IVisualTreeHelperStatics)->GetChild(*(void**)(&reference), childIndex, &result)); return winrt::Windows::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics::GetChildrenCount(winrt::Windows::UI::Xaml::DependencyObject const& reference) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IVisualTreeHelperStatics)->GetChildrenCount(*(void**)(&reference), &result)); return result; } template auto consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics::GetParent(winrt::Windows::UI::Xaml::DependencyObject const& reference) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IVisualTreeHelperStatics)->GetParent(*(void**)(&reference), &result)); return winrt::Windows::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics::DisconnectChildrenRecursive(winrt::Windows::UI::Xaml::UIElement const& element) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IVisualTreeHelperStatics)->DisconnectChildrenRecursive(*(void**)(&element))); } template auto consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics2::GetOpenPopups(winrt::Windows::UI::Xaml::Window const& window) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IVisualTreeHelperStatics2)->GetOpenPopups(*(void**)(&window), &result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IVisualTreeHelperStatics3::GetOpenPopupsForXamlRoot(winrt::Windows::UI::Xaml::XamlRoot const& xamlRoot) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IVisualTreeHelperStatics3)->GetOpenPopupsForXamlRoot(*(void**)(&xamlRoot), &result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBase::FallbackColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlCompositionBrushBase)->get_FallbackColor(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBase::FallbackColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlCompositionBrushBase)->put_FallbackColor(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBaseFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlCompositionBrushBaseFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::XamlCompositionBrushBase{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBaseOverrides::OnConnected() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlCompositionBrushBaseOverrides)->OnConnected()); } template auto consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBaseOverrides::OnDisconnected() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlCompositionBrushBaseOverrides)->OnDisconnected()); } template auto consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBaseProtected::CompositionBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlCompositionBrushBaseProtected)->get_CompositionBrush(&value)); return winrt::Windows::UI::Composition::CompositionBrush{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBaseProtected::CompositionBrush(winrt::Windows::UI::Composition::CompositionBrush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlCompositionBrushBaseProtected)->put_CompositionBrush(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Media_IXamlCompositionBrushBaseStatics::FallbackColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlCompositionBrushBaseStatics)->get_FallbackColorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IXamlLightFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlLightFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Media::XamlLight{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IXamlLightOverrides::GetId() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlLightOverrides)->GetId(&result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IXamlLightOverrides::OnConnected(winrt::Windows::UI::Xaml::UIElement const& newElement) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlLightOverrides)->OnConnected(*(void**)(&newElement))); } template auto consume_Windows_UI_Xaml_Media_IXamlLightOverrides::OnDisconnected(winrt::Windows::UI::Xaml::UIElement const& oldElement) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlLightOverrides)->OnDisconnected(*(void**)(&oldElement))); } template auto consume_Windows_UI_Xaml_Media_IXamlLightProtected::CompositionLight() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlLightProtected)->get_CompositionLight(&value)); return winrt::Windows::UI::Composition::CompositionLight{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Media_IXamlLightProtected::CompositionLight(winrt::Windows::UI::Composition::CompositionLight const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlLightProtected)->put_CompositionLight(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Media_IXamlLightStatics::AddTargetElement(param::hstring const& lightId, winrt::Windows::UI::Xaml::UIElement const& element) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlLightStatics)->AddTargetElement(*(void**)(&lightId), *(void**)(&element))); } template auto consume_Windows_UI_Xaml_Media_IXamlLightStatics::RemoveTargetElement(param::hstring const& lightId, winrt::Windows::UI::Xaml::UIElement const& element) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlLightStatics)->RemoveTargetElement(*(void**)(&lightId), *(void**)(&element))); } template auto consume_Windows_UI_Xaml_Media_IXamlLightStatics::AddTargetBrush(param::hstring const& lightId, winrt::Windows::UI::Xaml::Media::Brush const& brush) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlLightStatics)->AddTargetBrush(*(void**)(&lightId), *(void**)(&brush))); } template auto consume_Windows_UI_Xaml_Media_IXamlLightStatics::RemoveTargetBrush(param::hstring const& lightId, winrt::Windows::UI::Xaml::Media::Brush const& brush) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Media::IXamlLightStatics)->RemoveTargetBrush(*(void**)(&lightId), *(void**)(&brush))); } template struct delegate final : implements_delegate { delegate(H&& handler) : implements_delegate(std::forward(handler)) {} int32_t __stdcall Invoke(void* sender, void* e) noexcept final try { (*this)(*reinterpret_cast(&sender), *reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } }; template struct delegate final : implements_delegate { delegate(H&& handler) : implements_delegate(std::forward(handler)) {} int32_t __stdcall Invoke(void* sender, void* e) noexcept final try { (*this)(*reinterpret_cast(&sender), *reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_BackgroundSource(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BackgroundSource()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BackgroundSource(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BackgroundSource(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } 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 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_BackgroundSourceProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BackgroundSourceProperty()); return 0; } catch (...) { return to_hresult(); } 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(&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(&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 { 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 { 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_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; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { 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; } }; #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 { 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 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(&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(&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(&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(&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(&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(&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(&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(&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 { 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 { 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_Status(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(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 { 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_Windows_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_Windows_UI_Xaml_Media_Media3D_Matrix3D value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ProjectionMatrix(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { 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_Windows_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_Windows_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_Windows_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_Windows_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_Windows_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_Windows_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(&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_StreamKind(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().StreamKind()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ExtendedError(winrt::hresult* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExtendedError()); 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(&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(&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_Windows_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(&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 { 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(&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 { 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(&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 { }; #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 : 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(); } }; #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_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 { 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 { }; #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 { }; #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_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_TargetTheme(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TargetTheme()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TargetTheme(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TargetTheme(*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 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_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_TargetThemeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TargetThemeProperty()); 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(); } int32_t __stdcall get_StateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().StateProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetState(void* element, int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetState(*reinterpret_cast(&element), *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetState(void* element, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetState(*reinterpret_cast(&element))); 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 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 { int32_t __stdcall get_Time(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Time()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Time(int64_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Time(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Type(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Type()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Type(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Type(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Text(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Text()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Text(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Text(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Marker(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Marker()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Marker(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Marker(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_TimeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TimeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TypeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TypeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextProperty()); 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(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Value(struct struct_Windows_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 { 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 { 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(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(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(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { 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(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { 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 { 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 : 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 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 : 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(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { 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(&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 : produce_dispatch_to_overridable_base { auto PopulatePropertyInfoOverride(hstring const& propertyName, winrt::Windows::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 : produce_dispatch_to_overridable_base { 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 : produce_dispatch_to_overridable_base { 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 : produce_dispatch_to_overridable_base { auto GetId() { if (auto overridable = this->shim_overridable()) { return overridable.GetId(); } return this->shim().GetId(); } auto OnConnected(winrt::Windows::UI::Xaml::UIElement const& newElement) { if (auto overridable = this->shim_overridable()) { return overridable.OnConnected(newElement); } return this->shim().OnConnected(newElement); } auto OnDisconnected(winrt::Windows::UI::Xaml::UIElement const& oldElement) { if (auto overridable = this->shim_overridable()) { return overridable.OnDisconnected(oldElement); } return this->shim().OnDisconnected(oldElement); } }; } WINRT_EXPORT namespace winrt::Windows::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::BackgroundSourceProperty() { return impl::call_factory_cast([](IAcrylicBrushStatics const& f) { return f.BackgroundSourceProperty(); }); } inline auto AcrylicBrush::TintColorProperty() { return impl::call_factory_cast([](IAcrylicBrushStatics const& f) { return f.TintColorProperty(); }); } inline auto AcrylicBrush::TintOpacityProperty() { return impl::call_factory_cast([](IAcrylicBrushStatics const& f) { return f.TintOpacityProperty(); }); } inline auto AcrylicBrush::TintTransitionDurationProperty() { return impl::call_factory_cast([](IAcrylicBrushStatics const& f) { return f.TintTransitionDurationProperty(); }); } inline auto AcrylicBrush::AlwaysUseFallbackProperty() { return impl::call_factory_cast([](IAcrylicBrushStatics const& f) { return f.AlwaysUseFallbackProperty(); }); } inline auto AcrylicBrush::TintLuminosityOpacityProperty() { return impl::call_factory_cast([](IAcrylicBrushStatics2 const& f) { return f.TintLuminosityOpacityProperty(); }); } inline ArcSegment::ArcSegment() : ArcSegment(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto ArcSegment::PointProperty() { return impl::call_factory_cast([](IArcSegmentStatics const& f) { return f.PointProperty(); }); } inline auto ArcSegment::SizeProperty() { return impl::call_factory_cast([](IArcSegmentStatics const& f) { return f.SizeProperty(); }); } inline auto ArcSegment::RotationAngleProperty() { return impl::call_factory_cast([](IArcSegmentStatics const& f) { return f.RotationAngleProperty(); }); } inline auto ArcSegment::IsLargeArcProperty() { return impl::call_factory_cast([](IArcSegmentStatics const& f) { return f.IsLargeArcProperty(); }); } inline auto ArcSegment::SweepDirectionProperty() { return impl::call_factory_cast([](IArcSegmentStatics const& f) { return f.SweepDirectionProperty(); }); } inline BezierSegment::BezierSegment() : BezierSegment(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto BezierSegment::Point1Property() { return impl::call_factory_cast([](IBezierSegmentStatics const& f) { return f.Point1Property(); }); } inline auto BezierSegment::Point2Property() { return impl::call_factory_cast([](IBezierSegmentStatics const& f) { return f.Point2Property(); }); } inline auto BezierSegment::Point3Property() { return impl::call_factory_cast([](IBezierSegmentStatics const& f) { return f.Point3Property(); }); } inline BitmapCache::BitmapCache() : BitmapCache(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto Brush::OpacityProperty() { return impl::call_factory_cast([](IBrushStatics const& f) { return f.OpacityProperty(); }); } inline auto Brush::TransformProperty() { return impl::call_factory_cast([](IBrushStatics const& f) { return f.TransformProperty(); }); } inline auto Brush::RelativeTransformProperty() { return impl::call_factory_cast([](IBrushStatics const& f) { return f.RelativeTransformProperty(); }); } inline BrushCollection::BrushCollection() : BrushCollection(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline CompositeTransform::CompositeTransform() : CompositeTransform(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto CompositeTransform::CenterXProperty() { return impl::call_factory_cast([](ICompositeTransformStatics const& f) { return f.CenterXProperty(); }); } inline auto CompositeTransform::CenterYProperty() { return impl::call_factory_cast([](ICompositeTransformStatics const& f) { return f.CenterYProperty(); }); } inline auto CompositeTransform::ScaleXProperty() { return impl::call_factory_cast([](ICompositeTransformStatics const& f) { return f.ScaleXProperty(); }); } inline auto CompositeTransform::ScaleYProperty() { return impl::call_factory_cast([](ICompositeTransformStatics const& f) { return f.ScaleYProperty(); }); } inline auto CompositeTransform::SkewXProperty() { return impl::call_factory_cast([](ICompositeTransformStatics const& f) { return f.SkewXProperty(); }); } inline auto CompositeTransform::SkewYProperty() { return impl::call_factory_cast([](ICompositeTransformStatics const& f) { return f.SkewYProperty(); }); } inline auto CompositeTransform::RotationProperty() { return impl::call_factory_cast([](ICompositeTransformStatics const& f) { return f.RotationProperty(); }); } inline auto CompositeTransform::TranslateXProperty() { return impl::call_factory_cast([](ICompositeTransformStatics const& f) { return f.TranslateXProperty(); }); } inline auto CompositeTransform::TranslateYProperty() { return impl::call_factory_cast([](ICompositeTransformStatics const& f) { return f.TranslateYProperty(); }); } inline auto CompositionTarget::Rendering(winrt::Windows::Foundation::EventHandler const& handler) { return impl::call_factory([&](ICompositionTargetStatics const& f) { return f.Rendering(handler); }); } inline auto CompositionTarget::Rendering(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); 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::SurfaceContentsLost(winrt::Windows::Foundation::EventHandler const& handler) { return impl::call_factory([&](ICompositionTargetStatics const& f) { return f.SurfaceContentsLost(handler); }); } inline auto CompositionTarget::SurfaceContentsLost(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); 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::Rendered(winrt::Windows::Foundation::EventHandler const& handler) { return impl::call_factory([&](ICompositionTargetStatics3 const& f) { return f.Rendered(handler); }); } inline auto CompositionTarget::Rendered(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) { auto f = get_activation_factory(); return CompositionTarget::Rendered_revoker{ f, f.Rendered(handler) }; } inline auto CompositionTarget::Rendered(winrt::event_token const& token) { impl::call_factory([&](ICompositionTargetStatics3 const& f) { return f.Rendered(token); }); } inline DoubleCollection::DoubleCollection() : DoubleCollection(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline EllipseGeometry::EllipseGeometry() : EllipseGeometry(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto EllipseGeometry::CenterProperty() { return impl::call_factory_cast([](IEllipseGeometryStatics const& f) { return f.CenterProperty(); }); } inline auto EllipseGeometry::RadiusXProperty() { return impl::call_factory_cast([](IEllipseGeometryStatics const& f) { return f.RadiusXProperty(); }); } inline auto EllipseGeometry::RadiusYProperty() { return impl::call_factory_cast([](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([](IFontFamilyStatics2 const& f) { return f.XamlAutoFontFamily(); }); } inline auto Geometry::Empty() { return impl::call_factory_cast([](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([](IGeometryStatics const& f) { return f.TransformProperty(); }); } inline GeometryCollection::GeometryCollection() : GeometryCollection(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline GeometryGroup::GeometryGroup() : GeometryGroup(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto GeometryGroup::FillRuleProperty() { return impl::call_factory_cast([](IGeometryGroupStatics const& f) { return f.FillRuleProperty(); }); } inline auto GeometryGroup::ChildrenProperty() { return impl::call_factory_cast([](IGeometryGroupStatics const& f) { return f.ChildrenProperty(); }); } inline auto GradientBrush::SpreadMethodProperty() { return impl::call_factory_cast([](IGradientBrushStatics const& f) { return f.SpreadMethodProperty(); }); } inline auto GradientBrush::MappingModeProperty() { return impl::call_factory_cast([](IGradientBrushStatics const& f) { return f.MappingModeProperty(); }); } inline auto GradientBrush::ColorInterpolationModeProperty() { return impl::call_factory_cast([](IGradientBrushStatics const& f) { return f.ColorInterpolationModeProperty(); }); } inline auto GradientBrush::GradientStopsProperty() { return impl::call_factory_cast([](IGradientBrushStatics const& f) { return f.GradientStopsProperty(); }); } inline GradientStop::GradientStop() : GradientStop(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto GradientStop::ColorProperty() { return impl::call_factory_cast([](IGradientStopStatics const& f) { return f.ColorProperty(); }); } inline auto GradientStop::OffsetProperty() { return impl::call_factory_cast([](IGradientStopStatics const& f) { return f.OffsetProperty(); }); } inline GradientStopCollection::GradientStopCollection() : GradientStopCollection(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline ImageBrush::ImageBrush() : ImageBrush(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto ImageBrush::ImageSourceProperty() { return impl::call_factory_cast([](IImageBrushStatics const& f) { return f.ImageSourceProperty(); }); } inline LineGeometry::LineGeometry() : LineGeometry(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto LineGeometry::StartPointProperty() { return impl::call_factory_cast([](ILineGeometryStatics const& f) { return f.StartPointProperty(); }); } inline auto LineGeometry::EndPointProperty() { return impl::call_factory_cast([](ILineGeometryStatics const& f) { return f.EndPointProperty(); }); } inline LineSegment::LineSegment() : LineSegment(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto LineSegment::PointProperty() { return impl::call_factory_cast([](ILineSegmentStatics const& f) { return f.PointProperty(); }); } inline LinearGradientBrush::LinearGradientBrush() : LinearGradientBrush(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline LinearGradientBrush::LinearGradientBrush(winrt::Windows::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([](ILinearGradientBrushStatics const& f) { return f.StartPointProperty(); }); } inline auto LinearGradientBrush::EndPointProperty() { return impl::call_factory_cast([](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([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto Matrix3DProjection::ProjectionMatrixProperty() { return impl::call_factory_cast([](IMatrix3DProjectionStatics const& f) { return f.ProjectionMatrixProperty(); }); } inline auto MatrixHelper::Identity() { return impl::call_factory_cast([](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::Windows::UI::Xaml::Media::Matrix const& target) { return impl::call_factory([&](IMatrixHelperStatics const& f) { return f.GetIsIdentity(target); }); } inline auto MatrixHelper::Transform(winrt::Windows::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([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto MatrixTransform::MatrixProperty() { return impl::call_factory_cast([](IMatrixTransformStatics const& f) { return f.MatrixProperty(); }); } inline PartialMediaFailureDetectedEventArgs::PartialMediaFailureDetectedEventArgs() : PartialMediaFailureDetectedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline PathFigure::PathFigure() : PathFigure(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto PathFigure::SegmentsProperty() { return impl::call_factory_cast([](IPathFigureStatics const& f) { return f.SegmentsProperty(); }); } inline auto PathFigure::StartPointProperty() { return impl::call_factory_cast([](IPathFigureStatics const& f) { return f.StartPointProperty(); }); } inline auto PathFigure::IsClosedProperty() { return impl::call_factory_cast([](IPathFigureStatics const& f) { return f.IsClosedProperty(); }); } inline auto PathFigure::IsFilledProperty() { return impl::call_factory_cast([](IPathFigureStatics const& f) { return f.IsFilledProperty(); }); } inline PathFigureCollection::PathFigureCollection() : PathFigureCollection(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline PathGeometry::PathGeometry() : PathGeometry(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto PathGeometry::FillRuleProperty() { return impl::call_factory_cast([](IPathGeometryStatics const& f) { return f.FillRuleProperty(); }); } inline auto PathGeometry::FiguresProperty() { return impl::call_factory_cast([](IPathGeometryStatics const& f) { return f.FiguresProperty(); }); } inline PathSegmentCollection::PathSegmentCollection() : PathSegmentCollection(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline PlaneProjection::PlaneProjection() : PlaneProjection(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto PlaneProjection::LocalOffsetXProperty() { return impl::call_factory_cast([](IPlaneProjectionStatics const& f) { return f.LocalOffsetXProperty(); }); } inline auto PlaneProjection::LocalOffsetYProperty() { return impl::call_factory_cast([](IPlaneProjectionStatics const& f) { return f.LocalOffsetYProperty(); }); } inline auto PlaneProjection::LocalOffsetZProperty() { return impl::call_factory_cast([](IPlaneProjectionStatics const& f) { return f.LocalOffsetZProperty(); }); } inline auto PlaneProjection::RotationXProperty() { return impl::call_factory_cast([](IPlaneProjectionStatics const& f) { return f.RotationXProperty(); }); } inline auto PlaneProjection::RotationYProperty() { return impl::call_factory_cast([](IPlaneProjectionStatics const& f) { return f.RotationYProperty(); }); } inline auto PlaneProjection::RotationZProperty() { return impl::call_factory_cast([](IPlaneProjectionStatics const& f) { return f.RotationZProperty(); }); } inline auto PlaneProjection::CenterOfRotationXProperty() { return impl::call_factory_cast([](IPlaneProjectionStatics const& f) { return f.CenterOfRotationXProperty(); }); } inline auto PlaneProjection::CenterOfRotationYProperty() { return impl::call_factory_cast([](IPlaneProjectionStatics const& f) { return f.CenterOfRotationYProperty(); }); } inline auto PlaneProjection::CenterOfRotationZProperty() { return impl::call_factory_cast([](IPlaneProjectionStatics const& f) { return f.CenterOfRotationZProperty(); }); } inline auto PlaneProjection::GlobalOffsetXProperty() { return impl::call_factory_cast([](IPlaneProjectionStatics const& f) { return f.GlobalOffsetXProperty(); }); } inline auto PlaneProjection::GlobalOffsetYProperty() { return impl::call_factory_cast([](IPlaneProjectionStatics const& f) { return f.GlobalOffsetYProperty(); }); } inline auto PlaneProjection::GlobalOffsetZProperty() { return impl::call_factory_cast([](IPlaneProjectionStatics const& f) { return f.GlobalOffsetZProperty(); }); } inline auto PlaneProjection::ProjectionMatrixProperty() { return impl::call_factory_cast([](IPlaneProjectionStatics const& f) { return f.ProjectionMatrixProperty(); }); } inline PointCollection::PointCollection() : PointCollection(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline PolyBezierSegment::PolyBezierSegment() : PolyBezierSegment(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto PolyBezierSegment::PointsProperty() { return impl::call_factory_cast([](IPolyBezierSegmentStatics const& f) { return f.PointsProperty(); }); } inline PolyLineSegment::PolyLineSegment() : PolyLineSegment(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto PolyLineSegment::PointsProperty() { return impl::call_factory_cast([](IPolyLineSegmentStatics const& f) { return f.PointsProperty(); }); } inline PolyQuadraticBezierSegment::PolyQuadraticBezierSegment() : PolyQuadraticBezierSegment(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto PolyQuadraticBezierSegment::PointsProperty() { return impl::call_factory_cast([](IPolyQuadraticBezierSegmentStatics const& f) { return f.PointsProperty(); }); } inline QuadraticBezierSegment::QuadraticBezierSegment() : QuadraticBezierSegment(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto QuadraticBezierSegment::Point1Property() { return impl::call_factory_cast([](IQuadraticBezierSegmentStatics const& f) { return f.Point1Property(); }); } inline auto QuadraticBezierSegment::Point2Property() { return impl::call_factory_cast([](IQuadraticBezierSegmentStatics const& f) { return f.Point2Property(); }); } inline RateChangedRoutedEventArgs::RateChangedRoutedEventArgs() : RateChangedRoutedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline RectangleGeometry::RectangleGeometry() : RectangleGeometry(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto RectangleGeometry::RectProperty() { return impl::call_factory_cast([](IRectangleGeometryStatics const& f) { return f.RectProperty(); }); } inline RevealBackgroundBrush::RevealBackgroundBrush() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IRevealBackgroundBrushFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline RevealBorderBrush::RevealBorderBrush() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IRevealBorderBrushFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto RevealBrush::ColorProperty() { return impl::call_factory_cast([](IRevealBrushStatics const& f) { return f.ColorProperty(); }); } inline auto RevealBrush::TargetThemeProperty() { return impl::call_factory_cast([](IRevealBrushStatics const& f) { return f.TargetThemeProperty(); }); } inline auto RevealBrush::AlwaysUseFallbackProperty() { return impl::call_factory_cast([](IRevealBrushStatics const& f) { return f.AlwaysUseFallbackProperty(); }); } inline auto RevealBrush::StateProperty() { return impl::call_factory_cast([](IRevealBrushStatics const& f) { return f.StateProperty(); }); } inline auto RevealBrush::SetState(winrt::Windows::UI::Xaml::UIElement const& element, winrt::Windows::UI::Xaml::Media::RevealBrushState const& value) { impl::call_factory([&](IRevealBrushStatics const& f) { return f.SetState(element, value); }); } inline auto RevealBrush::GetState(winrt::Windows::UI::Xaml::UIElement const& element) { return impl::call_factory([&](IRevealBrushStatics const& f) { return f.GetState(element); }); } inline RotateTransform::RotateTransform() : RotateTransform(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto RotateTransform::CenterXProperty() { return impl::call_factory_cast([](IRotateTransformStatics const& f) { return f.CenterXProperty(); }); } inline auto RotateTransform::CenterYProperty() { return impl::call_factory_cast([](IRotateTransformStatics const& f) { return f.CenterYProperty(); }); } inline auto RotateTransform::AngleProperty() { return impl::call_factory_cast([](IRotateTransformStatics const& f) { return f.AngleProperty(); }); } inline ScaleTransform::ScaleTransform() : ScaleTransform(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto ScaleTransform::CenterXProperty() { return impl::call_factory_cast([](IScaleTransformStatics const& f) { return f.CenterXProperty(); }); } inline auto ScaleTransform::CenterYProperty() { return impl::call_factory_cast([](IScaleTransformStatics const& f) { return f.CenterYProperty(); }); } inline auto ScaleTransform::ScaleXProperty() { return impl::call_factory_cast([](IScaleTransformStatics const& f) { return f.ScaleXProperty(); }); } inline auto ScaleTransform::ScaleYProperty() { return impl::call_factory_cast([](IScaleTransformStatics const& f) { return f.ScaleYProperty(); }); } inline SkewTransform::SkewTransform() : SkewTransform(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto SkewTransform::CenterXProperty() { return impl::call_factory_cast([](ISkewTransformStatics const& f) { return f.CenterXProperty(); }); } inline auto SkewTransform::CenterYProperty() { return impl::call_factory_cast([](ISkewTransformStatics const& f) { return f.CenterYProperty(); }); } inline auto SkewTransform::AngleXProperty() { return impl::call_factory_cast([](ISkewTransformStatics const& f) { return f.AngleXProperty(); }); } inline auto SkewTransform::AngleYProperty() { return impl::call_factory_cast([](ISkewTransformStatics const& f) { return f.AngleYProperty(); }); } inline SolidColorBrush::SolidColorBrush() : SolidColorBrush(impl::call_factory_cast([](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([](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([](ITileBrushStatics const& f) { return f.AlignmentXProperty(); }); } inline auto TileBrush::AlignmentYProperty() { return impl::call_factory_cast([](ITileBrushStatics const& f) { return f.AlignmentYProperty(); }); } inline auto TileBrush::StretchProperty() { return impl::call_factory_cast([](ITileBrushStatics const& f) { return f.StretchProperty(); }); } inline TimelineMarker::TimelineMarker() : TimelineMarker(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto TimelineMarker::TimeProperty() { return impl::call_factory_cast([](ITimelineMarkerStatics const& f) { return f.TimeProperty(); }); } inline auto TimelineMarker::TypeProperty() { return impl::call_factory_cast([](ITimelineMarkerStatics const& f) { return f.TypeProperty(); }); } inline auto TimelineMarker::TextProperty() { return impl::call_factory_cast([](ITimelineMarkerStatics const& f) { return f.TextProperty(); }); } inline TimelineMarkerCollection::TimelineMarkerCollection() : TimelineMarkerCollection(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline TimelineMarkerRoutedEventArgs::TimelineMarkerRoutedEventArgs() : TimelineMarkerRoutedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline TransformCollection::TransformCollection() : TransformCollection(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline TransformGroup::TransformGroup() : TransformGroup(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto TransformGroup::ChildrenProperty() { return impl::call_factory_cast([](ITransformGroupStatics const& f) { return f.ChildrenProperty(); }); } inline TranslateTransform::TranslateTransform() : TranslateTransform(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto TranslateTransform::XProperty() { return impl::call_factory_cast([](ITranslateTransformStatics const& f) { return f.XProperty(); }); } inline auto TranslateTransform::YProperty() { return impl::call_factory_cast([](ITranslateTransformStatics const& f) { return f.YProperty(); }); } inline auto VisualTreeHelper::FindElementsInHostCoordinates(winrt::Windows::Foundation::Point const& intersectingPoint, winrt::Windows::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::Windows::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::Windows::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::Windows::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::Windows::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::Windows::UI::Xaml::DependencyObject const& reference) { return impl::call_factory([&](IVisualTreeHelperStatics const& f) { return f.GetChildrenCount(reference); }); } inline auto VisualTreeHelper::GetParent(winrt::Windows::UI::Xaml::DependencyObject const& reference) { return impl::call_factory([&](IVisualTreeHelperStatics const& f) { return f.GetParent(reference); }); } inline auto VisualTreeHelper::DisconnectChildrenRecursive(winrt::Windows::UI::Xaml::UIElement const& element) { impl::call_factory([&](IVisualTreeHelperStatics const& f) { return f.DisconnectChildrenRecursive(element); }); } inline auto VisualTreeHelper::GetOpenPopups(winrt::Windows::UI::Xaml::Window const& window) { return impl::call_factory([&](IVisualTreeHelperStatics2 const& f) { return f.GetOpenPopups(window); }); } inline auto VisualTreeHelper::GetOpenPopupsForXamlRoot(winrt::Windows::UI::Xaml::XamlRoot const& xamlRoot) { return impl::call_factory([&](IVisualTreeHelperStatics3 const& f) { return f.GetOpenPopupsForXamlRoot(xamlRoot); }); } inline auto XamlCompositionBrushBase::FallbackColorProperty() { return impl::call_factory_cast([](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::Windows::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::Windows::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::Windows::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::Windows::UI::Xaml::Media::Brush const& brush) { impl::call_factory([&](IXamlLightStatics const& f) { return f.RemoveTargetBrush(lightId, brush); }); } template RateChangedRoutedEventHandler::RateChangedRoutedEventHandler(L handler) : RateChangedRoutedEventHandler(impl::make_delegate(std::forward(handler))) { } template RateChangedRoutedEventHandler::RateChangedRoutedEventHandler(F* handler) : RateChangedRoutedEventHandler([=](auto&&... args) { return handler(args...); }) { } template RateChangedRoutedEventHandler::RateChangedRoutedEventHandler(O* object, M method) : RateChangedRoutedEventHandler([=](auto&&... args) { return ((*object).*(method))(args...); }) { } template RateChangedRoutedEventHandler::RateChangedRoutedEventHandler(com_ptr&& object, M method) : RateChangedRoutedEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template RateChangedRoutedEventHandler::RateChangedRoutedEventHandler(weak_ref&& object, LM&& lambda_or_method) : RateChangedRoutedEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.get()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } template RateChangedRoutedEventHandler::RateChangedRoutedEventHandler(std::shared_ptr&& object, M method) : RateChangedRoutedEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template RateChangedRoutedEventHandler::RateChangedRoutedEventHandler(std::weak_ptr&& object, LM&& lambda_or_method) : RateChangedRoutedEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.lock()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } inline auto RateChangedRoutedEventHandler::operator()(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::UI::Xaml::Media::RateChangedRoutedEventArgs const& e) const { check_hresult((*(impl::abi_t**)this)->Invoke(*(void**)(&sender), *(void**)(&e))); } template TimelineMarkerRoutedEventHandler::TimelineMarkerRoutedEventHandler(L handler) : TimelineMarkerRoutedEventHandler(impl::make_delegate(std::forward(handler))) { } template TimelineMarkerRoutedEventHandler::TimelineMarkerRoutedEventHandler(F* handler) : TimelineMarkerRoutedEventHandler([=](auto&&... args) { return handler(args...); }) { } template TimelineMarkerRoutedEventHandler::TimelineMarkerRoutedEventHandler(O* object, M method) : TimelineMarkerRoutedEventHandler([=](auto&&... args) { return ((*object).*(method))(args...); }) { } template TimelineMarkerRoutedEventHandler::TimelineMarkerRoutedEventHandler(com_ptr&& object, M method) : TimelineMarkerRoutedEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template TimelineMarkerRoutedEventHandler::TimelineMarkerRoutedEventHandler(weak_ref&& object, LM&& lambda_or_method) : TimelineMarkerRoutedEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.get()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } template TimelineMarkerRoutedEventHandler::TimelineMarkerRoutedEventHandler(std::shared_ptr&& object, M method) : TimelineMarkerRoutedEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template TimelineMarkerRoutedEventHandler::TimelineMarkerRoutedEventHandler(std::weak_ptr&& object, LM&& lambda_or_method) : TimelineMarkerRoutedEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.lock()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } inline auto TimelineMarkerRoutedEventHandler::operator()(winrt::Windows::Foundation::IInspectable const& sender, winrt::Windows::UI::Xaml::Media::TimelineMarkerRoutedEventArgs const& e) const { check_hresult((*(impl::abi_t**)this)->Invoke(*(void**)(&sender), *(void**)(&e))); } template auto IBrushOverrides2T::PopulatePropertyInfoOverride(param::hstring const& propertyName, winrt::Windows::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 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::Windows::UI::Xaml::UIElement const& newElement) const { return shim().template try_as().OnConnected(newElement); } template auto IXamlLightOverridesT::OnDisconnected(winrt::Windows::UI::Xaml::UIElement const& oldElement) const { return shim().template try_as().OnDisconnected(oldElement); } template struct AcrylicBrushT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Media::IXamlCompositionBrushBaseOverridesT, winrt::Windows::UI::Xaml::Media::IBrushOverrides2T { using composable = AcrylicBrush; friend impl::consume_t; friend impl::require_one; 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::Windows::UI::Xaml::Media::IBrushOverrides2T { using composable = Brush; 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 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, impl::require, impl::base, winrt::Windows::UI::Xaml::Media::IGeneralTransformOverridesT { using composable = GeneralTransform; 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::Windows::UI::Xaml::Media::IBrushOverrides2T { using composable = GradientBrush; protected: GradientBrushT() { impl::call_factory([&](IGradientBrushFactory 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 RevealBackgroundBrushT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Media::IXamlCompositionBrushBaseOverridesT, winrt::Windows::UI::Xaml::Media::IBrushOverrides2T { using composable = RevealBackgroundBrush; friend impl::consume_t; friend impl::require_one; protected: RevealBackgroundBrushT() { impl::call_factory([&](IRevealBackgroundBrushFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct RevealBorderBrushT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Media::IXamlCompositionBrushBaseOverridesT, winrt::Windows::UI::Xaml::Media::IBrushOverrides2T { using composable = RevealBorderBrush; friend impl::consume_t; friend impl::require_one; protected: RevealBorderBrushT() { impl::call_factory([&](IRevealBorderBrushFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct RevealBrushT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Media::IXamlCompositionBrushBaseOverridesT, winrt::Windows::UI::Xaml::Media::IBrushOverrides2T { using composable = RevealBrush; friend impl::consume_t; friend impl::require_one; protected: RevealBrushT() { impl::call_factory([&](IRevealBrushFactory 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::Windows::UI::Xaml::Media::IBrushOverrides2T { using composable = TileBrush; 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, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Media::IXamlCompositionBrushBaseOverridesT, winrt::Windows::UI::Xaml::Media::IBrushOverrides2T { using composable = XamlCompositionBrushBase; friend impl::consume_t; friend impl::require_one; 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, impl::base, winrt::Windows::UI::Xaml::Media::IXamlLightOverridesT { using composable = XamlLight; friend impl::consume_t; friend impl::require_one; 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::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; #endif #ifdef __cpp_lib_format #endif } #endif