// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #pragma once #ifndef WINRT_Microsoft_UI_Xaml_Controls_H #define WINRT_Microsoft_UI_Xaml_Controls_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/impl/Microsoft.Web.WebView2.Core.2.h" #include "winrt/impl/Windows.ApplicationModel.Contacts.2.h" #include "winrt/impl/Windows.ApplicationModel.DataTransfer.2.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Foundation.Numerics.2.h" #include "winrt/impl/Windows.Globalization.NumberFormatting.2.h" #include "winrt/impl/Windows.UI.2.h" #include "winrt/impl/Windows.UI.Composition.2.h" #include "winrt/impl/Windows.UI.Text.2.h" #include "winrt/impl/Windows.UI.Xaml.2.h" #include "winrt/impl/Windows.UI.Xaml.Controls.2.h" #include "winrt/impl/Windows.UI.Xaml.Controls.Primitives.2.h" #include "winrt/impl/Windows.UI.Xaml.Input.2.h" #include "winrt/impl/Windows.UI.Xaml.Interop.2.h" #include "winrt/impl/Windows.UI.Xaml.Media.2.h" #include "winrt/impl/Windows.UI.Xaml.Media.Animation.2.h" #include "winrt/impl/Microsoft.UI.Xaml.Controls.2.h" namespace winrt::impl { template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedIcon::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedIcon)->get_Source(&value)); return winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualSource2{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedIcon::Source(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualSource2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedIcon)->put_Source(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedIcon::FallbackIconSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedIcon)->get_FallbackIconSource(&value)); return winrt::Microsoft::UI::Xaml::Controls::IconSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedIcon::FallbackIconSource(winrt::Microsoft::UI::Xaml::Controls::IconSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedIcon)->put_FallbackIconSource(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedIcon::MirroredWhenRightToLeft() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedIcon)->get_MirroredWhenRightToLeft(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedIcon::MirroredWhenRightToLeft(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedIcon)->put_MirroredWhenRightToLeft(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedIconFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedIconFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::AnimatedIcon{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedIconSource::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedIconSource)->get_Source(&value)); return winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualSource2{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedIconSource::Source(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualSource2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedIconSource)->put_Source(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedIconSource::FallbackIconSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedIconSource)->get_FallbackIconSource(&value)); return winrt::Microsoft::UI::Xaml::Controls::IconSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedIconSource::FallbackIconSource(winrt::Microsoft::UI::Xaml::Controls::IconSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedIconSource)->put_FallbackIconSource(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedIconSource::MirroredWhenRightToLeft() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedIconSource)->get_MirroredWhenRightToLeft(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedIconSource::MirroredWhenRightToLeft(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedIconSource)->put_MirroredWhenRightToLeft(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedIconSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedIconSourceFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::AnimatedIconSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedIconSourceStatics::SourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedIconSourceStatics)->get_SourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedIconSourceStatics::FallbackIconSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedIconSourceStatics)->get_FallbackIconSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedIconSourceStatics::MirroredWhenRightToLeftProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedIconSourceStatics)->get_MirroredWhenRightToLeftProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedIconStatics::StateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedIconStatics)->get_StateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedIconStatics::SetState(winrt::Windows::UI::Xaml::DependencyObject const& object, param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedIconStatics)->SetState(*(void**)(&object), *(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedIconStatics::GetState(winrt::Windows::UI::Xaml::DependencyObject const& object) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedIconStatics)->GetState(*(void**)(&object), &result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedIconStatics::SourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedIconStatics)->get_SourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedIconStatics::FallbackIconSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedIconStatics)->get_FallbackIconSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedIconStatics::MirroredWhenRightToLeftProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedIconStatics)->get_MirroredWhenRightToLeftProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisual::RootVisual() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual)->get_RootVisual(&value)); return winrt::Windows::UI::Composition::Visual{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisual::Size() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual)->get_Size(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisual::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual)->get_Duration(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisual2::CreateAnimations() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual2)->CreateAnimations()); } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisual2::DestroyAnimations() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual2)->DestroyAnimations()); } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayer::Diagnostics() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualPlayer)->get_Diagnostics(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayer::Duration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualPlayer)->get_Duration(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayer::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualPlayer)->get_Source(&value)); return winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayer::Source(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualPlayer)->put_Source(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayer::FallbackContent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualPlayer)->get_FallbackContent(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayer::FallbackContent(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualPlayer)->put_FallbackContent(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayer::AutoPlay() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualPlayer)->get_AutoPlay(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayer::AutoPlay(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualPlayer)->put_AutoPlay(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayer::IsAnimatedVisualLoaded() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualPlayer)->get_IsAnimatedVisualLoaded(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayer::IsPlaying() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualPlayer)->get_IsPlaying(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayer::PlaybackRate() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualPlayer)->get_PlaybackRate(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayer::PlaybackRate(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualPlayer)->put_PlaybackRate(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayer::ProgressObject() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualPlayer)->get_ProgressObject(&value)); return winrt::Windows::UI::Composition::CompositionObject{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayer::Stretch() const { winrt::Windows::UI::Xaml::Media::Stretch value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualPlayer)->get_Stretch(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayer::Stretch(winrt::Windows::UI::Xaml::Media::Stretch const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualPlayer)->put_Stretch(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayer::Pause() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualPlayer)->Pause()); } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayer::PlayAsync(double fromProgress, double toProgress, bool looped) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualPlayer)->PlayAsync(fromProgress, toProgress, looped, &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayer::Resume() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualPlayer)->Resume()); } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayer::SetProgress(double progress) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualPlayer)->SetProgress(progress)); } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayer::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualPlayer)->Stop()); } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayer2::AnimationOptimization() const { winrt::Microsoft::UI::Xaml::Controls::PlayerAnimationOptimization value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualPlayer2)->get_AnimationOptimization(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayer2::AnimationOptimization(winrt::Microsoft::UI::Xaml::Controls::PlayerAnimationOptimization const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualPlayer2)->put_AnimationOptimization(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayerFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualPlayerFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::AnimatedVisualPlayer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayerStatics::AutoPlayProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualPlayerStatics)->get_AutoPlayProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayerStatics::DiagnosticsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualPlayerStatics)->get_DiagnosticsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayerStatics::DurationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualPlayerStatics)->get_DurationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayerStatics::FallbackContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualPlayerStatics)->get_FallbackContentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayerStatics::IsAnimatedVisualLoadedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualPlayerStatics)->get_IsAnimatedVisualLoadedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayerStatics::IsPlayingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualPlayerStatics)->get_IsPlayingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayerStatics::PlaybackRateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualPlayerStatics)->get_PlaybackRateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayerStatics::SourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualPlayerStatics)->get_SourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayerStatics::StretchProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualPlayerStatics)->get_StretchProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayerStatics2::AnimationOptimizationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualPlayerStatics2)->get_AnimationOptimizationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualSource::TryCreateAnimatedVisual(winrt::Windows::UI::Composition::Compositor const& compositor, winrt::Windows::Foundation::IInspectable& diagnostics) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualSource)->TryCreateAnimatedVisual(*(void**)(&compositor), impl::bind_out(diagnostics), &result)); return winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualSource2::Markers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualSource2)->get_Markers(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualSource2::SetColorProperty(param::hstring const& propertyName, winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualSource2)->SetColorProperty(*(void**)(&propertyName), impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualSource3::TryCreateAnimatedVisual(winrt::Windows::UI::Composition::Compositor const& compositor, winrt::Windows::Foundation::IInspectable& diagnostics, bool createAnimations) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisualSource3)->TryCreateAnimatedVisual(*(void**)(&compositor), impl::bind_out(diagnostics), createAnimations, &result)); return winrt::Microsoft::UI::Xaml::Controls::IAnimatedVisual2{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IBackdropMaterialStatics::ApplyToRootOrPageBackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBackdropMaterialStatics)->get_ApplyToRootOrPageBackgroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IBackdropMaterialStatics::SetApplyToRootOrPageBackground(winrt::Windows::UI::Xaml::Controls::Control const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBackdropMaterialStatics)->SetApplyToRootOrPageBackground(*(void**)(&element), value)); } template auto consume_Microsoft_UI_Xaml_Controls_IBackdropMaterialStatics::GetApplyToRootOrPageBackground(winrt::Windows::UI::Xaml::Controls::Control const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBackdropMaterialStatics)->GetApplyToRootOrPageBackground(*(void**)(&element), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IBitmapIconSource::UriSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBitmapIconSource)->get_UriSource(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IBitmapIconSource::UriSource(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBitmapIconSource)->put_UriSource(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IBitmapIconSource::ShowAsMonochrome() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBitmapIconSource)->get_ShowAsMonochrome(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IBitmapIconSource::ShowAsMonochrome(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBitmapIconSource)->put_ShowAsMonochrome(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IBitmapIconSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBitmapIconSourceFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::BitmapIconSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IBitmapIconSourceStatics::UriSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBitmapIconSourceStatics)->get_UriSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IBitmapIconSourceStatics::ShowAsMonochromeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBitmapIconSourceStatics)->get_ShowAsMonochromeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IBreadcrumbBar::ItemsSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBreadcrumbBar)->get_ItemsSource(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IBreadcrumbBar::ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBreadcrumbBar)->put_ItemsSource(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IBreadcrumbBar::ItemTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBreadcrumbBar)->get_ItemTemplate(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IBreadcrumbBar::ItemTemplate(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBreadcrumbBar)->put_ItemTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IBreadcrumbBar::ItemClicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBreadcrumbBar)->add_ItemClicked(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IBreadcrumbBar::ItemClicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ItemClicked(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IBreadcrumbBar::ItemClicked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBreadcrumbBar)->remove_ItemClicked(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IBreadcrumbBarFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBreadcrumbBarFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::BreadcrumbBar{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IBreadcrumbBarItemClickedEventArgs::Index() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBreadcrumbBarItemClickedEventArgs)->get_Index(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IBreadcrumbBarItemClickedEventArgs::Item() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBreadcrumbBarItemClickedEventArgs)->get_Item(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IBreadcrumbBarItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBreadcrumbBarItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::BreadcrumbBarItem{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IBreadcrumbBarStatics::ItemsSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBreadcrumbBarStatics)->get_ItemsSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IBreadcrumbBarStatics::ItemTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBreadcrumbBarStatics)->get_ItemTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IColorChangedEventArgs::OldColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorChangedEventArgs)->get_OldColor(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IColorChangedEventArgs::NewColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorChangedEventArgs)->get_NewColor(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::Color() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->get_Color(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::Color(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->put_Color(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::PreviousColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->get_PreviousColor(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::PreviousColor(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->put_PreviousColor(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::IsAlphaEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->get_IsAlphaEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::IsAlphaEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->put_IsAlphaEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::IsColorSpectrumVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->get_IsColorSpectrumVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::IsColorSpectrumVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->put_IsColorSpectrumVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::IsColorPreviewVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->get_IsColorPreviewVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::IsColorPreviewVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->put_IsColorPreviewVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::IsColorSliderVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->get_IsColorSliderVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::IsColorSliderVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->put_IsColorSliderVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::IsAlphaSliderVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->get_IsAlphaSliderVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::IsAlphaSliderVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->put_IsAlphaSliderVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::IsMoreButtonVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->get_IsMoreButtonVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::IsMoreButtonVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->put_IsMoreButtonVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::IsColorChannelTextInputVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->get_IsColorChannelTextInputVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::IsColorChannelTextInputVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->put_IsColorChannelTextInputVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::IsAlphaTextInputVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->get_IsAlphaTextInputVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::IsAlphaTextInputVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->put_IsAlphaTextInputVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::IsHexInputVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->get_IsHexInputVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::IsHexInputVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->put_IsHexInputVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::MinHue() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->get_MinHue(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::MinHue(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->put_MinHue(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::MaxHue() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->get_MaxHue(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::MaxHue(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->put_MaxHue(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::MinSaturation() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->get_MinSaturation(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::MinSaturation(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->put_MinSaturation(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::MaxSaturation() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->get_MaxSaturation(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::MaxSaturation(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->put_MaxSaturation(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::MinValue() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->get_MinValue(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::MinValue(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->put_MinValue(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::MaxValue() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->get_MaxValue(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::MaxValue(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->put_MaxValue(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::ColorSpectrumShape() const { winrt::Microsoft::UI::Xaml::Controls::ColorSpectrumShape value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->get_ColorSpectrumShape(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::ColorSpectrumShape(winrt::Microsoft::UI::Xaml::Controls::ColorSpectrumShape const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->put_ColorSpectrumShape(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::ColorSpectrumComponents() const { winrt::Microsoft::UI::Xaml::Controls::ColorSpectrumComponents value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->get_ColorSpectrumComponents(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::ColorSpectrumComponents(winrt::Microsoft::UI::Xaml::Controls::ColorSpectrumComponents const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->put_ColorSpectrumComponents(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::ColorChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->add_ColorChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::ColorChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ColorChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker::ColorChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker)->remove_ColorChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker2::Orientation() const { winrt::Windows::UI::Xaml::Controls::Orientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker2)->get_Orientation(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPicker2::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPicker2)->put_Orientation(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IColorPickerFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPickerFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::ColorPicker{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPickerStatics::ColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPickerStatics)->get_ColorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPickerStatics::PreviousColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPickerStatics)->get_PreviousColorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPickerStatics::IsAlphaEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPickerStatics)->get_IsAlphaEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPickerStatics::IsColorSpectrumVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPickerStatics)->get_IsColorSpectrumVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPickerStatics::IsColorPreviewVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPickerStatics)->get_IsColorPreviewVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPickerStatics::IsColorSliderVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPickerStatics)->get_IsColorSliderVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPickerStatics::IsAlphaSliderVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPickerStatics)->get_IsAlphaSliderVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPickerStatics::IsMoreButtonVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPickerStatics)->get_IsMoreButtonVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPickerStatics::IsColorChannelTextInputVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPickerStatics)->get_IsColorChannelTextInputVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPickerStatics::IsAlphaTextInputVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPickerStatics)->get_IsAlphaTextInputVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPickerStatics::IsHexInputVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPickerStatics)->get_IsHexInputVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPickerStatics::MinHueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPickerStatics)->get_MinHueProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPickerStatics::MaxHueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPickerStatics)->get_MaxHueProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPickerStatics::MinSaturationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPickerStatics)->get_MinSaturationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPickerStatics::MaxSaturationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPickerStatics)->get_MaxSaturationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPickerStatics::MinValueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPickerStatics)->get_MinValueProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPickerStatics::MaxValueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPickerStatics)->get_MaxValueProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPickerStatics::ColorSpectrumShapeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPickerStatics)->get_ColorSpectrumShapeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPickerStatics::ColorSpectrumComponentsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPickerStatics)->get_ColorSpectrumComponentsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IColorPickerStatics2::OrientationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColorPickerStatics2)->get_OrientationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICommandBarFlyout::PrimaryCommands() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICommandBarFlyout)->get_PrimaryCommands(&value)); return winrt::Windows::Foundation::Collections::IObservableVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICommandBarFlyout::SecondaryCommands() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICommandBarFlyout)->get_SecondaryCommands(&value)); return winrt::Windows::Foundation::Collections::IObservableVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICommandBarFlyout2::AlwaysExpanded() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICommandBarFlyout2)->get_AlwaysExpanded(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICommandBarFlyout2::AlwaysExpanded(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICommandBarFlyout2)->put_AlwaysExpanded(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ICommandBarFlyoutFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICommandBarFlyoutFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::CommandBarFlyout{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICoreWebView2InitializedEventArgs::Exception() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICoreWebView2InitializedEventArgs)->get_Exception(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IDropDownButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDropDownButtonFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::DropDownButton{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDynamicAnimatedVisualSource::AnimatedVisualInvalidated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDynamicAnimatedVisualSource)->add_AnimatedVisualInvalidated(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IDynamicAnimatedVisualSource::AnimatedVisualInvalidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AnimatedVisualInvalidated(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IDynamicAnimatedVisualSource::AnimatedVisualInvalidated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDynamicAnimatedVisualSource)->remove_AnimatedVisualInvalidated(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IElementFactoryFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IElementFactoryFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::ElementFactory{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IElementFactoryGetArgs::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IElementFactoryGetArgs)->get_Data(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IElementFactoryGetArgs::Data(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IElementFactoryGetArgs)->put_Data(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IElementFactoryGetArgs::Parent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IElementFactoryGetArgs)->get_Parent(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IElementFactoryGetArgs::Parent(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IElementFactoryGetArgs)->put_Parent(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IElementFactoryOverrides::GetElementCore(winrt::Microsoft::UI::Xaml::Controls::ElementFactoryGetArgs const& args) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IElementFactoryOverrides)->GetElementCore(*(void**)(&args), &result)); return winrt::Windows::UI::Xaml::UIElement{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IElementFactoryOverrides::RecycleElementCore(winrt::Microsoft::UI::Xaml::Controls::ElementFactoryRecycleArgs const& args) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IElementFactoryOverrides)->RecycleElementCore(*(void**)(&args))); } template auto consume_Microsoft_UI_Xaml_Controls_IElementFactoryRecycleArgs::Element() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IElementFactoryRecycleArgs)->get_Element(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IElementFactoryRecycleArgs::Element(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IElementFactoryRecycleArgs)->put_Element(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IElementFactoryRecycleArgs::Parent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IElementFactoryRecycleArgs)->get_Parent(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IElementFactoryRecycleArgs::Parent(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IElementFactoryRecycleArgs)->put_Parent(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IExpander::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IExpander)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IExpander::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IExpander)->put_Header(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IExpander::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IExpander)->get_HeaderTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IExpander::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IExpander)->put_HeaderTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IExpander::HeaderTemplateSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IExpander)->get_HeaderTemplateSelector(&value)); return winrt::Windows::UI::Xaml::Controls::DataTemplateSelector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IExpander::HeaderTemplateSelector(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IExpander)->put_HeaderTemplateSelector(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IExpander::IsExpanded() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IExpander)->get_IsExpanded(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IExpander::IsExpanded(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IExpander)->put_IsExpanded(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IExpander::ExpandDirection() const { winrt::Microsoft::UI::Xaml::Controls::ExpandDirection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IExpander)->get_ExpandDirection(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IExpander::ExpandDirection(winrt::Microsoft::UI::Xaml::Controls::ExpandDirection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IExpander)->put_ExpandDirection(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IExpander::Expanding(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IExpander)->add_Expanding(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IExpander::Expanding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Expanding(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IExpander::Expanding(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IExpander)->remove_Expanding(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IExpander::Collapsed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IExpander)->add_Collapsed(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IExpander::Collapsed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Collapsed(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IExpander::Collapsed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IExpander)->remove_Collapsed(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IExpander::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IExpander)->get_TemplateSettings(&value)); return winrt::Microsoft::UI::Xaml::Controls::ExpanderTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IExpanderFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IExpanderFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::Expander{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IExpanderStatics::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IExpanderStatics)->get_HeaderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IExpanderStatics::HeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IExpanderStatics)->get_HeaderTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IExpanderStatics::HeaderTemplateSelectorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IExpanderStatics)->get_HeaderTemplateSelectorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IExpanderStatics::IsExpandedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IExpanderStatics)->get_IsExpandedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IExpanderStatics::ExpandDirectionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IExpanderStatics)->get_ExpandDirectionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IExpanderTemplateSettings::ContentHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IExpanderTemplateSettings)->get_ContentHeight(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IExpanderTemplateSettings::NegativeContentHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IExpanderTemplateSettings)->get_NegativeContentHeight(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IFontIconSource::Glyph() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIconSource)->get_Glyph(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFontIconSource::Glyph(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIconSource)->put_Glyph(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IFontIconSource::FontSize() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIconSource)->get_FontSize(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IFontIconSource::FontSize(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIconSource)->put_FontSize(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IFontIconSource::FontFamily() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIconSource)->get_FontFamily(&value)); return winrt::Windows::UI::Xaml::Media::FontFamily{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFontIconSource::FontFamily(winrt::Windows::UI::Xaml::Media::FontFamily const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIconSource)->put_FontFamily(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IFontIconSource::FontWeight() const { winrt::Windows::UI::Text::FontWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIconSource)->get_FontWeight(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IFontIconSource::FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIconSource)->put_FontWeight(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IFontIconSource::FontStyle() const { winrt::Windows::UI::Text::FontStyle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIconSource)->get_FontStyle(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IFontIconSource::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIconSource)->put_FontStyle(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IFontIconSource::IsTextScaleFactorEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIconSource)->get_IsTextScaleFactorEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IFontIconSource::IsTextScaleFactorEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIconSource)->put_IsTextScaleFactorEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IFontIconSource::MirroredWhenRightToLeft() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIconSource)->get_MirroredWhenRightToLeft(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IFontIconSource::MirroredWhenRightToLeft(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIconSource)->put_MirroredWhenRightToLeft(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IFontIconSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIconSourceFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::FontIconSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFontIconSourceStatics::GlyphProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIconSourceStatics)->get_GlyphProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFontIconSourceStatics::FontSizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIconSourceStatics)->get_FontSizeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFontIconSourceStatics::FontFamilyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIconSourceStatics)->get_FontFamilyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFontIconSourceStatics::FontWeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIconSourceStatics)->get_FontWeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFontIconSourceStatics::FontStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIconSourceStatics)->get_FontStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFontIconSourceStatics::IsTextScaleFactorEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIconSourceStatics)->get_IsTextScaleFactorEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFontIconSourceStatics::MirroredWhenRightToLeftProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIconSourceStatics)->get_MirroredWhenRightToLeftProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IIconSource::CreateIconElement() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IIconSource)->CreateIconElement(&result)); return winrt::Windows::UI::Xaml::Controls::IconElement{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IIconSource::Foreground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IIconSource)->get_Foreground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IIconSource::Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IIconSource)->put_Foreground(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IIconSourceStatics::ForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IIconSourceStatics)->get_ForegroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IImageIcon::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IImageIcon)->get_Source(&value)); return winrt::Windows::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IImageIcon::Source(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IImageIcon)->put_Source(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IImageIconFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IImageIconFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::ImageIcon{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IImageIconSource::ImageSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IImageIconSource)->get_ImageSource(&value)); return winrt::Windows::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IImageIconSource::ImageSource(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IImageIconSource)->put_ImageSource(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IImageIconSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IImageIconSourceFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::ImageIconSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IImageIconSourceStatics::ImageSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IImageIconSourceStatics)->get_ImageSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IImageIconStatics::SourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IImageIconStatics)->get_SourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBadge::Value() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBadge)->get_Value(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBadge::Value(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBadge)->put_Value(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBadge::IconSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBadge)->get_IconSource(&value)); return winrt::Microsoft::UI::Xaml::Controls::IconSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBadge::IconSource(winrt::Microsoft::UI::Xaml::Controls::IconSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBadge)->put_IconSource(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBadge::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBadge)->get_TemplateSettings(&value)); return winrt::Microsoft::UI::Xaml::Controls::InfoBadgeTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBadgeFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBadgeFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::InfoBadge{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBadgeStatics::ValueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBadgeStatics)->get_ValueProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBadgeStatics::IconSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBadgeStatics)->get_IconSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBadgeStatics::TemplateSettingsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBadgeStatics)->get_TemplateSettingsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBadgeTemplateSettings::InfoBadgeCornerRadius() const { winrt::Windows::UI::Xaml::CornerRadius value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBadgeTemplateSettings)->get_InfoBadgeCornerRadius(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBadgeTemplateSettings::InfoBadgeCornerRadius(winrt::Windows::UI::Xaml::CornerRadius const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBadgeTemplateSettings)->put_InfoBadgeCornerRadius(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBadgeTemplateSettings::IconElement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBadgeTemplateSettings)->get_IconElement(&value)); return winrt::Windows::UI::Xaml::Controls::IconElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBadgeTemplateSettings::IconElement(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBadgeTemplateSettings)->put_IconElement(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBadgeTemplateSettingsFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBadgeTemplateSettingsFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::InfoBadgeTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBadgeTemplateSettingsStatics::InfoBadgeCornerRadiusProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBadgeTemplateSettingsStatics)->get_InfoBadgeCornerRadiusProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBadgeTemplateSettingsStatics::IconElementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBadgeTemplateSettingsStatics)->get_IconElementProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::IsOpen() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBar)->get_IsOpen(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::IsOpen(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBar)->put_IsOpen(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBar)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::Title(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBar)->put_Title(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::Message() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBar)->get_Message(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::Message(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBar)->put_Message(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::Severity() const { winrt::Microsoft::UI::Xaml::Controls::InfoBarSeverity value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBar)->get_Severity(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::Severity(winrt::Microsoft::UI::Xaml::Controls::InfoBarSeverity const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBar)->put_Severity(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::IconSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBar)->get_IconSource(&value)); return winrt::Microsoft::UI::Xaml::Controls::IconSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::IconSource(winrt::Microsoft::UI::Xaml::Controls::IconSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBar)->put_IconSource(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::IsIconVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBar)->get_IsIconVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::IsIconVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBar)->put_IsIconVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::IsClosable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBar)->get_IsClosable(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::IsClosable(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBar)->put_IsClosable(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::CloseButtonStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBar)->get_CloseButtonStyle(&value)); return winrt::Windows::UI::Xaml::Style{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::CloseButtonStyle(winrt::Windows::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBar)->put_CloseButtonStyle(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::CloseButtonCommand() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBar)->get_CloseButtonCommand(&value)); return winrt::Windows::UI::Xaml::Input::ICommand{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::CloseButtonCommand(winrt::Windows::UI::Xaml::Input::ICommand const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBar)->put_CloseButtonCommand(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::CloseButtonCommandParameter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBar)->get_CloseButtonCommandParameter(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::CloseButtonCommandParameter(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBar)->put_CloseButtonCommandParameter(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::ActionButton() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBar)->get_ActionButton(&value)); return winrt::Windows::UI::Xaml::Controls::Primitives::ButtonBase{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::ActionButton(winrt::Windows::UI::Xaml::Controls::Primitives::ButtonBase const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBar)->put_ActionButton(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBar)->get_Content(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::Content(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBar)->put_Content(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::ContentTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBar)->get_ContentTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::ContentTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBar)->put_ContentTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBar)->get_TemplateSettings(&value)); return winrt::Microsoft::UI::Xaml::Controls::InfoBarTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::CloseButtonClick(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBar)->add_CloseButtonClick(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::CloseButtonClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CloseButtonClick(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::CloseButtonClick(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBar)->remove_CloseButtonClick(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::Closing(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBar)->add_Closing(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::Closing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Closing(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::Closing(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBar)->remove_Closing(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBar)->add_Closed(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Closed(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::Closed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBar)->remove_Closed(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBarClosedEventArgs::Reason() const { winrt::Microsoft::UI::Xaml::Controls::InfoBarCloseReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBarClosedEventArgs)->get_Reason(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBarClosingEventArgs::Reason() const { winrt::Microsoft::UI::Xaml::Controls::InfoBarCloseReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBarClosingEventArgs)->get_Reason(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBarClosingEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBarClosingEventArgs)->get_Cancel(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBarClosingEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBarClosingEventArgs)->put_Cancel(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBarFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBarFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::InfoBar{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBarStatics::IsOpenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBarStatics)->get_IsOpenProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBarStatics::TitleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBarStatics)->get_TitleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBarStatics::MessageProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBarStatics)->get_MessageProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBarStatics::SeverityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBarStatics)->get_SeverityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBarStatics::IconSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBarStatics)->get_IconSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBarStatics::IsIconVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBarStatics)->get_IsIconVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBarStatics::IsClosableProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBarStatics)->get_IsClosableProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBarStatics::CloseButtonStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBarStatics)->get_CloseButtonStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBarStatics::CloseButtonCommandProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBarStatics)->get_CloseButtonCommandProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBarStatics::CloseButtonCommandParameterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBarStatics)->get_CloseButtonCommandParameterProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBarStatics::ActionButtonProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBarStatics)->get_ActionButtonProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBarStatics::ContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBarStatics)->get_ContentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBarStatics::ContentTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBarStatics)->get_ContentTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBarStatics::TemplateSettingsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBarStatics)->get_TemplateSettingsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBarTemplateSettings::IconElement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBarTemplateSettings)->get_IconElement(&value)); return winrt::Windows::UI::Xaml::Controls::IconElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBarTemplateSettings::IconElement(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBarTemplateSettings)->put_IconElement(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBarTemplateSettingsFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBarTemplateSettingsFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::InfoBarTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBarTemplateSettingsStatics::IconElementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInfoBarTemplateSettingsStatics)->get_IconElementProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeater::ItemsSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeater)->get_ItemsSource(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeater::ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeater)->put_ItemsSource(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeater::ItemsSourceView() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeater)->get_ItemsSourceView(&value)); return winrt::Microsoft::UI::Xaml::Controls::ItemsSourceView{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeater::ItemTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeater)->get_ItemTemplate(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeater::ItemTemplate(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeater)->put_ItemTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeater::Layout() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeater)->get_Layout(&value)); return winrt::Microsoft::UI::Xaml::Controls::Layout{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeater::Layout(winrt::Microsoft::UI::Xaml::Controls::Layout const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeater)->put_Layout(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeater::HorizontalCacheLength() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeater)->get_HorizontalCacheLength(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeater::HorizontalCacheLength(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeater)->put_HorizontalCacheLength(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeater::VerticalCacheLength() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeater)->get_VerticalCacheLength(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeater::VerticalCacheLength(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeater)->put_VerticalCacheLength(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeater::Background() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeater)->get_Background(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeater::Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeater)->put_Background(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeater::GetElementIndex(winrt::Windows::UI::Xaml::UIElement const& element) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeater)->GetElementIndex(*(void**)(&element), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeater::TryGetElement(int32_t index) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeater)->TryGetElement(index, &result)); return winrt::Windows::UI::Xaml::UIElement{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeater::GetOrCreateElement(int32_t index) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeater)->GetOrCreateElement(index, &result)); return winrt::Windows::UI::Xaml::UIElement{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeater::ElementPrepared(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeater)->add_ElementPrepared(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeater::ElementPrepared(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ElementPrepared(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeater::ElementPrepared(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeater)->remove_ElementPrepared(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeater::ElementClearing(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeater)->add_ElementClearing(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeater::ElementClearing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ElementClearing(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeater::ElementClearing(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeater)->remove_ElementClearing(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeater::ElementIndexChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeater)->add_ElementIndexChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeater::ElementIndexChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ElementIndexChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeater::ElementIndexChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeater)->remove_ElementIndexChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeaterElementClearingEventArgs::Element() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeaterElementClearingEventArgs)->get_Element(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeaterElementIndexChangedEventArgs::Element() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeaterElementIndexChangedEventArgs)->get_Element(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeaterElementIndexChangedEventArgs::OldIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeaterElementIndexChangedEventArgs)->get_OldIndex(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeaterElementIndexChangedEventArgs::NewIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeaterElementIndexChangedEventArgs)->get_NewIndex(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeaterElementPreparedEventArgs::Element() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeaterElementPreparedEventArgs)->get_Element(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeaterElementPreparedEventArgs::Index() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeaterElementPreparedEventArgs)->get_Index(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeaterFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeaterFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::ItemsRepeater{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeaterScrollHost::ScrollViewer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeaterScrollHost)->get_ScrollViewer(&value)); return winrt::Windows::UI::Xaml::Controls::ScrollViewer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeaterScrollHost::ScrollViewer(winrt::Windows::UI::Xaml::Controls::ScrollViewer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeaterScrollHost)->put_ScrollViewer(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeaterScrollHost::CurrentAnchor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeaterScrollHost)->get_CurrentAnchor(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeaterScrollHost::HorizontalAnchorRatio() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeaterScrollHost)->get_HorizontalAnchorRatio(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeaterScrollHost::HorizontalAnchorRatio(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeaterScrollHost)->put_HorizontalAnchorRatio(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeaterScrollHost::VerticalAnchorRatio() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeaterScrollHost)->get_VerticalAnchorRatio(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeaterScrollHost::VerticalAnchorRatio(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeaterScrollHost)->put_VerticalAnchorRatio(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeaterStatics::ItemsSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeaterStatics)->get_ItemsSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeaterStatics::ItemTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeaterStatics)->get_ItemTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeaterStatics::LayoutProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeaterStatics)->get_LayoutProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeaterStatics::HorizontalCacheLengthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeaterStatics)->get_HorizontalCacheLengthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeaterStatics::VerticalCacheLengthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeaterStatics)->get_VerticalCacheLengthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeaterStatics::BackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeaterStatics)->get_BackgroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsSourceView::Count() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsSourceView)->get_Count(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsSourceView::GetAt(int32_t index) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsSourceView)->GetAt(index, &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsSourceView::HasKeyIndexMapping() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsSourceView)->get_HasKeyIndexMapping(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsSourceView::KeyFromIndex(int32_t index) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsSourceView)->KeyFromIndex(index, &result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsSourceView::IndexFromKey(param::hstring const& key) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsSourceView)->IndexFromKey(*(void**)(&key), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsSourceView::IndexOf(winrt::Windows::Foundation::IInspectable const& item) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsSourceView)->IndexOf(*(void**)(&item), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsSourceViewFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& source, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsSourceViewFactory)->CreateInstance(*(void**)(&source), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::ItemsSourceView{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IKeyIndexMapping::KeyFromIndex(int32_t index) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IKeyIndexMapping)->KeyFromIndex(index, &result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IKeyIndexMapping::IndexFromKey(param::hstring const& key) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IKeyIndexMapping)->IndexFromKey(*(void**)(&key), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_ILayout::InitializeForContext(winrt::Microsoft::UI::Xaml::Controls::LayoutContext const& context) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILayout)->InitializeForContext(*(void**)(&context))); } template auto consume_Microsoft_UI_Xaml_Controls_ILayout::UninitializeForContext(winrt::Microsoft::UI::Xaml::Controls::LayoutContext const& context) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILayout)->UninitializeForContext(*(void**)(&context))); } template auto consume_Microsoft_UI_Xaml_Controls_ILayout::Measure(winrt::Microsoft::UI::Xaml::Controls::LayoutContext const& context, winrt::Windows::Foundation::Size const& availableSize) const { winrt::Windows::Foundation::Size result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILayout)->Measure(*(void**)(&context), impl::bind_in(availableSize), put_abi(result))); return result; } template auto consume_Microsoft_UI_Xaml_Controls_ILayout::Arrange(winrt::Microsoft::UI::Xaml::Controls::LayoutContext const& context, winrt::Windows::Foundation::Size const& finalSize) const { winrt::Windows::Foundation::Size result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILayout)->Arrange(*(void**)(&context), impl::bind_in(finalSize), put_abi(result))); return result; } template auto consume_Microsoft_UI_Xaml_Controls_ILayout::MeasureInvalidated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILayout)->add_MeasureInvalidated(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ILayout::MeasureInvalidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MeasureInvalidated(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ILayout::MeasureInvalidated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILayout)->remove_MeasureInvalidated(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ILayout::ArrangeInvalidated(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILayout)->add_ArrangeInvalidated(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ILayout::ArrangeInvalidated(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ArrangeInvalidated(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ILayout::ArrangeInvalidated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILayout)->remove_ArrangeInvalidated(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ILayoutContext::LayoutState() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILayoutContext)->get_LayoutState(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ILayoutContext::LayoutState(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILayoutContext)->put_LayoutState(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ILayoutContextOverrides::LayoutStateCore() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILayoutContextOverrides)->get_LayoutStateCore(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ILayoutContextOverrides::LayoutStateCore(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILayoutContextOverrides)->put_LayoutStateCore(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ILayoutProtected::InvalidateMeasure() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILayoutProtected)->InvalidateMeasure()); } template auto consume_Microsoft_UI_Xaml_Controls_ILayoutProtected::InvalidateArrange() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILayoutProtected)->InvalidateArrange()); } template auto consume_Microsoft_UI_Xaml_Controls_IMenuBar::Items() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuBar)->get_Items(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuBarFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuBarFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::MenuBar{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuBarItem::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuBarItem)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuBarItem::Title(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuBarItem)->put_Title(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IMenuBarItem::Items() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuBarItem)->get_Items(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuBarItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuBarItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::MenuBarItem{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuBarItemFlyoutFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuBarItemFlyoutFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::MenuBarItemFlyout{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuBarItemStatics::TitleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuBarItemStatics)->get_TitleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuBarItemStatics::ItemsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuBarItemStatics)->get_ItemsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuBarStatics::ItemsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuBarStatics)->get_ItemsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::IsPaneOpen() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->get_IsPaneOpen(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::IsPaneOpen(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->put_IsPaneOpen(value)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::CompactModeThresholdWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->get_CompactModeThresholdWidth(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::CompactModeThresholdWidth(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->put_CompactModeThresholdWidth(value)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::ExpandedModeThresholdWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->get_ExpandedModeThresholdWidth(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::ExpandedModeThresholdWidth(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->put_ExpandedModeThresholdWidth(value)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::FooterMenuItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->get_FooterMenuItems(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::FooterMenuItemsSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->get_FooterMenuItemsSource(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::FooterMenuItemsSource(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->put_FooterMenuItemsSource(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::PaneFooter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->get_PaneFooter(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::PaneFooter(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->put_PaneFooter(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->put_Header(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->get_HeaderTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->put_HeaderTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::DisplayMode() const { winrt::Microsoft::UI::Xaml::Controls::NavigationViewDisplayMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->get_DisplayMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::IsSettingsVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->get_IsSettingsVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::IsSettingsVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->put_IsSettingsVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::IsPaneToggleButtonVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->get_IsPaneToggleButtonVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::IsPaneToggleButtonVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->put_IsPaneToggleButtonVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::AlwaysShowHeader() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->get_AlwaysShowHeader(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::AlwaysShowHeader(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->put_AlwaysShowHeader(value)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::CompactPaneLength() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->get_CompactPaneLength(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::CompactPaneLength(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->put_CompactPaneLength(value)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::OpenPaneLength() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->get_OpenPaneLength(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::OpenPaneLength(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->put_OpenPaneLength(value)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::PaneToggleButtonStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->get_PaneToggleButtonStyle(&value)); return winrt::Windows::UI::Xaml::Style{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::PaneToggleButtonStyle(winrt::Windows::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->put_PaneToggleButtonStyle(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::SelectedItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->get_SelectedItem(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::SelectedItem(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->put_SelectedItem(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::MenuItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->get_MenuItems(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::MenuItemsSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->get_MenuItemsSource(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::MenuItemsSource(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->put_MenuItemsSource(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::SettingsItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->get_SettingsItem(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::AutoSuggestBox() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->get_AutoSuggestBox(&value)); return winrt::Windows::UI::Xaml::Controls::AutoSuggestBox{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::AutoSuggestBox(winrt::Windows::UI::Xaml::Controls::AutoSuggestBox const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->put_AutoSuggestBox(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::MenuItemTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->get_MenuItemTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::MenuItemTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->put_MenuItemTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::MenuItemTemplateSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->get_MenuItemTemplateSelector(&value)); return winrt::Windows::UI::Xaml::Controls::DataTemplateSelector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::MenuItemTemplateSelector(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->put_MenuItemTemplateSelector(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::MenuItemContainerStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->get_MenuItemContainerStyle(&value)); return winrt::Windows::UI::Xaml::Style{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::MenuItemContainerStyle(winrt::Windows::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->put_MenuItemContainerStyle(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::MenuItemContainerStyleSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->get_MenuItemContainerStyleSelector(&value)); return winrt::Windows::UI::Xaml::Controls::StyleSelector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::MenuItemContainerStyleSelector(winrt::Windows::UI::Xaml::Controls::StyleSelector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->put_MenuItemContainerStyleSelector(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::MenuItemFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->MenuItemFromContainer(*(void**)(&container), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::ContainerFromMenuItem(winrt::Windows::Foundation::IInspectable const& item) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->ContainerFromMenuItem(*(void**)(&item), &result)); return winrt::Windows::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::SelectionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->add_SelectionChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::SelectionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SelectionChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::SelectionChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->remove_SelectionChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::ItemInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->add_ItemInvoked(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::ItemInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ItemInvoked(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::ItemInvoked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->remove_ItemInvoked(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::DisplayModeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->add_DisplayModeChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::DisplayModeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DisplayModeChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::DisplayModeChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->remove_DisplayModeChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::IsTitleBarAutoPaddingEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->get_IsTitleBarAutoPaddingEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::IsTitleBarAutoPaddingEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView)->put_IsTitleBarAutoPaddingEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::IsBackButtonVisible() const { winrt::Microsoft::UI::Xaml::Controls::NavigationViewBackButtonVisible value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->get_IsBackButtonVisible(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::IsBackButtonVisible(winrt::Microsoft::UI::Xaml::Controls::NavigationViewBackButtonVisible const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->put_IsBackButtonVisible(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::IsBackEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->get_IsBackEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::IsBackEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->put_IsBackEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::PaneTitle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->get_PaneTitle(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::PaneTitle(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->put_PaneTitle(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::BackRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->add_BackRequested(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::BackRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, BackRequested(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::BackRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->remove_BackRequested(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::PaneClosed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->add_PaneClosed(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::PaneClosed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PaneClosed(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::PaneClosed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->remove_PaneClosed(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::PaneClosing(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->add_PaneClosing(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::PaneClosing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PaneClosing(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::PaneClosing(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->remove_PaneClosing(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::PaneOpened(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->add_PaneOpened(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::PaneOpened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PaneOpened(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::PaneOpened(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->remove_PaneOpened(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::PaneOpening(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->add_PaneOpening(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::PaneOpening(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PaneOpening(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::PaneOpening(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->remove_PaneOpening(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::PaneDisplayMode() const { winrt::Microsoft::UI::Xaml::Controls::NavigationViewPaneDisplayMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->get_PaneDisplayMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::PaneDisplayMode(winrt::Microsoft::UI::Xaml::Controls::NavigationViewPaneDisplayMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->put_PaneDisplayMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::PaneHeader() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->get_PaneHeader(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::PaneHeader(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->put_PaneHeader(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::PaneCustomContent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->get_PaneCustomContent(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::PaneCustomContent(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->put_PaneCustomContent(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::ContentOverlay() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->get_ContentOverlay(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::ContentOverlay(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->put_ContentOverlay(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::IsPaneVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->get_IsPaneVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::IsPaneVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->put_IsPaneVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::SelectionFollowsFocus() const { winrt::Microsoft::UI::Xaml::Controls::NavigationViewSelectionFollowsFocus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->get_SelectionFollowsFocus(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::SelectionFollowsFocus(winrt::Microsoft::UI::Xaml::Controls::NavigationViewSelectionFollowsFocus const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->put_SelectionFollowsFocus(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->get_TemplateSettings(&value)); return winrt::Microsoft::UI::Xaml::Controls::NavigationViewTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::ShoulderNavigationEnabled() const { winrt::Microsoft::UI::Xaml::Controls::NavigationViewShoulderNavigationEnabled value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->get_ShoulderNavigationEnabled(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::ShoulderNavigationEnabled(winrt::Microsoft::UI::Xaml::Controls::NavigationViewShoulderNavigationEnabled const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->put_ShoulderNavigationEnabled(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::OverflowLabelMode() const { winrt::Microsoft::UI::Xaml::Controls::NavigationViewOverflowLabelMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->get_OverflowLabelMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::OverflowLabelMode(winrt::Microsoft::UI::Xaml::Controls::NavigationViewOverflowLabelMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->put_OverflowLabelMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::Expanding(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->add_Expanding(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::Expanding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Expanding(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::Expanding(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->remove_Expanding(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::Collapsed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->add_Collapsed(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::Collapsed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Collapsed(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::Collapsed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->remove_Collapsed(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::Expand(winrt::Microsoft::UI::Xaml::Controls::NavigationViewItem const& item) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->Expand(*(void**)(&item))); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::Collapse(winrt::Microsoft::UI::Xaml::Controls::NavigationViewItem const& item) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationView2)->Collapse(*(void**)(&item))); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewDisplayModeChangedEventArgs::DisplayMode() const { winrt::Microsoft::UI::Xaml::Controls::NavigationViewDisplayMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewDisplayModeChangedEventArgs)->get_DisplayMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::NavigationView{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItem::Icon() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItem)->get_Icon(&value)); return winrt::Windows::UI::Xaml::Controls::IconElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItem::Icon(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItem)->put_Icon(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItem::CompactPaneLength() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItem)->get_CompactPaneLength(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItem2::SelectsOnInvoked() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItem2)->get_SelectsOnInvoked(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItem2::SelectsOnInvoked(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItem2)->put_SelectsOnInvoked(value)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItem2::IsExpanded() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItem2)->get_IsExpanded(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItem2::IsExpanded(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItem2)->put_IsExpanded(value)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItem2::HasUnrealizedChildren() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItem2)->get_HasUnrealizedChildren(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItem2::HasUnrealizedChildren(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItem2)->put_HasUnrealizedChildren(value)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItem2::IsChildSelected() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItem2)->get_IsChildSelected(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItem2::IsChildSelected(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItem2)->put_IsChildSelected(value)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItem2::MenuItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItem2)->get_MenuItems(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItem2::MenuItemsSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItem2)->get_MenuItemsSource(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItem2::MenuItemsSource(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItem2)->put_MenuItemsSource(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItem3::InfoBadge() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItem3)->get_InfoBadge(&value)); return winrt::Microsoft::UI::Xaml::Controls::InfoBadge{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItem3::InfoBadge(winrt::Microsoft::UI::Xaml::Controls::InfoBadge const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItem3)->put_InfoBadge(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItemBase2::IsSelected() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItemBase2)->get_IsSelected(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItemBase2::IsSelected(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItemBase2)->put_IsSelected(value)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItemBaseStatics::IsSelectedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItemBaseStatics)->get_IsSelectedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItemCollapsedEventArgs::CollapsedItemContainer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItemCollapsedEventArgs)->get_CollapsedItemContainer(&value)); return winrt::Microsoft::UI::Xaml::Controls::NavigationViewItemBase{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItemCollapsedEventArgs::CollapsedItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItemCollapsedEventArgs)->get_CollapsedItem(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItemExpandingEventArgs::ExpandingItemContainer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItemExpandingEventArgs)->get_ExpandingItemContainer(&value)); return winrt::Microsoft::UI::Xaml::Controls::NavigationViewItemBase{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItemExpandingEventArgs::ExpandingItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItemExpandingEventArgs)->get_ExpandingItem(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::NavigationViewItem{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItemHeaderFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItemHeaderFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::NavigationViewItemHeader{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItemInvokedEventArgs::InvokedItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItemInvokedEventArgs)->get_InvokedItem(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItemInvokedEventArgs::IsSettingsInvoked() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItemInvokedEventArgs)->get_IsSettingsInvoked(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItemInvokedEventArgs2::InvokedItemContainer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItemInvokedEventArgs2)->get_InvokedItemContainer(&value)); return winrt::Microsoft::UI::Xaml::Controls::NavigationViewItemBase{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItemInvokedEventArgs2::RecommendedNavigationTransitionInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItemInvokedEventArgs2)->get_RecommendedNavigationTransitionInfo(&value)); return winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItemSeparatorFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItemSeparatorFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::NavigationViewItemSeparator{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItemStatics::IconProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItemStatics)->get_IconProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItemStatics::CompactPaneLengthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItemStatics)->get_CompactPaneLengthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItemStatics2::SelectsOnInvokedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItemStatics2)->get_SelectsOnInvokedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItemStatics2::IsExpandedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItemStatics2)->get_IsExpandedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItemStatics2::HasUnrealizedChildrenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItemStatics2)->get_HasUnrealizedChildrenProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItemStatics2::IsChildSelectedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItemStatics2)->get_IsChildSelectedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItemStatics2::MenuItemsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItemStatics2)->get_MenuItemsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItemStatics2::MenuItemsSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItemStatics2)->get_MenuItemsSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItemStatics3::InfoBadgeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewItemStatics3)->get_InfoBadgeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewPaneClosingEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewPaneClosingEventArgs)->get_Cancel(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewPaneClosingEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewPaneClosingEventArgs)->put_Cancel(value)); } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewSelectionChangedEventArgs::SelectedItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewSelectionChangedEventArgs)->get_SelectedItem(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewSelectionChangedEventArgs::IsSettingsSelected() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewSelectionChangedEventArgs)->get_IsSettingsSelected(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewSelectionChangedEventArgs2::SelectedItemContainer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewSelectionChangedEventArgs2)->get_SelectedItemContainer(&value)); return winrt::Microsoft::UI::Xaml::Controls::NavigationViewItemBase{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewSelectionChangedEventArgs2::RecommendedNavigationTransitionInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewSelectionChangedEventArgs2)->get_RecommendedNavigationTransitionInfo(&value)); return winrt::Windows::UI::Xaml::Media::Animation::NavigationTransitionInfo{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics::IsPaneOpenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics)->get_IsPaneOpenProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics::CompactModeThresholdWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics)->get_CompactModeThresholdWidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics::ExpandedModeThresholdWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics)->get_ExpandedModeThresholdWidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics::FooterMenuItemsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics)->get_FooterMenuItemsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics::FooterMenuItemsSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics)->get_FooterMenuItemsSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics::PaneFooterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics)->get_PaneFooterProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics)->get_HeaderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics::HeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics)->get_HeaderTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics::DisplayModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics)->get_DisplayModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics::IsSettingsVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics)->get_IsSettingsVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics::IsPaneToggleButtonVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics)->get_IsPaneToggleButtonVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics::AlwaysShowHeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics)->get_AlwaysShowHeaderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics::CompactPaneLengthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics)->get_CompactPaneLengthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics::OpenPaneLengthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics)->get_OpenPaneLengthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics::PaneToggleButtonStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics)->get_PaneToggleButtonStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics::MenuItemsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics)->get_MenuItemsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics::MenuItemsSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics)->get_MenuItemsSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics::SelectedItemProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics)->get_SelectedItemProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics::SettingsItemProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics)->get_SettingsItemProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics::AutoSuggestBoxProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics)->get_AutoSuggestBoxProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics::MenuItemTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics)->get_MenuItemTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics::MenuItemTemplateSelectorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics)->get_MenuItemTemplateSelectorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics::MenuItemContainerStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics)->get_MenuItemContainerStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics::MenuItemContainerStyleSelectorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics)->get_MenuItemContainerStyleSelectorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics::IsTitleBarAutoPaddingEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics)->get_IsTitleBarAutoPaddingEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics2::IsBackButtonVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics2)->get_IsBackButtonVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics2::IsBackEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics2)->get_IsBackEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics2::PaneTitleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics2)->get_PaneTitleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics2::PaneDisplayModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics2)->get_PaneDisplayModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics2::PaneHeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics2)->get_PaneHeaderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics2::PaneCustomContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics2)->get_PaneCustomContentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics2::ContentOverlayProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics2)->get_ContentOverlayProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics2::IsPaneVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics2)->get_IsPaneVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics2::SelectionFollowsFocusProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics2)->get_SelectionFollowsFocusProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics2::TemplateSettingsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics2)->get_TemplateSettingsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics2::ShoulderNavigationEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics2)->get_ShoulderNavigationEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewStatics2::OverflowLabelModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewStatics2)->get_OverflowLabelModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewTemplateSettings::TopPadding() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewTemplateSettings)->get_TopPadding(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewTemplateSettings::OverflowButtonVisibility() const { winrt::Windows::UI::Xaml::Visibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewTemplateSettings)->get_OverflowButtonVisibility(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewTemplateSettings::PaneToggleButtonVisibility() const { winrt::Windows::UI::Xaml::Visibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewTemplateSettings)->get_PaneToggleButtonVisibility(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewTemplateSettings::BackButtonVisibility() const { winrt::Windows::UI::Xaml::Visibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewTemplateSettings)->get_BackButtonVisibility(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewTemplateSettings::TopPaneVisibility() const { winrt::Windows::UI::Xaml::Visibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewTemplateSettings)->get_TopPaneVisibility(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewTemplateSettings::LeftPaneVisibility() const { winrt::Windows::UI::Xaml::Visibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewTemplateSettings)->get_LeftPaneVisibility(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewTemplateSettings::SingleSelectionFollowsFocus() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewTemplateSettings)->get_SingleSelectionFollowsFocus(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewTemplateSettings::PaneToggleButtonWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewTemplateSettings)->get_PaneToggleButtonWidth(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewTemplateSettings::SmallerPaneToggleButtonWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewTemplateSettings)->get_SmallerPaneToggleButtonWidth(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewTemplateSettings2::OpenPaneLength() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewTemplateSettings2)->get_OpenPaneLength(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewTemplateSettingsFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewTemplateSettingsFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::NavigationViewTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics::TopPaddingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewTemplateSettingsStatics)->get_TopPaddingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics::OverflowButtonVisibilityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewTemplateSettingsStatics)->get_OverflowButtonVisibilityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics::PaneToggleButtonVisibilityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewTemplateSettingsStatics)->get_PaneToggleButtonVisibilityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics::BackButtonVisibilityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewTemplateSettingsStatics)->get_BackButtonVisibilityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics::TopPaneVisibilityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewTemplateSettingsStatics)->get_TopPaneVisibilityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics::LeftPaneVisibilityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewTemplateSettingsStatics)->get_LeftPaneVisibilityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics::SingleSelectionFollowsFocusProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewTemplateSettingsStatics)->get_SingleSelectionFollowsFocusProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics::PaneToggleButtonWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewTemplateSettingsStatics)->get_PaneToggleButtonWidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics::SmallerPaneToggleButtonWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewTemplateSettingsStatics)->get_SmallerPaneToggleButtonWidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewTemplateSettingsStatics2::OpenPaneLengthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigationViewTemplateSettingsStatics2)->get_OpenPaneLengthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INonVirtualizingLayoutContext::Children() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INonVirtualizingLayoutContext)->get_Children(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INonVirtualizingLayoutContextFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INonVirtualizingLayoutContextFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::NonVirtualizingLayoutContext{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INonVirtualizingLayoutContextOverrides::ChildrenCore() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INonVirtualizingLayoutContextOverrides)->get_ChildrenCore(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INonVirtualizingLayoutFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INonVirtualizingLayoutFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::NonVirtualizingLayout{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INonVirtualizingLayoutOverrides::InitializeForContextCore(winrt::Microsoft::UI::Xaml::Controls::NonVirtualizingLayoutContext const& context) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INonVirtualizingLayoutOverrides)->InitializeForContextCore(*(void**)(&context))); } template auto consume_Microsoft_UI_Xaml_Controls_INonVirtualizingLayoutOverrides::UninitializeForContextCore(winrt::Microsoft::UI::Xaml::Controls::NonVirtualizingLayoutContext const& context) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INonVirtualizingLayoutOverrides)->UninitializeForContextCore(*(void**)(&context))); } template auto consume_Microsoft_UI_Xaml_Controls_INonVirtualizingLayoutOverrides::MeasureOverride(winrt::Microsoft::UI::Xaml::Controls::NonVirtualizingLayoutContext const& context, winrt::Windows::Foundation::Size const& availableSize) const { winrt::Windows::Foundation::Size result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INonVirtualizingLayoutOverrides)->MeasureOverride(*(void**)(&context), impl::bind_in(availableSize), put_abi(result))); return result; } template auto consume_Microsoft_UI_Xaml_Controls_INonVirtualizingLayoutOverrides::ArrangeOverride(winrt::Microsoft::UI::Xaml::Controls::NonVirtualizingLayoutContext const& context, winrt::Windows::Foundation::Size const& finalSize) const { winrt::Windows::Foundation::Size result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INonVirtualizingLayoutOverrides)->ArrangeOverride(*(void**)(&context), impl::bind_in(finalSize), put_abi(result))); return result; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::Minimum() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->get_Minimum(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::Minimum(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->put_Minimum(value)); } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::Maximum() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->get_Maximum(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::Maximum(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->put_Maximum(value)); } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::Value() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->get_Value(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::Value(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->put_Value(value)); } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::SmallChange() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->get_SmallChange(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::SmallChange(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->put_SmallChange(value)); } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::LargeChange() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->get_LargeChange(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::LargeChange(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->put_LargeChange(value)); } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::Text(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->put_Text(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->put_Header(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->get_HeaderTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->put_HeaderTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::PlaceholderText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->get_PlaceholderText(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::PlaceholderText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->put_PlaceholderText(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::SelectionFlyout() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->get_SelectionFlyout(&value)); return winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::SelectionFlyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->put_SelectionFlyout(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::SelectionHighlightColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->get_SelectionHighlightColor(&value)); return winrt::Windows::UI::Xaml::Media::SolidColorBrush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::SelectionHighlightColor(winrt::Windows::UI::Xaml::Media::SolidColorBrush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->put_SelectionHighlightColor(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::TextReadingOrder() const { winrt::Windows::UI::Xaml::TextReadingOrder value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->get_TextReadingOrder(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::TextReadingOrder(winrt::Windows::UI::Xaml::TextReadingOrder const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->put_TextReadingOrder(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::PreventKeyboardDisplayOnProgrammaticFocus() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->get_PreventKeyboardDisplayOnProgrammaticFocus(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::PreventKeyboardDisplayOnProgrammaticFocus(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->put_PreventKeyboardDisplayOnProgrammaticFocus(value)); } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->get_Description(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::Description(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->put_Description(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::ValidationMode() const { winrt::Microsoft::UI::Xaml::Controls::NumberBoxValidationMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->get_ValidationMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::ValidationMode(winrt::Microsoft::UI::Xaml::Controls::NumberBoxValidationMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->put_ValidationMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::SpinButtonPlacementMode() const { winrt::Microsoft::UI::Xaml::Controls::NumberBoxSpinButtonPlacementMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->get_SpinButtonPlacementMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::SpinButtonPlacementMode(winrt::Microsoft::UI::Xaml::Controls::NumberBoxSpinButtonPlacementMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->put_SpinButtonPlacementMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::IsWrapEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->get_IsWrapEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::IsWrapEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->put_IsWrapEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::AcceptsExpression() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->get_AcceptsExpression(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::AcceptsExpression(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->put_AcceptsExpression(value)); } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::NumberFormatter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->get_NumberFormatter(&value)); return winrt::Windows::Globalization::NumberFormatting::INumberFormatter2{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::NumberFormatter(winrt::Windows::Globalization::NumberFormatting::INumberFormatter2 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->put_NumberFormatter(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::ValueChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->add_ValueChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::ValueChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ValueChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::ValueChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBox)->remove_ValueChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_INumberBoxFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBoxFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::NumberBox{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBoxStatics::MinimumProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBoxStatics)->get_MinimumProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBoxStatics::MaximumProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBoxStatics)->get_MaximumProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBoxStatics::ValueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBoxStatics)->get_ValueProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBoxStatics::SmallChangeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBoxStatics)->get_SmallChangeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBoxStatics::LargeChangeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBoxStatics)->get_LargeChangeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBoxStatics::TextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBoxStatics)->get_TextProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBoxStatics::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBoxStatics)->get_HeaderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBoxStatics::HeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBoxStatics)->get_HeaderTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBoxStatics::PlaceholderTextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBoxStatics)->get_PlaceholderTextProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBoxStatics::SelectionFlyoutProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBoxStatics)->get_SelectionFlyoutProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBoxStatics::SelectionHighlightColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBoxStatics)->get_SelectionHighlightColorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBoxStatics::TextReadingOrderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBoxStatics)->get_TextReadingOrderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBoxStatics::PreventKeyboardDisplayOnProgrammaticFocusProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBoxStatics)->get_PreventKeyboardDisplayOnProgrammaticFocusProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBoxStatics::DescriptionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBoxStatics)->get_DescriptionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBoxStatics::ValidationModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBoxStatics)->get_ValidationModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBoxStatics::SpinButtonPlacementModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBoxStatics)->get_SpinButtonPlacementModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBoxStatics::IsWrapEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBoxStatics)->get_IsWrapEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBoxStatics::AcceptsExpressionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBoxStatics)->get_AcceptsExpressionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBoxStatics::NumberFormatterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBoxStatics)->get_NumberFormatterProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBoxValueChangedEventArgs::OldValue() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBoxValueChangedEventArgs)->get_OldValue(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBoxValueChangedEventArgs::NewValue() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INumberBoxValueChangedEventArgs)->get_NewValue(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxView::Child() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxView)->get_Child(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxView::Child(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxView)->put_Child(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxView::HorizontalShift() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxView)->get_HorizontalShift(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxView::HorizontalShift(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxView)->put_HorizontalShift(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxView::HorizontalSourceEndOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxView)->get_HorizontalSourceEndOffset(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxView::HorizontalSourceEndOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxView)->put_HorizontalSourceEndOffset(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxView::HorizontalSourceOffsetKind() const { winrt::Microsoft::UI::Xaml::Controls::ParallaxSourceOffsetKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxView)->get_HorizontalSourceOffsetKind(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxView::HorizontalSourceOffsetKind(winrt::Microsoft::UI::Xaml::Controls::ParallaxSourceOffsetKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxView)->put_HorizontalSourceOffsetKind(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxView::HorizontalSourceStartOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxView)->get_HorizontalSourceStartOffset(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxView::HorizontalSourceStartOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxView)->put_HorizontalSourceStartOffset(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxView::IsHorizontalShiftClamped() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxView)->get_IsHorizontalShiftClamped(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxView::IsHorizontalShiftClamped(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxView)->put_IsHorizontalShiftClamped(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxView::IsVerticalShiftClamped() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxView)->get_IsVerticalShiftClamped(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxView::IsVerticalShiftClamped(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxView)->put_IsVerticalShiftClamped(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxView::MaxHorizontalShiftRatio() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxView)->get_MaxHorizontalShiftRatio(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxView::MaxHorizontalShiftRatio(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxView)->put_MaxHorizontalShiftRatio(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxView::MaxVerticalShiftRatio() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxView)->get_MaxVerticalShiftRatio(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxView::MaxVerticalShiftRatio(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxView)->put_MaxVerticalShiftRatio(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxView::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxView)->get_Source(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxView::Source(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxView)->put_Source(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxView::VerticalShift() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxView)->get_VerticalShift(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxView::VerticalShift(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxView)->put_VerticalShift(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxView::VerticalSourceEndOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxView)->get_VerticalSourceEndOffset(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxView::VerticalSourceEndOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxView)->put_VerticalSourceEndOffset(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxView::VerticalSourceOffsetKind() const { winrt::Microsoft::UI::Xaml::Controls::ParallaxSourceOffsetKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxView)->get_VerticalSourceOffsetKind(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxView::VerticalSourceOffsetKind(winrt::Microsoft::UI::Xaml::Controls::ParallaxSourceOffsetKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxView)->put_VerticalSourceOffsetKind(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxView::VerticalSourceStartOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxView)->get_VerticalSourceStartOffset(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxView::VerticalSourceStartOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxView)->put_VerticalSourceStartOffset(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxView::RefreshAutomaticHorizontalOffsets() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxView)->RefreshAutomaticHorizontalOffsets()); } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxView::RefreshAutomaticVerticalOffsets() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxView)->RefreshAutomaticVerticalOffsets()); } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxViewFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxViewFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::ParallaxView{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxViewStatics::ChildProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxViewStatics)->get_ChildProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxViewStatics::HorizontalSourceEndOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxViewStatics)->get_HorizontalSourceEndOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxViewStatics::HorizontalSourceOffsetKindProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxViewStatics)->get_HorizontalSourceOffsetKindProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxViewStatics::HorizontalSourceStartOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxViewStatics)->get_HorizontalSourceStartOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxViewStatics::MaxHorizontalShiftRatioProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxViewStatics)->get_MaxHorizontalShiftRatioProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxViewStatics::HorizontalShiftProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxViewStatics)->get_HorizontalShiftProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxViewStatics::IsHorizontalShiftClampedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxViewStatics)->get_IsHorizontalShiftClampedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxViewStatics::IsVerticalShiftClampedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxViewStatics)->get_IsVerticalShiftClampedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxViewStatics::SourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxViewStatics)->get_SourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxViewStatics::VerticalSourceEndOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxViewStatics)->get_VerticalSourceEndOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxViewStatics::VerticalSourceOffsetKindProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxViewStatics)->get_VerticalSourceOffsetKindProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxViewStatics::VerticalSourceStartOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxViewStatics)->get_VerticalSourceStartOffsetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxViewStatics::MaxVerticalShiftRatioProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxViewStatics)->get_MaxVerticalShiftRatioProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxViewStatics::VerticalShiftProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IParallaxViewStatics)->get_VerticalShiftProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPathIconSource::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPathIconSource)->get_Data(&value)); return winrt::Windows::UI::Xaml::Media::Geometry{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPathIconSource::Data(winrt::Windows::UI::Xaml::Media::Geometry const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPathIconSource)->put_Data(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPathIconSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPathIconSourceFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::PathIconSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPathIconSourceStatics::DataProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPathIconSourceStatics)->get_DataProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPicture::BadgeNumber() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPersonPicture)->get_BadgeNumber(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPicture::BadgeNumber(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPersonPicture)->put_BadgeNumber(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPicture::BadgeGlyph() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPersonPicture)->get_BadgeGlyph(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPicture::BadgeGlyph(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPersonPicture)->put_BadgeGlyph(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPicture::BadgeImageSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPersonPicture)->get_BadgeImageSource(&value)); return winrt::Windows::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPicture::BadgeImageSource(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPersonPicture)->put_BadgeImageSource(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPicture::BadgeText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPersonPicture)->get_BadgeText(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPicture::BadgeText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPersonPicture)->put_BadgeText(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPicture::IsGroup() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPersonPicture)->get_IsGroup(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPicture::IsGroup(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPersonPicture)->put_IsGroup(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPicture::Contact() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPersonPicture)->get_Contact(&value)); return winrt::Windows::ApplicationModel::Contacts::Contact{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPicture::Contact(winrt::Windows::ApplicationModel::Contacts::Contact const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPersonPicture)->put_Contact(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPicture::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPersonPicture)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPicture::DisplayName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPersonPicture)->put_DisplayName(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPicture::Initials() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPersonPicture)->get_Initials(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPicture::Initials(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPersonPicture)->put_Initials(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPicture::PreferSmallImage() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPersonPicture)->get_PreferSmallImage(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPicture::PreferSmallImage(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPersonPicture)->put_PreferSmallImage(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPicture::ProfilePicture() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPersonPicture)->get_ProfilePicture(&value)); return winrt::Windows::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPicture::ProfilePicture(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPersonPicture)->put_ProfilePicture(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPicture::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPersonPicture)->get_TemplateSettings(&value)); return winrt::Microsoft::UI::Xaml::Controls::PersonPictureTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPictureFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPersonPictureFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::PersonPicture{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPictureStatics::BadgeNumberProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPersonPictureStatics)->get_BadgeNumberProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPictureStatics::BadgeGlyphProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPersonPictureStatics)->get_BadgeGlyphProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPictureStatics::BadgeImageSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPersonPictureStatics)->get_BadgeImageSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPictureStatics::BadgeTextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPersonPictureStatics)->get_BadgeTextProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPictureStatics::IsGroupProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPersonPictureStatics)->get_IsGroupProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPictureStatics::ContactProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPersonPictureStatics)->get_ContactProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPictureStatics::DisplayNameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPersonPictureStatics)->get_DisplayNameProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPictureStatics::InitialsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPersonPictureStatics)->get_InitialsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPictureStatics::PreferSmallImageProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPersonPictureStatics)->get_PreferSmallImageProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPictureStatics::ProfilePictureProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPersonPictureStatics)->get_ProfilePictureProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPictureTemplateSettings::ActualInitials() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPersonPictureTemplateSettings)->get_ActualInitials(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPictureTemplateSettings::ActualImageBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPersonPictureTemplateSettings)->get_ActualImageBrush(&value)); return winrt::Windows::UI::Xaml::Media::ImageBrush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPager::NumberOfPages() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPager)->get_NumberOfPages(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPager::NumberOfPages(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPager)->put_NumberOfPages(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPager::SelectedPageIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPager)->get_SelectedPageIndex(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPager::SelectedPageIndex(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPager)->put_SelectedPageIndex(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPager::MaxVisiblePips() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPager)->get_MaxVisiblePips(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPager::MaxVisiblePips(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPager)->put_MaxVisiblePips(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPager::Orientation() const { winrt::Windows::UI::Xaml::Controls::Orientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPager)->get_Orientation(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPager::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPager)->put_Orientation(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPager::PreviousButtonVisibility() const { winrt::Microsoft::UI::Xaml::Controls::PipsPagerButtonVisibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPager)->get_PreviousButtonVisibility(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPager::PreviousButtonVisibility(winrt::Microsoft::UI::Xaml::Controls::PipsPagerButtonVisibility const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPager)->put_PreviousButtonVisibility(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPager::NextButtonVisibility() const { winrt::Microsoft::UI::Xaml::Controls::PipsPagerButtonVisibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPager)->get_NextButtonVisibility(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPager::NextButtonVisibility(winrt::Microsoft::UI::Xaml::Controls::PipsPagerButtonVisibility const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPager)->put_NextButtonVisibility(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPager::PreviousButtonStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPager)->get_PreviousButtonStyle(&value)); return winrt::Windows::UI::Xaml::Style{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPager::PreviousButtonStyle(winrt::Windows::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPager)->put_PreviousButtonStyle(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPager::NextButtonStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPager)->get_NextButtonStyle(&value)); return winrt::Windows::UI::Xaml::Style{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPager::NextButtonStyle(winrt::Windows::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPager)->put_NextButtonStyle(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPager::SelectedPipStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPager)->get_SelectedPipStyle(&value)); return winrt::Windows::UI::Xaml::Style{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPager::SelectedPipStyle(winrt::Windows::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPager)->put_SelectedPipStyle(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPager::NormalPipStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPager)->get_NormalPipStyle(&value)); return winrt::Windows::UI::Xaml::Style{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPager::NormalPipStyle(winrt::Windows::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPager)->put_NormalPipStyle(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPager::SelectedIndexChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPager)->add_SelectedIndexChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPager::SelectedIndexChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SelectedIndexChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPager::SelectedIndexChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPager)->remove_SelectedIndexChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPager::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPager)->get_TemplateSettings(&value)); return winrt::Microsoft::UI::Xaml::Controls::PipsPagerTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPagerFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPagerFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::PipsPager{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPagerStatics::NumberOfPagesProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPagerStatics)->get_NumberOfPagesProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPagerStatics::SelectedPageIndexProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPagerStatics)->get_SelectedPageIndexProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPagerStatics::MaxVisiblePipsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPagerStatics)->get_MaxVisiblePipsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPagerStatics::OrientationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPagerStatics)->get_OrientationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPagerStatics::PreviousButtonVisibilityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPagerStatics)->get_PreviousButtonVisibilityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPagerStatics::NextButtonVisibilityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPagerStatics)->get_NextButtonVisibilityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPagerStatics::PreviousButtonStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPagerStatics)->get_PreviousButtonStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPagerStatics::NextButtonStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPagerStatics)->get_NextButtonStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPagerStatics::SelectedPipStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPagerStatics)->get_SelectedPipStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPagerStatics::NormalPipStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPagerStatics)->get_NormalPipStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPagerTemplateSettings::PipsPagerItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPagerTemplateSettings)->get_PipsPagerItems(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IProgressBar::IsIndeterminate() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressBar)->get_IsIndeterminate(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IProgressBar::IsIndeterminate(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressBar)->put_IsIndeterminate(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IProgressBar::ShowError() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressBar)->get_ShowError(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IProgressBar::ShowError(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressBar)->put_ShowError(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IProgressBar::ShowPaused() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressBar)->get_ShowPaused(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IProgressBar::ShowPaused(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressBar)->put_ShowPaused(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IProgressBar::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressBar)->get_TemplateSettings(&value)); return winrt::Microsoft::UI::Xaml::Controls::ProgressBarTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IProgressBarFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressBarFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::ProgressBar{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IProgressBarStatics::IsIndeterminateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressBarStatics)->get_IsIndeterminateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IProgressBarStatics::ShowErrorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressBarStatics)->get_ShowErrorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IProgressBarStatics::ShowPausedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressBarStatics)->get_ShowPausedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IProgressBarTemplateSettings::ContainerAnimationStartPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressBarTemplateSettings)->get_ContainerAnimationStartPosition(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IProgressBarTemplateSettings::ContainerAnimationEndPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressBarTemplateSettings)->get_ContainerAnimationEndPosition(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IProgressBarTemplateSettings::Container2AnimationStartPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressBarTemplateSettings)->get_Container2AnimationStartPosition(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IProgressBarTemplateSettings::Container2AnimationEndPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressBarTemplateSettings)->get_Container2AnimationEndPosition(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IProgressBarTemplateSettings::ContainerAnimationMidPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressBarTemplateSettings)->get_ContainerAnimationMidPosition(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IProgressBarTemplateSettings::IndicatorLengthDelta() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressBarTemplateSettings)->get_IndicatorLengthDelta(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IProgressBarTemplateSettings::ClipRect() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressBarTemplateSettings)->get_ClipRect(&value)); return winrt::Windows::UI::Xaml::Media::RectangleGeometry{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IProgressBarTemplateSettings::EllipseAnimationEndPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressBarTemplateSettings)->get_EllipseAnimationEndPosition(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IProgressBarTemplateSettings::EllipseAnimationWellPosition() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressBarTemplateSettings)->get_EllipseAnimationWellPosition(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IProgressBarTemplateSettings::EllipseDiameter() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressBarTemplateSettings)->get_EllipseDiameter(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IProgressBarTemplateSettings::EllipseOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressBarTemplateSettings)->get_EllipseOffset(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IProgressRing::IsActive() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressRing)->get_IsActive(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IProgressRing::IsActive(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressRing)->put_IsActive(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IProgressRing::IsIndeterminate() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressRing)->get_IsIndeterminate(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IProgressRing::IsIndeterminate(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressRing)->put_IsIndeterminate(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IProgressRing::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressRing)->get_TemplateSettings(&value)); return winrt::Microsoft::UI::Xaml::Controls::ProgressRingTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IProgressRing::Value() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressRing)->get_Value(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IProgressRing::Value(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressRing)->put_Value(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IProgressRing::Minimum() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressRing)->get_Minimum(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IProgressRing::Minimum(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressRing)->put_Minimum(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IProgressRing::Maximum() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressRing)->get_Maximum(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IProgressRing::Maximum(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressRing)->put_Maximum(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IProgressRingFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressRingFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::ProgressRing{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IProgressRingStatics::IsActiveProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressRingStatics)->get_IsActiveProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IProgressRingStatics::IsIndeterminateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressRingStatics)->get_IsIndeterminateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IProgressRingStatics::ValueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressRingStatics)->get_ValueProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IProgressRingStatics::MinimumProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressRingStatics)->get_MinimumProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IProgressRingStatics::MaximumProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressRingStatics)->get_MaximumProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IProgressRingTemplateSettings::EllipseDiameter() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressRingTemplateSettings)->get_EllipseDiameter(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IProgressRingTemplateSettings::EllipseOffset() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressRingTemplateSettings)->get_EllipseOffset(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IProgressRingTemplateSettings::MaxSideLength() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IProgressRingTemplateSettings)->get_MaxSideLength(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRadioButtons::ItemsSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioButtons)->get_ItemsSource(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRadioButtons::ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioButtons)->put_ItemsSource(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRadioButtons::Items() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioButtons)->get_Items(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRadioButtons::ItemTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioButtons)->get_ItemTemplate(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRadioButtons::ItemTemplate(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioButtons)->put_ItemTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRadioButtons::ContainerFromIndex(int32_t index) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioButtons)->ContainerFromIndex(index, &result)); return winrt::Windows::UI::Xaml::UIElement{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRadioButtons::SelectedIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioButtons)->get_SelectedIndex(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRadioButtons::SelectedIndex(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioButtons)->put_SelectedIndex(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRadioButtons::SelectedItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioButtons)->get_SelectedItem(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRadioButtons::SelectedItem(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioButtons)->put_SelectedItem(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRadioButtons::SelectionChanged(winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioButtons)->add_SelectionChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IRadioButtons::SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const { return impl::make_event_revoker(this, SelectionChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IRadioButtons::SelectionChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioButtons)->remove_SelectionChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IRadioButtons::MaxColumns() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioButtons)->get_MaxColumns(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRadioButtons::MaxColumns(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioButtons)->put_MaxColumns(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRadioButtons::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioButtons)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRadioButtons::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioButtons)->put_Header(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRadioButtons::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioButtons)->get_HeaderTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRadioButtons::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioButtons)->put_HeaderTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRadioButtonsFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioButtonsFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::RadioButtons{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRadioButtonsStatics::ItemsSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioButtonsStatics)->get_ItemsSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRadioButtonsStatics::ItemsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioButtonsStatics)->get_ItemsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRadioButtonsStatics::ItemTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioButtonsStatics)->get_ItemTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRadioButtonsStatics::SelectedIndexProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioButtonsStatics)->get_SelectedIndexProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRadioButtonsStatics::SelectedItemProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioButtonsStatics)->get_SelectedItemProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRadioButtonsStatics::MaxColumnsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioButtonsStatics)->get_MaxColumnsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRadioButtonsStatics::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioButtonsStatics)->get_HeaderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRadioButtonsStatics::HeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioButtonsStatics)->get_HeaderTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRadioMenuFlyoutItem::IsChecked() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioMenuFlyoutItem)->get_IsChecked(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRadioMenuFlyoutItem::IsChecked(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioMenuFlyoutItem)->put_IsChecked(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRadioMenuFlyoutItem::GroupName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioMenuFlyoutItem)->get_GroupName(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRadioMenuFlyoutItem::GroupName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioMenuFlyoutItem)->put_GroupName(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRadioMenuFlyoutItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioMenuFlyoutItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::RadioMenuFlyoutItem{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRadioMenuFlyoutItemStatics::IsCheckedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioMenuFlyoutItemStatics)->get_IsCheckedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRadioMenuFlyoutItemStatics::GroupNameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioMenuFlyoutItemStatics)->get_GroupNameProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRadioMenuFlyoutItemStatics2::AreCheckStatesEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioMenuFlyoutItemStatics2)->get_AreCheckStatesEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRadioMenuFlyoutItemStatics2::SetAreCheckStatesEnabled(winrt::Windows::UI::Xaml::Controls::MenuFlyoutSubItem const& object, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioMenuFlyoutItemStatics2)->SetAreCheckStatesEnabled(*(void**)(&object), value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRadioMenuFlyoutItemStatics2::GetAreCheckStatesEnabled(winrt::Windows::UI::Xaml::Controls::MenuFlyoutSubItem const& object) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioMenuFlyoutItemStatics2)->GetAreCheckStatesEnabled(*(void**)(&object), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingControl::Caption() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingControl)->get_Caption(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingControl::Caption(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingControl)->put_Caption(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRatingControl::InitialSetValue() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingControl)->get_InitialSetValue(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingControl::InitialSetValue(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingControl)->put_InitialSetValue(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRatingControl::IsClearEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingControl)->get_IsClearEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingControl::IsClearEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingControl)->put_IsClearEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRatingControl::IsReadOnly() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingControl)->get_IsReadOnly(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingControl::IsReadOnly(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingControl)->put_IsReadOnly(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRatingControl::MaxRating() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingControl)->get_MaxRating(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingControl::MaxRating(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingControl)->put_MaxRating(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRatingControl::PlaceholderValue() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingControl)->get_PlaceholderValue(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingControl::PlaceholderValue(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingControl)->put_PlaceholderValue(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRatingControl::ItemInfo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingControl)->get_ItemInfo(&value)); return winrt::Microsoft::UI::Xaml::Controls::RatingItemInfo{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingControl::ItemInfo(winrt::Microsoft::UI::Xaml::Controls::RatingItemInfo const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingControl)->put_ItemInfo(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRatingControl::Value() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingControl)->get_Value(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingControl::Value(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingControl)->put_Value(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRatingControl::ValueChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingControl)->add_ValueChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingControl::ValueChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ValueChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IRatingControl::ValueChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingControl)->remove_ValueChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IRatingControlFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingControlFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::RatingControl{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingControlStatics::CaptionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingControlStatics)->get_CaptionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingControlStatics::InitialSetValueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingControlStatics)->get_InitialSetValueProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingControlStatics::IsClearEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingControlStatics)->get_IsClearEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingControlStatics::IsReadOnlyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingControlStatics)->get_IsReadOnlyProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingControlStatics::MaxRatingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingControlStatics)->get_MaxRatingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingControlStatics::PlaceholderValueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingControlStatics)->get_PlaceholderValueProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingControlStatics::ItemInfoProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingControlStatics)->get_ItemInfoProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingControlStatics::ValueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingControlStatics)->get_ValueProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemFontInfo::DisabledGlyph() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemFontInfo)->get_DisabledGlyph(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemFontInfo::DisabledGlyph(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemFontInfo)->put_DisabledGlyph(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemFontInfo::Glyph() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemFontInfo)->get_Glyph(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemFontInfo::Glyph(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemFontInfo)->put_Glyph(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemFontInfo::PointerOverGlyph() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemFontInfo)->get_PointerOverGlyph(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemFontInfo::PointerOverGlyph(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemFontInfo)->put_PointerOverGlyph(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemFontInfo::PointerOverPlaceholderGlyph() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemFontInfo)->get_PointerOverPlaceholderGlyph(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemFontInfo::PointerOverPlaceholderGlyph(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemFontInfo)->put_PointerOverPlaceholderGlyph(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemFontInfo::PlaceholderGlyph() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemFontInfo)->get_PlaceholderGlyph(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemFontInfo::PlaceholderGlyph(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemFontInfo)->put_PlaceholderGlyph(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemFontInfo::UnsetGlyph() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemFontInfo)->get_UnsetGlyph(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemFontInfo::UnsetGlyph(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemFontInfo)->put_UnsetGlyph(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemFontInfoFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemFontInfoFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::RatingItemFontInfo{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemFontInfoStatics::DisabledGlyphProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemFontInfoStatics)->get_DisabledGlyphProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemFontInfoStatics::GlyphProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemFontInfoStatics)->get_GlyphProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemFontInfoStatics::PlaceholderGlyphProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemFontInfoStatics)->get_PlaceholderGlyphProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemFontInfoStatics::PointerOverGlyphProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemFontInfoStatics)->get_PointerOverGlyphProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemFontInfoStatics::PointerOverPlaceholderGlyphProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemFontInfoStatics)->get_PointerOverPlaceholderGlyphProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemFontInfoStatics::UnsetGlyphProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemFontInfoStatics)->get_UnsetGlyphProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemImageInfo::DisabledImage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemImageInfo)->get_DisabledImage(&value)); return winrt::Windows::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemImageInfo::DisabledImage(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemImageInfo)->put_DisabledImage(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemImageInfo::Image() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemImageInfo)->get_Image(&value)); return winrt::Windows::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemImageInfo::Image(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemImageInfo)->put_Image(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemImageInfo::PlaceholderImage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemImageInfo)->get_PlaceholderImage(&value)); return winrt::Windows::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemImageInfo::PlaceholderImage(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemImageInfo)->put_PlaceholderImage(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemImageInfo::PointerOverImage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemImageInfo)->get_PointerOverImage(&value)); return winrt::Windows::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemImageInfo::PointerOverImage(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemImageInfo)->put_PointerOverImage(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemImageInfo::PointerOverPlaceholderImage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemImageInfo)->get_PointerOverPlaceholderImage(&value)); return winrt::Windows::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemImageInfo::PointerOverPlaceholderImage(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemImageInfo)->put_PointerOverPlaceholderImage(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemImageInfo::UnsetImage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemImageInfo)->get_UnsetImage(&value)); return winrt::Windows::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemImageInfo::UnsetImage(winrt::Windows::UI::Xaml::Media::ImageSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemImageInfo)->put_UnsetImage(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemImageInfoFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemImageInfoFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::RatingItemImageInfo{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemImageInfoStatics::DisabledImageProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemImageInfoStatics)->get_DisabledImageProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemImageInfoStatics::ImageProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemImageInfoStatics)->get_ImageProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemImageInfoStatics::PlaceholderImageProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemImageInfoStatics)->get_PlaceholderImageProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemImageInfoStatics::PointerOverImageProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemImageInfoStatics)->get_PointerOverImageProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemImageInfoStatics::PointerOverPlaceholderImageProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemImageInfoStatics)->get_PointerOverPlaceholderImageProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemImageInfoStatics::UnsetImageProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemImageInfoStatics)->get_UnsetImageProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemInfoFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRatingItemInfoFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::RatingItemInfo{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRefreshContainer::Visualizer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRefreshContainer)->get_Visualizer(&value)); return winrt::Microsoft::UI::Xaml::Controls::RefreshVisualizer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRefreshContainer::Visualizer(winrt::Microsoft::UI::Xaml::Controls::RefreshVisualizer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRefreshContainer)->put_Visualizer(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRefreshContainer::PullDirection() const { winrt::Microsoft::UI::Xaml::Controls::RefreshPullDirection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRefreshContainer)->get_PullDirection(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRefreshContainer::PullDirection(winrt::Microsoft::UI::Xaml::Controls::RefreshPullDirection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRefreshContainer)->put_PullDirection(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRefreshContainer::RefreshRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRefreshContainer)->add_RefreshRequested(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IRefreshContainer::RefreshRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, RefreshRequested(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IRefreshContainer::RefreshRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRefreshContainer)->remove_RefreshRequested(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IRefreshContainer::RequestRefresh() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRefreshContainer)->RequestRefresh()); } template auto consume_Microsoft_UI_Xaml_Controls_IRefreshContainerFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRefreshContainerFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::RefreshContainer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRefreshContainerStatics::VisualizerProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRefreshContainerStatics)->get_VisualizerProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRefreshContainerStatics::PullDirectionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRefreshContainerStatics)->get_PullDirectionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRefreshInteractionRatioChangedEventArgs::InteractionRatio() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRefreshInteractionRatioChangedEventArgs)->get_InteractionRatio(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRefreshRequestedEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRefreshRequestedEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRefreshStateChangedEventArgs::OldState() const { winrt::Microsoft::UI::Xaml::Controls::RefreshVisualizerState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRefreshStateChangedEventArgs)->get_OldState(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRefreshStateChangedEventArgs::NewState() const { winrt::Microsoft::UI::Xaml::Controls::RefreshVisualizerState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRefreshStateChangedEventArgs)->get_NewState(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRefreshVisualizer::RequestRefresh() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRefreshVisualizer)->RequestRefresh()); } template auto consume_Microsoft_UI_Xaml_Controls_IRefreshVisualizer::Orientation() const { winrt::Microsoft::UI::Xaml::Controls::RefreshVisualizerOrientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRefreshVisualizer)->get_Orientation(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRefreshVisualizer::Orientation(winrt::Microsoft::UI::Xaml::Controls::RefreshVisualizerOrientation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRefreshVisualizer)->put_Orientation(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRefreshVisualizer::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRefreshVisualizer)->get_Content(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRefreshVisualizer::Content(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRefreshVisualizer)->put_Content(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRefreshVisualizer::State() const { winrt::Microsoft::UI::Xaml::Controls::RefreshVisualizerState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRefreshVisualizer)->get_State(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRefreshVisualizer::RefreshRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRefreshVisualizer)->add_RefreshRequested(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IRefreshVisualizer::RefreshRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, RefreshRequested(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IRefreshVisualizer::RefreshRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRefreshVisualizer)->remove_RefreshRequested(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IRefreshVisualizer::RefreshStateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRefreshVisualizer)->add_RefreshStateChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IRefreshVisualizer::RefreshStateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, RefreshStateChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IRefreshVisualizer::RefreshStateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRefreshVisualizer)->remove_RefreshStateChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IRefreshVisualizerFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRefreshVisualizerFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::RefreshVisualizer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRefreshVisualizerStatics::InfoProviderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRefreshVisualizerStatics)->get_InfoProviderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRefreshVisualizerStatics::OrientationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRefreshVisualizerStatics)->get_OrientationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRefreshVisualizerStatics::ContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRefreshVisualizerStatics)->get_ContentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRefreshVisualizerStatics::StateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRefreshVisualizerStatics)->get_StateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRevealListViewItemPresenterFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRevealListViewItemPresenterFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::RevealListViewItemPresenter{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitButton::Flyout() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitButton)->get_Flyout(&value)); return winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitButton::Flyout(winrt::Windows::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitButton)->put_Flyout(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISplitButton::Command() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitButton)->get_Command(&value)); return winrt::Windows::UI::Xaml::Input::ICommand{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitButton::Command(winrt::Windows::UI::Xaml::Input::ICommand const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitButton)->put_Command(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISplitButton::CommandParameter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitButton)->get_CommandParameter(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitButton::CommandParameter(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitButton)->put_CommandParameter(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISplitButton::Click(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitButton)->add_Click(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitButton::Click(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Click(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ISplitButton::Click(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitButton)->remove_Click(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ISplitButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitButtonFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::SplitButton{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitButtonStatics::FlyoutProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitButtonStatics)->get_FlyoutProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitButtonStatics::CommandProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitButtonStatics)->get_CommandProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitButtonStatics::CommandParameterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitButtonStatics)->get_CommandParameterProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IStackLayout::Orientation() const { winrt::Windows::UI::Xaml::Controls::Orientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IStackLayout)->get_Orientation(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IStackLayout::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IStackLayout)->put_Orientation(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IStackLayout::Spacing() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IStackLayout)->get_Spacing(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IStackLayout::Spacing(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IStackLayout)->put_Spacing(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IStackLayoutFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IStackLayoutFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::StackLayout{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IStackLayoutStatics::OrientationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IStackLayoutStatics)->get_OrientationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IStackLayoutStatics::SpacingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IStackLayoutStatics)->get_SpacingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeControl::LeftItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeControl)->get_LeftItems(&value)); return winrt::Microsoft::UI::Xaml::Controls::SwipeItems{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeControl::LeftItems(winrt::Microsoft::UI::Xaml::Controls::SwipeItems const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeControl)->put_LeftItems(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeControl::RightItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeControl)->get_RightItems(&value)); return winrt::Microsoft::UI::Xaml::Controls::SwipeItems{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeControl::RightItems(winrt::Microsoft::UI::Xaml::Controls::SwipeItems const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeControl)->put_RightItems(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeControl::TopItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeControl)->get_TopItems(&value)); return winrt::Microsoft::UI::Xaml::Controls::SwipeItems{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeControl::TopItems(winrt::Microsoft::UI::Xaml::Controls::SwipeItems const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeControl)->put_TopItems(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeControl::BottomItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeControl)->get_BottomItems(&value)); return winrt::Microsoft::UI::Xaml::Controls::SwipeItems{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeControl::BottomItems(winrt::Microsoft::UI::Xaml::Controls::SwipeItems const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeControl)->put_BottomItems(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeControl::Close() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeControl)->Close()); } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeControlFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeControlFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::SwipeControl{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeControlStatics::LeftItemsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeControlStatics)->get_LeftItemsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeControlStatics::RightItemsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeControlStatics)->get_RightItemsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeControlStatics::TopItemsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeControlStatics)->get_TopItemsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeControlStatics::BottomItemsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeControlStatics)->get_BottomItemsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeItem::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeItem)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeItem::Text(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeItem)->put_Text(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeItem::IconSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeItem)->get_IconSource(&value)); return winrt::Microsoft::UI::Xaml::Controls::IconSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeItem::IconSource(winrt::Microsoft::UI::Xaml::Controls::IconSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeItem)->put_IconSource(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeItem::Background() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeItem)->get_Background(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeItem::Background(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeItem)->put_Background(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeItem::Foreground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeItem)->get_Foreground(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeItem::Foreground(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeItem)->put_Foreground(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeItem::Command() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeItem)->get_Command(&value)); return winrt::Windows::UI::Xaml::Input::ICommand{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeItem::Command(winrt::Windows::UI::Xaml::Input::ICommand const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeItem)->put_Command(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeItem::CommandParameter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeItem)->get_CommandParameter(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeItem::CommandParameter(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeItem)->put_CommandParameter(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeItem::BehaviorOnInvoked() const { winrt::Microsoft::UI::Xaml::Controls::SwipeBehaviorOnInvoked value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeItem)->get_BehaviorOnInvoked(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeItem::BehaviorOnInvoked(winrt::Microsoft::UI::Xaml::Controls::SwipeBehaviorOnInvoked const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeItem)->put_BehaviorOnInvoked(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeItem::Invoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeItem)->add_Invoked(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeItem::Invoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Invoked(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeItem::Invoked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeItem)->remove_Invoked(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::SwipeItem{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeItemInvokedEventArgs::SwipeControl() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeItemInvokedEventArgs)->get_SwipeControl(&value)); return winrt::Microsoft::UI::Xaml::Controls::SwipeControl{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeItemStatics::IconSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeItemStatics)->get_IconSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeItemStatics::TextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeItemStatics)->get_TextProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeItemStatics::BackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeItemStatics)->get_BackgroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeItemStatics::ForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeItemStatics)->get_ForegroundProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeItemStatics::CommandProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeItemStatics)->get_CommandProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeItemStatics::CommandParameterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeItemStatics)->get_CommandParameterProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeItemStatics::BehaviorOnInvokedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeItemStatics)->get_BehaviorOnInvokedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeItems::Mode() const { winrt::Microsoft::UI::Xaml::Controls::SwipeMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeItems)->get_Mode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeItems::Mode(winrt::Microsoft::UI::Xaml::Controls::SwipeMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeItems)->put_Mode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeItemsFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeItemsFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::SwipeItems{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeItemsStatics::ModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwipeItemsStatics)->get_ModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISymbolIconSource::Symbol() const { winrt::Windows::UI::Xaml::Controls::Symbol value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISymbolIconSource)->get_Symbol(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ISymbolIconSource::Symbol(winrt::Windows::UI::Xaml::Controls::Symbol const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISymbolIconSource)->put_Symbol(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISymbolIconSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISymbolIconSourceFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::SymbolIconSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISymbolIconSourceStatics::SymbolProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISymbolIconSourceStatics)->get_SymbolProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabWidthMode() const { winrt::Microsoft::UI::Xaml::Controls::TabViewWidthMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->get_TabWidthMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabWidthMode(winrt::Microsoft::UI::Xaml::Controls::TabViewWidthMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->put_TabWidthMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::CloseButtonOverlayMode() const { winrt::Microsoft::UI::Xaml::Controls::TabViewCloseButtonOverlayMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->get_CloseButtonOverlayMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::CloseButtonOverlayMode(winrt::Microsoft::UI::Xaml::Controls::TabViewCloseButtonOverlayMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->put_CloseButtonOverlayMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabStripHeader() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->get_TabStripHeader(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabStripHeader(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->put_TabStripHeader(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabStripHeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->get_TabStripHeaderTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabStripHeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->put_TabStripHeaderTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabStripFooter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->get_TabStripFooter(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabStripFooter(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->put_TabStripFooter(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabStripFooterTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->get_TabStripFooterTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabStripFooterTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->put_TabStripFooterTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::IsAddTabButtonVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->get_IsAddTabButtonVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::IsAddTabButtonVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->put_IsAddTabButtonVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::AddTabButtonCommand() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->get_AddTabButtonCommand(&value)); return winrt::Windows::UI::Xaml::Input::ICommand{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::AddTabButtonCommand(winrt::Windows::UI::Xaml::Input::ICommand const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->put_AddTabButtonCommand(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::AddTabButtonCommandParameter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->get_AddTabButtonCommandParameter(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::AddTabButtonCommandParameter(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->put_AddTabButtonCommandParameter(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabCloseRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->add_TabCloseRequested(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabCloseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TabCloseRequested(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabCloseRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->remove_TabCloseRequested(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabDroppedOutside(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->add_TabDroppedOutside(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabDroppedOutside(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TabDroppedOutside(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabDroppedOutside(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->remove_TabDroppedOutside(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::AddTabButtonClick(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->add_AddTabButtonClick(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::AddTabButtonClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AddTabButtonClick(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::AddTabButtonClick(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->remove_AddTabButtonClick(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabItemsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->add_TabItemsChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabItemsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TabItemsChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabItemsChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->remove_TabItemsChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabItemsSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->get_TabItemsSource(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabItemsSource(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->put_TabItemsSource(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->get_TabItems(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabItemTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->get_TabItemTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabItemTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->put_TabItemTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabItemTemplateSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->get_TabItemTemplateSelector(&value)); return winrt::Windows::UI::Xaml::Controls::DataTemplateSelector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabItemTemplateSelector(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->put_TabItemTemplateSelector(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::CanDragTabs() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->get_CanDragTabs(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::CanDragTabs(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->put_CanDragTabs(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::CanReorderTabs() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->get_CanReorderTabs(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::CanReorderTabs(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->put_CanReorderTabs(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::AllowDropTabs() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->get_AllowDropTabs(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::AllowDropTabs(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->put_AllowDropTabs(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::SelectedIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->get_SelectedIndex(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::SelectedIndex(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->put_SelectedIndex(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::SelectedItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->get_SelectedItem(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::SelectedItem(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->put_SelectedItem(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::ContainerFromItem(winrt::Windows::Foundation::IInspectable const& item) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->ContainerFromItem(*(void**)(&item), &result)); return winrt::Windows::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::ContainerFromIndex(int32_t index) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->ContainerFromIndex(index, &result)); return winrt::Windows::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::SelectionChanged(winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->add_SelectionChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::SelectionChanged(auto_revoke_t, winrt::Windows::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const { return impl::make_event_revoker(this, SelectionChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::SelectionChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->remove_SelectionChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabDragStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->add_TabDragStarting(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabDragStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TabDragStarting(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabDragStarting(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->remove_TabDragStarting(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabDragCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->add_TabDragCompleted(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabDragCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TabDragCompleted(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabDragCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->remove_TabDragCompleted(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabStripDragOver(winrt::Windows::UI::Xaml::DragEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->add_TabStripDragOver(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabStripDragOver(auto_revoke_t, winrt::Windows::UI::Xaml::DragEventHandler const& handler) const { return impl::make_event_revoker(this, TabStripDragOver(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabStripDragOver(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->remove_TabStripDragOver(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabStripDrop(winrt::Windows::UI::Xaml::DragEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->add_TabStripDrop(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabStripDrop(auto_revoke_t, winrt::Windows::UI::Xaml::DragEventHandler const& handler) const { return impl::make_event_revoker(this, TabStripDrop(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabStripDrop(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView)->remove_TabStripDrop(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::TabView{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewItem::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewItem)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewItem::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewItem)->put_Header(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewItem::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewItem)->get_HeaderTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewItem::HeaderTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewItem)->put_HeaderTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewItem::IconSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewItem)->get_IconSource(&value)); return winrt::Microsoft::UI::Xaml::Controls::IconSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewItem::IconSource(winrt::Microsoft::UI::Xaml::Controls::IconSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewItem)->put_IconSource(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewItem::IsClosable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewItem)->get_IsClosable(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewItem::IsClosable(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewItem)->put_IsClosable(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewItem::TabViewTemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewItem)->get_TabViewTemplateSettings(&value)); return winrt::Microsoft::UI::Xaml::Controls::TabViewItemTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewItem::CloseRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewItem)->add_CloseRequested(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewItem::CloseRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CloseRequested(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewItem::CloseRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewItem)->remove_CloseRequested(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::TabViewItem{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewItemStatics::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewItemStatics)->get_HeaderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewItemStatics::HeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewItemStatics)->get_HeaderTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewItemStatics::IconSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewItemStatics)->get_IconSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewItemStatics::IsClosableProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewItemStatics)->get_IsClosableProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewItemStatics::TabViewTemplateSettingsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewItemStatics)->get_TabViewTemplateSettingsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewItemTemplateSettings::IconElement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewItemTemplateSettings)->get_IconElement(&value)); return winrt::Windows::UI::Xaml::Controls::IconElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewItemTemplateSettings::IconElement(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewItemTemplateSettings)->put_IconElement(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewItemTemplateSettings2::TabGeometry() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewItemTemplateSettings2)->get_TabGeometry(&value)); return winrt::Windows::UI::Xaml::Media::Geometry{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewItemTemplateSettings2::TabGeometry(winrt::Windows::UI::Xaml::Media::Geometry const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewItemTemplateSettings2)->put_TabGeometry(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewItemTemplateSettingsFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewItemTemplateSettingsFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::TabViewItemTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewItemTemplateSettingsStatics::IconElementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewItemTemplateSettingsStatics)->get_IconElementProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewItemTemplateSettingsStatics2::TabGeometryProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewItemTemplateSettingsStatics2)->get_TabGeometryProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewStatics::TabWidthModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewStatics)->get_TabWidthModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewStatics::TabStripHeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewStatics)->get_TabStripHeaderProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewStatics::TabStripHeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewStatics)->get_TabStripHeaderTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewStatics::TabStripFooterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewStatics)->get_TabStripFooterProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewStatics::TabStripFooterTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewStatics)->get_TabStripFooterTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewStatics::IsAddTabButtonVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewStatics)->get_IsAddTabButtonVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewStatics::AddTabButtonCommandProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewStatics)->get_AddTabButtonCommandProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewStatics::AddTabButtonCommandParameterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewStatics)->get_AddTabButtonCommandParameterProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewStatics::TabItemsSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewStatics)->get_TabItemsSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewStatics::TabItemsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewStatics)->get_TabItemsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewStatics::TabItemTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewStatics)->get_TabItemTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewStatics::TabItemTemplateSelectorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewStatics)->get_TabItemTemplateSelectorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewStatics::CloseButtonOverlayModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewStatics)->get_CloseButtonOverlayModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewStatics::CanDragTabsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewStatics)->get_CanDragTabsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewStatics::CanReorderTabsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewStatics)->get_CanReorderTabsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewStatics::AllowDropTabsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewStatics)->get_AllowDropTabsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewStatics::SelectedIndexProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewStatics)->get_SelectedIndexProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewStatics::SelectedItemProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewStatics)->get_SelectedItemProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewTabCloseRequestedEventArgs::Item() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewTabCloseRequestedEventArgs)->get_Item(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewTabCloseRequestedEventArgs::Tab() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewTabCloseRequestedEventArgs)->get_Tab(&value)); return winrt::Microsoft::UI::Xaml::Controls::TabViewItem{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewTabDragCompletedEventArgs::DropResult() const { winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewTabDragCompletedEventArgs)->get_DropResult(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewTabDragCompletedEventArgs::Item() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewTabDragCompletedEventArgs)->get_Item(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewTabDragCompletedEventArgs::Tab() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewTabDragCompletedEventArgs)->get_Tab(&value)); return winrt::Microsoft::UI::Xaml::Controls::TabViewItem{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewTabDragStartingEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewTabDragStartingEventArgs)->get_Cancel(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewTabDragStartingEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewTabDragStartingEventArgs)->put_Cancel(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewTabDragStartingEventArgs::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewTabDragStartingEventArgs)->get_Data(&value)); return winrt::Windows::ApplicationModel::DataTransfer::DataPackage{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewTabDragStartingEventArgs::Item() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewTabDragStartingEventArgs)->get_Item(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewTabDragStartingEventArgs::Tab() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewTabDragStartingEventArgs)->get_Tab(&value)); return winrt::Microsoft::UI::Xaml::Controls::TabViewItem{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewTabDroppedOutsideEventArgs::Item() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewTabDroppedOutsideEventArgs)->get_Item(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewTabDroppedOutsideEventArgs::Tab() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewTabDroppedOutsideEventArgs)->get_Tab(&value)); return winrt::Microsoft::UI::Xaml::Controls::TabViewItem{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::Title(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->put_Title(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::Subtitle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->get_Subtitle(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::Subtitle(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->put_Subtitle(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::IsOpen() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->get_IsOpen(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::IsOpen(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->put_IsOpen(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::Target() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->get_Target(&value)); return winrt::Windows::UI::Xaml::FrameworkElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::Target(winrt::Windows::UI::Xaml::FrameworkElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->put_Target(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::TailVisibility() const { winrt::Microsoft::UI::Xaml::Controls::TeachingTipTailVisibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->get_TailVisibility(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::TailVisibility(winrt::Microsoft::UI::Xaml::Controls::TeachingTipTailVisibility const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->put_TailVisibility(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::ActionButtonContent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->get_ActionButtonContent(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::ActionButtonContent(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->put_ActionButtonContent(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::ActionButtonStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->get_ActionButtonStyle(&value)); return winrt::Windows::UI::Xaml::Style{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::ActionButtonStyle(winrt::Windows::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->put_ActionButtonStyle(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::ActionButtonCommand() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->get_ActionButtonCommand(&value)); return winrt::Windows::UI::Xaml::Input::ICommand{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::ActionButtonCommand(winrt::Windows::UI::Xaml::Input::ICommand const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->put_ActionButtonCommand(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::ActionButtonCommandParameter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->get_ActionButtonCommandParameter(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::ActionButtonCommandParameter(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->put_ActionButtonCommandParameter(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::CloseButtonContent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->get_CloseButtonContent(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::CloseButtonContent(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->put_CloseButtonContent(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::CloseButtonStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->get_CloseButtonStyle(&value)); return winrt::Windows::UI::Xaml::Style{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::CloseButtonStyle(winrt::Windows::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->put_CloseButtonStyle(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::CloseButtonCommand() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->get_CloseButtonCommand(&value)); return winrt::Windows::UI::Xaml::Input::ICommand{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::CloseButtonCommand(winrt::Windows::UI::Xaml::Input::ICommand const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->put_CloseButtonCommand(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::CloseButtonCommandParameter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->get_CloseButtonCommandParameter(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::CloseButtonCommandParameter(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->put_CloseButtonCommandParameter(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::PlacementMargin() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->get_PlacementMargin(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::PlacementMargin(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->put_PlacementMargin(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::ShouldConstrainToRootBounds() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->get_ShouldConstrainToRootBounds(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::ShouldConstrainToRootBounds(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->put_ShouldConstrainToRootBounds(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::IsLightDismissEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->get_IsLightDismissEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::IsLightDismissEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->put_IsLightDismissEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::PreferredPlacement() const { winrt::Microsoft::UI::Xaml::Controls::TeachingTipPlacementMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->get_PreferredPlacement(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::PreferredPlacement(winrt::Microsoft::UI::Xaml::Controls::TeachingTipPlacementMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->put_PreferredPlacement(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::HeroContentPlacement() const { winrt::Microsoft::UI::Xaml::Controls::TeachingTipHeroContentPlacementMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->get_HeroContentPlacement(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::HeroContentPlacement(winrt::Microsoft::UI::Xaml::Controls::TeachingTipHeroContentPlacementMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->put_HeroContentPlacement(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::HeroContent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->get_HeroContent(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::HeroContent(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->put_HeroContent(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::IconSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->get_IconSource(&value)); return winrt::Microsoft::UI::Xaml::Controls::IconSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::IconSource(winrt::Microsoft::UI::Xaml::Controls::IconSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->put_IconSource(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->get_TemplateSettings(&value)); return winrt::Microsoft::UI::Xaml::Controls::TeachingTipTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::ActionButtonClick(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->add_ActionButtonClick(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::ActionButtonClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ActionButtonClick(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::ActionButtonClick(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->remove_ActionButtonClick(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::CloseButtonClick(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->add_CloseButtonClick(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::CloseButtonClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CloseButtonClick(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::CloseButtonClick(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->remove_CloseButtonClick(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::Closing(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->add_Closing(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::Closing(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Closing(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::Closing(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->remove_Closing(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->add_Closed(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::Closed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Closed(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::Closed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTip)->remove_Closed(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipClosedEventArgs::Reason() const { winrt::Microsoft::UI::Xaml::Controls::TeachingTipCloseReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipClosedEventArgs)->get_Reason(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipClosingEventArgs::Reason() const { winrt::Microsoft::UI::Xaml::Controls::TeachingTipCloseReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipClosingEventArgs)->get_Reason(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipClosingEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipClosingEventArgs)->get_Cancel(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipClosingEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipClosingEventArgs)->put_Cancel(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipClosingEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipClosingEventArgs)->GetDeferral(&result)); return winrt::Windows::Foundation::Deferral{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::TeachingTip{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipStatics::IsOpenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipStatics)->get_IsOpenProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipStatics::TargetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipStatics)->get_TargetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipStatics::TailVisibilityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipStatics)->get_TailVisibilityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipStatics::TitleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipStatics)->get_TitleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipStatics::SubtitleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipStatics)->get_SubtitleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipStatics::ActionButtonContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipStatics)->get_ActionButtonContentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipStatics::ActionButtonStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipStatics)->get_ActionButtonStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipStatics::ActionButtonCommandProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipStatics)->get_ActionButtonCommandProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipStatics::ActionButtonCommandParameterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipStatics)->get_ActionButtonCommandParameterProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipStatics::CloseButtonContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipStatics)->get_CloseButtonContentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipStatics::CloseButtonStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipStatics)->get_CloseButtonStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipStatics::CloseButtonCommandProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipStatics)->get_CloseButtonCommandProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipStatics::CloseButtonCommandParameterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipStatics)->get_CloseButtonCommandParameterProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipStatics::PlacementMarginProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipStatics)->get_PlacementMarginProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipStatics::ShouldConstrainToRootBoundsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipStatics)->get_ShouldConstrainToRootBoundsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipStatics::IsLightDismissEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipStatics)->get_IsLightDismissEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipStatics::PreferredPlacementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipStatics)->get_PreferredPlacementProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipStatics::HeroContentPlacementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipStatics)->get_HeroContentPlacementProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipStatics::HeroContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipStatics)->get_HeroContentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipStatics::IconSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipStatics)->get_IconSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipStatics::TemplateSettingsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipStatics)->get_TemplateSettingsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipTemplateSettings::TopRightHighlightMargin() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipTemplateSettings)->get_TopRightHighlightMargin(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipTemplateSettings::TopRightHighlightMargin(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipTemplateSettings)->put_TopRightHighlightMargin(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipTemplateSettings::TopLeftHighlightMargin() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipTemplateSettings)->get_TopLeftHighlightMargin(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipTemplateSettings::TopLeftHighlightMargin(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipTemplateSettings)->put_TopLeftHighlightMargin(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipTemplateSettings::IconElement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipTemplateSettings)->get_IconElement(&value)); return winrt::Windows::UI::Xaml::Controls::IconElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipTemplateSettings::IconElement(winrt::Windows::UI::Xaml::Controls::IconElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipTemplateSettings)->put_IconElement(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipTemplateSettingsFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipTemplateSettingsFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::TeachingTipTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipTemplateSettingsStatics::TopRightHighlightMarginProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipTemplateSettingsStatics)->get_TopRightHighlightMarginProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipTemplateSettingsStatics::TopLeftHighlightMarginProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipTemplateSettingsStatics)->get_TopLeftHighlightMarginProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipTemplateSettingsStatics::IconElementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITeachingTipTemplateSettingsStatics)->get_IconElementProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextCommandBarFlyoutFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextCommandBarFlyoutFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::TextCommandBarFlyout{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSplitButton::IsChecked() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleSplitButton)->get_IsChecked(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSplitButton::IsChecked(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleSplitButton)->put_IsChecked(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSplitButton::IsCheckedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleSplitButton)->add_IsCheckedChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSplitButton::IsCheckedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, IsCheckedChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSplitButton::IsCheckedChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleSplitButton)->remove_IsCheckedChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSplitButtonFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleSplitButtonFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::ToggleSplitButton{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSplitButtonStatics::IsCheckedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleSplitButtonStatics)->get_IsCheckedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView::RootNodes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView)->get_RootNodes(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView::SelectionMode() const { winrt::Microsoft::UI::Xaml::Controls::TreeViewSelectionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView)->get_SelectionMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView::SelectionMode(winrt::Microsoft::UI::Xaml::Controls::TreeViewSelectionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView)->put_SelectionMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView::SelectedNodes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView)->get_SelectedNodes(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView::Expand(winrt::Microsoft::UI::Xaml::Controls::TreeViewNode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView)->Expand(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView::Collapse(winrt::Microsoft::UI::Xaml::Controls::TreeViewNode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView)->Collapse(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView::SelectAll() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView)->SelectAll()); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView::ItemInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView)->add_ItemInvoked(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView::ItemInvoked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ItemInvoked(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView::ItemInvoked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView)->remove_ItemInvoked(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView::Expanding(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView)->add_Expanding(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView::Expanding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Expanding(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView::Expanding(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView)->remove_Expanding(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView::Collapsed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView)->add_Collapsed(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView::Collapsed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Collapsed(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView::Collapsed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView)->remove_Collapsed(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::NodeFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView2)->NodeFromContainer(*(void**)(&container), &result)); return winrt::Microsoft::UI::Xaml::Controls::TreeViewNode{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::ContainerFromNode(winrt::Microsoft::UI::Xaml::Controls::TreeViewNode const& node) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView2)->ContainerFromNode(*(void**)(&node), &result)); return winrt::Windows::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::ItemFromContainer(winrt::Windows::UI::Xaml::DependencyObject const& container) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView2)->ItemFromContainer(*(void**)(&container), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::ContainerFromItem(winrt::Windows::Foundation::IInspectable const& item) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView2)->ContainerFromItem(*(void**)(&item), &result)); return winrt::Windows::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::CanDragItems() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView2)->get_CanDragItems(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::CanDragItems(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView2)->put_CanDragItems(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::CanReorderItems() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView2)->get_CanReorderItems(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::CanReorderItems(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView2)->put_CanReorderItems(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::ItemTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView2)->get_ItemTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::ItemTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView2)->put_ItemTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::ItemTemplateSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView2)->get_ItemTemplateSelector(&value)); return winrt::Windows::UI::Xaml::Controls::DataTemplateSelector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::ItemTemplateSelector(winrt::Windows::UI::Xaml::Controls::DataTemplateSelector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView2)->put_ItemTemplateSelector(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::ItemContainerStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView2)->get_ItemContainerStyle(&value)); return winrt::Windows::UI::Xaml::Style{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::ItemContainerStyle(winrt::Windows::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView2)->put_ItemContainerStyle(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::ItemContainerStyleSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView2)->get_ItemContainerStyleSelector(&value)); return winrt::Windows::UI::Xaml::Controls::StyleSelector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::ItemContainerStyleSelector(winrt::Windows::UI::Xaml::Controls::StyleSelector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView2)->put_ItemContainerStyleSelector(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::ItemContainerTransitions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView2)->get_ItemContainerTransitions(&value)); return winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::ItemContainerTransitions(winrt::Windows::UI::Xaml::Media::Animation::TransitionCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView2)->put_ItemContainerTransitions(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::ItemsSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView2)->get_ItemsSource(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView2)->put_ItemsSource(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::DragItemsStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView2)->add_DragItemsStarting(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::DragItemsStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DragItemsStarting(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::DragItemsStarting(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView2)->remove_DragItemsStarting(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::DragItemsCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView2)->add_DragItemsCompleted(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::DragItemsCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DragItemsCompleted(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::DragItemsCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView2)->remove_DragItemsCompleted(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::SelectedNode() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView2)->get_SelectedNode(&value)); return winrt::Microsoft::UI::Xaml::Controls::TreeViewNode{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::SelectedNode(winrt::Microsoft::UI::Xaml::Controls::TreeViewNode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView2)->put_SelectedNode(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::SelectedItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView2)->get_SelectedItem(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::SelectedItem(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView2)->put_SelectedItem(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::SelectedItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView2)->get_SelectedItems(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewCollapsedEventArgs::Node() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewCollapsedEventArgs)->get_Node(&value)); return winrt::Microsoft::UI::Xaml::Controls::TreeViewNode{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewCollapsedEventArgs2::Item() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewCollapsedEventArgs2)->get_Item(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewDragItemsCompletedEventArgs::DropResult() const { winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewDragItemsCompletedEventArgs)->get_DropResult(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewDragItemsCompletedEventArgs::Items() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewDragItemsCompletedEventArgs)->get_Items(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewDragItemsCompletedEventArgs2::NewParentItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewDragItemsCompletedEventArgs2)->get_NewParentItem(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewDragItemsStartingEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewDragItemsStartingEventArgs)->get_Cancel(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewDragItemsStartingEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewDragItemsStartingEventArgs)->put_Cancel(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewDragItemsStartingEventArgs::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewDragItemsStartingEventArgs)->get_Data(&value)); return winrt::Windows::ApplicationModel::DataTransfer::DataPackage{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewDragItemsStartingEventArgs::Items() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewDragItemsStartingEventArgs)->get_Items(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewExpandingEventArgs::Node() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewExpandingEventArgs)->get_Node(&value)); return winrt::Microsoft::UI::Xaml::Controls::TreeViewNode{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewExpandingEventArgs2::Item() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewExpandingEventArgs2)->get_Item(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::TreeView{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItem::GlyphOpacity() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItem)->get_GlyphOpacity(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItem::GlyphOpacity(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItem)->put_GlyphOpacity(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItem::GlyphBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItem)->get_GlyphBrush(&value)); return winrt::Windows::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItem::GlyphBrush(winrt::Windows::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItem)->put_GlyphBrush(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItem::ExpandedGlyph() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItem)->get_ExpandedGlyph(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItem::ExpandedGlyph(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItem)->put_ExpandedGlyph(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItem::CollapsedGlyph() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItem)->get_CollapsedGlyph(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItem::CollapsedGlyph(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItem)->put_CollapsedGlyph(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItem::GlyphSize() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItem)->get_GlyphSize(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItem::GlyphSize(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItem)->put_GlyphSize(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItem::IsExpanded() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItem)->get_IsExpanded(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItem::IsExpanded(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItem)->put_IsExpanded(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItem::TreeViewItemTemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItem)->get_TreeViewItemTemplateSettings(&value)); return winrt::Microsoft::UI::Xaml::Controls::TreeViewItemTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItem2::HasUnrealizedChildren() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItem2)->get_HasUnrealizedChildren(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItem2::HasUnrealizedChildren(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItem2)->put_HasUnrealizedChildren(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItem2::ItemsSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItem2)->get_ItemsSource(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItem2::ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItem2)->put_ItemsSource(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItemFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::TreeViewItem{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItemInvokedEventArgs::InvokedItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItemInvokedEventArgs)->get_InvokedItem(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItemInvokedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItemInvokedEventArgs)->put_Handled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItemInvokedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItemInvokedEventArgs)->get_Handled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItemStatics::GlyphOpacityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItemStatics)->get_GlyphOpacityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItemStatics::GlyphBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItemStatics)->get_GlyphBrushProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItemStatics::ExpandedGlyphProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItemStatics)->get_ExpandedGlyphProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItemStatics::CollapsedGlyphProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItemStatics)->get_CollapsedGlyphProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItemStatics::GlyphSizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItemStatics)->get_GlyphSizeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItemStatics::IsExpandedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItemStatics)->get_IsExpandedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItemStatics::TreeViewItemTemplateSettingsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItemStatics)->get_TreeViewItemTemplateSettingsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItemStatics2::HasUnrealizedChildrenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItemStatics2)->get_HasUnrealizedChildrenProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItemStatics2::ItemsSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItemStatics2)->get_ItemsSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItemTemplateSettings::ExpandedGlyphVisibility() const { winrt::Windows::UI::Xaml::Visibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItemTemplateSettings)->get_ExpandedGlyphVisibility(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItemTemplateSettings::CollapsedGlyphVisibility() const { winrt::Windows::UI::Xaml::Visibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItemTemplateSettings)->get_CollapsedGlyphVisibility(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItemTemplateSettings::Indentation() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItemTemplateSettings)->get_Indentation(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItemTemplateSettings::DragItemsCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItemTemplateSettings)->get_DragItemsCount(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItemTemplateSettingsFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItemTemplateSettingsFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::TreeViewItemTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItemTemplateSettingsStatics::ExpandedGlyphVisibilityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItemTemplateSettingsStatics)->get_ExpandedGlyphVisibilityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItemTemplateSettingsStatics::CollapsedGlyphVisibilityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItemTemplateSettingsStatics)->get_CollapsedGlyphVisibilityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItemTemplateSettingsStatics::IndentationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItemTemplateSettingsStatics)->get_IndentationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItemTemplateSettingsStatics::DragItemsCountProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewItemTemplateSettingsStatics)->get_DragItemsCountProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewListFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewListFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::TreeViewList{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewNode::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewNode)->get_Content(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewNode::Content(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewNode)->put_Content(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewNode::Parent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewNode)->get_Parent(&value)); return winrt::Microsoft::UI::Xaml::Controls::TreeViewNode{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewNode::IsExpanded() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewNode)->get_IsExpanded(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewNode::IsExpanded(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewNode)->put_IsExpanded(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewNode::HasChildren() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewNode)->get_HasChildren(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewNode::Depth() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewNode)->get_Depth(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewNode::HasUnrealizedChildren() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewNode)->get_HasUnrealizedChildren(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewNode::HasUnrealizedChildren(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewNode)->put_HasUnrealizedChildren(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewNode::Children() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewNode)->get_Children(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewNodeFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewNodeFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::TreeViewNode{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewNodeStatics::ContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewNodeStatics)->get_ContentProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewNodeStatics::DepthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewNodeStatics)->get_DepthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewNodeStatics::IsExpandedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewNodeStatics)->get_IsExpandedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewNodeStatics::HasChildrenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewNodeStatics)->get_HasChildrenProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewStatics::SelectedItemProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewStatics)->get_SelectedItemProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewStatics::SelectionModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewStatics)->get_SelectionModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewStatics2::CanDragItemsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewStatics2)->get_CanDragItemsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewStatics2::CanReorderItemsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewStatics2)->get_CanReorderItemsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewStatics2::ItemTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewStatics2)->get_ItemTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewStatics2::ItemTemplateSelectorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewStatics2)->get_ItemTemplateSelectorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewStatics2::ItemContainerStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewStatics2)->get_ItemContainerStyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewStatics2::ItemContainerStyleSelectorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewStatics2)->get_ItemContainerStyleSelectorProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewStatics2::ItemContainerTransitionsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewStatics2)->get_ItemContainerTransitionsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewStatics2::ItemsSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewStatics2)->get_ItemsSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneView::Pane1() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITwoPaneView)->get_Pane1(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneView::Pane1(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITwoPaneView)->put_Pane1(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneView::Pane2() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITwoPaneView)->get_Pane2(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneView::Pane2(winrt::Windows::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITwoPaneView)->put_Pane2(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneView::Pane1Length() const { winrt::Windows::UI::Xaml::GridLength value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITwoPaneView)->get_Pane1Length(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneView::Pane1Length(winrt::Windows::UI::Xaml::GridLength const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITwoPaneView)->put_Pane1Length(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneView::Pane2Length() const { winrt::Windows::UI::Xaml::GridLength value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITwoPaneView)->get_Pane2Length(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneView::Pane2Length(winrt::Windows::UI::Xaml::GridLength const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITwoPaneView)->put_Pane2Length(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneView::PanePriority() const { winrt::Microsoft::UI::Xaml::Controls::TwoPaneViewPriority value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITwoPaneView)->get_PanePriority(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneView::PanePriority(winrt::Microsoft::UI::Xaml::Controls::TwoPaneViewPriority const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITwoPaneView)->put_PanePriority(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneView::Mode() const { winrt::Microsoft::UI::Xaml::Controls::TwoPaneViewMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITwoPaneView)->get_Mode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneView::WideModeConfiguration() const { winrt::Microsoft::UI::Xaml::Controls::TwoPaneViewWideModeConfiguration value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITwoPaneView)->get_WideModeConfiguration(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneView::WideModeConfiguration(winrt::Microsoft::UI::Xaml::Controls::TwoPaneViewWideModeConfiguration const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITwoPaneView)->put_WideModeConfiguration(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneView::TallModeConfiguration() const { winrt::Microsoft::UI::Xaml::Controls::TwoPaneViewTallModeConfiguration value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITwoPaneView)->get_TallModeConfiguration(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneView::TallModeConfiguration(winrt::Microsoft::UI::Xaml::Controls::TwoPaneViewTallModeConfiguration const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITwoPaneView)->put_TallModeConfiguration(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneView::MinWideModeWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITwoPaneView)->get_MinWideModeWidth(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneView::MinWideModeWidth(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITwoPaneView)->put_MinWideModeWidth(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneView::MinTallModeHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITwoPaneView)->get_MinTallModeHeight(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneView::MinTallModeHeight(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITwoPaneView)->put_MinTallModeHeight(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneView::ModeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITwoPaneView)->add_ModeChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneView::ModeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ModeChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneView::ModeChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITwoPaneView)->remove_ModeChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneViewFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITwoPaneViewFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::TwoPaneView{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneViewStatics::Pane1Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITwoPaneViewStatics)->get_Pane1Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneViewStatics::Pane2Property() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITwoPaneViewStatics)->get_Pane2Property(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneViewStatics::Pane1LengthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITwoPaneViewStatics)->get_Pane1LengthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneViewStatics::Pane2LengthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITwoPaneViewStatics)->get_Pane2LengthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneViewStatics::PanePriorityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITwoPaneViewStatics)->get_PanePriorityProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneViewStatics::ModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITwoPaneViewStatics)->get_ModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneViewStatics::WideModeConfigurationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITwoPaneViewStatics)->get_WideModeConfigurationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneViewStatics::TallModeConfigurationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITwoPaneViewStatics)->get_TallModeConfigurationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneViewStatics::MinWideModeWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITwoPaneViewStatics)->get_MinWideModeWidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneViewStatics::MinTallModeHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITwoPaneViewStatics)->get_MinTallModeHeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IUniformGridLayout::Orientation() const { winrt::Windows::UI::Xaml::Controls::Orientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IUniformGridLayout)->get_Orientation(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IUniformGridLayout::Orientation(winrt::Windows::UI::Xaml::Controls::Orientation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IUniformGridLayout)->put_Orientation(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IUniformGridLayout::MinItemWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IUniformGridLayout)->get_MinItemWidth(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IUniformGridLayout::MinItemWidth(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IUniformGridLayout)->put_MinItemWidth(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IUniformGridLayout::MinItemHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IUniformGridLayout)->get_MinItemHeight(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IUniformGridLayout::MinItemHeight(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IUniformGridLayout)->put_MinItemHeight(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IUniformGridLayout::MinRowSpacing() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IUniformGridLayout)->get_MinRowSpacing(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IUniformGridLayout::MinRowSpacing(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IUniformGridLayout)->put_MinRowSpacing(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IUniformGridLayout::MinColumnSpacing() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IUniformGridLayout)->get_MinColumnSpacing(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IUniformGridLayout::MinColumnSpacing(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IUniformGridLayout)->put_MinColumnSpacing(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IUniformGridLayout::ItemsJustification() const { winrt::Microsoft::UI::Xaml::Controls::UniformGridLayoutItemsJustification value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IUniformGridLayout)->get_ItemsJustification(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IUniformGridLayout::ItemsJustification(winrt::Microsoft::UI::Xaml::Controls::UniformGridLayoutItemsJustification const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IUniformGridLayout)->put_ItemsJustification(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IUniformGridLayout::ItemsStretch() const { winrt::Microsoft::UI::Xaml::Controls::UniformGridLayoutItemsStretch value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IUniformGridLayout)->get_ItemsStretch(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IUniformGridLayout::ItemsStretch(winrt::Microsoft::UI::Xaml::Controls::UniformGridLayoutItemsStretch const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IUniformGridLayout)->put_ItemsStretch(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IUniformGridLayout::MaximumRowsOrColumns() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IUniformGridLayout)->get_MaximumRowsOrColumns(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IUniformGridLayout::MaximumRowsOrColumns(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IUniformGridLayout)->put_MaximumRowsOrColumns(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IUniformGridLayoutFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IUniformGridLayoutFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::UniformGridLayout{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IUniformGridLayoutStatics::OrientationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IUniformGridLayoutStatics)->get_OrientationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IUniformGridLayoutStatics::MinItemWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IUniformGridLayoutStatics)->get_MinItemWidthProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IUniformGridLayoutStatics::MinItemHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IUniformGridLayoutStatics)->get_MinItemHeightProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IUniformGridLayoutStatics::MinRowSpacingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IUniformGridLayoutStatics)->get_MinRowSpacingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IUniformGridLayoutStatics::MinColumnSpacingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IUniformGridLayoutStatics)->get_MinColumnSpacingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IUniformGridLayoutStatics::ItemsJustificationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IUniformGridLayoutStatics)->get_ItemsJustificationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IUniformGridLayoutStatics::ItemsStretchProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IUniformGridLayoutStatics)->get_ItemsStretchProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IUniformGridLayoutStatics::MaximumRowsOrColumnsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IUniformGridLayoutStatics)->get_MaximumRowsOrColumnsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingLayoutContext::ItemCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingLayoutContext)->get_ItemCount(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingLayoutContext::GetItemAt(int32_t index) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingLayoutContext)->GetItemAt(index, &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingLayoutContext::RealizationRect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingLayoutContext)->get_RealizationRect(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingLayoutContext::GetOrCreateElementAt(int32_t index) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingLayoutContext)->GetOrCreateElementAt(index, &result)); return winrt::Windows::UI::Xaml::UIElement{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingLayoutContext::GetOrCreateElementAt(int32_t index, winrt::Microsoft::UI::Xaml::Controls::ElementRealizationOptions const& options) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingLayoutContext)->GetOrCreateElementAt2(index, static_cast(options), &result)); return winrt::Windows::UI::Xaml::UIElement{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingLayoutContext::RecycleElement(winrt::Windows::UI::Xaml::UIElement const& element) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingLayoutContext)->RecycleElement(*(void**)(&element))); } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingLayoutContext::RecommendedAnchorIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingLayoutContext)->get_RecommendedAnchorIndex(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingLayoutContext::LayoutOrigin() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingLayoutContext)->get_LayoutOrigin(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingLayoutContext::LayoutOrigin(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingLayoutContext)->put_LayoutOrigin(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingLayoutContextFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingLayoutContextFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::VirtualizingLayoutContext{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingLayoutContextOverrides::ItemCountCore() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingLayoutContextOverrides)->ItemCountCore(&result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingLayoutContextOverrides::GetItemAtCore(int32_t index) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingLayoutContextOverrides)->GetItemAtCore(index, &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingLayoutContextOverrides::RealizationRectCore() const { winrt::Windows::Foundation::Rect result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingLayoutContextOverrides)->RealizationRectCore(put_abi(result))); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingLayoutContextOverrides::GetOrCreateElementAtCore(int32_t index, winrt::Microsoft::UI::Xaml::Controls::ElementRealizationOptions const& options) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingLayoutContextOverrides)->GetOrCreateElementAtCore(index, static_cast(options), &result)); return winrt::Windows::UI::Xaml::UIElement{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingLayoutContextOverrides::RecycleElementCore(winrt::Windows::UI::Xaml::UIElement const& element) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingLayoutContextOverrides)->RecycleElementCore(*(void**)(&element))); } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingLayoutContextOverrides::RecommendedAnchorIndexCore() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingLayoutContextOverrides)->get_RecommendedAnchorIndexCore(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingLayoutContextOverrides::LayoutOriginCore() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingLayoutContextOverrides)->get_LayoutOriginCore(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingLayoutContextOverrides::LayoutOriginCore(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingLayoutContextOverrides)->put_LayoutOriginCore(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingLayoutFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingLayoutFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::VirtualizingLayout{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingLayoutOverrides::InitializeForContextCore(winrt::Microsoft::UI::Xaml::Controls::VirtualizingLayoutContext const& context) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingLayoutOverrides)->InitializeForContextCore(*(void**)(&context))); } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingLayoutOverrides::UninitializeForContextCore(winrt::Microsoft::UI::Xaml::Controls::VirtualizingLayoutContext const& context) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingLayoutOverrides)->UninitializeForContextCore(*(void**)(&context))); } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingLayoutOverrides::MeasureOverride(winrt::Microsoft::UI::Xaml::Controls::VirtualizingLayoutContext const& context, winrt::Windows::Foundation::Size const& availableSize) const { winrt::Windows::Foundation::Size result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingLayoutOverrides)->MeasureOverride(*(void**)(&context), impl::bind_in(availableSize), put_abi(result))); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingLayoutOverrides::ArrangeOverride(winrt::Microsoft::UI::Xaml::Controls::VirtualizingLayoutContext const& context, winrt::Windows::Foundation::Size const& finalSize) const { winrt::Windows::Foundation::Size result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingLayoutOverrides)->ArrangeOverride(*(void**)(&context), impl::bind_in(finalSize), put_abi(result))); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingLayoutOverrides::OnItemsChangedCore(winrt::Microsoft::UI::Xaml::Controls::VirtualizingLayoutContext const& context, winrt::Windows::Foundation::IInspectable const& source, winrt::Windows::UI::Xaml::Interop::NotifyCollectionChangedEventArgs const& args) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingLayoutOverrides)->OnItemsChangedCore(*(void**)(&context), *(void**)(&source), *(void**)(&args))); } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2::CoreWebView2() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWebView2)->get_CoreWebView2(&value)); return winrt::Microsoft::Web::WebView2::Core::CoreWebView2{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2::EnsureCoreWebView2Async() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWebView2)->EnsureCoreWebView2Async(&operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2::ExecuteScriptAsync(param::hstring const& javascriptCode) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWebView2)->ExecuteScriptAsync(*(void**)(&javascriptCode), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWebView2)->get_Source(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2::Source(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWebView2)->put_Source(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2::CanGoForward() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWebView2)->get_CanGoForward(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2::CanGoForward(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWebView2)->put_CanGoForward(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2::CanGoBack() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWebView2)->get_CanGoBack(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2::CanGoBack(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWebView2)->put_CanGoBack(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2::Reload() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWebView2)->Reload()); } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2::GoForward() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWebView2)->GoForward()); } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2::GoBack() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWebView2)->GoBack()); } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2::NavigateToString(param::hstring const& htmlContent) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWebView2)->NavigateToString(*(void**)(&htmlContent))); } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2::Close() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWebView2)->Close()); } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2::NavigationCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWebView2)->add_NavigationCompleted(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2::NavigationCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, NavigationCompleted(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2::NavigationCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWebView2)->remove_NavigationCompleted(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2::WebMessageReceived(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWebView2)->add_WebMessageReceived(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2::WebMessageReceived(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, WebMessageReceived(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2::WebMessageReceived(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWebView2)->remove_WebMessageReceived(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2::NavigationStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWebView2)->add_NavigationStarting(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2::NavigationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, NavigationStarting(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2::NavigationStarting(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWebView2)->remove_NavigationStarting(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2::CoreProcessFailed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWebView2)->add_CoreProcessFailed(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2::CoreProcessFailed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CoreProcessFailed(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2::CoreProcessFailed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWebView2)->remove_CoreProcessFailed(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2::CoreWebView2Initialized(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWebView2)->add_CoreWebView2Initialized(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2::CoreWebView2Initialized(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CoreWebView2Initialized(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2::CoreWebView2Initialized(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWebView2)->remove_CoreWebView2Initialized(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2Factory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWebView2Factory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::WebView2{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2Statics::SourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWebView2Statics)->get_SourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2Statics::CanGoForwardProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWebView2Statics)->get_CanGoForwardProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2Statics::CanGoBackProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWebView2Statics)->get_CanGoBackProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IXamlControlsResources3::ControlsResourcesVersion() const { winrt::Microsoft::UI::Xaml::Controls::ControlsResourcesVersion value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IXamlControlsResources3)->get_ControlsResourcesVersion(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IXamlControlsResources3::ControlsResourcesVersion(winrt::Microsoft::UI::Xaml::Controls::ControlsResourcesVersion const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IXamlControlsResources3)->put_ControlsResourcesVersion(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IXamlControlsResourcesStatics::EnsureRevealLights(winrt::Windows::UI::Xaml::UIElement const& element) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IXamlControlsResourcesStatics)->EnsureRevealLights(*(void**)(&element))); } template auto consume_Microsoft_UI_Xaml_Controls_IXamlControlsResourcesStatics3::ControlsResourcesVersionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IXamlControlsResourcesStatics3)->get_ControlsResourcesVersionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } #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(); } int32_t __stdcall put_Source(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Source(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FallbackIconSource(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FallbackIconSource()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FallbackIconSource(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FallbackIconSource(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MirroredWhenRightToLeft(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MirroredWhenRightToLeft()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MirroredWhenRightToLeft(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MirroredWhenRightToLeft(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_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(); } int32_t __stdcall put_Source(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Source(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FallbackIconSource(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FallbackIconSource()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FallbackIconSource(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FallbackIconSource(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MirroredWhenRightToLeft(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MirroredWhenRightToLeft()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MirroredWhenRightToLeft(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MirroredWhenRightToLeft(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_SourceProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SourceProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FallbackIconSourceProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FallbackIconSourceProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MirroredWhenRightToLeftProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MirroredWhenRightToLeftProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { 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* object, void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetState(*reinterpret_cast(&object), *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetState(void* object, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetState(*reinterpret_cast(&object))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SourceProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SourceProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FallbackIconSourceProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FallbackIconSourceProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MirroredWhenRightToLeftProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MirroredWhenRightToLeftProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif template struct produce : produce_base { int32_t __stdcall get_RootVisual(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RootVisual()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Size(winrt::Windows::Foundation::Numerics::float2* 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 get_Duration(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Duration()); return 0; } catch (...) { return to_hresult(); } }; template struct produce : produce_base { int32_t __stdcall CreateAnimations() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CreateAnimations(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall DestroyAnimations() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DestroyAnimations(); return 0; } catch (...) { return to_hresult(); } }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Diagnostics(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Diagnostics()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Duration(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Duration()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall 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(); } int32_t __stdcall put_Source(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Source(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FallbackContent(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FallbackContent()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FallbackContent(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FallbackContent(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AutoPlay(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AutoPlay()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AutoPlay(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AutoPlay(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsAnimatedVisualLoaded(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsAnimatedVisualLoaded()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsPlaying(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsPlaying()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PlaybackRate(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PlaybackRate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PlaybackRate(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PlaybackRate(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ProgressObject(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ProgressObject()); 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(); } int32_t __stdcall Pause() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Pause(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall PlayAsync(double fromProgress, double toProgress, bool looped, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from(this->shim().PlayAsync(fromProgress, toProgress, looped)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Resume() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Resume(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetProgress(double progress) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetProgress(progress); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Stop() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Stop(); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_AnimationOptimization(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AnimationOptimization()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AnimationOptimization(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AnimationOptimization(*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_AutoPlayProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AutoPlayProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DiagnosticsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DiagnosticsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DurationProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DurationProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FallbackContentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FallbackContentProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsAnimatedVisualLoadedProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsAnimatedVisualLoadedProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsPlayingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsPlayingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PlaybackRateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PlaybackRateProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SourceProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SourceProperty()); 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_AnimationOptimizationProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AnimationOptimizationProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif template struct produce : produce_base { int32_t __stdcall TryCreateAnimatedVisual(void* compositor, void** diagnostics, void** result) noexcept final try { if (diagnostics) *diagnostics = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_diagnostics; clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryCreateAnimatedVisual(*reinterpret_cast(&compositor), winrt_impl_diagnostics)); if (diagnostics) *diagnostics = detach_abi(winrt_impl_diagnostics); return 0; } catch (...) { return to_hresult(); } }; template struct produce : produce_base { int32_t __stdcall get_Markers(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Markers()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetColorProperty(void* propertyName, struct struct_Windows_UI_Color value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetColorProperty(*reinterpret_cast(&propertyName), *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; template struct produce : produce_base { int32_t __stdcall TryCreateAnimatedVisual(void* compositor, void** diagnostics, bool createAnimations, void** result) noexcept final try { if (diagnostics) *diagnostics = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_diagnostics; clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryCreateAnimatedVisual(*reinterpret_cast(&compositor), winrt_impl_diagnostics, createAnimations)); if (diagnostics) *diagnostics = detach_abi(winrt_impl_diagnostics); return 0; } catch (...) { return to_hresult(); } }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ApplyToRootOrPageBackgroundProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ApplyToRootOrPageBackgroundProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetApplyToRootOrPageBackground(void* element, bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetApplyToRootOrPageBackground(*reinterpret_cast(&element), value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetApplyToRootOrPageBackground(void* element, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetApplyToRootOrPageBackground(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_UriSource(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().UriSource()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_UriSource(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().UriSource(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ShowAsMonochrome(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ShowAsMonochrome()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ShowAsMonochrome(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ShowAsMonochrome(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_UriSourceProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().UriSourceProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ShowAsMonochromeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ShowAsMonochromeProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ItemsSource(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemsSource()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ItemsSource(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ItemsSource(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemTemplate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemTemplate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ItemTemplate(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ItemTemplate(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_ItemClicked(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ItemClicked(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ItemClicked(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ItemClicked(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Index(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Index()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Item(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Item()); 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_ItemsSourceProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemsSourceProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemTemplateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemTemplateProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_OldColor(struct struct_Windows_UI_Color* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OldColor()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NewColor(struct struct_Windows_UI_Color* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NewColor()); 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_PreviousColor(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().PreviousColor()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PreviousColor(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PreviousColor(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsAlphaEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsAlphaEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsAlphaEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsAlphaEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsColorSpectrumVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsColorSpectrumVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsColorSpectrumVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsColorSpectrumVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsColorPreviewVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsColorPreviewVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsColorPreviewVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsColorPreviewVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsColorSliderVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsColorSliderVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsColorSliderVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsColorSliderVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsAlphaSliderVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsAlphaSliderVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsAlphaSliderVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsAlphaSliderVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsMoreButtonVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsMoreButtonVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsMoreButtonVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsMoreButtonVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsColorChannelTextInputVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsColorChannelTextInputVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsColorChannelTextInputVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsColorChannelTextInputVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsAlphaTextInputVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsAlphaTextInputVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsAlphaTextInputVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsAlphaTextInputVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsHexInputVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsHexInputVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsHexInputVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsHexInputVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinHue(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinHue()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MinHue(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MinHue(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxHue(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxHue()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxHue(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxHue(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinSaturation(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinSaturation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MinSaturation(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MinSaturation(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxSaturation(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxSaturation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxSaturation(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxSaturation(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinValue(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinValue()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MinValue(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MinValue(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxValue(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxValue()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxValue(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxValue(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ColorSpectrumShape(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ColorSpectrumShape()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ColorSpectrumShape(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ColorSpectrumShape(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ColorSpectrumComponents(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ColorSpectrumComponents()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ColorSpectrumComponents(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ColorSpectrumComponents(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_ColorChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ColorChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ColorChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ColorChanged(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Orientation(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Orientation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Orientation(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Orientation(*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_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_PreviousColorProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PreviousColorProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsAlphaEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsAlphaEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsColorSpectrumVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsColorSpectrumVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsColorPreviewVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsColorPreviewVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsColorSliderVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsColorSliderVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsAlphaSliderVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsAlphaSliderVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsMoreButtonVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsMoreButtonVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsColorChannelTextInputVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsColorChannelTextInputVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsAlphaTextInputVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsAlphaTextInputVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsHexInputVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsHexInputVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinHueProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinHueProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxHueProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxHueProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinSaturationProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinSaturationProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxSaturationProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxSaturationProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinValueProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinValueProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxValueProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxValueProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ColorSpectrumShapeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ColorSpectrumShapeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ColorSpectrumComponentsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ColorSpectrumComponentsProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_OrientationProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OrientationProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_PrimaryCommands(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().PrimaryCommands()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SecondaryCommands(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().SecondaryCommands()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_AlwaysExpanded(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AlwaysExpanded()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AlwaysExpanded(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AlwaysExpanded(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_Exception(winrt::hresult* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Exception()); 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 add_AnimatedVisualInvalidated(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().AnimatedVisualInvalidated(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_AnimatedVisualInvalidated(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().AnimatedVisualInvalidated(*reinterpret_cast(&token)); return 0; } }; #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_Data(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Data()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Data(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Data(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Parent(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Parent()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Parent(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Parent(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif template struct produce : produce_base { int32_t __stdcall GetElementCore(void* args, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetElementCore(*reinterpret_cast(&args))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RecycleElementCore(void* args) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RecycleElementCore(*reinterpret_cast(&args)); return 0; } catch (...) { return to_hresult(); } }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Element(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Element()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Element(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Element(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Parent(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Parent()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Parent(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Parent(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Header(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Header()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Header(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Header(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HeaderTemplate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HeaderTemplate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HeaderTemplate(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HeaderTemplate(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HeaderTemplateSelector(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HeaderTemplateSelector()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HeaderTemplateSelector(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HeaderTemplateSelector(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsExpanded(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsExpanded()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsExpanded(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsExpanded(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExpandDirection(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExpandDirection()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ExpandDirection(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ExpandDirection(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_Expanding(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Expanding(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Expanding(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Expanding(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_Collapsed(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Collapsed(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Collapsed(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Collapsed(*reinterpret_cast(&token)); return 0; } int32_t __stdcall get_TemplateSettings(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TemplateSettings()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_HeaderProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HeaderProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HeaderTemplateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HeaderTemplateProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HeaderTemplateSelectorProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HeaderTemplateSelectorProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsExpandedProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsExpandedProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExpandDirectionProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExpandDirectionProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ContentHeight(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentHeight()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NegativeContentHeight(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NegativeContentHeight()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Glyph(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Glyph()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Glyph(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Glyph(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FontSize(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FontSize()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FontSize(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FontSize(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FontFamily(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FontFamily()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FontFamily(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FontFamily(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FontWeight(struct struct_Windows_UI_Text_FontWeight* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FontWeight()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FontWeight(struct struct_Windows_UI_Text_FontWeight value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FontWeight(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FontStyle(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FontStyle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FontStyle(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FontStyle(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsTextScaleFactorEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsTextScaleFactorEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsTextScaleFactorEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsTextScaleFactorEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MirroredWhenRightToLeft(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MirroredWhenRightToLeft()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MirroredWhenRightToLeft(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MirroredWhenRightToLeft(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_GlyphProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GlyphProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FontSizeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FontSizeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FontFamilyProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FontFamilyProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FontWeightProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FontWeightProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FontStyleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FontStyleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsTextScaleFactorEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsTextScaleFactorEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MirroredWhenRightToLeftProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MirroredWhenRightToLeftProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateIconElement(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateIconElement()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Foreground(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Foreground()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Foreground(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Foreground(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ForegroundProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ForegroundProperty()); 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(); } int32_t __stdcall put_Source(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Source(*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_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(); } }; #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_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 { int32_t __stdcall get_SourceProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SourceProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Value(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Value()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Value(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Value(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IconSource(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IconSource()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IconSource(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IconSource(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TemplateSettings(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TemplateSettings()); 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_ValueProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ValueProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IconSourceProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IconSourceProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TemplateSettingsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TemplateSettingsProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_InfoBadgeCornerRadius(struct struct_Windows_UI_Xaml_CornerRadius* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InfoBadgeCornerRadius()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_InfoBadgeCornerRadius(struct struct_Windows_UI_Xaml_CornerRadius value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InfoBadgeCornerRadius(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IconElement(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IconElement()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IconElement(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IconElement(*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_InfoBadgeCornerRadiusProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InfoBadgeCornerRadiusProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IconElementProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IconElementProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsOpen(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsOpen()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsOpen(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsOpen(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Title(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Title()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Title(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Title(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Message(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Message()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Message(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Message(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Severity(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Severity()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Severity(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Severity(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IconSource(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IconSource()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IconSource(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IconSource(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsIconVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsIconVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsIconVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsIconVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsClosable(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsClosable()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsClosable(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsClosable(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CloseButtonStyle(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CloseButtonStyle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CloseButtonStyle(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CloseButtonStyle(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CloseButtonCommand(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CloseButtonCommand()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CloseButtonCommand(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CloseButtonCommand(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CloseButtonCommandParameter(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CloseButtonCommandParameter()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CloseButtonCommandParameter(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CloseButtonCommandParameter(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ActionButton(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ActionButton()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ActionButton(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ActionButton(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Content(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Content()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Content(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Content(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentTemplate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentTemplate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ContentTemplate(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ContentTemplate(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TemplateSettings(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TemplateSettings()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_CloseButtonClick(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().CloseButtonClick(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_CloseButtonClick(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().CloseButtonClick(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_Closing(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Closing(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Closing(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Closing(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_Closed(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Closed(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Closed(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Closed(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Reason(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Reason()); 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_Reason(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Reason()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Cancel(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Cancel()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Cancel(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Cancel(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #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_IsOpenProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsOpenProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TitleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TitleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MessageProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MessageProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SeverityProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SeverityProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IconSourceProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IconSourceProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsIconVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsIconVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsClosableProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsClosableProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CloseButtonStyleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CloseButtonStyleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CloseButtonCommandProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CloseButtonCommandProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CloseButtonCommandParameterProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CloseButtonCommandParameterProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ActionButtonProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ActionButtonProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentTemplateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentTemplateProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TemplateSettingsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TemplateSettingsProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IconElement(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IconElement()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IconElement(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IconElement(*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_IconElementProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IconElementProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ItemsSource(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemsSource()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ItemsSource(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ItemsSource(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemsSourceView(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemsSourceView()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemTemplate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemTemplate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ItemTemplate(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ItemTemplate(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Layout(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Layout()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Layout(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Layout(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalCacheLength(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalCacheLength()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HorizontalCacheLength(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HorizontalCacheLength(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalCacheLength(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalCacheLength()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_VerticalCacheLength(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().VerticalCacheLength(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Background(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Background()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Background(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Background(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetElementIndex(void* element, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetElementIndex(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryGetElement(int32_t index, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryGetElement(index)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetOrCreateElement(int32_t index, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetOrCreateElement(index)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_ElementPrepared(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ElementPrepared(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ElementPrepared(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ElementPrepared(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_ElementClearing(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ElementClearing(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ElementClearing(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ElementClearing(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_ElementIndexChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ElementIndexChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ElementIndexChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ElementIndexChanged(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Element(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Element()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Element(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Element()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OldIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OldIndex()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NewIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NewIndex()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Element(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Element()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Index(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Index()); 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_ScrollViewer(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScrollViewer()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ScrollViewer(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ScrollViewer(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CurrentAnchor(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CurrentAnchor()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalAnchorRatio(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalAnchorRatio()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HorizontalAnchorRatio(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HorizontalAnchorRatio(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalAnchorRatio(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalAnchorRatio()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_VerticalAnchorRatio(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().VerticalAnchorRatio(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ItemsSourceProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemsSourceProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemTemplateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemTemplateProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LayoutProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LayoutProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalCacheLengthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalCacheLengthProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalCacheLengthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalCacheLengthProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BackgroundProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BackgroundProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Count(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Count()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetAt(int32_t index, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetAt(index)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HasKeyIndexMapping(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HasKeyIndexMapping()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall KeyFromIndex(int32_t index, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().KeyFromIndex(index)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IndexFromKey(void* key, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IndexFromKey(*reinterpret_cast(&key))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IndexOf(void* item, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IndexOf(*reinterpret_cast(&item))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* source, 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(&source), *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 KeyFromIndex(int32_t index, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().KeyFromIndex(index)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IndexFromKey(void* key, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IndexFromKey(*reinterpret_cast(&key))); return 0; } catch (...) { return to_hresult(); } }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall InitializeForContext(void* context) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InitializeForContext(*reinterpret_cast(&context)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall UninitializeForContext(void* context) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().UninitializeForContext(*reinterpret_cast(&context)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Measure(void* context, winrt::Windows::Foundation::Size availableSize, winrt::Windows::Foundation::Size* result) noexcept final try { zero_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Measure(*reinterpret_cast(&context), *reinterpret_cast(&availableSize))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Arrange(void* context, winrt::Windows::Foundation::Size finalSize, winrt::Windows::Foundation::Size* result) noexcept final try { zero_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Arrange(*reinterpret_cast(&context), *reinterpret_cast(&finalSize))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_MeasureInvalidated(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().MeasureInvalidated(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_MeasureInvalidated(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().MeasureInvalidated(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_ArrangeInvalidated(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ArrangeInvalidated(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ArrangeInvalidated(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ArrangeInvalidated(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_LayoutState(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LayoutState()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LayoutState(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LayoutState(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif template struct produce : produce_base { int32_t __stdcall get_LayoutStateCore(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LayoutStateCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LayoutStateCore(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LayoutStateCore(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall InvalidateMeasure() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InvalidateMeasure(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall InvalidateArrange() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InvalidateArrange(); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Items(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Items()); 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_Title(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Title()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Title(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Title(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Items(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Items()); 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 { }; #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_TitleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TitleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemsProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ItemsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemsProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsPaneOpen(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsPaneOpen()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsPaneOpen(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsPaneOpen(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CompactModeThresholdWidth(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CompactModeThresholdWidth()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CompactModeThresholdWidth(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CompactModeThresholdWidth(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExpandedModeThresholdWidth(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExpandedModeThresholdWidth()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ExpandedModeThresholdWidth(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ExpandedModeThresholdWidth(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FooterMenuItems(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().FooterMenuItems()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FooterMenuItemsSource(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FooterMenuItemsSource()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FooterMenuItemsSource(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FooterMenuItemsSource(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PaneFooter(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PaneFooter()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PaneFooter(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PaneFooter(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Header(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Header()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Header(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Header(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HeaderTemplate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HeaderTemplate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HeaderTemplate(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HeaderTemplate(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DisplayMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DisplayMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsSettingsVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSettingsVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsSettingsVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsSettingsVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsPaneToggleButtonVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsPaneToggleButtonVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsPaneToggleButtonVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsPaneToggleButtonVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AlwaysShowHeader(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AlwaysShowHeader()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AlwaysShowHeader(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AlwaysShowHeader(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CompactPaneLength(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CompactPaneLength()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CompactPaneLength(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CompactPaneLength(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OpenPaneLength(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OpenPaneLength()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_OpenPaneLength(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OpenPaneLength(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PaneToggleButtonStyle(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PaneToggleButtonStyle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PaneToggleButtonStyle(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PaneToggleButtonStyle(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedItem(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedItem()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SelectedItem(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectedItem(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MenuItems(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().MenuItems()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MenuItemsSource(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MenuItemsSource()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MenuItemsSource(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MenuItemsSource(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SettingsItem(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SettingsItem()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AutoSuggestBox(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AutoSuggestBox()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AutoSuggestBox(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AutoSuggestBox(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MenuItemTemplate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MenuItemTemplate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MenuItemTemplate(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MenuItemTemplate(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MenuItemTemplateSelector(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MenuItemTemplateSelector()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MenuItemTemplateSelector(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MenuItemTemplateSelector(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MenuItemContainerStyle(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MenuItemContainerStyle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MenuItemContainerStyle(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MenuItemContainerStyle(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MenuItemContainerStyleSelector(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MenuItemContainerStyleSelector()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MenuItemContainerStyleSelector(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MenuItemContainerStyleSelector(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall MenuItemFromContainer(void* container, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().MenuItemFromContainer(*reinterpret_cast(&container))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ContainerFromMenuItem(void* item, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().ContainerFromMenuItem(*reinterpret_cast(&item))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_SelectionChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().SelectionChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_SelectionChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().SelectionChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_ItemInvoked(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ItemInvoked(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ItemInvoked(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ItemInvoked(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_DisplayModeChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().DisplayModeChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_DisplayModeChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().DisplayModeChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall get_IsTitleBarAutoPaddingEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsTitleBarAutoPaddingEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsTitleBarAutoPaddingEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsTitleBarAutoPaddingEnabled(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsBackButtonVisible(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsBackButtonVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsBackButtonVisible(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsBackButtonVisible(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsBackEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsBackEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsBackEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsBackEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PaneTitle(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PaneTitle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PaneTitle(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PaneTitle(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_BackRequested(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().BackRequested(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_BackRequested(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().BackRequested(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_PaneClosed(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().PaneClosed(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_PaneClosed(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().PaneClosed(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_PaneClosing(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().PaneClosing(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_PaneClosing(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().PaneClosing(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_PaneOpened(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().PaneOpened(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_PaneOpened(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().PaneOpened(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_PaneOpening(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().PaneOpening(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_PaneOpening(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().PaneOpening(*reinterpret_cast(&token)); return 0; } int32_t __stdcall get_PaneDisplayMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PaneDisplayMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PaneDisplayMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PaneDisplayMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PaneHeader(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PaneHeader()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PaneHeader(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PaneHeader(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PaneCustomContent(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PaneCustomContent()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PaneCustomContent(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PaneCustomContent(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentOverlay(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentOverlay()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ContentOverlay(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ContentOverlay(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsPaneVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsPaneVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsPaneVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsPaneVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectionFollowsFocus(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectionFollowsFocus()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SelectionFollowsFocus(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectionFollowsFocus(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TemplateSettings(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TemplateSettings()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ShoulderNavigationEnabled(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ShoulderNavigationEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ShoulderNavigationEnabled(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ShoulderNavigationEnabled(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OverflowLabelMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OverflowLabelMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_OverflowLabelMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OverflowLabelMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_Expanding(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Expanding(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Expanding(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Expanding(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_Collapsed(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Collapsed(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Collapsed(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Collapsed(*reinterpret_cast(&token)); return 0; } int32_t __stdcall Expand(void* item) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Expand(*reinterpret_cast(&item)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Collapse(void* item) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Collapse(*reinterpret_cast(&item)); 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_DisplayMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DisplayMode()); 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_Icon(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Icon()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Icon(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Icon(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CompactPaneLength(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CompactPaneLength()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_SelectsOnInvoked(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectsOnInvoked()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SelectsOnInvoked(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectsOnInvoked(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsExpanded(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsExpanded()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsExpanded(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsExpanded(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HasUnrealizedChildren(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HasUnrealizedChildren()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HasUnrealizedChildren(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HasUnrealizedChildren(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsChildSelected(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsChildSelected()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsChildSelected(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsChildSelected(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MenuItems(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().MenuItems()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MenuItemsSource(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MenuItemsSource()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MenuItemsSource(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MenuItemsSource(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_InfoBadge(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InfoBadge()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_InfoBadge(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InfoBadge(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsSelected(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSelected()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsSelected(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsSelected(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsSelectedProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSelectedProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CollapsedItemContainer(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CollapsedItemContainer()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CollapsedItem(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CollapsedItem()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ExpandingItemContainer(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExpandingItemContainer()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExpandingItem(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExpandingItem()); 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 { }; #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_InvokedItem(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InvokedItem()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsSettingsInvoked(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSettingsInvoked()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_InvokedItemContainer(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InvokedItemContainer()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RecommendedNavigationTransitionInfo(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RecommendedNavigationTransitionInfo()); 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_IconProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IconProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CompactPaneLengthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CompactPaneLengthProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_SelectsOnInvokedProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectsOnInvokedProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsExpandedProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsExpandedProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HasUnrealizedChildrenProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HasUnrealizedChildrenProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsChildSelectedProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsChildSelectedProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MenuItemsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MenuItemsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MenuItemsSourceProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MenuItemsSourceProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_InfoBadgeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InfoBadgeProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Cancel(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Cancel()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Cancel(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Cancel(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_SelectedItem(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedItem()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsSettingsSelected(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSettingsSelected()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_SelectedItemContainer(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedItemContainer()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RecommendedNavigationTransitionInfo(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RecommendedNavigationTransitionInfo()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsPaneOpenProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsPaneOpenProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CompactModeThresholdWidthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CompactModeThresholdWidthProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExpandedModeThresholdWidthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExpandedModeThresholdWidthProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FooterMenuItemsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FooterMenuItemsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FooterMenuItemsSourceProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FooterMenuItemsSourceProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PaneFooterProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PaneFooterProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HeaderProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HeaderProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HeaderTemplateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HeaderTemplateProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DisplayModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DisplayModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsSettingsVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSettingsVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsPaneToggleButtonVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsPaneToggleButtonVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AlwaysShowHeaderProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AlwaysShowHeaderProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CompactPaneLengthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CompactPaneLengthProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OpenPaneLengthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OpenPaneLengthProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PaneToggleButtonStyleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PaneToggleButtonStyleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MenuItemsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MenuItemsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MenuItemsSourceProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MenuItemsSourceProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedItemProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedItemProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SettingsItemProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SettingsItemProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AutoSuggestBoxProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AutoSuggestBoxProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MenuItemTemplateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MenuItemTemplateProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MenuItemTemplateSelectorProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MenuItemTemplateSelectorProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MenuItemContainerStyleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MenuItemContainerStyleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MenuItemContainerStyleSelectorProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MenuItemContainerStyleSelectorProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsTitleBarAutoPaddingEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsTitleBarAutoPaddingEnabledProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsBackButtonVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsBackButtonVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsBackEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsBackEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PaneTitleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PaneTitleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PaneDisplayModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PaneDisplayModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PaneHeaderProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PaneHeaderProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PaneCustomContentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PaneCustomContentProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentOverlayProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentOverlayProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsPaneVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsPaneVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectionFollowsFocusProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectionFollowsFocusProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TemplateSettingsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TemplateSettingsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ShoulderNavigationEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ShoulderNavigationEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OverflowLabelModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OverflowLabelModeProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_TopPadding(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TopPadding()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OverflowButtonVisibility(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OverflowButtonVisibility()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PaneToggleButtonVisibility(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PaneToggleButtonVisibility()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BackButtonVisibility(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BackButtonVisibility()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TopPaneVisibility(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TopPaneVisibility()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LeftPaneVisibility(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LeftPaneVisibility()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SingleSelectionFollowsFocus(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SingleSelectionFollowsFocus()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PaneToggleButtonWidth(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PaneToggleButtonWidth()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SmallerPaneToggleButtonWidth(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SmallerPaneToggleButtonWidth()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_OpenPaneLength(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OpenPaneLength()); 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_TopPaddingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TopPaddingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OverflowButtonVisibilityProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OverflowButtonVisibilityProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PaneToggleButtonVisibilityProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PaneToggleButtonVisibilityProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BackButtonVisibilityProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BackButtonVisibilityProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TopPaneVisibilityProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TopPaneVisibilityProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LeftPaneVisibilityProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LeftPaneVisibilityProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SingleSelectionFollowsFocusProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SingleSelectionFollowsFocusProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PaneToggleButtonWidthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PaneToggleButtonWidthProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SmallerPaneToggleButtonWidthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SmallerPaneToggleButtonWidthProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_OpenPaneLengthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OpenPaneLengthProperty()); 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_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(); } }; #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_ChildrenCore(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().ChildrenCore()); return 0; } catch (...) { return to_hresult(); } }; #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 InitializeForContextCore(void* context) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InitializeForContextCore(*reinterpret_cast(&context)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall UninitializeForContextCore(void* context) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().UninitializeForContextCore(*reinterpret_cast(&context)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall MeasureOverride(void* context, winrt::Windows::Foundation::Size availableSize, winrt::Windows::Foundation::Size* result) noexcept final try { zero_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().MeasureOverride(*reinterpret_cast(&context), *reinterpret_cast(&availableSize))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ArrangeOverride(void* context, winrt::Windows::Foundation::Size finalSize, winrt::Windows::Foundation::Size* result) noexcept final try { zero_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().ArrangeOverride(*reinterpret_cast(&context), *reinterpret_cast(&finalSize))); return 0; } catch (...) { return to_hresult(); } }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Minimum(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Minimum()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Minimum(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Minimum(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Maximum(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Maximum()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Maximum(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Maximum(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Value(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Value()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Value(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Value(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SmallChange(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SmallChange()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SmallChange(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SmallChange(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LargeChange(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LargeChange()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LargeChange(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LargeChange(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(); } int32_t __stdcall get_Header(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Header()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Header(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Header(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HeaderTemplate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HeaderTemplate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HeaderTemplate(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HeaderTemplate(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PlaceholderText(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PlaceholderText()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PlaceholderText(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PlaceholderText(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectionFlyout(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectionFlyout()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SelectionFlyout(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectionFlyout(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectionHighlightColor(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectionHighlightColor()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SelectionHighlightColor(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectionHighlightColor(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextReadingOrder(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextReadingOrder()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TextReadingOrder(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TextReadingOrder(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PreventKeyboardDisplayOnProgrammaticFocus(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PreventKeyboardDisplayOnProgrammaticFocus()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PreventKeyboardDisplayOnProgrammaticFocus(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PreventKeyboardDisplayOnProgrammaticFocus(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Description(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Description()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Description(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Description(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ValidationMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ValidationMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ValidationMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ValidationMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SpinButtonPlacementMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SpinButtonPlacementMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SpinButtonPlacementMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SpinButtonPlacementMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsWrapEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsWrapEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsWrapEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsWrapEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AcceptsExpression(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AcceptsExpression()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AcceptsExpression(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AcceptsExpression(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NumberFormatter(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NumberFormatter()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_NumberFormatter(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().NumberFormatter(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_ValueChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ValueChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ValueChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ValueChanged(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_MinimumProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinimumProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaximumProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaximumProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ValueProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ValueProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SmallChangeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SmallChangeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LargeChangeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LargeChangeProperty()); 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(); } int32_t __stdcall get_HeaderProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HeaderProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HeaderTemplateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HeaderTemplateProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PlaceholderTextProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PlaceholderTextProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectionFlyoutProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectionFlyoutProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectionHighlightColorProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectionHighlightColorProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextReadingOrderProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextReadingOrderProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PreventKeyboardDisplayOnProgrammaticFocusProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PreventKeyboardDisplayOnProgrammaticFocusProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DescriptionProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DescriptionProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ValidationModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ValidationModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SpinButtonPlacementModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SpinButtonPlacementModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsWrapEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsWrapEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AcceptsExpressionProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AcceptsExpressionProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NumberFormatterProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NumberFormatterProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_OldValue(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OldValue()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NewValue(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NewValue()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Child(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Child()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Child(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Child(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalShift(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalShift()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HorizontalShift(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HorizontalShift(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalSourceEndOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalSourceEndOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HorizontalSourceEndOffset(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HorizontalSourceEndOffset(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalSourceOffsetKind(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalSourceOffsetKind()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HorizontalSourceOffsetKind(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HorizontalSourceOffsetKind(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalSourceStartOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalSourceStartOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HorizontalSourceStartOffset(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HorizontalSourceStartOffset(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsHorizontalShiftClamped(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsHorizontalShiftClamped()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsHorizontalShiftClamped(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsHorizontalShiftClamped(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsVerticalShiftClamped(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsVerticalShiftClamped()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsVerticalShiftClamped(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsVerticalShiftClamped(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxHorizontalShiftRatio(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxHorizontalShiftRatio()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxHorizontalShiftRatio(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxHorizontalShiftRatio(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxVerticalShiftRatio(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxVerticalShiftRatio()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxVerticalShiftRatio(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxVerticalShiftRatio(value); return 0; } catch (...) { return to_hresult(); } 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(); } int32_t __stdcall put_Source(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Source(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalShift(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalShift()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_VerticalShift(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().VerticalShift(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalSourceEndOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalSourceEndOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_VerticalSourceEndOffset(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().VerticalSourceEndOffset(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalSourceOffsetKind(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalSourceOffsetKind()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_VerticalSourceOffsetKind(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().VerticalSourceOffsetKind(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalSourceStartOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalSourceStartOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_VerticalSourceStartOffset(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().VerticalSourceStartOffset(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RefreshAutomaticHorizontalOffsets() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RefreshAutomaticHorizontalOffsets(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RefreshAutomaticVerticalOffsets() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RefreshAutomaticVerticalOffsets(); 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_ChildProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ChildProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalSourceEndOffsetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalSourceEndOffsetProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalSourceOffsetKindProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalSourceOffsetKindProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalSourceStartOffsetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalSourceStartOffsetProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxHorizontalShiftRatioProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxHorizontalShiftRatioProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalShiftProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalShiftProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsHorizontalShiftClampedProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsHorizontalShiftClampedProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsVerticalShiftClampedProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsVerticalShiftClampedProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SourceProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SourceProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalSourceEndOffsetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalSourceEndOffsetProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalSourceOffsetKindProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalSourceOffsetKindProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalSourceStartOffsetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalSourceStartOffsetProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxVerticalShiftRatioProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxVerticalShiftRatioProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalShiftProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalShiftProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Data(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Data()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Data(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Data(*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_DataProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DataProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_BadgeNumber(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BadgeNumber()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BadgeNumber(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BadgeNumber(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BadgeGlyph(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BadgeGlyph()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BadgeGlyph(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BadgeGlyph(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BadgeImageSource(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BadgeImageSource()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BadgeImageSource(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BadgeImageSource(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BadgeText(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BadgeText()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BadgeText(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BadgeText(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsGroup(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsGroup()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsGroup(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsGroup(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Contact(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Contact()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Contact(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Contact(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DisplayName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DisplayName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DisplayName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DisplayName(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Initials(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Initials()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Initials(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Initials(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PreferSmallImage(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PreferSmallImage()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PreferSmallImage(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PreferSmallImage(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ProfilePicture(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ProfilePicture()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ProfilePicture(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ProfilePicture(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TemplateSettings(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TemplateSettings()); 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_BadgeNumberProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BadgeNumberProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BadgeGlyphProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BadgeGlyphProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BadgeImageSourceProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BadgeImageSourceProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BadgeTextProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BadgeTextProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsGroupProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsGroupProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContactProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContactProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DisplayNameProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DisplayNameProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_InitialsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InitialsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PreferSmallImageProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PreferSmallImageProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ProfilePictureProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ProfilePictureProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ActualInitials(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ActualInitials()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ActualImageBrush(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ActualImageBrush()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_NumberOfPages(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NumberOfPages()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_NumberOfPages(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().NumberOfPages(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedPageIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedPageIndex()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SelectedPageIndex(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectedPageIndex(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxVisiblePips(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxVisiblePips()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxVisiblePips(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxVisiblePips(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Orientation(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Orientation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Orientation(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Orientation(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PreviousButtonVisibility(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PreviousButtonVisibility()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PreviousButtonVisibility(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PreviousButtonVisibility(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NextButtonVisibility(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NextButtonVisibility()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_NextButtonVisibility(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().NextButtonVisibility(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PreviousButtonStyle(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PreviousButtonStyle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PreviousButtonStyle(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PreviousButtonStyle(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NextButtonStyle(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NextButtonStyle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_NextButtonStyle(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().NextButtonStyle(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedPipStyle(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedPipStyle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SelectedPipStyle(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectedPipStyle(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NormalPipStyle(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NormalPipStyle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_NormalPipStyle(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().NormalPipStyle(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_SelectedIndexChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().SelectedIndexChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_SelectedIndexChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().SelectedIndexChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall get_TemplateSettings(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TemplateSettings()); 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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_NumberOfPagesProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NumberOfPagesProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedPageIndexProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedPageIndexProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxVisiblePipsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxVisiblePipsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OrientationProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OrientationProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PreviousButtonVisibilityProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PreviousButtonVisibilityProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NextButtonVisibilityProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NextButtonVisibilityProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PreviousButtonStyleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PreviousButtonStyleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NextButtonStyleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NextButtonStyleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedPipStyleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedPipStyleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NormalPipStyleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NormalPipStyleProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_PipsPagerItems(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().PipsPagerItems()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsIndeterminate(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsIndeterminate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsIndeterminate(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsIndeterminate(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ShowError(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ShowError()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ShowError(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ShowError(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ShowPaused(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ShowPaused()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ShowPaused(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ShowPaused(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TemplateSettings(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TemplateSettings()); 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_IsIndeterminateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsIndeterminateProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ShowErrorProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ShowErrorProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ShowPausedProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ShowPausedProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ContainerAnimationStartPosition(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContainerAnimationStartPosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContainerAnimationEndPosition(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContainerAnimationEndPosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Container2AnimationStartPosition(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Container2AnimationStartPosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Container2AnimationEndPosition(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Container2AnimationEndPosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContainerAnimationMidPosition(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContainerAnimationMidPosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IndicatorLengthDelta(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IndicatorLengthDelta()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ClipRect(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ClipRect()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EllipseAnimationEndPosition(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().EllipseAnimationEndPosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EllipseAnimationWellPosition(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().EllipseAnimationWellPosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EllipseDiameter(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().EllipseDiameter()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EllipseOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().EllipseOffset()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsActive(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsActive()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsActive(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsActive(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsIndeterminate(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsIndeterminate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsIndeterminate(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsIndeterminate(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TemplateSettings(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TemplateSettings()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Value(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Value()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Value(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Value(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Minimum(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Minimum()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Minimum(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Minimum(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Maximum(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Maximum()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Maximum(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Maximum(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_IsActiveProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsActiveProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsIndeterminateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsIndeterminateProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ValueProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ValueProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinimumProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinimumProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaximumProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaximumProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_EllipseDiameter(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().EllipseDiameter()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EllipseOffset(struct struct_Windows_UI_Xaml_Thickness* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().EllipseOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxSideLength(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxSideLength()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ItemsSource(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemsSource()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ItemsSource(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ItemsSource(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Items(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Items()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemTemplate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemTemplate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ItemTemplate(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ItemTemplate(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ContainerFromIndex(int32_t index, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().ContainerFromIndex(index)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedIndex()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SelectedIndex(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectedIndex(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedItem(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedItem()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SelectedItem(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectedItem(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_SelectionChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().SelectionChanged(*reinterpret_cast(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_SelectionChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().SelectionChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall get_MaxColumns(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxColumns()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxColumns(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxColumns(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Header(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Header()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Header(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Header(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HeaderTemplate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HeaderTemplate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HeaderTemplate(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HeaderTemplate(*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_ItemsSourceProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemsSourceProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemTemplateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemTemplateProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedIndexProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedIndexProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedItemProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedItemProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxColumnsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxColumnsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HeaderProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HeaderProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HeaderTemplateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HeaderTemplateProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsChecked(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsChecked()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsChecked(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsChecked(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_GroupName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GroupName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_GroupName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().GroupName(*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_IsCheckedProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsCheckedProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_GroupNameProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GroupNameProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_AreCheckStatesEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AreCheckStatesEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetAreCheckStatesEnabled(void* object, bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetAreCheckStatesEnabled(*reinterpret_cast(&object), value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetAreCheckStatesEnabled(void* object, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetAreCheckStatesEnabled(*reinterpret_cast(&object))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Caption(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Caption()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Caption(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Caption(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_InitialSetValue(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InitialSetValue()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_InitialSetValue(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InitialSetValue(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsClearEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsClearEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsClearEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsClearEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsReadOnly(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsReadOnly()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsReadOnly(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsReadOnly(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxRating(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxRating()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxRating(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxRating(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PlaceholderValue(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PlaceholderValue()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PlaceholderValue(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PlaceholderValue(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemInfo(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemInfo()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ItemInfo(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ItemInfo(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Value(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Value()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Value(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Value(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_ValueChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ValueChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ValueChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ValueChanged(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CaptionProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CaptionProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_InitialSetValueProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InitialSetValueProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsClearEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsClearEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsReadOnlyProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsReadOnlyProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxRatingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxRatingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PlaceholderValueProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PlaceholderValueProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemInfoProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemInfoProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ValueProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ValueProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_DisabledGlyph(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DisabledGlyph()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DisabledGlyph(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DisabledGlyph(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Glyph(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Glyph()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Glyph(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Glyph(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PointerOverGlyph(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PointerOverGlyph()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PointerOverGlyph(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PointerOverGlyph(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PointerOverPlaceholderGlyph(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PointerOverPlaceholderGlyph()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PointerOverPlaceholderGlyph(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PointerOverPlaceholderGlyph(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PlaceholderGlyph(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PlaceholderGlyph()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PlaceholderGlyph(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PlaceholderGlyph(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_UnsetGlyph(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().UnsetGlyph()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_UnsetGlyph(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().UnsetGlyph(*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_DisabledGlyphProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DisabledGlyphProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_GlyphProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GlyphProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PlaceholderGlyphProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PlaceholderGlyphProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PointerOverGlyphProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PointerOverGlyphProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PointerOverPlaceholderGlyphProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PointerOverPlaceholderGlyphProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_UnsetGlyphProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().UnsetGlyphProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_DisabledImage(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DisabledImage()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DisabledImage(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DisabledImage(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Image(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Image()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Image(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Image(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PlaceholderImage(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PlaceholderImage()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PlaceholderImage(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PlaceholderImage(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PointerOverImage(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PointerOverImage()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PointerOverImage(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PointerOverImage(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PointerOverPlaceholderImage(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PointerOverPlaceholderImage()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PointerOverPlaceholderImage(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PointerOverPlaceholderImage(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_UnsetImage(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().UnsetImage()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_UnsetImage(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().UnsetImage(*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_DisabledImageProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DisabledImageProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ImageProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ImageProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PlaceholderImageProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PlaceholderImageProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PointerOverImageProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PointerOverImageProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PointerOverPlaceholderImageProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PointerOverPlaceholderImageProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_UnsetImageProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().UnsetImageProperty()); 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_Visualizer(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Visualizer()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Visualizer(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Visualizer(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PullDirection(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PullDirection()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PullDirection(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PullDirection(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_RefreshRequested(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().RefreshRequested(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_RefreshRequested(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().RefreshRequested(*reinterpret_cast(&token)); return 0; } int32_t __stdcall RequestRefresh() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RequestRefresh(); 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_VisualizerProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VisualizerProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PullDirectionProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PullDirectionProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_InteractionRatio(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InteractionRatio()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { 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_OldState(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OldState()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NewState(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NewState()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall RequestRefresh() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RequestRefresh(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Orientation(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Orientation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Orientation(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Orientation(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Content(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Content()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Content(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Content(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_State(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().State()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_RefreshRequested(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().RefreshRequested(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_RefreshRequested(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().RefreshRequested(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_RefreshStateChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().RefreshStateChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_RefreshStateChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().RefreshStateChanged(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_InfoProviderProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InfoProviderProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OrientationProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OrientationProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentProperty()); 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(); } }; #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_Flyout(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Flyout()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Flyout(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Flyout(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Command(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Command()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Command(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Command(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CommandParameter(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CommandParameter()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CommandParameter(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CommandParameter(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_Click(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Click(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Click(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Click(*reinterpret_cast(&token)); return 0; } }; #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_FlyoutProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FlyoutProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CommandProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CommandProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CommandParameterProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CommandParameterProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Orientation(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Orientation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Orientation(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Orientation(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Spacing(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Spacing()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Spacing(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Spacing(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_OrientationProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OrientationProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SpacingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SpacingProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_LeftItems(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LeftItems()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LeftItems(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LeftItems(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RightItems(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RightItems()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_RightItems(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RightItems(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TopItems(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TopItems()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TopItems(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TopItems(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BottomItems(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BottomItems()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BottomItems(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BottomItems(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Close() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Close(); 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_LeftItemsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LeftItemsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RightItemsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RightItemsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TopItemsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TopItemsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BottomItemsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BottomItemsProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { 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(); } int32_t __stdcall get_IconSource(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IconSource()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IconSource(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IconSource(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Background(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Background()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Background(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Background(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Foreground(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Foreground()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Foreground(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Foreground(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Command(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Command()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Command(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Command(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CommandParameter(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CommandParameter()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CommandParameter(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CommandParameter(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BehaviorOnInvoked(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BehaviorOnInvoked()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BehaviorOnInvoked(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BehaviorOnInvoked(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_Invoked(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Invoked(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Invoked(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Invoked(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_SwipeControl(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SwipeControl()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IconSourceProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IconSourceProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_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(); } int32_t __stdcall get_BackgroundProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BackgroundProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ForegroundProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ForegroundProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CommandProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CommandProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CommandParameterProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CommandParameterProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BehaviorOnInvokedProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BehaviorOnInvokedProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Mode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Mode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Mode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Mode(*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_ModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ModeProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Symbol(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Symbol()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Symbol(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Symbol(*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_SymbolProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SymbolProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_TabWidthMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TabWidthMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TabWidthMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TabWidthMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CloseButtonOverlayMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CloseButtonOverlayMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CloseButtonOverlayMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CloseButtonOverlayMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TabStripHeader(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TabStripHeader()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TabStripHeader(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TabStripHeader(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TabStripHeaderTemplate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TabStripHeaderTemplate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TabStripHeaderTemplate(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TabStripHeaderTemplate(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TabStripFooter(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TabStripFooter()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TabStripFooter(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TabStripFooter(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TabStripFooterTemplate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TabStripFooterTemplate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TabStripFooterTemplate(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TabStripFooterTemplate(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsAddTabButtonVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsAddTabButtonVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsAddTabButtonVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsAddTabButtonVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AddTabButtonCommand(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AddTabButtonCommand()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AddTabButtonCommand(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AddTabButtonCommand(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AddTabButtonCommandParameter(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AddTabButtonCommandParameter()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AddTabButtonCommandParameter(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AddTabButtonCommandParameter(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_TabCloseRequested(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().TabCloseRequested(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_TabCloseRequested(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().TabCloseRequested(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_TabDroppedOutside(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().TabDroppedOutside(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_TabDroppedOutside(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().TabDroppedOutside(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_AddTabButtonClick(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().AddTabButtonClick(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_AddTabButtonClick(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().AddTabButtonClick(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_TabItemsChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().TabItemsChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_TabItemsChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().TabItemsChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall get_TabItemsSource(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TabItemsSource()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TabItemsSource(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TabItemsSource(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TabItems(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().TabItems()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TabItemTemplate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TabItemTemplate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TabItemTemplate(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TabItemTemplate(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TabItemTemplateSelector(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TabItemTemplateSelector()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TabItemTemplateSelector(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TabItemTemplateSelector(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanDragTabs(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanDragTabs()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CanDragTabs(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CanDragTabs(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanReorderTabs(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanReorderTabs()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CanReorderTabs(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CanReorderTabs(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AllowDropTabs(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AllowDropTabs()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AllowDropTabs(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AllowDropTabs(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedIndex()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SelectedIndex(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectedIndex(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedItem(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedItem()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SelectedItem(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectedItem(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ContainerFromItem(void* item, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().ContainerFromItem(*reinterpret_cast(&item))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ContainerFromIndex(int32_t index, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().ContainerFromIndex(index)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_SelectionChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().SelectionChanged(*reinterpret_cast(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_SelectionChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().SelectionChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_TabDragStarting(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().TabDragStarting(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_TabDragStarting(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().TabDragStarting(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_TabDragCompleted(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().TabDragCompleted(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_TabDragCompleted(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().TabDragCompleted(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_TabStripDragOver(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().TabStripDragOver(*reinterpret_cast(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_TabStripDragOver(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().TabStripDragOver(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_TabStripDrop(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().TabStripDrop(*reinterpret_cast(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_TabStripDrop(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().TabStripDrop(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Header(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Header()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Header(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Header(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HeaderTemplate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HeaderTemplate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HeaderTemplate(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HeaderTemplate(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IconSource(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IconSource()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IconSource(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IconSource(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsClosable(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsClosable()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsClosable(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsClosable(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TabViewTemplateSettings(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TabViewTemplateSettings()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_CloseRequested(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().CloseRequested(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_CloseRequested(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().CloseRequested(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_HeaderProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HeaderProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HeaderTemplateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HeaderTemplateProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IconSourceProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IconSourceProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsClosableProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsClosableProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TabViewTemplateSettingsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TabViewTemplateSettingsProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IconElement(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IconElement()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IconElement(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IconElement(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_TabGeometry(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TabGeometry()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TabGeometry(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TabGeometry(*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_IconElementProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IconElementProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_TabGeometryProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TabGeometryProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_TabWidthModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TabWidthModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TabStripHeaderProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TabStripHeaderProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TabStripHeaderTemplateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TabStripHeaderTemplateProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TabStripFooterProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TabStripFooterProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TabStripFooterTemplateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TabStripFooterTemplateProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsAddTabButtonVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsAddTabButtonVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AddTabButtonCommandProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AddTabButtonCommandProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AddTabButtonCommandParameterProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AddTabButtonCommandParameterProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TabItemsSourceProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TabItemsSourceProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TabItemsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TabItemsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TabItemTemplateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TabItemTemplateProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TabItemTemplateSelectorProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TabItemTemplateSelectorProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CloseButtonOverlayModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CloseButtonOverlayModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanDragTabsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanDragTabsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanReorderTabsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanReorderTabsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AllowDropTabsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AllowDropTabsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedIndexProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedIndexProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedItemProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedItemProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Item(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Item()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Tab(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Tab()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_DropResult(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DropResult()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Item(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Item()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Tab(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Tab()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Cancel(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Cancel()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Cancel(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Cancel(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Data(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Data()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Item(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Item()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Tab(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Tab()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Item(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Item()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Tab(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Tab()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Title(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Title()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Title(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Title(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Subtitle(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Subtitle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Subtitle(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Subtitle(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsOpen(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsOpen()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsOpen(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsOpen(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Target(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Target()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Target(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Target(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TailVisibility(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TailVisibility()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TailVisibility(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TailVisibility(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ActionButtonContent(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ActionButtonContent()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ActionButtonContent(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ActionButtonContent(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ActionButtonStyle(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ActionButtonStyle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ActionButtonStyle(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ActionButtonStyle(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ActionButtonCommand(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ActionButtonCommand()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ActionButtonCommand(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ActionButtonCommand(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ActionButtonCommandParameter(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ActionButtonCommandParameter()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ActionButtonCommandParameter(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ActionButtonCommandParameter(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CloseButtonContent(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CloseButtonContent()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CloseButtonContent(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CloseButtonContent(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CloseButtonStyle(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CloseButtonStyle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CloseButtonStyle(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CloseButtonStyle(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CloseButtonCommand(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CloseButtonCommand()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CloseButtonCommand(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CloseButtonCommand(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CloseButtonCommandParameter(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CloseButtonCommandParameter()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CloseButtonCommandParameter(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CloseButtonCommandParameter(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PlacementMargin(struct struct_Windows_UI_Xaml_Thickness* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PlacementMargin()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PlacementMargin(struct struct_Windows_UI_Xaml_Thickness value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PlacementMargin(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ShouldConstrainToRootBounds(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ShouldConstrainToRootBounds()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ShouldConstrainToRootBounds(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ShouldConstrainToRootBounds(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsLightDismissEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsLightDismissEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsLightDismissEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsLightDismissEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PreferredPlacement(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PreferredPlacement()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PreferredPlacement(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PreferredPlacement(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HeroContentPlacement(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HeroContentPlacement()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HeroContentPlacement(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HeroContentPlacement(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HeroContent(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HeroContent()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HeroContent(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HeroContent(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IconSource(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IconSource()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IconSource(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IconSource(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TemplateSettings(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TemplateSettings()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_ActionButtonClick(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ActionButtonClick(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ActionButtonClick(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ActionButtonClick(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_CloseButtonClick(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().CloseButtonClick(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_CloseButtonClick(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().CloseButtonClick(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_Closing(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Closing(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Closing(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Closing(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_Closed(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Closed(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Closed(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Closed(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Reason(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Reason()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Reason(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Reason()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Cancel(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Cancel()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Cancel(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Cancel(value); return 0; } catch (...) { return to_hresult(); } 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 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_IsOpenProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsOpenProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TargetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TargetProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TailVisibilityProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TailVisibilityProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TitleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TitleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SubtitleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SubtitleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ActionButtonContentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ActionButtonContentProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ActionButtonStyleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ActionButtonStyleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ActionButtonCommandProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ActionButtonCommandProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ActionButtonCommandParameterProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ActionButtonCommandParameterProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CloseButtonContentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CloseButtonContentProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CloseButtonStyleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CloseButtonStyleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CloseButtonCommandProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CloseButtonCommandProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CloseButtonCommandParameterProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CloseButtonCommandParameterProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PlacementMarginProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PlacementMarginProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ShouldConstrainToRootBoundsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ShouldConstrainToRootBoundsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsLightDismissEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsLightDismissEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PreferredPlacementProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PreferredPlacementProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HeroContentPlacementProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HeroContentPlacementProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HeroContentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HeroContentProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IconSourceProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IconSourceProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TemplateSettingsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TemplateSettingsProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_TopRightHighlightMargin(struct struct_Windows_UI_Xaml_Thickness* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TopRightHighlightMargin()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TopRightHighlightMargin(struct struct_Windows_UI_Xaml_Thickness value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TopRightHighlightMargin(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TopLeftHighlightMargin(struct struct_Windows_UI_Xaml_Thickness* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TopLeftHighlightMargin()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TopLeftHighlightMargin(struct struct_Windows_UI_Xaml_Thickness value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TopLeftHighlightMargin(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IconElement(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IconElement()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IconElement(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IconElement(*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_TopRightHighlightMarginProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TopRightHighlightMarginProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TopLeftHighlightMarginProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TopLeftHighlightMarginProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IconElementProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IconElementProperty()); 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_IsChecked(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsChecked()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsChecked(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsChecked(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_IsCheckedChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().IsCheckedChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_IsCheckedChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().IsCheckedChanged(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsCheckedProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsCheckedProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_RootNodes(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().RootNodes()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectionMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectionMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SelectionMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectionMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedNodes(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().SelectedNodes()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Expand(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Expand(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Collapse(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Collapse(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SelectAll() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectAll(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_ItemInvoked(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ItemInvoked(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ItemInvoked(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ItemInvoked(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_Expanding(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Expanding(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Expanding(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Expanding(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_Collapsed(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Collapsed(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Collapsed(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Collapsed(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall NodeFromContainer(void* container, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().NodeFromContainer(*reinterpret_cast(&container))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ContainerFromNode(void* node, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().ContainerFromNode(*reinterpret_cast(&node))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ItemFromContainer(void* container, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().ItemFromContainer(*reinterpret_cast(&container))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ContainerFromItem(void* item, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().ContainerFromItem(*reinterpret_cast(&item))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanDragItems(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanDragItems()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CanDragItems(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CanDragItems(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanReorderItems(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanReorderItems()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CanReorderItems(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CanReorderItems(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemTemplate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemTemplate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ItemTemplate(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ItemTemplate(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemTemplateSelector(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemTemplateSelector()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ItemTemplateSelector(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ItemTemplateSelector(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemContainerStyle(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemContainerStyle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ItemContainerStyle(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ItemContainerStyle(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemContainerStyleSelector(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemContainerStyleSelector()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ItemContainerStyleSelector(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ItemContainerStyleSelector(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemContainerTransitions(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemContainerTransitions()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ItemContainerTransitions(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ItemContainerTransitions(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemsSource(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemsSource()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ItemsSource(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ItemsSource(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_DragItemsStarting(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().DragItemsStarting(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_DragItemsStarting(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().DragItemsStarting(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_DragItemsCompleted(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().DragItemsCompleted(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_DragItemsCompleted(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().DragItemsCompleted(*reinterpret_cast(&token)); return 0; } int32_t __stdcall get_SelectedNode(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedNode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SelectedNode(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectedNode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedItem(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedItem()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SelectedItem(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectedItem(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedItems(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().SelectedItems()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Node(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Node()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Item(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Item()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_DropResult(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DropResult()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Items(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Items()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_NewParentItem(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NewParentItem()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Cancel(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Cancel()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Cancel(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Cancel(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Data(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Data()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Items(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Items()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Node(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Node()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Item(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Item()); 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_GlyphOpacity(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GlyphOpacity()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_GlyphOpacity(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().GlyphOpacity(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_GlyphBrush(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GlyphBrush()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_GlyphBrush(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().GlyphBrush(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExpandedGlyph(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExpandedGlyph()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ExpandedGlyph(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ExpandedGlyph(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CollapsedGlyph(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CollapsedGlyph()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CollapsedGlyph(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CollapsedGlyph(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_GlyphSize(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GlyphSize()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_GlyphSize(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().GlyphSize(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsExpanded(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsExpanded()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsExpanded(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsExpanded(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TreeViewItemTemplateSettings(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TreeViewItemTemplateSettings()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_HasUnrealizedChildren(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HasUnrealizedChildren()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HasUnrealizedChildren(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HasUnrealizedChildren(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemsSource(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemsSource()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ItemsSource(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ItemsSource(*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_InvokedItem(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InvokedItem()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Handled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Handled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Handled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Handled()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_GlyphOpacityProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GlyphOpacityProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_GlyphBrushProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GlyphBrushProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExpandedGlyphProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExpandedGlyphProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CollapsedGlyphProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CollapsedGlyphProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_GlyphSizeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GlyphSizeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsExpandedProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsExpandedProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TreeViewItemTemplateSettingsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TreeViewItemTemplateSettingsProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_HasUnrealizedChildrenProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HasUnrealizedChildrenProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemsSourceProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemsSourceProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ExpandedGlyphVisibility(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExpandedGlyphVisibility()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CollapsedGlyphVisibility(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CollapsedGlyphVisibility()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Indentation(struct struct_Windows_UI_Xaml_Thickness* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Indentation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DragItemsCount(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DragItemsCount()); 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_ExpandedGlyphVisibilityProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExpandedGlyphVisibilityProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CollapsedGlyphVisibilityProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CollapsedGlyphVisibilityProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IndentationProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IndentationProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DragItemsCountProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DragItemsCountProperty()); 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_Content(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Content()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Content(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Content(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Parent(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Parent()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsExpanded(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsExpanded()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsExpanded(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsExpanded(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HasChildren(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HasChildren()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Depth(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Depth()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HasUnrealizedChildren(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HasUnrealizedChildren()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HasUnrealizedChildren(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HasUnrealizedChildren(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(); } }; #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_ContentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DepthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DepthProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsExpandedProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsExpandedProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HasChildrenProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HasChildrenProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_SelectedItemProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedItemProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectionModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectionModeProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CanDragItemsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanDragItemsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanReorderItemsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanReorderItemsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemTemplateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemTemplateProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemTemplateSelectorProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemTemplateSelectorProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemContainerStyleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemContainerStyleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemContainerStyleSelectorProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemContainerStyleSelectorProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemContainerTransitionsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemContainerTransitionsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemsSourceProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemsSourceProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Pane1(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Pane1()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Pane1(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Pane1(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Pane2(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Pane2()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Pane2(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Pane2(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Pane1Length(struct struct_Windows_UI_Xaml_GridLength* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Pane1Length()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Pane1Length(struct struct_Windows_UI_Xaml_GridLength value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Pane1Length(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Pane2Length(struct struct_Windows_UI_Xaml_GridLength* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Pane2Length()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Pane2Length(struct struct_Windows_UI_Xaml_GridLength value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Pane2Length(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PanePriority(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PanePriority()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PanePriority(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PanePriority(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Mode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Mode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_WideModeConfiguration(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().WideModeConfiguration()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_WideModeConfiguration(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().WideModeConfiguration(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TallModeConfiguration(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TallModeConfiguration()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TallModeConfiguration(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TallModeConfiguration(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinWideModeWidth(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinWideModeWidth()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MinWideModeWidth(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MinWideModeWidth(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinTallModeHeight(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinTallModeHeight()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MinTallModeHeight(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MinTallModeHeight(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_ModeChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ModeChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ModeChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ModeChanged(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Pane1Property(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Pane1Property()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Pane2Property(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Pane2Property()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Pane1LengthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Pane1LengthProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Pane2LengthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Pane2LengthProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PanePriorityProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PanePriorityProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_WideModeConfigurationProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().WideModeConfigurationProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TallModeConfigurationProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TallModeConfigurationProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinWideModeWidthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinWideModeWidthProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinTallModeHeightProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinTallModeHeightProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Orientation(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Orientation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Orientation(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Orientation(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinItemWidth(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinItemWidth()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MinItemWidth(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MinItemWidth(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinItemHeight(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinItemHeight()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MinItemHeight(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MinItemHeight(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinRowSpacing(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinRowSpacing()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MinRowSpacing(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MinRowSpacing(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinColumnSpacing(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinColumnSpacing()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MinColumnSpacing(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MinColumnSpacing(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemsJustification(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemsJustification()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ItemsJustification(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ItemsJustification(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemsStretch(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemsStretch()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ItemsStretch(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ItemsStretch(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaximumRowsOrColumns(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaximumRowsOrColumns()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaximumRowsOrColumns(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaximumRowsOrColumns(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_OrientationProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OrientationProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinItemWidthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinItemWidthProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinItemHeightProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinItemHeightProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinRowSpacingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinRowSpacingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinColumnSpacingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinColumnSpacingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemsJustificationProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemsJustificationProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemsStretchProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemsStretchProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaximumRowsOrColumnsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaximumRowsOrColumnsProperty()); 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_ItemCount(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemCount()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetItemAt(int32_t index, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetItemAt(index)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RealizationRect(winrt::Windows::Foundation::Rect* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RealizationRect()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetOrCreateElementAt(int32_t index, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetOrCreateElementAt(index)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetOrCreateElementAt2(int32_t index, uint32_t options, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetOrCreateElementAt(index, *reinterpret_cast(&options))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RecycleElement(void* element) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RecycleElement(*reinterpret_cast(&element)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RecommendedAnchorIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RecommendedAnchorIndex()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LayoutOrigin(winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LayoutOrigin()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LayoutOrigin(winrt::Windows::Foundation::Point value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LayoutOrigin(*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 ItemCountCore(int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().ItemCountCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetItemAtCore(int32_t index, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetItemAtCore(index)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RealizationRectCore(winrt::Windows::Foundation::Rect* result) noexcept final try { zero_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().RealizationRectCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetOrCreateElementAtCore(int32_t index, uint32_t options, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetOrCreateElementAtCore(index, *reinterpret_cast(&options))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RecycleElementCore(void* element) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RecycleElementCore(*reinterpret_cast(&element)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RecommendedAnchorIndexCore(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RecommendedAnchorIndexCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LayoutOriginCore(winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LayoutOriginCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LayoutOriginCore(winrt::Windows::Foundation::Point value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LayoutOriginCore(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #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 InitializeForContextCore(void* context) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InitializeForContextCore(*reinterpret_cast(&context)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall UninitializeForContextCore(void* context) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().UninitializeForContextCore(*reinterpret_cast(&context)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall MeasureOverride(void* context, winrt::Windows::Foundation::Size availableSize, winrt::Windows::Foundation::Size* result) noexcept final try { zero_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().MeasureOverride(*reinterpret_cast(&context), *reinterpret_cast(&availableSize))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ArrangeOverride(void* context, winrt::Windows::Foundation::Size finalSize, winrt::Windows::Foundation::Size* result) noexcept final try { zero_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().ArrangeOverride(*reinterpret_cast(&context), *reinterpret_cast(&finalSize))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnItemsChangedCore(void* context, void* source, void* args) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnItemsChangedCore(*reinterpret_cast(&context), *reinterpret_cast(&source), *reinterpret_cast(&args)); return 0; } catch (...) { return to_hresult(); } }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CoreWebView2(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CoreWebView2()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall EnsureCoreWebView2Async(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from(this->shim().EnsureCoreWebView2Async()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ExecuteScriptAsync(void* javascriptCode, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().ExecuteScriptAsync(*reinterpret_cast(&javascriptCode))); return 0; } catch (...) { return to_hresult(); } 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(); } int32_t __stdcall put_Source(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Source(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanGoForward(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanGoForward()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CanGoForward(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CanGoForward(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanGoBack(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanGoBack()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CanGoBack(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CanGoBack(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Reload() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Reload(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GoForward() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().GoForward(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GoBack() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().GoBack(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall NavigateToString(void* htmlContent) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().NavigateToString(*reinterpret_cast(&htmlContent)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Close() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Close(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_NavigationCompleted(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().NavigationCompleted(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_NavigationCompleted(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().NavigationCompleted(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_WebMessageReceived(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().WebMessageReceived(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_WebMessageReceived(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().WebMessageReceived(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_NavigationStarting(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().NavigationStarting(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_NavigationStarting(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().NavigationStarting(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_CoreProcessFailed(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().CoreProcessFailed(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_CoreProcessFailed(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().CoreProcessFailed(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_CoreWebView2Initialized(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().CoreWebView2Initialized(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_CoreWebView2Initialized(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().CoreWebView2Initialized(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_SourceProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SourceProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanGoForwardProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanGoForwardProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanGoBackProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanGoBackProperty()); 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_ControlsResourcesVersion(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ControlsResourcesVersion()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ControlsResourcesVersion(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ControlsResourcesVersion(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall EnsureRevealLights(void* element) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().EnsureRevealLights(*reinterpret_cast(&element)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ControlsResourcesVersionProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ControlsResourcesVersionProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif template struct WINRT_IMPL_EMPTY_BASES produce_dispatch_to_overridable : produce_dispatch_to_overridable_base { auto GetElementCore(winrt::Microsoft::UI::Xaml::Controls::ElementFactoryGetArgs const& args) { if (auto overridable = this->shim_overridable()) { return overridable.GetElementCore(args); } return this->shim().GetElementCore(args); } auto RecycleElementCore(winrt::Microsoft::UI::Xaml::Controls::ElementFactoryRecycleArgs const& args) { if (auto overridable = this->shim_overridable()) { return overridable.RecycleElementCore(args); } return this->shim().RecycleElementCore(args); } }; template struct WINRT_IMPL_EMPTY_BASES produce_dispatch_to_overridable : produce_dispatch_to_overridable_base { auto LayoutStateCore() { if (auto overridable = this->shim_overridable()) { return overridable.LayoutStateCore(); } return this->shim().LayoutStateCore(); } auto LayoutStateCore(winrt::Windows::Foundation::IInspectable const& value) { if (auto overridable = this->shim_overridable()) { return overridable.LayoutStateCore(value); } return this->shim().LayoutStateCore(value); } }; template struct WINRT_IMPL_EMPTY_BASES produce_dispatch_to_overridable : produce_dispatch_to_overridable_base { auto InitializeForContextCore(winrt::Microsoft::UI::Xaml::Controls::NonVirtualizingLayoutContext const& context) { if (auto overridable = this->shim_overridable()) { return overridable.InitializeForContextCore(context); } return this->shim().InitializeForContextCore(context); } auto UninitializeForContextCore(winrt::Microsoft::UI::Xaml::Controls::NonVirtualizingLayoutContext const& context) { if (auto overridable = this->shim_overridable()) { return overridable.UninitializeForContextCore(context); } return this->shim().UninitializeForContextCore(context); } auto MeasureOverride(winrt::Microsoft::UI::Xaml::Controls::NonVirtualizingLayoutContext const& context, winrt::Windows::Foundation::Size const& availableSize) { if (auto overridable = this->shim_overridable()) { return overridable.MeasureOverride(context, availableSize); } return this->shim().MeasureOverride(context, availableSize); } auto ArrangeOverride(winrt::Microsoft::UI::Xaml::Controls::NonVirtualizingLayoutContext const& context, winrt::Windows::Foundation::Size const& finalSize) { if (auto overridable = this->shim_overridable()) { return overridable.ArrangeOverride(context, finalSize); } return this->shim().ArrangeOverride(context, finalSize); } }; template struct WINRT_IMPL_EMPTY_BASES produce_dispatch_to_overridable : produce_dispatch_to_overridable_base { auto ChildrenCore() { if (auto overridable = this->shim_overridable()) { return overridable.ChildrenCore(); } return this->shim().ChildrenCore(); } }; template struct WINRT_IMPL_EMPTY_BASES produce_dispatch_to_overridable : produce_dispatch_to_overridable_base { auto InitializeForContextCore(winrt::Microsoft::UI::Xaml::Controls::VirtualizingLayoutContext const& context) { if (auto overridable = this->shim_overridable()) { return overridable.InitializeForContextCore(context); } return this->shim().InitializeForContextCore(context); } auto UninitializeForContextCore(winrt::Microsoft::UI::Xaml::Controls::VirtualizingLayoutContext const& context) { if (auto overridable = this->shim_overridable()) { return overridable.UninitializeForContextCore(context); } return this->shim().UninitializeForContextCore(context); } auto MeasureOverride(winrt::Microsoft::UI::Xaml::Controls::VirtualizingLayoutContext const& context, winrt::Windows::Foundation::Size const& availableSize) { if (auto overridable = this->shim_overridable()) { return overridable.MeasureOverride(context, availableSize); } return this->shim().MeasureOverride(context, availableSize); } auto ArrangeOverride(winrt::Microsoft::UI::Xaml::Controls::VirtualizingLayoutContext const& context, winrt::Windows::Foundation::Size const& finalSize) { if (auto overridable = this->shim_overridable()) { return overridable.ArrangeOverride(context, finalSize); } return this->shim().ArrangeOverride(context, finalSize); } auto OnItemsChangedCore(winrt::Microsoft::UI::Xaml::Controls::VirtualizingLayoutContext const& context, winrt::Windows::Foundation::IInspectable const& source, winrt::Windows::UI::Xaml::Interop::NotifyCollectionChangedEventArgs const& args) { if (auto overridable = this->shim_overridable()) { return overridable.OnItemsChangedCore(context, source, args); } return this->shim().OnItemsChangedCore(context, source, args); } }; template struct WINRT_IMPL_EMPTY_BASES produce_dispatch_to_overridable : produce_dispatch_to_overridable_base { auto ItemCountCore() { if (auto overridable = this->shim_overridable()) { return overridable.ItemCountCore(); } return this->shim().ItemCountCore(); } auto GetItemAtCore(int32_t index) { if (auto overridable = this->shim_overridable()) { return overridable.GetItemAtCore(index); } return this->shim().GetItemAtCore(index); } auto RealizationRectCore() { if (auto overridable = this->shim_overridable()) { return overridable.RealizationRectCore(); } return this->shim().RealizationRectCore(); } auto GetOrCreateElementAtCore(int32_t index, winrt::Microsoft::UI::Xaml::Controls::ElementRealizationOptions const& options) { if (auto overridable = this->shim_overridable()) { return overridable.GetOrCreateElementAtCore(index, options); } return this->shim().GetOrCreateElementAtCore(index, options); } auto RecycleElementCore(winrt::Windows::UI::Xaml::UIElement const& element) { if (auto overridable = this->shim_overridable()) { return overridable.RecycleElementCore(element); } return this->shim().RecycleElementCore(element); } auto RecommendedAnchorIndexCore() { if (auto overridable = this->shim_overridable()) { return overridable.RecommendedAnchorIndexCore(); } return this->shim().RecommendedAnchorIndexCore(); } auto LayoutOriginCore() { if (auto overridable = this->shim_overridable()) { return overridable.LayoutOriginCore(); } return this->shim().LayoutOriginCore(); } auto LayoutOriginCore(winrt::Windows::Foundation::Point const& value) { if (auto overridable = this->shim_overridable()) { return overridable.LayoutOriginCore(value); } return this->shim().LayoutOriginCore(value); } }; } WINRT_EXPORT namespace winrt::Microsoft::UI::Xaml::Controls { constexpr auto operator|(ElementRealizationOptions const left, ElementRealizationOptions const right) noexcept { return static_cast(impl::to_underlying_type(left) | impl::to_underlying_type(right)); } constexpr auto operator|=(ElementRealizationOptions& left, ElementRealizationOptions const right) noexcept { left = left | right; return left; } constexpr auto operator&(ElementRealizationOptions const left, ElementRealizationOptions const right) noexcept { return static_cast(impl::to_underlying_type(left) & impl::to_underlying_type(right)); } constexpr auto operator&=(ElementRealizationOptions& left, ElementRealizationOptions const right) noexcept { left = left & right; return left; } constexpr auto operator~(ElementRealizationOptions const value) noexcept { return static_cast(~impl::to_underlying_type(value)); } constexpr auto operator^(ElementRealizationOptions const left, ElementRealizationOptions const right) noexcept { return static_cast(impl::to_underlying_type(left) ^ impl::to_underlying_type(right)); } constexpr auto operator^=(ElementRealizationOptions& left, ElementRealizationOptions const right) noexcept { left = left ^ right; return left; } inline AnimatedIcon::AnimatedIcon() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IAnimatedIconFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto AnimatedIcon::StateProperty() { return impl::call_factory_cast([](IAnimatedIconStatics const& f) { return f.StateProperty(); }); } inline auto AnimatedIcon::SetState(winrt::Windows::UI::Xaml::DependencyObject const& object, param::hstring const& value) { impl::call_factory([&](IAnimatedIconStatics const& f) { return f.SetState(object, value); }); } inline auto AnimatedIcon::GetState(winrt::Windows::UI::Xaml::DependencyObject const& object) { return impl::call_factory([&](IAnimatedIconStatics const& f) { return f.GetState(object); }); } inline auto AnimatedIcon::SourceProperty() { return impl::call_factory_cast([](IAnimatedIconStatics const& f) { return f.SourceProperty(); }); } inline auto AnimatedIcon::FallbackIconSourceProperty() { return impl::call_factory_cast([](IAnimatedIconStatics const& f) { return f.FallbackIconSourceProperty(); }); } inline auto AnimatedIcon::MirroredWhenRightToLeftProperty() { return impl::call_factory_cast([](IAnimatedIconStatics const& f) { return f.MirroredWhenRightToLeftProperty(); }); } inline AnimatedIconSource::AnimatedIconSource() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IAnimatedIconSourceFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto AnimatedIconSource::SourceProperty() { return impl::call_factory_cast([](IAnimatedIconSourceStatics const& f) { return f.SourceProperty(); }); } inline auto AnimatedIconSource::FallbackIconSourceProperty() { return impl::call_factory_cast([](IAnimatedIconSourceStatics const& f) { return f.FallbackIconSourceProperty(); }); } inline auto AnimatedIconSource::MirroredWhenRightToLeftProperty() { return impl::call_factory_cast([](IAnimatedIconSourceStatics const& f) { return f.MirroredWhenRightToLeftProperty(); }); } inline AnimatedVisualPlayer::AnimatedVisualPlayer() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IAnimatedVisualPlayerFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto AnimatedVisualPlayer::AutoPlayProperty() { return impl::call_factory_cast([](IAnimatedVisualPlayerStatics const& f) { return f.AutoPlayProperty(); }); } inline auto AnimatedVisualPlayer::DiagnosticsProperty() { return impl::call_factory_cast([](IAnimatedVisualPlayerStatics const& f) { return f.DiagnosticsProperty(); }); } inline auto AnimatedVisualPlayer::DurationProperty() { return impl::call_factory_cast([](IAnimatedVisualPlayerStatics const& f) { return f.DurationProperty(); }); } inline auto AnimatedVisualPlayer::FallbackContentProperty() { return impl::call_factory_cast([](IAnimatedVisualPlayerStatics const& f) { return f.FallbackContentProperty(); }); } inline auto AnimatedVisualPlayer::IsAnimatedVisualLoadedProperty() { return impl::call_factory_cast([](IAnimatedVisualPlayerStatics const& f) { return f.IsAnimatedVisualLoadedProperty(); }); } inline auto AnimatedVisualPlayer::IsPlayingProperty() { return impl::call_factory_cast([](IAnimatedVisualPlayerStatics const& f) { return f.IsPlayingProperty(); }); } inline auto AnimatedVisualPlayer::PlaybackRateProperty() { return impl::call_factory_cast([](IAnimatedVisualPlayerStatics const& f) { return f.PlaybackRateProperty(); }); } inline auto AnimatedVisualPlayer::SourceProperty() { return impl::call_factory_cast([](IAnimatedVisualPlayerStatics const& f) { return f.SourceProperty(); }); } inline auto AnimatedVisualPlayer::StretchProperty() { return impl::call_factory_cast([](IAnimatedVisualPlayerStatics const& f) { return f.StretchProperty(); }); } inline auto AnimatedVisualPlayer::AnimationOptimizationProperty() { return impl::call_factory_cast([](IAnimatedVisualPlayerStatics2 const& f) { return f.AnimationOptimizationProperty(); }); } inline auto BackdropMaterial::ApplyToRootOrPageBackgroundProperty() { return impl::call_factory_cast([](IBackdropMaterialStatics const& f) { return f.ApplyToRootOrPageBackgroundProperty(); }); } inline auto BackdropMaterial::SetApplyToRootOrPageBackground(winrt::Windows::UI::Xaml::Controls::Control const& element, bool value) { impl::call_factory([&](IBackdropMaterialStatics const& f) { return f.SetApplyToRootOrPageBackground(element, value); }); } inline auto BackdropMaterial::GetApplyToRootOrPageBackground(winrt::Windows::UI::Xaml::Controls::Control const& element) { return impl::call_factory([&](IBackdropMaterialStatics const& f) { return f.GetApplyToRootOrPageBackground(element); }); } inline BitmapIconSource::BitmapIconSource() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IBitmapIconSourceFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto BitmapIconSource::UriSourceProperty() { return impl::call_factory_cast([](IBitmapIconSourceStatics const& f) { return f.UriSourceProperty(); }); } inline auto BitmapIconSource::ShowAsMonochromeProperty() { return impl::call_factory_cast([](IBitmapIconSourceStatics const& f) { return f.ShowAsMonochromeProperty(); }); } inline BreadcrumbBar::BreadcrumbBar() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IBreadcrumbBarFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto BreadcrumbBar::ItemsSourceProperty() { return impl::call_factory_cast([](IBreadcrumbBarStatics const& f) { return f.ItemsSourceProperty(); }); } inline auto BreadcrumbBar::ItemTemplateProperty() { return impl::call_factory_cast([](IBreadcrumbBarStatics const& f) { return f.ItemTemplateProperty(); }); } inline BreadcrumbBarItem::BreadcrumbBarItem() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IBreadcrumbBarItemFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline ColorPicker::ColorPicker() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IColorPickerFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto ColorPicker::ColorProperty() { return impl::call_factory_cast([](IColorPickerStatics const& f) { return f.ColorProperty(); }); } inline auto ColorPicker::PreviousColorProperty() { return impl::call_factory_cast([](IColorPickerStatics const& f) { return f.PreviousColorProperty(); }); } inline auto ColorPicker::IsAlphaEnabledProperty() { return impl::call_factory_cast([](IColorPickerStatics const& f) { return f.IsAlphaEnabledProperty(); }); } inline auto ColorPicker::IsColorSpectrumVisibleProperty() { return impl::call_factory_cast([](IColorPickerStatics const& f) { return f.IsColorSpectrumVisibleProperty(); }); } inline auto ColorPicker::IsColorPreviewVisibleProperty() { return impl::call_factory_cast([](IColorPickerStatics const& f) { return f.IsColorPreviewVisibleProperty(); }); } inline auto ColorPicker::IsColorSliderVisibleProperty() { return impl::call_factory_cast([](IColorPickerStatics const& f) { return f.IsColorSliderVisibleProperty(); }); } inline auto ColorPicker::IsAlphaSliderVisibleProperty() { return impl::call_factory_cast([](IColorPickerStatics const& f) { return f.IsAlphaSliderVisibleProperty(); }); } inline auto ColorPicker::IsMoreButtonVisibleProperty() { return impl::call_factory_cast([](IColorPickerStatics const& f) { return f.IsMoreButtonVisibleProperty(); }); } inline auto ColorPicker::IsColorChannelTextInputVisibleProperty() { return impl::call_factory_cast([](IColorPickerStatics const& f) { return f.IsColorChannelTextInputVisibleProperty(); }); } inline auto ColorPicker::IsAlphaTextInputVisibleProperty() { return impl::call_factory_cast([](IColorPickerStatics const& f) { return f.IsAlphaTextInputVisibleProperty(); }); } inline auto ColorPicker::IsHexInputVisibleProperty() { return impl::call_factory_cast([](IColorPickerStatics const& f) { return f.IsHexInputVisibleProperty(); }); } inline auto ColorPicker::MinHueProperty() { return impl::call_factory_cast([](IColorPickerStatics const& f) { return f.MinHueProperty(); }); } inline auto ColorPicker::MaxHueProperty() { return impl::call_factory_cast([](IColorPickerStatics const& f) { return f.MaxHueProperty(); }); } inline auto ColorPicker::MinSaturationProperty() { return impl::call_factory_cast([](IColorPickerStatics const& f) { return f.MinSaturationProperty(); }); } inline auto ColorPicker::MaxSaturationProperty() { return impl::call_factory_cast([](IColorPickerStatics const& f) { return f.MaxSaturationProperty(); }); } inline auto ColorPicker::MinValueProperty() { return impl::call_factory_cast([](IColorPickerStatics const& f) { return f.MinValueProperty(); }); } inline auto ColorPicker::MaxValueProperty() { return impl::call_factory_cast([](IColorPickerStatics const& f) { return f.MaxValueProperty(); }); } inline auto ColorPicker::ColorSpectrumShapeProperty() { return impl::call_factory_cast([](IColorPickerStatics const& f) { return f.ColorSpectrumShapeProperty(); }); } inline auto ColorPicker::ColorSpectrumComponentsProperty() { return impl::call_factory_cast([](IColorPickerStatics const& f) { return f.ColorSpectrumComponentsProperty(); }); } inline auto ColorPicker::OrientationProperty() { return impl::call_factory_cast([](IColorPickerStatics2 const& f) { return f.OrientationProperty(); }); } inline CommandBarFlyout::CommandBarFlyout() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ICommandBarFlyoutFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline DropDownButton::DropDownButton() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IDropDownButtonFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline ElementFactory::ElementFactory() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IElementFactoryFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline ElementFactoryGetArgs::ElementFactoryGetArgs() : ElementFactoryGetArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline ElementFactoryRecycleArgs::ElementFactoryRecycleArgs() : ElementFactoryRecycleArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline Expander::Expander() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IExpanderFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto Expander::HeaderProperty() { return impl::call_factory_cast([](IExpanderStatics const& f) { return f.HeaderProperty(); }); } inline auto Expander::HeaderTemplateProperty() { return impl::call_factory_cast([](IExpanderStatics const& f) { return f.HeaderTemplateProperty(); }); } inline auto Expander::HeaderTemplateSelectorProperty() { return impl::call_factory_cast([](IExpanderStatics const& f) { return f.HeaderTemplateSelectorProperty(); }); } inline auto Expander::IsExpandedProperty() { return impl::call_factory_cast([](IExpanderStatics const& f) { return f.IsExpandedProperty(); }); } inline auto Expander::ExpandDirectionProperty() { return impl::call_factory_cast([](IExpanderStatics const& f) { return f.ExpandDirectionProperty(); }); } inline FontIconSource::FontIconSource() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IFontIconSourceFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto FontIconSource::GlyphProperty() { return impl::call_factory_cast([](IFontIconSourceStatics const& f) { return f.GlyphProperty(); }); } inline auto FontIconSource::FontSizeProperty() { return impl::call_factory_cast([](IFontIconSourceStatics const& f) { return f.FontSizeProperty(); }); } inline auto FontIconSource::FontFamilyProperty() { return impl::call_factory_cast([](IFontIconSourceStatics const& f) { return f.FontFamilyProperty(); }); } inline auto FontIconSource::FontWeightProperty() { return impl::call_factory_cast([](IFontIconSourceStatics const& f) { return f.FontWeightProperty(); }); } inline auto FontIconSource::FontStyleProperty() { return impl::call_factory_cast([](IFontIconSourceStatics const& f) { return f.FontStyleProperty(); }); } inline auto FontIconSource::IsTextScaleFactorEnabledProperty() { return impl::call_factory_cast([](IFontIconSourceStatics const& f) { return f.IsTextScaleFactorEnabledProperty(); }); } inline auto FontIconSource::MirroredWhenRightToLeftProperty() { return impl::call_factory_cast([](IFontIconSourceStatics const& f) { return f.MirroredWhenRightToLeftProperty(); }); } inline auto IconSource::ForegroundProperty() { return impl::call_factory_cast([](IIconSourceStatics const& f) { return f.ForegroundProperty(); }); } inline ImageIcon::ImageIcon() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IImageIconFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto ImageIcon::SourceProperty() { return impl::call_factory_cast([](IImageIconStatics const& f) { return f.SourceProperty(); }); } inline ImageIconSource::ImageIconSource() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IImageIconSourceFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto ImageIconSource::ImageSourceProperty() { return impl::call_factory_cast([](IImageIconSourceStatics const& f) { return f.ImageSourceProperty(); }); } inline InfoBadge::InfoBadge() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IInfoBadgeFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto InfoBadge::ValueProperty() { return impl::call_factory_cast([](IInfoBadgeStatics const& f) { return f.ValueProperty(); }); } inline auto InfoBadge::IconSourceProperty() { return impl::call_factory_cast([](IInfoBadgeStatics const& f) { return f.IconSourceProperty(); }); } inline auto InfoBadge::TemplateSettingsProperty() { return impl::call_factory_cast([](IInfoBadgeStatics const& f) { return f.TemplateSettingsProperty(); }); } inline InfoBadgeTemplateSettings::InfoBadgeTemplateSettings() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IInfoBadgeTemplateSettingsFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto InfoBadgeTemplateSettings::InfoBadgeCornerRadiusProperty() { return impl::call_factory_cast([](IInfoBadgeTemplateSettingsStatics const& f) { return f.InfoBadgeCornerRadiusProperty(); }); } inline auto InfoBadgeTemplateSettings::IconElementProperty() { return impl::call_factory_cast([](IInfoBadgeTemplateSettingsStatics const& f) { return f.IconElementProperty(); }); } inline InfoBar::InfoBar() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IInfoBarFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto InfoBar::IsOpenProperty() { return impl::call_factory_cast([](IInfoBarStatics const& f) { return f.IsOpenProperty(); }); } inline auto InfoBar::TitleProperty() { return impl::call_factory_cast([](IInfoBarStatics const& f) { return f.TitleProperty(); }); } inline auto InfoBar::MessageProperty() { return impl::call_factory_cast([](IInfoBarStatics const& f) { return f.MessageProperty(); }); } inline auto InfoBar::SeverityProperty() { return impl::call_factory_cast([](IInfoBarStatics const& f) { return f.SeverityProperty(); }); } inline auto InfoBar::IconSourceProperty() { return impl::call_factory_cast([](IInfoBarStatics const& f) { return f.IconSourceProperty(); }); } inline auto InfoBar::IsIconVisibleProperty() { return impl::call_factory_cast([](IInfoBarStatics const& f) { return f.IsIconVisibleProperty(); }); } inline auto InfoBar::IsClosableProperty() { return impl::call_factory_cast([](IInfoBarStatics const& f) { return f.IsClosableProperty(); }); } inline auto InfoBar::CloseButtonStyleProperty() { return impl::call_factory_cast([](IInfoBarStatics const& f) { return f.CloseButtonStyleProperty(); }); } inline auto InfoBar::CloseButtonCommandProperty() { return impl::call_factory_cast([](IInfoBarStatics const& f) { return f.CloseButtonCommandProperty(); }); } inline auto InfoBar::CloseButtonCommandParameterProperty() { return impl::call_factory_cast([](IInfoBarStatics const& f) { return f.CloseButtonCommandParameterProperty(); }); } inline auto InfoBar::ActionButtonProperty() { return impl::call_factory_cast([](IInfoBarStatics const& f) { return f.ActionButtonProperty(); }); } inline auto InfoBar::ContentProperty() { return impl::call_factory_cast([](IInfoBarStatics const& f) { return f.ContentProperty(); }); } inline auto InfoBar::ContentTemplateProperty() { return impl::call_factory_cast([](IInfoBarStatics const& f) { return f.ContentTemplateProperty(); }); } inline auto InfoBar::TemplateSettingsProperty() { return impl::call_factory_cast([](IInfoBarStatics const& f) { return f.TemplateSettingsProperty(); }); } inline InfoBarTemplateSettings::InfoBarTemplateSettings() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IInfoBarTemplateSettingsFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto InfoBarTemplateSettings::IconElementProperty() { return impl::call_factory_cast([](IInfoBarTemplateSettingsStatics const& f) { return f.IconElementProperty(); }); } inline ItemsRepeater::ItemsRepeater() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IItemsRepeaterFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto ItemsRepeater::ItemsSourceProperty() { return impl::call_factory_cast([](IItemsRepeaterStatics const& f) { return f.ItemsSourceProperty(); }); } inline auto ItemsRepeater::ItemTemplateProperty() { return impl::call_factory_cast([](IItemsRepeaterStatics const& f) { return f.ItemTemplateProperty(); }); } inline auto ItemsRepeater::LayoutProperty() { return impl::call_factory_cast([](IItemsRepeaterStatics const& f) { return f.LayoutProperty(); }); } inline auto ItemsRepeater::HorizontalCacheLengthProperty() { return impl::call_factory_cast([](IItemsRepeaterStatics const& f) { return f.HorizontalCacheLengthProperty(); }); } inline auto ItemsRepeater::VerticalCacheLengthProperty() { return impl::call_factory_cast([](IItemsRepeaterStatics const& f) { return f.VerticalCacheLengthProperty(); }); } inline auto ItemsRepeater::BackgroundProperty() { return impl::call_factory_cast([](IItemsRepeaterStatics const& f) { return f.BackgroundProperty(); }); } inline ItemsRepeaterScrollHost::ItemsRepeaterScrollHost() : ItemsRepeaterScrollHost(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline ItemsSourceView::ItemsSourceView(winrt::Windows::Foundation::IInspectable const& source) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IItemsSourceViewFactory const& f) { return f.CreateInstance(source, baseInterface, innerInterface); }); } inline MenuBar::MenuBar() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IMenuBarFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto MenuBar::ItemsProperty() { return impl::call_factory_cast([](IMenuBarStatics const& f) { return f.ItemsProperty(); }); } inline MenuBarItem::MenuBarItem() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IMenuBarItemFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto MenuBarItem::TitleProperty() { return impl::call_factory_cast([](IMenuBarItemStatics const& f) { return f.TitleProperty(); }); } inline auto MenuBarItem::ItemsProperty() { return impl::call_factory_cast([](IMenuBarItemStatics const& f) { return f.ItemsProperty(); }); } inline MenuBarItemFlyout::MenuBarItemFlyout() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IMenuBarItemFlyoutFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline NavigationView::NavigationView() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](INavigationViewFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto NavigationView::IsPaneOpenProperty() { return impl::call_factory_cast([](INavigationViewStatics const& f) { return f.IsPaneOpenProperty(); }); } inline auto NavigationView::CompactModeThresholdWidthProperty() { return impl::call_factory_cast([](INavigationViewStatics const& f) { return f.CompactModeThresholdWidthProperty(); }); } inline auto NavigationView::ExpandedModeThresholdWidthProperty() { return impl::call_factory_cast([](INavigationViewStatics const& f) { return f.ExpandedModeThresholdWidthProperty(); }); } inline auto NavigationView::FooterMenuItemsProperty() { return impl::call_factory_cast([](INavigationViewStatics const& f) { return f.FooterMenuItemsProperty(); }); } inline auto NavigationView::FooterMenuItemsSourceProperty() { return impl::call_factory_cast([](INavigationViewStatics const& f) { return f.FooterMenuItemsSourceProperty(); }); } inline auto NavigationView::PaneFooterProperty() { return impl::call_factory_cast([](INavigationViewStatics const& f) { return f.PaneFooterProperty(); }); } inline auto NavigationView::HeaderProperty() { return impl::call_factory_cast([](INavigationViewStatics const& f) { return f.HeaderProperty(); }); } inline auto NavigationView::HeaderTemplateProperty() { return impl::call_factory_cast([](INavigationViewStatics const& f) { return f.HeaderTemplateProperty(); }); } inline auto NavigationView::DisplayModeProperty() { return impl::call_factory_cast([](INavigationViewStatics const& f) { return f.DisplayModeProperty(); }); } inline auto NavigationView::IsSettingsVisibleProperty() { return impl::call_factory_cast([](INavigationViewStatics const& f) { return f.IsSettingsVisibleProperty(); }); } inline auto NavigationView::IsPaneToggleButtonVisibleProperty() { return impl::call_factory_cast([](INavigationViewStatics const& f) { return f.IsPaneToggleButtonVisibleProperty(); }); } inline auto NavigationView::AlwaysShowHeaderProperty() { return impl::call_factory_cast([](INavigationViewStatics const& f) { return f.AlwaysShowHeaderProperty(); }); } inline auto NavigationView::CompactPaneLengthProperty() { return impl::call_factory_cast([](INavigationViewStatics const& f) { return f.CompactPaneLengthProperty(); }); } inline auto NavigationView::OpenPaneLengthProperty() { return impl::call_factory_cast([](INavigationViewStatics const& f) { return f.OpenPaneLengthProperty(); }); } inline auto NavigationView::PaneToggleButtonStyleProperty() { return impl::call_factory_cast([](INavigationViewStatics const& f) { return f.PaneToggleButtonStyleProperty(); }); } inline auto NavigationView::MenuItemsProperty() { return impl::call_factory_cast([](INavigationViewStatics const& f) { return f.MenuItemsProperty(); }); } inline auto NavigationView::MenuItemsSourceProperty() { return impl::call_factory_cast([](INavigationViewStatics const& f) { return f.MenuItemsSourceProperty(); }); } inline auto NavigationView::SelectedItemProperty() { return impl::call_factory_cast([](INavigationViewStatics const& f) { return f.SelectedItemProperty(); }); } inline auto NavigationView::SettingsItemProperty() { return impl::call_factory_cast([](INavigationViewStatics const& f) { return f.SettingsItemProperty(); }); } inline auto NavigationView::AutoSuggestBoxProperty() { return impl::call_factory_cast([](INavigationViewStatics const& f) { return f.AutoSuggestBoxProperty(); }); } inline auto NavigationView::MenuItemTemplateProperty() { return impl::call_factory_cast([](INavigationViewStatics const& f) { return f.MenuItemTemplateProperty(); }); } inline auto NavigationView::MenuItemTemplateSelectorProperty() { return impl::call_factory_cast([](INavigationViewStatics const& f) { return f.MenuItemTemplateSelectorProperty(); }); } inline auto NavigationView::MenuItemContainerStyleProperty() { return impl::call_factory_cast([](INavigationViewStatics const& f) { return f.MenuItemContainerStyleProperty(); }); } inline auto NavigationView::MenuItemContainerStyleSelectorProperty() { return impl::call_factory_cast([](INavigationViewStatics const& f) { return f.MenuItemContainerStyleSelectorProperty(); }); } inline auto NavigationView::IsTitleBarAutoPaddingEnabledProperty() { return impl::call_factory_cast([](INavigationViewStatics const& f) { return f.IsTitleBarAutoPaddingEnabledProperty(); }); } inline auto NavigationView::IsBackButtonVisibleProperty() { return impl::call_factory_cast([](INavigationViewStatics2 const& f) { return f.IsBackButtonVisibleProperty(); }); } inline auto NavigationView::IsBackEnabledProperty() { return impl::call_factory_cast([](INavigationViewStatics2 const& f) { return f.IsBackEnabledProperty(); }); } inline auto NavigationView::PaneTitleProperty() { return impl::call_factory_cast([](INavigationViewStatics2 const& f) { return f.PaneTitleProperty(); }); } inline auto NavigationView::PaneDisplayModeProperty() { return impl::call_factory_cast([](INavigationViewStatics2 const& f) { return f.PaneDisplayModeProperty(); }); } inline auto NavigationView::PaneHeaderProperty() { return impl::call_factory_cast([](INavigationViewStatics2 const& f) { return f.PaneHeaderProperty(); }); } inline auto NavigationView::PaneCustomContentProperty() { return impl::call_factory_cast([](INavigationViewStatics2 const& f) { return f.PaneCustomContentProperty(); }); } inline auto NavigationView::ContentOverlayProperty() { return impl::call_factory_cast([](INavigationViewStatics2 const& f) { return f.ContentOverlayProperty(); }); } inline auto NavigationView::IsPaneVisibleProperty() { return impl::call_factory_cast([](INavigationViewStatics2 const& f) { return f.IsPaneVisibleProperty(); }); } inline auto NavigationView::SelectionFollowsFocusProperty() { return impl::call_factory_cast([](INavigationViewStatics2 const& f) { return f.SelectionFollowsFocusProperty(); }); } inline auto NavigationView::TemplateSettingsProperty() { return impl::call_factory_cast([](INavigationViewStatics2 const& f) { return f.TemplateSettingsProperty(); }); } inline auto NavigationView::ShoulderNavigationEnabledProperty() { return impl::call_factory_cast([](INavigationViewStatics2 const& f) { return f.ShoulderNavigationEnabledProperty(); }); } inline auto NavigationView::OverflowLabelModeProperty() { return impl::call_factory_cast([](INavigationViewStatics2 const& f) { return f.OverflowLabelModeProperty(); }); } inline NavigationViewItem::NavigationViewItem() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](INavigationViewItemFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto NavigationViewItem::IconProperty() { return impl::call_factory_cast([](INavigationViewItemStatics const& f) { return f.IconProperty(); }); } inline auto NavigationViewItem::CompactPaneLengthProperty() { return impl::call_factory_cast([](INavigationViewItemStatics const& f) { return f.CompactPaneLengthProperty(); }); } inline auto NavigationViewItem::SelectsOnInvokedProperty() { return impl::call_factory_cast([](INavigationViewItemStatics2 const& f) { return f.SelectsOnInvokedProperty(); }); } inline auto NavigationViewItem::IsExpandedProperty() { return impl::call_factory_cast([](INavigationViewItemStatics2 const& f) { return f.IsExpandedProperty(); }); } inline auto NavigationViewItem::HasUnrealizedChildrenProperty() { return impl::call_factory_cast([](INavigationViewItemStatics2 const& f) { return f.HasUnrealizedChildrenProperty(); }); } inline auto NavigationViewItem::IsChildSelectedProperty() { return impl::call_factory_cast([](INavigationViewItemStatics2 const& f) { return f.IsChildSelectedProperty(); }); } inline auto NavigationViewItem::MenuItemsProperty() { return impl::call_factory_cast([](INavigationViewItemStatics2 const& f) { return f.MenuItemsProperty(); }); } inline auto NavigationViewItem::MenuItemsSourceProperty() { return impl::call_factory_cast([](INavigationViewItemStatics2 const& f) { return f.MenuItemsSourceProperty(); }); } inline auto NavigationViewItem::InfoBadgeProperty() { return impl::call_factory_cast([](INavigationViewItemStatics3 const& f) { return f.InfoBadgeProperty(); }); } inline auto NavigationViewItemBase::IsSelectedProperty() { return impl::call_factory_cast([](INavigationViewItemBaseStatics const& f) { return f.IsSelectedProperty(); }); } inline NavigationViewItemHeader::NavigationViewItemHeader() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](INavigationViewItemHeaderFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline NavigationViewItemInvokedEventArgs::NavigationViewItemInvokedEventArgs() : NavigationViewItemInvokedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline NavigationViewItemSeparator::NavigationViewItemSeparator() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](INavigationViewItemSeparatorFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline NavigationViewTemplateSettings::NavigationViewTemplateSettings() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](INavigationViewTemplateSettingsFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto NavigationViewTemplateSettings::TopPaddingProperty() { return impl::call_factory_cast([](INavigationViewTemplateSettingsStatics const& f) { return f.TopPaddingProperty(); }); } inline auto NavigationViewTemplateSettings::OverflowButtonVisibilityProperty() { return impl::call_factory_cast([](INavigationViewTemplateSettingsStatics const& f) { return f.OverflowButtonVisibilityProperty(); }); } inline auto NavigationViewTemplateSettings::PaneToggleButtonVisibilityProperty() { return impl::call_factory_cast([](INavigationViewTemplateSettingsStatics const& f) { return f.PaneToggleButtonVisibilityProperty(); }); } inline auto NavigationViewTemplateSettings::BackButtonVisibilityProperty() { return impl::call_factory_cast([](INavigationViewTemplateSettingsStatics const& f) { return f.BackButtonVisibilityProperty(); }); } inline auto NavigationViewTemplateSettings::TopPaneVisibilityProperty() { return impl::call_factory_cast([](INavigationViewTemplateSettingsStatics const& f) { return f.TopPaneVisibilityProperty(); }); } inline auto NavigationViewTemplateSettings::LeftPaneVisibilityProperty() { return impl::call_factory_cast([](INavigationViewTemplateSettingsStatics const& f) { return f.LeftPaneVisibilityProperty(); }); } inline auto NavigationViewTemplateSettings::SingleSelectionFollowsFocusProperty() { return impl::call_factory_cast([](INavigationViewTemplateSettingsStatics const& f) { return f.SingleSelectionFollowsFocusProperty(); }); } inline auto NavigationViewTemplateSettings::PaneToggleButtonWidthProperty() { return impl::call_factory_cast([](INavigationViewTemplateSettingsStatics const& f) { return f.PaneToggleButtonWidthProperty(); }); } inline auto NavigationViewTemplateSettings::SmallerPaneToggleButtonWidthProperty() { return impl::call_factory_cast([](INavigationViewTemplateSettingsStatics const& f) { return f.SmallerPaneToggleButtonWidthProperty(); }); } inline auto NavigationViewTemplateSettings::OpenPaneLengthProperty() { return impl::call_factory_cast([](INavigationViewTemplateSettingsStatics2 const& f) { return f.OpenPaneLengthProperty(); }); } inline NonVirtualizingLayout::NonVirtualizingLayout() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](INonVirtualizingLayoutFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline NonVirtualizingLayoutContext::NonVirtualizingLayoutContext() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](INonVirtualizingLayoutContextFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline NumberBox::NumberBox() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](INumberBoxFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto NumberBox::MinimumProperty() { return impl::call_factory_cast([](INumberBoxStatics const& f) { return f.MinimumProperty(); }); } inline auto NumberBox::MaximumProperty() { return impl::call_factory_cast([](INumberBoxStatics const& f) { return f.MaximumProperty(); }); } inline auto NumberBox::ValueProperty() { return impl::call_factory_cast([](INumberBoxStatics const& f) { return f.ValueProperty(); }); } inline auto NumberBox::SmallChangeProperty() { return impl::call_factory_cast([](INumberBoxStatics const& f) { return f.SmallChangeProperty(); }); } inline auto NumberBox::LargeChangeProperty() { return impl::call_factory_cast([](INumberBoxStatics const& f) { return f.LargeChangeProperty(); }); } inline auto NumberBox::TextProperty() { return impl::call_factory_cast([](INumberBoxStatics const& f) { return f.TextProperty(); }); } inline auto NumberBox::HeaderProperty() { return impl::call_factory_cast([](INumberBoxStatics const& f) { return f.HeaderProperty(); }); } inline auto NumberBox::HeaderTemplateProperty() { return impl::call_factory_cast([](INumberBoxStatics const& f) { return f.HeaderTemplateProperty(); }); } inline auto NumberBox::PlaceholderTextProperty() { return impl::call_factory_cast([](INumberBoxStatics const& f) { return f.PlaceholderTextProperty(); }); } inline auto NumberBox::SelectionFlyoutProperty() { return impl::call_factory_cast([](INumberBoxStatics const& f) { return f.SelectionFlyoutProperty(); }); } inline auto NumberBox::SelectionHighlightColorProperty() { return impl::call_factory_cast([](INumberBoxStatics const& f) { return f.SelectionHighlightColorProperty(); }); } inline auto NumberBox::TextReadingOrderProperty() { return impl::call_factory_cast([](INumberBoxStatics const& f) { return f.TextReadingOrderProperty(); }); } inline auto NumberBox::PreventKeyboardDisplayOnProgrammaticFocusProperty() { return impl::call_factory_cast([](INumberBoxStatics const& f) { return f.PreventKeyboardDisplayOnProgrammaticFocusProperty(); }); } inline auto NumberBox::DescriptionProperty() { return impl::call_factory_cast([](INumberBoxStatics const& f) { return f.DescriptionProperty(); }); } inline auto NumberBox::ValidationModeProperty() { return impl::call_factory_cast([](INumberBoxStatics const& f) { return f.ValidationModeProperty(); }); } inline auto NumberBox::SpinButtonPlacementModeProperty() { return impl::call_factory_cast([](INumberBoxStatics const& f) { return f.SpinButtonPlacementModeProperty(); }); } inline auto NumberBox::IsWrapEnabledProperty() { return impl::call_factory_cast([](INumberBoxStatics const& f) { return f.IsWrapEnabledProperty(); }); } inline auto NumberBox::AcceptsExpressionProperty() { return impl::call_factory_cast([](INumberBoxStatics const& f) { return f.AcceptsExpressionProperty(); }); } inline auto NumberBox::NumberFormatterProperty() { return impl::call_factory_cast([](INumberBoxStatics const& f) { return f.NumberFormatterProperty(); }); } inline ParallaxView::ParallaxView() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IParallaxViewFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto ParallaxView::ChildProperty() { return impl::call_factory_cast([](IParallaxViewStatics const& f) { return f.ChildProperty(); }); } inline auto ParallaxView::HorizontalSourceEndOffsetProperty() { return impl::call_factory_cast([](IParallaxViewStatics const& f) { return f.HorizontalSourceEndOffsetProperty(); }); } inline auto ParallaxView::HorizontalSourceOffsetKindProperty() { return impl::call_factory_cast([](IParallaxViewStatics const& f) { return f.HorizontalSourceOffsetKindProperty(); }); } inline auto ParallaxView::HorizontalSourceStartOffsetProperty() { return impl::call_factory_cast([](IParallaxViewStatics const& f) { return f.HorizontalSourceStartOffsetProperty(); }); } inline auto ParallaxView::MaxHorizontalShiftRatioProperty() { return impl::call_factory_cast([](IParallaxViewStatics const& f) { return f.MaxHorizontalShiftRatioProperty(); }); } inline auto ParallaxView::HorizontalShiftProperty() { return impl::call_factory_cast([](IParallaxViewStatics const& f) { return f.HorizontalShiftProperty(); }); } inline auto ParallaxView::IsHorizontalShiftClampedProperty() { return impl::call_factory_cast([](IParallaxViewStatics const& f) { return f.IsHorizontalShiftClampedProperty(); }); } inline auto ParallaxView::IsVerticalShiftClampedProperty() { return impl::call_factory_cast([](IParallaxViewStatics const& f) { return f.IsVerticalShiftClampedProperty(); }); } inline auto ParallaxView::SourceProperty() { return impl::call_factory_cast([](IParallaxViewStatics const& f) { return f.SourceProperty(); }); } inline auto ParallaxView::VerticalSourceEndOffsetProperty() { return impl::call_factory_cast([](IParallaxViewStatics const& f) { return f.VerticalSourceEndOffsetProperty(); }); } inline auto ParallaxView::VerticalSourceOffsetKindProperty() { return impl::call_factory_cast([](IParallaxViewStatics const& f) { return f.VerticalSourceOffsetKindProperty(); }); } inline auto ParallaxView::VerticalSourceStartOffsetProperty() { return impl::call_factory_cast([](IParallaxViewStatics const& f) { return f.VerticalSourceStartOffsetProperty(); }); } inline auto ParallaxView::MaxVerticalShiftRatioProperty() { return impl::call_factory_cast([](IParallaxViewStatics const& f) { return f.MaxVerticalShiftRatioProperty(); }); } inline auto ParallaxView::VerticalShiftProperty() { return impl::call_factory_cast([](IParallaxViewStatics const& f) { return f.VerticalShiftProperty(); }); } inline PathIconSource::PathIconSource() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IPathIconSourceFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto PathIconSource::DataProperty() { return impl::call_factory_cast([](IPathIconSourceStatics const& f) { return f.DataProperty(); }); } inline PersonPicture::PersonPicture() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IPersonPictureFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto PersonPicture::BadgeNumberProperty() { return impl::call_factory_cast([](IPersonPictureStatics const& f) { return f.BadgeNumberProperty(); }); } inline auto PersonPicture::BadgeGlyphProperty() { return impl::call_factory_cast([](IPersonPictureStatics const& f) { return f.BadgeGlyphProperty(); }); } inline auto PersonPicture::BadgeImageSourceProperty() { return impl::call_factory_cast([](IPersonPictureStatics const& f) { return f.BadgeImageSourceProperty(); }); } inline auto PersonPicture::BadgeTextProperty() { return impl::call_factory_cast([](IPersonPictureStatics const& f) { return f.BadgeTextProperty(); }); } inline auto PersonPicture::IsGroupProperty() { return impl::call_factory_cast([](IPersonPictureStatics const& f) { return f.IsGroupProperty(); }); } inline auto PersonPicture::ContactProperty() { return impl::call_factory_cast([](IPersonPictureStatics const& f) { return f.ContactProperty(); }); } inline auto PersonPicture::DisplayNameProperty() { return impl::call_factory_cast([](IPersonPictureStatics const& f) { return f.DisplayNameProperty(); }); } inline auto PersonPicture::InitialsProperty() { return impl::call_factory_cast([](IPersonPictureStatics const& f) { return f.InitialsProperty(); }); } inline auto PersonPicture::PreferSmallImageProperty() { return impl::call_factory_cast([](IPersonPictureStatics const& f) { return f.PreferSmallImageProperty(); }); } inline auto PersonPicture::ProfilePictureProperty() { return impl::call_factory_cast([](IPersonPictureStatics const& f) { return f.ProfilePictureProperty(); }); } inline PipsPager::PipsPager() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IPipsPagerFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto PipsPager::NumberOfPagesProperty() { return impl::call_factory_cast([](IPipsPagerStatics const& f) { return f.NumberOfPagesProperty(); }); } inline auto PipsPager::SelectedPageIndexProperty() { return impl::call_factory_cast([](IPipsPagerStatics const& f) { return f.SelectedPageIndexProperty(); }); } inline auto PipsPager::MaxVisiblePipsProperty() { return impl::call_factory_cast([](IPipsPagerStatics const& f) { return f.MaxVisiblePipsProperty(); }); } inline auto PipsPager::OrientationProperty() { return impl::call_factory_cast([](IPipsPagerStatics const& f) { return f.OrientationProperty(); }); } inline auto PipsPager::PreviousButtonVisibilityProperty() { return impl::call_factory_cast([](IPipsPagerStatics const& f) { return f.PreviousButtonVisibilityProperty(); }); } inline auto PipsPager::NextButtonVisibilityProperty() { return impl::call_factory_cast([](IPipsPagerStatics const& f) { return f.NextButtonVisibilityProperty(); }); } inline auto PipsPager::PreviousButtonStyleProperty() { return impl::call_factory_cast([](IPipsPagerStatics const& f) { return f.PreviousButtonStyleProperty(); }); } inline auto PipsPager::NextButtonStyleProperty() { return impl::call_factory_cast([](IPipsPagerStatics const& f) { return f.NextButtonStyleProperty(); }); } inline auto PipsPager::SelectedPipStyleProperty() { return impl::call_factory_cast([](IPipsPagerStatics const& f) { return f.SelectedPipStyleProperty(); }); } inline auto PipsPager::NormalPipStyleProperty() { return impl::call_factory_cast([](IPipsPagerStatics const& f) { return f.NormalPipStyleProperty(); }); } inline ProgressBar::ProgressBar() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IProgressBarFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto ProgressBar::IsIndeterminateProperty() { return impl::call_factory_cast([](IProgressBarStatics const& f) { return f.IsIndeterminateProperty(); }); } inline auto ProgressBar::ShowErrorProperty() { return impl::call_factory_cast([](IProgressBarStatics const& f) { return f.ShowErrorProperty(); }); } inline auto ProgressBar::ShowPausedProperty() { return impl::call_factory_cast([](IProgressBarStatics const& f) { return f.ShowPausedProperty(); }); } inline ProgressRing::ProgressRing() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IProgressRingFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto ProgressRing::IsActiveProperty() { return impl::call_factory_cast([](IProgressRingStatics const& f) { return f.IsActiveProperty(); }); } inline auto ProgressRing::IsIndeterminateProperty() { return impl::call_factory_cast([](IProgressRingStatics const& f) { return f.IsIndeterminateProperty(); }); } inline auto ProgressRing::ValueProperty() { return impl::call_factory_cast([](IProgressRingStatics const& f) { return f.ValueProperty(); }); } inline auto ProgressRing::MinimumProperty() { return impl::call_factory_cast([](IProgressRingStatics const& f) { return f.MinimumProperty(); }); } inline auto ProgressRing::MaximumProperty() { return impl::call_factory_cast([](IProgressRingStatics const& f) { return f.MaximumProperty(); }); } inline RadioButtons::RadioButtons() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IRadioButtonsFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto RadioButtons::ItemsSourceProperty() { return impl::call_factory_cast([](IRadioButtonsStatics const& f) { return f.ItemsSourceProperty(); }); } inline auto RadioButtons::ItemsProperty() { return impl::call_factory_cast([](IRadioButtonsStatics const& f) { return f.ItemsProperty(); }); } inline auto RadioButtons::ItemTemplateProperty() { return impl::call_factory_cast([](IRadioButtonsStatics const& f) { return f.ItemTemplateProperty(); }); } inline auto RadioButtons::SelectedIndexProperty() { return impl::call_factory_cast([](IRadioButtonsStatics const& f) { return f.SelectedIndexProperty(); }); } inline auto RadioButtons::SelectedItemProperty() { return impl::call_factory_cast([](IRadioButtonsStatics const& f) { return f.SelectedItemProperty(); }); } inline auto RadioButtons::MaxColumnsProperty() { return impl::call_factory_cast([](IRadioButtonsStatics const& f) { return f.MaxColumnsProperty(); }); } inline auto RadioButtons::HeaderProperty() { return impl::call_factory_cast([](IRadioButtonsStatics const& f) { return f.HeaderProperty(); }); } inline auto RadioButtons::HeaderTemplateProperty() { return impl::call_factory_cast([](IRadioButtonsStatics const& f) { return f.HeaderTemplateProperty(); }); } inline RadioMenuFlyoutItem::RadioMenuFlyoutItem() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IRadioMenuFlyoutItemFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto RadioMenuFlyoutItem::IsCheckedProperty() { return impl::call_factory_cast([](IRadioMenuFlyoutItemStatics const& f) { return f.IsCheckedProperty(); }); } inline auto RadioMenuFlyoutItem::GroupNameProperty() { return impl::call_factory_cast([](IRadioMenuFlyoutItemStatics const& f) { return f.GroupNameProperty(); }); } inline auto RadioMenuFlyoutItem::AreCheckStatesEnabledProperty() { return impl::call_factory_cast([](IRadioMenuFlyoutItemStatics2 const& f) { return f.AreCheckStatesEnabledProperty(); }); } inline auto RadioMenuFlyoutItem::SetAreCheckStatesEnabled(winrt::Windows::UI::Xaml::Controls::MenuFlyoutSubItem const& object, bool value) { impl::call_factory([&](IRadioMenuFlyoutItemStatics2 const& f) { return f.SetAreCheckStatesEnabled(object, value); }); } inline auto RadioMenuFlyoutItem::GetAreCheckStatesEnabled(winrt::Windows::UI::Xaml::Controls::MenuFlyoutSubItem const& object) { return impl::call_factory([&](IRadioMenuFlyoutItemStatics2 const& f) { return f.GetAreCheckStatesEnabled(object); }); } inline RatingControl::RatingControl() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IRatingControlFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto RatingControl::CaptionProperty() { return impl::call_factory_cast([](IRatingControlStatics const& f) { return f.CaptionProperty(); }); } inline auto RatingControl::InitialSetValueProperty() { return impl::call_factory_cast([](IRatingControlStatics const& f) { return f.InitialSetValueProperty(); }); } inline auto RatingControl::IsClearEnabledProperty() { return impl::call_factory_cast([](IRatingControlStatics const& f) { return f.IsClearEnabledProperty(); }); } inline auto RatingControl::IsReadOnlyProperty() { return impl::call_factory_cast([](IRatingControlStatics const& f) { return f.IsReadOnlyProperty(); }); } inline auto RatingControl::MaxRatingProperty() { return impl::call_factory_cast([](IRatingControlStatics const& f) { return f.MaxRatingProperty(); }); } inline auto RatingControl::PlaceholderValueProperty() { return impl::call_factory_cast([](IRatingControlStatics const& f) { return f.PlaceholderValueProperty(); }); } inline auto RatingControl::ItemInfoProperty() { return impl::call_factory_cast([](IRatingControlStatics const& f) { return f.ItemInfoProperty(); }); } inline auto RatingControl::ValueProperty() { return impl::call_factory_cast([](IRatingControlStatics const& f) { return f.ValueProperty(); }); } inline RatingItemFontInfo::RatingItemFontInfo() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IRatingItemFontInfoFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto RatingItemFontInfo::DisabledGlyphProperty() { return impl::call_factory_cast([](IRatingItemFontInfoStatics const& f) { return f.DisabledGlyphProperty(); }); } inline auto RatingItemFontInfo::GlyphProperty() { return impl::call_factory_cast([](IRatingItemFontInfoStatics const& f) { return f.GlyphProperty(); }); } inline auto RatingItemFontInfo::PlaceholderGlyphProperty() { return impl::call_factory_cast([](IRatingItemFontInfoStatics const& f) { return f.PlaceholderGlyphProperty(); }); } inline auto RatingItemFontInfo::PointerOverGlyphProperty() { return impl::call_factory_cast([](IRatingItemFontInfoStatics const& f) { return f.PointerOverGlyphProperty(); }); } inline auto RatingItemFontInfo::PointerOverPlaceholderGlyphProperty() { return impl::call_factory_cast([](IRatingItemFontInfoStatics const& f) { return f.PointerOverPlaceholderGlyphProperty(); }); } inline auto RatingItemFontInfo::UnsetGlyphProperty() { return impl::call_factory_cast([](IRatingItemFontInfoStatics const& f) { return f.UnsetGlyphProperty(); }); } inline RatingItemImageInfo::RatingItemImageInfo() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IRatingItemImageInfoFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto RatingItemImageInfo::DisabledImageProperty() { return impl::call_factory_cast([](IRatingItemImageInfoStatics const& f) { return f.DisabledImageProperty(); }); } inline auto RatingItemImageInfo::ImageProperty() { return impl::call_factory_cast([](IRatingItemImageInfoStatics const& f) { return f.ImageProperty(); }); } inline auto RatingItemImageInfo::PlaceholderImageProperty() { return impl::call_factory_cast([](IRatingItemImageInfoStatics const& f) { return f.PlaceholderImageProperty(); }); } inline auto RatingItemImageInfo::PointerOverImageProperty() { return impl::call_factory_cast([](IRatingItemImageInfoStatics const& f) { return f.PointerOverImageProperty(); }); } inline auto RatingItemImageInfo::PointerOverPlaceholderImageProperty() { return impl::call_factory_cast([](IRatingItemImageInfoStatics const& f) { return f.PointerOverPlaceholderImageProperty(); }); } inline auto RatingItemImageInfo::UnsetImageProperty() { return impl::call_factory_cast([](IRatingItemImageInfoStatics const& f) { return f.UnsetImageProperty(); }); } inline RatingItemInfo::RatingItemInfo() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IRatingItemInfoFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline RefreshContainer::RefreshContainer() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IRefreshContainerFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto RefreshContainer::VisualizerProperty() { return impl::call_factory_cast([](IRefreshContainerStatics const& f) { return f.VisualizerProperty(); }); } inline auto RefreshContainer::PullDirectionProperty() { return impl::call_factory_cast([](IRefreshContainerStatics const& f) { return f.PullDirectionProperty(); }); } inline RefreshVisualizer::RefreshVisualizer() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IRefreshVisualizerFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto RefreshVisualizer::InfoProviderProperty() { return impl::call_factory_cast([](IRefreshVisualizerStatics const& f) { return f.InfoProviderProperty(); }); } inline auto RefreshVisualizer::OrientationProperty() { return impl::call_factory_cast([](IRefreshVisualizerStatics const& f) { return f.OrientationProperty(); }); } inline auto RefreshVisualizer::ContentProperty() { return impl::call_factory_cast([](IRefreshVisualizerStatics const& f) { return f.ContentProperty(); }); } inline auto RefreshVisualizer::StateProperty() { return impl::call_factory_cast([](IRefreshVisualizerStatics const& f) { return f.StateProperty(); }); } inline RevealListViewItemPresenter::RevealListViewItemPresenter() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IRevealListViewItemPresenterFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline SplitButton::SplitButton() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ISplitButtonFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto SplitButton::FlyoutProperty() { return impl::call_factory_cast([](ISplitButtonStatics const& f) { return f.FlyoutProperty(); }); } inline auto SplitButton::CommandProperty() { return impl::call_factory_cast([](ISplitButtonStatics const& f) { return f.CommandProperty(); }); } inline auto SplitButton::CommandParameterProperty() { return impl::call_factory_cast([](ISplitButtonStatics const& f) { return f.CommandParameterProperty(); }); } inline StackLayout::StackLayout() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IStackLayoutFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto StackLayout::OrientationProperty() { return impl::call_factory_cast([](IStackLayoutStatics const& f) { return f.OrientationProperty(); }); } inline auto StackLayout::SpacingProperty() { return impl::call_factory_cast([](IStackLayoutStatics const& f) { return f.SpacingProperty(); }); } inline SwipeControl::SwipeControl() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ISwipeControlFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto SwipeControl::LeftItemsProperty() { return impl::call_factory_cast([](ISwipeControlStatics const& f) { return f.LeftItemsProperty(); }); } inline auto SwipeControl::RightItemsProperty() { return impl::call_factory_cast([](ISwipeControlStatics const& f) { return f.RightItemsProperty(); }); } inline auto SwipeControl::TopItemsProperty() { return impl::call_factory_cast([](ISwipeControlStatics const& f) { return f.TopItemsProperty(); }); } inline auto SwipeControl::BottomItemsProperty() { return impl::call_factory_cast([](ISwipeControlStatics const& f) { return f.BottomItemsProperty(); }); } inline SwipeItem::SwipeItem() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ISwipeItemFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto SwipeItem::IconSourceProperty() { return impl::call_factory_cast([](ISwipeItemStatics const& f) { return f.IconSourceProperty(); }); } inline auto SwipeItem::TextProperty() { return impl::call_factory_cast([](ISwipeItemStatics const& f) { return f.TextProperty(); }); } inline auto SwipeItem::BackgroundProperty() { return impl::call_factory_cast([](ISwipeItemStatics const& f) { return f.BackgroundProperty(); }); } inline auto SwipeItem::ForegroundProperty() { return impl::call_factory_cast([](ISwipeItemStatics const& f) { return f.ForegroundProperty(); }); } inline auto SwipeItem::CommandProperty() { return impl::call_factory_cast([](ISwipeItemStatics const& f) { return f.CommandProperty(); }); } inline auto SwipeItem::CommandParameterProperty() { return impl::call_factory_cast([](ISwipeItemStatics const& f) { return f.CommandParameterProperty(); }); } inline auto SwipeItem::BehaviorOnInvokedProperty() { return impl::call_factory_cast([](ISwipeItemStatics const& f) { return f.BehaviorOnInvokedProperty(); }); } inline SwipeItems::SwipeItems() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ISwipeItemsFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto SwipeItems::ModeProperty() { return impl::call_factory_cast([](ISwipeItemsStatics const& f) { return f.ModeProperty(); }); } inline SymbolIconSource::SymbolIconSource() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ISymbolIconSourceFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto SymbolIconSource::SymbolProperty() { return impl::call_factory_cast([](ISymbolIconSourceStatics const& f) { return f.SymbolProperty(); }); } inline TabView::TabView() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ITabViewFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto TabView::TabWidthModeProperty() { return impl::call_factory_cast([](ITabViewStatics const& f) { return f.TabWidthModeProperty(); }); } inline auto TabView::TabStripHeaderProperty() { return impl::call_factory_cast([](ITabViewStatics const& f) { return f.TabStripHeaderProperty(); }); } inline auto TabView::TabStripHeaderTemplateProperty() { return impl::call_factory_cast([](ITabViewStatics const& f) { return f.TabStripHeaderTemplateProperty(); }); } inline auto TabView::TabStripFooterProperty() { return impl::call_factory_cast([](ITabViewStatics const& f) { return f.TabStripFooterProperty(); }); } inline auto TabView::TabStripFooterTemplateProperty() { return impl::call_factory_cast([](ITabViewStatics const& f) { return f.TabStripFooterTemplateProperty(); }); } inline auto TabView::IsAddTabButtonVisibleProperty() { return impl::call_factory_cast([](ITabViewStatics const& f) { return f.IsAddTabButtonVisibleProperty(); }); } inline auto TabView::AddTabButtonCommandProperty() { return impl::call_factory_cast([](ITabViewStatics const& f) { return f.AddTabButtonCommandProperty(); }); } inline auto TabView::AddTabButtonCommandParameterProperty() { return impl::call_factory_cast([](ITabViewStatics const& f) { return f.AddTabButtonCommandParameterProperty(); }); } inline auto TabView::TabItemsSourceProperty() { return impl::call_factory_cast([](ITabViewStatics const& f) { return f.TabItemsSourceProperty(); }); } inline auto TabView::TabItemsProperty() { return impl::call_factory_cast([](ITabViewStatics const& f) { return f.TabItemsProperty(); }); } inline auto TabView::TabItemTemplateProperty() { return impl::call_factory_cast([](ITabViewStatics const& f) { return f.TabItemTemplateProperty(); }); } inline auto TabView::TabItemTemplateSelectorProperty() { return impl::call_factory_cast([](ITabViewStatics const& f) { return f.TabItemTemplateSelectorProperty(); }); } inline auto TabView::CloseButtonOverlayModeProperty() { return impl::call_factory_cast([](ITabViewStatics const& f) { return f.CloseButtonOverlayModeProperty(); }); } inline auto TabView::CanDragTabsProperty() { return impl::call_factory_cast([](ITabViewStatics const& f) { return f.CanDragTabsProperty(); }); } inline auto TabView::CanReorderTabsProperty() { return impl::call_factory_cast([](ITabViewStatics const& f) { return f.CanReorderTabsProperty(); }); } inline auto TabView::AllowDropTabsProperty() { return impl::call_factory_cast([](ITabViewStatics const& f) { return f.AllowDropTabsProperty(); }); } inline auto TabView::SelectedIndexProperty() { return impl::call_factory_cast([](ITabViewStatics const& f) { return f.SelectedIndexProperty(); }); } inline auto TabView::SelectedItemProperty() { return impl::call_factory_cast([](ITabViewStatics const& f) { return f.SelectedItemProperty(); }); } inline TabViewItem::TabViewItem() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ITabViewItemFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto TabViewItem::HeaderProperty() { return impl::call_factory_cast([](ITabViewItemStatics const& f) { return f.HeaderProperty(); }); } inline auto TabViewItem::HeaderTemplateProperty() { return impl::call_factory_cast([](ITabViewItemStatics const& f) { return f.HeaderTemplateProperty(); }); } inline auto TabViewItem::IconSourceProperty() { return impl::call_factory_cast([](ITabViewItemStatics const& f) { return f.IconSourceProperty(); }); } inline auto TabViewItem::IsClosableProperty() { return impl::call_factory_cast([](ITabViewItemStatics const& f) { return f.IsClosableProperty(); }); } inline auto TabViewItem::TabViewTemplateSettingsProperty() { return impl::call_factory_cast([](ITabViewItemStatics const& f) { return f.TabViewTemplateSettingsProperty(); }); } inline TabViewItemTemplateSettings::TabViewItemTemplateSettings() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ITabViewItemTemplateSettingsFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto TabViewItemTemplateSettings::IconElementProperty() { return impl::call_factory_cast([](ITabViewItemTemplateSettingsStatics const& f) { return f.IconElementProperty(); }); } inline auto TabViewItemTemplateSettings::TabGeometryProperty() { return impl::call_factory_cast([](ITabViewItemTemplateSettingsStatics2 const& f) { return f.TabGeometryProperty(); }); } inline TeachingTip::TeachingTip() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ITeachingTipFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto TeachingTip::IsOpenProperty() { return impl::call_factory_cast([](ITeachingTipStatics const& f) { return f.IsOpenProperty(); }); } inline auto TeachingTip::TargetProperty() { return impl::call_factory_cast([](ITeachingTipStatics const& f) { return f.TargetProperty(); }); } inline auto TeachingTip::TailVisibilityProperty() { return impl::call_factory_cast([](ITeachingTipStatics const& f) { return f.TailVisibilityProperty(); }); } inline auto TeachingTip::TitleProperty() { return impl::call_factory_cast([](ITeachingTipStatics const& f) { return f.TitleProperty(); }); } inline auto TeachingTip::SubtitleProperty() { return impl::call_factory_cast([](ITeachingTipStatics const& f) { return f.SubtitleProperty(); }); } inline auto TeachingTip::ActionButtonContentProperty() { return impl::call_factory_cast([](ITeachingTipStatics const& f) { return f.ActionButtonContentProperty(); }); } inline auto TeachingTip::ActionButtonStyleProperty() { return impl::call_factory_cast([](ITeachingTipStatics const& f) { return f.ActionButtonStyleProperty(); }); } inline auto TeachingTip::ActionButtonCommandProperty() { return impl::call_factory_cast([](ITeachingTipStatics const& f) { return f.ActionButtonCommandProperty(); }); } inline auto TeachingTip::ActionButtonCommandParameterProperty() { return impl::call_factory_cast([](ITeachingTipStatics const& f) { return f.ActionButtonCommandParameterProperty(); }); } inline auto TeachingTip::CloseButtonContentProperty() { return impl::call_factory_cast([](ITeachingTipStatics const& f) { return f.CloseButtonContentProperty(); }); } inline auto TeachingTip::CloseButtonStyleProperty() { return impl::call_factory_cast([](ITeachingTipStatics const& f) { return f.CloseButtonStyleProperty(); }); } inline auto TeachingTip::CloseButtonCommandProperty() { return impl::call_factory_cast([](ITeachingTipStatics const& f) { return f.CloseButtonCommandProperty(); }); } inline auto TeachingTip::CloseButtonCommandParameterProperty() { return impl::call_factory_cast([](ITeachingTipStatics const& f) { return f.CloseButtonCommandParameterProperty(); }); } inline auto TeachingTip::PlacementMarginProperty() { return impl::call_factory_cast([](ITeachingTipStatics const& f) { return f.PlacementMarginProperty(); }); } inline auto TeachingTip::ShouldConstrainToRootBoundsProperty() { return impl::call_factory_cast([](ITeachingTipStatics const& f) { return f.ShouldConstrainToRootBoundsProperty(); }); } inline auto TeachingTip::IsLightDismissEnabledProperty() { return impl::call_factory_cast([](ITeachingTipStatics const& f) { return f.IsLightDismissEnabledProperty(); }); } inline auto TeachingTip::PreferredPlacementProperty() { return impl::call_factory_cast([](ITeachingTipStatics const& f) { return f.PreferredPlacementProperty(); }); } inline auto TeachingTip::HeroContentPlacementProperty() { return impl::call_factory_cast([](ITeachingTipStatics const& f) { return f.HeroContentPlacementProperty(); }); } inline auto TeachingTip::HeroContentProperty() { return impl::call_factory_cast([](ITeachingTipStatics const& f) { return f.HeroContentProperty(); }); } inline auto TeachingTip::IconSourceProperty() { return impl::call_factory_cast([](ITeachingTipStatics const& f) { return f.IconSourceProperty(); }); } inline auto TeachingTip::TemplateSettingsProperty() { return impl::call_factory_cast([](ITeachingTipStatics const& f) { return f.TemplateSettingsProperty(); }); } inline TeachingTipTemplateSettings::TeachingTipTemplateSettings() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ITeachingTipTemplateSettingsFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto TeachingTipTemplateSettings::TopRightHighlightMarginProperty() { return impl::call_factory_cast([](ITeachingTipTemplateSettingsStatics const& f) { return f.TopRightHighlightMarginProperty(); }); } inline auto TeachingTipTemplateSettings::TopLeftHighlightMarginProperty() { return impl::call_factory_cast([](ITeachingTipTemplateSettingsStatics const& f) { return f.TopLeftHighlightMarginProperty(); }); } inline auto TeachingTipTemplateSettings::IconElementProperty() { return impl::call_factory_cast([](ITeachingTipTemplateSettingsStatics const& f) { return f.IconElementProperty(); }); } inline TextCommandBarFlyout::TextCommandBarFlyout() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ITextCommandBarFlyoutFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline ToggleSplitButton::ToggleSplitButton() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IToggleSplitButtonFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto ToggleSplitButton::IsCheckedProperty() { return impl::call_factory_cast([](IToggleSplitButtonStatics const& f) { return f.IsCheckedProperty(); }); } inline TreeView::TreeView() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ITreeViewFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto TreeView::SelectedItemProperty() { return impl::call_factory_cast([](ITreeViewStatics const& f) { return f.SelectedItemProperty(); }); } inline auto TreeView::SelectionModeProperty() { return impl::call_factory_cast([](ITreeViewStatics const& f) { return f.SelectionModeProperty(); }); } inline auto TreeView::CanDragItemsProperty() { return impl::call_factory_cast([](ITreeViewStatics2 const& f) { return f.CanDragItemsProperty(); }); } inline auto TreeView::CanReorderItemsProperty() { return impl::call_factory_cast([](ITreeViewStatics2 const& f) { return f.CanReorderItemsProperty(); }); } inline auto TreeView::ItemTemplateProperty() { return impl::call_factory_cast([](ITreeViewStatics2 const& f) { return f.ItemTemplateProperty(); }); } inline auto TreeView::ItemTemplateSelectorProperty() { return impl::call_factory_cast([](ITreeViewStatics2 const& f) { return f.ItemTemplateSelectorProperty(); }); } inline auto TreeView::ItemContainerStyleProperty() { return impl::call_factory_cast([](ITreeViewStatics2 const& f) { return f.ItemContainerStyleProperty(); }); } inline auto TreeView::ItemContainerStyleSelectorProperty() { return impl::call_factory_cast([](ITreeViewStatics2 const& f) { return f.ItemContainerStyleSelectorProperty(); }); } inline auto TreeView::ItemContainerTransitionsProperty() { return impl::call_factory_cast([](ITreeViewStatics2 const& f) { return f.ItemContainerTransitionsProperty(); }); } inline auto TreeView::ItemsSourceProperty() { return impl::call_factory_cast([](ITreeViewStatics2 const& f) { return f.ItemsSourceProperty(); }); } inline TreeViewItem::TreeViewItem() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ITreeViewItemFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto TreeViewItem::GlyphOpacityProperty() { return impl::call_factory_cast([](ITreeViewItemStatics const& f) { return f.GlyphOpacityProperty(); }); } inline auto TreeViewItem::GlyphBrushProperty() { return impl::call_factory_cast([](ITreeViewItemStatics const& f) { return f.GlyphBrushProperty(); }); } inline auto TreeViewItem::ExpandedGlyphProperty() { return impl::call_factory_cast([](ITreeViewItemStatics const& f) { return f.ExpandedGlyphProperty(); }); } inline auto TreeViewItem::CollapsedGlyphProperty() { return impl::call_factory_cast([](ITreeViewItemStatics const& f) { return f.CollapsedGlyphProperty(); }); } inline auto TreeViewItem::GlyphSizeProperty() { return impl::call_factory_cast([](ITreeViewItemStatics const& f) { return f.GlyphSizeProperty(); }); } inline auto TreeViewItem::IsExpandedProperty() { return impl::call_factory_cast([](ITreeViewItemStatics const& f) { return f.IsExpandedProperty(); }); } inline auto TreeViewItem::TreeViewItemTemplateSettingsProperty() { return impl::call_factory_cast([](ITreeViewItemStatics const& f) { return f.TreeViewItemTemplateSettingsProperty(); }); } inline auto TreeViewItem::HasUnrealizedChildrenProperty() { return impl::call_factory_cast([](ITreeViewItemStatics2 const& f) { return f.HasUnrealizedChildrenProperty(); }); } inline auto TreeViewItem::ItemsSourceProperty() { return impl::call_factory_cast([](ITreeViewItemStatics2 const& f) { return f.ItemsSourceProperty(); }); } inline TreeViewItemTemplateSettings::TreeViewItemTemplateSettings() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ITreeViewItemTemplateSettingsFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto TreeViewItemTemplateSettings::ExpandedGlyphVisibilityProperty() { return impl::call_factory_cast([](ITreeViewItemTemplateSettingsStatics const& f) { return f.ExpandedGlyphVisibilityProperty(); }); } inline auto TreeViewItemTemplateSettings::CollapsedGlyphVisibilityProperty() { return impl::call_factory_cast([](ITreeViewItemTemplateSettingsStatics const& f) { return f.CollapsedGlyphVisibilityProperty(); }); } inline auto TreeViewItemTemplateSettings::IndentationProperty() { return impl::call_factory_cast([](ITreeViewItemTemplateSettingsStatics const& f) { return f.IndentationProperty(); }); } inline auto TreeViewItemTemplateSettings::DragItemsCountProperty() { return impl::call_factory_cast([](ITreeViewItemTemplateSettingsStatics const& f) { return f.DragItemsCountProperty(); }); } inline TreeViewList::TreeViewList() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ITreeViewListFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline TreeViewNode::TreeViewNode() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ITreeViewNodeFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto TreeViewNode::ContentProperty() { return impl::call_factory_cast([](ITreeViewNodeStatics const& f) { return f.ContentProperty(); }); } inline auto TreeViewNode::DepthProperty() { return impl::call_factory_cast([](ITreeViewNodeStatics const& f) { return f.DepthProperty(); }); } inline auto TreeViewNode::IsExpandedProperty() { return impl::call_factory_cast([](ITreeViewNodeStatics const& f) { return f.IsExpandedProperty(); }); } inline auto TreeViewNode::HasChildrenProperty() { return impl::call_factory_cast([](ITreeViewNodeStatics const& f) { return f.HasChildrenProperty(); }); } inline TwoPaneView::TwoPaneView() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ITwoPaneViewFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto TwoPaneView::Pane1Property() { return impl::call_factory_cast([](ITwoPaneViewStatics const& f) { return f.Pane1Property(); }); } inline auto TwoPaneView::Pane2Property() { return impl::call_factory_cast([](ITwoPaneViewStatics const& f) { return f.Pane2Property(); }); } inline auto TwoPaneView::Pane1LengthProperty() { return impl::call_factory_cast([](ITwoPaneViewStatics const& f) { return f.Pane1LengthProperty(); }); } inline auto TwoPaneView::Pane2LengthProperty() { return impl::call_factory_cast([](ITwoPaneViewStatics const& f) { return f.Pane2LengthProperty(); }); } inline auto TwoPaneView::PanePriorityProperty() { return impl::call_factory_cast([](ITwoPaneViewStatics const& f) { return f.PanePriorityProperty(); }); } inline auto TwoPaneView::ModeProperty() { return impl::call_factory_cast([](ITwoPaneViewStatics const& f) { return f.ModeProperty(); }); } inline auto TwoPaneView::WideModeConfigurationProperty() { return impl::call_factory_cast([](ITwoPaneViewStatics const& f) { return f.WideModeConfigurationProperty(); }); } inline auto TwoPaneView::TallModeConfigurationProperty() { return impl::call_factory_cast([](ITwoPaneViewStatics const& f) { return f.TallModeConfigurationProperty(); }); } inline auto TwoPaneView::MinWideModeWidthProperty() { return impl::call_factory_cast([](ITwoPaneViewStatics const& f) { return f.MinWideModeWidthProperty(); }); } inline auto TwoPaneView::MinTallModeHeightProperty() { return impl::call_factory_cast([](ITwoPaneViewStatics const& f) { return f.MinTallModeHeightProperty(); }); } inline UniformGridLayout::UniformGridLayout() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IUniformGridLayoutFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto UniformGridLayout::OrientationProperty() { return impl::call_factory_cast([](IUniformGridLayoutStatics const& f) { return f.OrientationProperty(); }); } inline auto UniformGridLayout::MinItemWidthProperty() { return impl::call_factory_cast([](IUniformGridLayoutStatics const& f) { return f.MinItemWidthProperty(); }); } inline auto UniformGridLayout::MinItemHeightProperty() { return impl::call_factory_cast([](IUniformGridLayoutStatics const& f) { return f.MinItemHeightProperty(); }); } inline auto UniformGridLayout::MinRowSpacingProperty() { return impl::call_factory_cast([](IUniformGridLayoutStatics const& f) { return f.MinRowSpacingProperty(); }); } inline auto UniformGridLayout::MinColumnSpacingProperty() { return impl::call_factory_cast([](IUniformGridLayoutStatics const& f) { return f.MinColumnSpacingProperty(); }); } inline auto UniformGridLayout::ItemsJustificationProperty() { return impl::call_factory_cast([](IUniformGridLayoutStatics const& f) { return f.ItemsJustificationProperty(); }); } inline auto UniformGridLayout::ItemsStretchProperty() { return impl::call_factory_cast([](IUniformGridLayoutStatics const& f) { return f.ItemsStretchProperty(); }); } inline auto UniformGridLayout::MaximumRowsOrColumnsProperty() { return impl::call_factory_cast([](IUniformGridLayoutStatics const& f) { return f.MaximumRowsOrColumnsProperty(); }); } inline VirtualizingLayout::VirtualizingLayout() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IVirtualizingLayoutFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline VirtualizingLayoutContext::VirtualizingLayoutContext() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IVirtualizingLayoutContextFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline WebView2::WebView2() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IWebView2Factory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto WebView2::SourceProperty() { return impl::call_factory_cast([](IWebView2Statics const& f) { return f.SourceProperty(); }); } inline auto WebView2::CanGoForwardProperty() { return impl::call_factory_cast([](IWebView2Statics const& f) { return f.CanGoForwardProperty(); }); } inline auto WebView2::CanGoBackProperty() { return impl::call_factory_cast([](IWebView2Statics const& f) { return f.CanGoBackProperty(); }); } inline XamlControlsResources::XamlControlsResources() : XamlControlsResources(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto XamlControlsResources::EnsureRevealLights(winrt::Windows::UI::Xaml::UIElement const& element) { impl::call_factory([&](IXamlControlsResourcesStatics const& f) { return f.EnsureRevealLights(element); }); } inline auto XamlControlsResources::ControlsResourcesVersionProperty() { return impl::call_factory_cast([](IXamlControlsResourcesStatics3 const& f) { return f.ControlsResourcesVersionProperty(); }); } template auto IElementFactoryOverridesT::GetElementCore(winrt::Microsoft::UI::Xaml::Controls::ElementFactoryGetArgs const& args) const { return shim().template try_as().GetElementCore(args); } template auto IElementFactoryOverridesT::RecycleElementCore(winrt::Microsoft::UI::Xaml::Controls::ElementFactoryRecycleArgs const& args) const { return shim().template try_as().RecycleElementCore(args); } template auto ILayoutContextOverridesT::LayoutStateCore() const { return shim().template try_as().LayoutStateCore(); } template auto ILayoutContextOverridesT::LayoutStateCore(winrt::Windows::Foundation::IInspectable const& value) const { return shim().template try_as().LayoutStateCore(value); } template auto INonVirtualizingLayoutOverridesT::InitializeForContextCore(winrt::Microsoft::UI::Xaml::Controls::NonVirtualizingLayoutContext const& context) const { return shim().template try_as().InitializeForContextCore(context); } template auto INonVirtualizingLayoutOverridesT::UninitializeForContextCore(winrt::Microsoft::UI::Xaml::Controls::NonVirtualizingLayoutContext const& context) const { return shim().template try_as().UninitializeForContextCore(context); } template auto INonVirtualizingLayoutOverridesT::MeasureOverride(winrt::Microsoft::UI::Xaml::Controls::NonVirtualizingLayoutContext const& context, winrt::Windows::Foundation::Size const& availableSize) const { return shim().template try_as().MeasureOverride(context, availableSize); } template auto INonVirtualizingLayoutOverridesT::ArrangeOverride(winrt::Microsoft::UI::Xaml::Controls::NonVirtualizingLayoutContext const& context, winrt::Windows::Foundation::Size const& finalSize) const { return shim().template try_as().ArrangeOverride(context, finalSize); } template auto INonVirtualizingLayoutContextOverridesT::ChildrenCore() const { return shim().template try_as().ChildrenCore(); } template auto IVirtualizingLayoutOverridesT::InitializeForContextCore(winrt::Microsoft::UI::Xaml::Controls::VirtualizingLayoutContext const& context) const { return shim().template try_as().InitializeForContextCore(context); } template auto IVirtualizingLayoutOverridesT::UninitializeForContextCore(winrt::Microsoft::UI::Xaml::Controls::VirtualizingLayoutContext const& context) const { return shim().template try_as().UninitializeForContextCore(context); } template auto IVirtualizingLayoutOverridesT::MeasureOverride(winrt::Microsoft::UI::Xaml::Controls::VirtualizingLayoutContext const& context, winrt::Windows::Foundation::Size const& availableSize) const { return shim().template try_as().MeasureOverride(context, availableSize); } template auto IVirtualizingLayoutOverridesT::ArrangeOverride(winrt::Microsoft::UI::Xaml::Controls::VirtualizingLayoutContext const& context, winrt::Windows::Foundation::Size const& finalSize) const { return shim().template try_as().ArrangeOverride(context, finalSize); } template auto IVirtualizingLayoutOverridesT::OnItemsChangedCore(winrt::Microsoft::UI::Xaml::Controls::VirtualizingLayoutContext const& context, winrt::Windows::Foundation::IInspectable const& source, winrt::Windows::UI::Xaml::Interop::NotifyCollectionChangedEventArgs const& args) const { return shim().template try_as().OnItemsChangedCore(context, source, args); } template auto IVirtualizingLayoutContextOverridesT::ItemCountCore() const { return shim().template try_as().ItemCountCore(); } template auto IVirtualizingLayoutContextOverridesT::GetItemAtCore(int32_t index) const { return shim().template try_as().GetItemAtCore(index); } template auto IVirtualizingLayoutContextOverridesT::RealizationRectCore() const { return shim().template try_as().RealizationRectCore(); } template auto IVirtualizingLayoutContextOverridesT::GetOrCreateElementAtCore(int32_t index, winrt::Microsoft::UI::Xaml::Controls::ElementRealizationOptions const& options) const { return shim().template try_as().GetOrCreateElementAtCore(index, options); } template auto IVirtualizingLayoutContextOverridesT::RecycleElementCore(winrt::Windows::UI::Xaml::UIElement const& element) const { return shim().template try_as().RecycleElementCore(element); } template auto IVirtualizingLayoutContextOverridesT::RecommendedAnchorIndexCore() const { return shim().template try_as().RecommendedAnchorIndexCore(); } template auto IVirtualizingLayoutContextOverridesT::LayoutOriginCore() const { return shim().template try_as().LayoutOriginCore(); } template auto IVirtualizingLayoutContextOverridesT::LayoutOriginCore(winrt::Windows::Foundation::Point const& value) const { return shim().template try_as().LayoutOriginCore(value); } template struct AnimatedIconT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = AnimatedIcon; friend impl::consume_t; friend impl::require_one; protected: AnimatedIconT() { impl::call_factory([&](IAnimatedIconFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct AnimatedIconSourceT : implements, impl::require, impl::base { using composable = AnimatedIconSource; protected: AnimatedIconSourceT() { impl::call_factory([&](IAnimatedIconSourceFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct AnimatedVisualPlayerT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = AnimatedVisualPlayer; friend impl::consume_t; friend impl::require_one; protected: AnimatedVisualPlayerT() { impl::call_factory([&](IAnimatedVisualPlayerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct BitmapIconSourceT : implements, impl::require, impl::base { using composable = BitmapIconSource; protected: BitmapIconSourceT() { impl::call_factory([&](IBitmapIconSourceFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct BreadcrumbBarT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = BreadcrumbBar; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: BreadcrumbBarT() { impl::call_factory([&](IBreadcrumbBarFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct BreadcrumbBarItemT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IContentControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = BreadcrumbBarItem; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: BreadcrumbBarItemT() { impl::call_factory([&](IBreadcrumbBarItemFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ColorPickerT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = ColorPicker; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: ColorPickerT() { impl::call_factory([&](IColorPickerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct CommandBarFlyoutT : implements, impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseOverridesT, winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseOverrides4T { using composable = CommandBarFlyout; protected: CommandBarFlyoutT() { impl::call_factory([&](ICommandBarFlyoutFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } using impl::consume_t::ShowAt; using impl::consume_t::ShowAt; }; template struct DropDownButtonT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IContentControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = DropDownButton; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: DropDownButtonT() { impl::call_factory([&](IDropDownButtonFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ElementFactoryT : implements, impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IElementFactoryOverridesT { using composable = ElementFactory; protected: ElementFactoryT() { impl::call_factory([&](IElementFactoryFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ExpanderT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IContentControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = Expander; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: ExpanderT() { impl::call_factory([&](IExpanderFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct FontIconSourceT : implements, impl::require, impl::base { using composable = FontIconSource; protected: FontIconSourceT() { impl::call_factory([&](IFontIconSourceFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ImageIconT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = ImageIcon; friend impl::consume_t; friend impl::require_one; protected: ImageIconT() { impl::call_factory([&](IImageIconFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ImageIconSourceT : implements, impl::require, impl::base { using composable = ImageIconSource; protected: ImageIconSourceT() { impl::call_factory([&](IImageIconSourceFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct InfoBadgeT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = InfoBadge; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: InfoBadgeT() { impl::call_factory([&](IInfoBadgeFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct InfoBadgeTemplateSettingsT : implements, impl::require, impl::base { using composable = InfoBadgeTemplateSettings; protected: InfoBadgeTemplateSettingsT() { impl::call_factory([&](IInfoBadgeTemplateSettingsFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct InfoBarT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = InfoBar; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: InfoBarT() { impl::call_factory([&](IInfoBarFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct InfoBarTemplateSettingsT : implements, impl::require, impl::base { using composable = InfoBarTemplateSettings; protected: InfoBarTemplateSettingsT() { impl::call_factory([&](IInfoBarTemplateSettingsFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ItemsRepeaterT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = ItemsRepeater; friend impl::consume_t; friend impl::require_one; protected: ItemsRepeaterT() { impl::call_factory([&](IItemsRepeaterFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ItemsSourceViewT : implements, impl::require, impl::base { using composable = ItemsSourceView; protected: ItemsSourceViewT(winrt::Windows::Foundation::IInspectable const& source) { impl::call_factory([&](IItemsSourceViewFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(source, *this, this->m_inner); }); } }; template struct MenuBarT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = MenuBar; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: MenuBarT() { impl::call_factory([&](IMenuBarFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct MenuBarItemT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = MenuBarItem; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: MenuBarItemT() { impl::call_factory([&](IMenuBarItemFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct MenuBarItemFlyoutT : implements, impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseOverridesT, winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseOverrides4T { using composable = MenuBarItemFlyout; protected: MenuBarItemFlyoutT() { impl::call_factory([&](IMenuBarItemFlyoutFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } using impl::consume_t::ShowAt; using impl::consume_t::ShowAt; using impl::consume_t::ShowAt; }; template struct NavigationViewT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IContentControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = NavigationView; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: NavigationViewT() { impl::call_factory([&](INavigationViewFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct NavigationViewItemT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IContentControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = NavigationViewItem; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: NavigationViewItemT() { impl::call_factory([&](INavigationViewItemFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct NavigationViewItemHeaderT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IContentControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = NavigationViewItemHeader; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: NavigationViewItemHeaderT() { impl::call_factory([&](INavigationViewItemHeaderFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct NavigationViewItemSeparatorT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IContentControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = NavigationViewItemSeparator; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: NavigationViewItemSeparatorT() { impl::call_factory([&](INavigationViewItemSeparatorFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct NavigationViewTemplateSettingsT : implements, impl::require, impl::base { using composable = NavigationViewTemplateSettings; protected: NavigationViewTemplateSettingsT() { impl::call_factory([&](INavigationViewTemplateSettingsFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct NonVirtualizingLayoutT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::INonVirtualizingLayoutOverridesT { using composable = NonVirtualizingLayout; friend impl::consume_t; friend impl::require_one; protected: NonVirtualizingLayoutT() { impl::call_factory([&](INonVirtualizingLayoutFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct NonVirtualizingLayoutContextT : implements, impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::INonVirtualizingLayoutContextOverridesT, winrt::Microsoft::UI::Xaml::Controls::ILayoutContextOverridesT { using composable = NonVirtualizingLayoutContext; protected: NonVirtualizingLayoutContextT() { impl::call_factory([&](INonVirtualizingLayoutContextFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct NumberBoxT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = NumberBox; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: NumberBoxT() { impl::call_factory([&](INumberBoxFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ParallaxViewT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = ParallaxView; friend impl::consume_t; friend impl::require_one; protected: ParallaxViewT() { impl::call_factory([&](IParallaxViewFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct PathIconSourceT : implements, impl::require, impl::base { using composable = PathIconSource; protected: PathIconSourceT() { impl::call_factory([&](IPathIconSourceFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct PersonPictureT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = PersonPicture; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: PersonPictureT() { impl::call_factory([&](IPersonPictureFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct PipsPagerT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = PipsPager; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: PipsPagerT() { impl::call_factory([&](IPipsPagerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ProgressBarT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::Primitives::IRangeBaseOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = ProgressBar; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: ProgressBarT() { impl::call_factory([&](IProgressBarFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ProgressRingT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = ProgressRing; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: ProgressRingT() { impl::call_factory([&](IProgressRingFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct RadioButtonsT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = RadioButtons; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: RadioButtonsT() { impl::call_factory([&](IRadioButtonsFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct RadioMenuFlyoutItemT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = RadioMenuFlyoutItem; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: RadioMenuFlyoutItemT() { impl::call_factory([&](IRadioMenuFlyoutItemFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct RatingControlT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = RatingControl; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: RatingControlT() { impl::call_factory([&](IRatingControlFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct RatingItemFontInfoT : implements, impl::require, impl::base { using composable = RatingItemFontInfo; protected: RatingItemFontInfoT() { impl::call_factory([&](IRatingItemFontInfoFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct RatingItemImageInfoT : implements, impl::require, impl::base { using composable = RatingItemImageInfo; protected: RatingItemImageInfoT() { impl::call_factory([&](IRatingItemImageInfoFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct RatingItemInfoT : implements, impl::require, impl::base { using composable = RatingItemInfo; protected: RatingItemInfoT() { impl::call_factory([&](IRatingItemInfoFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct RefreshContainerT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IContentControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = RefreshContainer; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: RefreshContainerT() { impl::call_factory([&](IRefreshContainerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct RefreshVisualizerT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = RefreshVisualizer; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: RefreshVisualizerT() { impl::call_factory([&](IRefreshVisualizerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct RevealListViewItemPresenterT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IContentPresenterOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = RevealListViewItemPresenter; friend impl::consume_t; friend impl::require_one; protected: RevealListViewItemPresenterT() { impl::call_factory([&](IRevealListViewItemPresenterFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct SplitButtonT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IContentControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = SplitButton; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: SplitButtonT() { impl::call_factory([&](ISplitButtonFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct StackLayoutT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IVirtualizingLayoutOverridesT { using composable = StackLayout; friend impl::consume_t; friend impl::require_one; protected: StackLayoutT() { impl::call_factory([&](IStackLayoutFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct SwipeControlT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IContentControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = SwipeControl; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: SwipeControlT() { impl::call_factory([&](ISwipeControlFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct SwipeItemT : implements, impl::require, impl::base { using composable = SwipeItem; protected: SwipeItemT() { impl::call_factory([&](ISwipeItemFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct SwipeItemsT : implements, impl::require, winrt::Windows::Foundation::Collections::IVector, winrt::Windows::UI::Xaml::IDependencyObject, winrt::Windows::UI::Xaml::IDependencyObject2>, impl::base { using composable = SwipeItems; protected: SwipeItemsT() { impl::call_factory([&](ISwipeItemsFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct SymbolIconSourceT : implements, impl::require, impl::base { using composable = SymbolIconSource; protected: SymbolIconSourceT() { impl::call_factory([&](ISymbolIconSourceFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct TabViewT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = TabView; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: TabViewT() { impl::call_factory([&](ITabViewFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct TabViewItemT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IContentControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = TabViewItem; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: TabViewItemT() { impl::call_factory([&](ITabViewItemFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct TabViewItemTemplateSettingsT : implements, impl::require, impl::base { using composable = TabViewItemTemplateSettings; protected: TabViewItemTemplateSettingsT() { impl::call_factory([&](ITabViewItemTemplateSettingsFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct TeachingTipT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IContentControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = TeachingTip; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: TeachingTipT() { impl::call_factory([&](ITeachingTipFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct TeachingTipTemplateSettingsT : implements, impl::require, impl::base { using composable = TeachingTipTemplateSettings; protected: TeachingTipTemplateSettingsT() { impl::call_factory([&](ITeachingTipTemplateSettingsFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct TextCommandBarFlyoutT : implements, impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseOverridesT, winrt::Windows::UI::Xaml::Controls::Primitives::IFlyoutBaseOverrides4T { using composable = TextCommandBarFlyout; protected: TextCommandBarFlyoutT() { impl::call_factory([&](ITextCommandBarFlyoutFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } using impl::consume_t::ShowAt; using impl::consume_t::ShowAt; }; template struct ToggleSplitButtonT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IContentControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = ToggleSplitButton; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: ToggleSplitButtonT() { impl::call_factory([&](IToggleSplitButtonFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct TreeViewT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = TreeView; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: TreeViewT() { impl::call_factory([&](ITreeViewFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct TreeViewItemT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IContentControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = TreeViewItem; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: TreeViewItemT() { impl::call_factory([&](ITreeViewItemFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct TreeViewItemTemplateSettingsT : implements, impl::require, impl::base { using composable = TreeViewItemTemplateSettings; protected: TreeViewItemTemplateSettingsT() { impl::call_factory([&](ITreeViewItemTemplateSettingsFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct TreeViewListT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IItemsControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = TreeViewList; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: TreeViewListT() { impl::call_factory([&](ITreeViewListFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct TreeViewNodeT : implements, impl::require, impl::base { using composable = TreeViewNode; protected: TreeViewNodeT() { impl::call_factory([&](ITreeViewNodeFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct TwoPaneViewT : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = TwoPaneView; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: TwoPaneViewT() { impl::call_factory([&](ITwoPaneViewFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct UniformGridLayoutT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IVirtualizingLayoutOverridesT { using composable = UniformGridLayout; friend impl::consume_t; friend impl::require_one; protected: UniformGridLayoutT() { impl::call_factory([&](IUniformGridLayoutFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct VirtualizingLayoutT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IVirtualizingLayoutOverridesT { using composable = VirtualizingLayout; friend impl::consume_t; friend impl::require_one; protected: VirtualizingLayoutT() { impl::call_factory([&](IVirtualizingLayoutFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct VirtualizingLayoutContextT : implements, impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IVirtualizingLayoutContextOverridesT, winrt::Microsoft::UI::Xaml::Controls::ILayoutContextOverridesT { using composable = VirtualizingLayoutContext; protected: VirtualizingLayoutContextT() { impl::call_factory([&](IVirtualizingLayoutContextFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct WebView2T : implements, impl::require, protected impl::require, impl::base, winrt::Windows::UI::Xaml::Controls::IControlOverridesT, winrt::Windows::UI::Xaml::Controls::IControlOverrides6T, winrt::Windows::UI::Xaml::IFrameworkElementOverridesT, winrt::Windows::UI::Xaml::IFrameworkElementOverrides2T, winrt::Windows::UI::Xaml::IUIElementOverridesT, winrt::Windows::UI::Xaml::IUIElementOverrides7T, winrt::Windows::UI::Xaml::IUIElementOverrides8T, winrt::Windows::UI::Xaml::IUIElementOverrides9T { using composable = WebView2; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: WebView2T() { impl::call_factory([&](IWebView2Factory 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 {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::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