// 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/Microsoft.UI.Xaml.h" #include "winrt/impl/Microsoft.UI.2.h" #include "winrt/impl/Microsoft.UI.Composition.2.h" #include "winrt/impl/Microsoft.UI.Input.2.h" #include "winrt/impl/Microsoft.UI.Text.2.h" #include "winrt/impl/Microsoft.UI.Xaml.2.h" #include "winrt/impl/Microsoft.UI.Xaml.Automation.Peers.2.h" #include "winrt/impl/Microsoft.UI.Xaml.Controls.Primitives.2.h" #include "winrt/impl/Microsoft.UI.Xaml.Data.2.h" #include "winrt/impl/Microsoft.UI.Xaml.Documents.2.h" #include "winrt/impl/Microsoft.UI.Xaml.Input.2.h" #include "winrt/impl/Microsoft.UI.Xaml.Interop.2.h" #include "winrt/impl/Microsoft.UI.Xaml.Media.2.h" #include "winrt/impl/Microsoft.UI.Xaml.Media.Animation.2.h" #include "winrt/impl/Microsoft.UI.Xaml.Navigation.2.h" #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.Devices.Geolocation.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.2.h" #include "winrt/impl/Windows.Globalization.NumberFormatting.2.h" #include "winrt/impl/Windows.Media.Casting.2.h" #include "winrt/impl/Windows.Media.Playback.2.h" #include "winrt/impl/Windows.UI.2.h" #include "winrt/impl/Windows.UI.Text.2.h" #include "winrt/impl/Windows.UI.Xaml.Interop.2.h" #include "winrt/impl/Microsoft.UI.Xaml.Controls.2.h" namespace winrt::impl { template auto consume_Microsoft_UI_Xaml_Controls_IAnchorRequestedEventArgs::Anchor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnchorRequestedEventArgs)->get_Anchor(&value)); return winrt::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnchorRequestedEventArgs::Anchor(winrt::Microsoft::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnchorRequestedEventArgs)->put_Anchor(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IAnchorRequestedEventArgs::AnchorCandidates() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnchorRequestedEventArgs)->get_AnchorCandidates(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } 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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedIconStatics::SetState(winrt::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayer::FallbackContent(winrt::Microsoft::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::Microsoft::UI::Composition::CompositionObject{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualPlayer::Stretch() const { winrt::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnimatedVisualSource::TryCreateAnimatedVisual(winrt::Microsoft::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::Microsoft::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_IAnnotatedScrollBar::ScrollController() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnnotatedScrollBar)->get_ScrollController(&value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::IScrollController{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnnotatedScrollBar::Labels() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnnotatedScrollBar)->get_Labels(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnnotatedScrollBar::Labels(param::vector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnnotatedScrollBar)->put_Labels(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IAnnotatedScrollBar::LabelTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnnotatedScrollBar)->get_LabelTemplate(&value)); return winrt::Microsoft::UI::Xaml::IElementFactory{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnnotatedScrollBar::LabelTemplate(winrt::Microsoft::UI::Xaml::IElementFactory const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnnotatedScrollBar)->put_LabelTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IAnnotatedScrollBar::DetailLabelTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnnotatedScrollBar)->get_DetailLabelTemplate(&value)); return winrt::Microsoft::UI::Xaml::IElementFactory{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnnotatedScrollBar::DetailLabelTemplate(winrt::Microsoft::UI::Xaml::IElementFactory const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnnotatedScrollBar)->put_DetailLabelTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IAnnotatedScrollBar::SmallChange() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnnotatedScrollBar)->get_SmallChange(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IAnnotatedScrollBar::SmallChange(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnnotatedScrollBar)->put_SmallChange(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IAnnotatedScrollBar::Scrolling(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnnotatedScrollBar)->add_Scrolling(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IAnnotatedScrollBar::Scrolling(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Scrolling(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IAnnotatedScrollBar::Scrolling(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnnotatedScrollBar)->remove_Scrolling(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IAnnotatedScrollBar::DetailLabelRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnnotatedScrollBar)->add_DetailLabelRequested(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IAnnotatedScrollBar::DetailLabelRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DetailLabelRequested(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IAnnotatedScrollBar::DetailLabelRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnnotatedScrollBar)->remove_DetailLabelRequested(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IAnnotatedScrollBarDetailLabelRequestedEventArgs::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnnotatedScrollBarDetailLabelRequestedEventArgs)->get_Content(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnnotatedScrollBarDetailLabelRequestedEventArgs::Content(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnnotatedScrollBarDetailLabelRequestedEventArgs)->put_Content(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IAnnotatedScrollBarDetailLabelRequestedEventArgs::ScrollOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnnotatedScrollBarDetailLabelRequestedEventArgs)->get_ScrollOffset(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IAnnotatedScrollBarFactory::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::IAnnotatedScrollBarFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::AnnotatedScrollBar{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnnotatedScrollBarLabel::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnnotatedScrollBarLabel)->get_Content(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnnotatedScrollBarLabel::ScrollOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnnotatedScrollBarLabel)->get_ScrollOffset(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IAnnotatedScrollBarLabelFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& content, double scrollOffset) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnnotatedScrollBarLabelFactory)->CreateInstance(*(void**)(&content), scrollOffset, &value)); return winrt::Microsoft::UI::Xaml::Controls::AnnotatedScrollBarLabel{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnnotatedScrollBarScrollingEventArgs::ScrollOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnnotatedScrollBarScrollingEventArgs)->get_ScrollOffset(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IAnnotatedScrollBarScrollingEventArgs::ScrollingEventKind() const { winrt::Microsoft::UI::Xaml::Controls::AnnotatedScrollBarScrollingEventKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnnotatedScrollBarScrollingEventArgs)->get_ScrollingEventKind(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IAnnotatedScrollBarScrollingEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnnotatedScrollBarScrollingEventArgs)->get_Cancel(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IAnnotatedScrollBarScrollingEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnnotatedScrollBarScrollingEventArgs)->put_Cancel(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IAnnotatedScrollBarStatics::LabelsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnnotatedScrollBarStatics)->get_LabelsProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnnotatedScrollBarStatics::LabelTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnnotatedScrollBarStatics)->get_LabelTemplateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnnotatedScrollBarStatics::DetailLabelTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnnotatedScrollBarStatics)->get_DetailLabelTemplateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAnnotatedScrollBarStatics::SmallChangeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAnnotatedScrollBarStatics)->get_SmallChangeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBar::IsOpen() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBar)->get_IsOpen(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBar::IsOpen(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBar)->put_IsOpen(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IAppBar::IsSticky() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBar)->get_IsSticky(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBar::IsSticky(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBar)->put_IsSticky(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IAppBar::ClosedDisplayMode() const { winrt::Microsoft::UI::Xaml::Controls::AppBarClosedDisplayMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBar)->get_ClosedDisplayMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBar::ClosedDisplayMode(winrt::Microsoft::UI::Xaml::Controls::AppBarClosedDisplayMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBar)->put_ClosedDisplayMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IAppBar::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBar)->get_TemplateSettings(&value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::AppBarTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBar::LightDismissOverlayMode() const { winrt::Microsoft::UI::Xaml::Controls::LightDismissOverlayMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBar)->get_LightDismissOverlayMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBar::LightDismissOverlayMode(winrt::Microsoft::UI::Xaml::Controls::LightDismissOverlayMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBar)->put_LightDismissOverlayMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IAppBar::Opening(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBar)->add_Opening(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBar::Opening(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, Opening(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IAppBar::Opening(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBar)->remove_Opening(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IAppBar::Opened(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBar)->add_Opened(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBar::Opened(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, Opened(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IAppBar::Opened(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBar)->remove_Opened(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IAppBar::Closing(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBar)->add_Closing(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBar::Closing(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, Closing(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IAppBar::Closing(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBar)->remove_Closing(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IAppBar::Closed(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBar)->add_Closed(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBar::Closed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, Closed(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IAppBar::Closed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBar)->remove_Closed(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarButton::Label() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarButton)->get_Label(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarButton::Label(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarButton)->put_Label(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarButton::Icon() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarButton)->get_Icon(&value)); return winrt::Microsoft::UI::Xaml::Controls::IconElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarButton::Icon(winrt::Microsoft::UI::Xaml::Controls::IconElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarButton)->put_Icon(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarButton::LabelPosition() const { winrt::Microsoft::UI::Xaml::Controls::CommandBarLabelPosition value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarButton)->get_LabelPosition(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarButton::LabelPosition(winrt::Microsoft::UI::Xaml::Controls::CommandBarLabelPosition const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarButton)->put_LabelPosition(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarButton::KeyboardAcceleratorTextOverride() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarButton)->get_KeyboardAcceleratorTextOverride(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarButton::KeyboardAcceleratorTextOverride(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarButton)->put_KeyboardAcceleratorTextOverride(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarButton::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarButton)->get_TemplateSettings(&value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::AppBarButtonTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarButtonFactory::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::IAppBarButtonFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::AppBarButton{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarButtonStatics::LabelProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarButtonStatics)->get_LabelProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarButtonStatics::IconProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarButtonStatics)->get_IconProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarButtonStatics::LabelPositionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarButtonStatics)->get_LabelPositionProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarButtonStatics::KeyboardAcceleratorTextOverrideProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarButtonStatics)->get_KeyboardAcceleratorTextOverrideProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarButtonStatics::IsCompactProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarButtonStatics)->get_IsCompactProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarButtonStatics::IsInOverflowProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarButtonStatics)->get_IsInOverflowProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarButtonStatics::DynamicOverflowOrderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarButtonStatics)->get_DynamicOverflowOrderProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarElementContainerFactory::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::IAppBarElementContainerFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::AppBarElementContainer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarElementContainerStatics::IsCompactProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarElementContainerStatics)->get_IsCompactProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarElementContainerStatics::IsInOverflowProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarElementContainerStatics)->get_IsInOverflowProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarElementContainerStatics::DynamicOverflowOrderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarElementContainerStatics)->get_DynamicOverflowOrderProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarFactory::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::IAppBarFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::AppBar{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarOverrides::OnClosed(winrt::Windows::Foundation::IInspectable const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarOverrides)->OnClosed(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarOverrides::OnOpened(winrt::Windows::Foundation::IInspectable const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarOverrides)->OnOpened(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarOverrides::OnClosing(winrt::Windows::Foundation::IInspectable const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarOverrides)->OnClosing(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarOverrides::OnOpening(winrt::Windows::Foundation::IInspectable const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarOverrides)->OnOpening(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarSeparatorFactory::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::IAppBarSeparatorFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::AppBarSeparator{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarSeparatorStatics::IsCompactProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarSeparatorStatics)->get_IsCompactProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarSeparatorStatics::IsInOverflowProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarSeparatorStatics)->get_IsInOverflowProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarSeparatorStatics::DynamicOverflowOrderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarSeparatorStatics)->get_DynamicOverflowOrderProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarStatics::IsOpenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarStatics)->get_IsOpenProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarStatics::IsStickyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarStatics)->get_IsStickyProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarStatics::ClosedDisplayModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarStatics)->get_ClosedDisplayModeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarStatics::LightDismissOverlayModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarStatics)->get_LightDismissOverlayModeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarToggleButton::Label() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarToggleButton)->get_Label(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarToggleButton::Label(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarToggleButton)->put_Label(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarToggleButton::Icon() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarToggleButton)->get_Icon(&value)); return winrt::Microsoft::UI::Xaml::Controls::IconElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarToggleButton::Icon(winrt::Microsoft::UI::Xaml::Controls::IconElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarToggleButton)->put_Icon(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarToggleButton::LabelPosition() const { winrt::Microsoft::UI::Xaml::Controls::CommandBarLabelPosition value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarToggleButton)->get_LabelPosition(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarToggleButton::LabelPosition(winrt::Microsoft::UI::Xaml::Controls::CommandBarLabelPosition const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarToggleButton)->put_LabelPosition(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarToggleButton::KeyboardAcceleratorTextOverride() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarToggleButton)->get_KeyboardAcceleratorTextOverride(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarToggleButton::KeyboardAcceleratorTextOverride(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarToggleButton)->put_KeyboardAcceleratorTextOverride(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarToggleButton::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarToggleButton)->get_TemplateSettings(&value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::AppBarToggleButtonTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarToggleButtonFactory::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::IAppBarToggleButtonFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::AppBarToggleButton{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarToggleButtonStatics::LabelProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarToggleButtonStatics)->get_LabelProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarToggleButtonStatics::IconProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarToggleButtonStatics)->get_IconProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarToggleButtonStatics::LabelPositionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarToggleButtonStatics)->get_LabelPositionProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarToggleButtonStatics::KeyboardAcceleratorTextOverrideProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarToggleButtonStatics)->get_KeyboardAcceleratorTextOverrideProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarToggleButtonStatics::IsCompactProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarToggleButtonStatics)->get_IsCompactProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarToggleButtonStatics::IsInOverflowProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarToggleButtonStatics)->get_IsInOverflowProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAppBarToggleButtonStatics::DynamicOverflowOrderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAppBarToggleButtonStatics)->get_DynamicOverflowOrderProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBox::MaxSuggestionListHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBox)->get_MaxSuggestionListHeight(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBox::MaxSuggestionListHeight(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBox)->put_MaxSuggestionListHeight(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBox::IsSuggestionListOpen() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBox)->get_IsSuggestionListOpen(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBox::IsSuggestionListOpen(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBox)->put_IsSuggestionListOpen(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBox::TextMemberPath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBox)->get_TextMemberPath(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBox::TextMemberPath(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBox)->put_TextMemberPath(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBox::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBox)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBox::Text(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBox)->put_Text(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBox::UpdateTextOnSelect() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBox)->get_UpdateTextOnSelect(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBox::UpdateTextOnSelect(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBox)->put_UpdateTextOnSelect(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBox::PlaceholderText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBox)->get_PlaceholderText(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBox::PlaceholderText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBox)->put_PlaceholderText(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBox::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBox)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBox::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBox)->put_Header(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBox::AutoMaximizeSuggestionArea() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBox)->get_AutoMaximizeSuggestionArea(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBox::AutoMaximizeSuggestionArea(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBox)->put_AutoMaximizeSuggestionArea(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBox::TextBoxStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBox)->get_TextBoxStyle(&value)); return winrt::Microsoft::UI::Xaml::Style{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBox::TextBoxStyle(winrt::Microsoft::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBox)->put_TextBoxStyle(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBox::QueryIcon() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBox)->get_QueryIcon(&value)); return winrt::Microsoft::UI::Xaml::Controls::IconElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBox::QueryIcon(winrt::Microsoft::UI::Xaml::Controls::IconElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBox)->put_QueryIcon(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBox::LightDismissOverlayMode() const { winrt::Microsoft::UI::Xaml::Controls::LightDismissOverlayMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBox)->get_LightDismissOverlayMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBox::LightDismissOverlayMode(winrt::Microsoft::UI::Xaml::Controls::LightDismissOverlayMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBox)->put_LightDismissOverlayMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBox::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBox)->get_Description(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBox::Description(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBox)->put_Description(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBox::SuggestionChosen(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBox)->add_SuggestionChosen(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBox::SuggestionChosen(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SuggestionChosen(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBox::SuggestionChosen(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBox)->remove_SuggestionChosen(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBox::TextChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBox)->add_TextChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBox::TextChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TextChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBox::TextChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBox)->remove_TextChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBox::QuerySubmitted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBox)->add_QuerySubmitted(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBox::QuerySubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, QuerySubmitted(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBox::QuerySubmitted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBox)->remove_QuerySubmitted(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBoxQuerySubmittedEventArgs::QueryText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBoxQuerySubmittedEventArgs)->get_QueryText(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBoxQuerySubmittedEventArgs::ChosenSuggestion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBoxQuerySubmittedEventArgs)->get_ChosenSuggestion(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBoxStatics::MaxSuggestionListHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBoxStatics)->get_MaxSuggestionListHeightProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBoxStatics::IsSuggestionListOpenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBoxStatics)->get_IsSuggestionListOpenProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBoxStatics::TextMemberPathProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBoxStatics)->get_TextMemberPathProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBoxStatics::TextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBoxStatics)->get_TextProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBoxStatics::UpdateTextOnSelectProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBoxStatics)->get_UpdateTextOnSelectProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBoxStatics::PlaceholderTextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBoxStatics)->get_PlaceholderTextProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBoxStatics::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBoxStatics)->get_HeaderProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBoxStatics::AutoMaximizeSuggestionAreaProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBoxStatics)->get_AutoMaximizeSuggestionAreaProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBoxStatics::TextBoxStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBoxStatics)->get_TextBoxStyleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBoxStatics::QueryIconProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBoxStatics)->get_QueryIconProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBoxStatics::LightDismissOverlayModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBoxStatics)->get_LightDismissOverlayModeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBoxStatics::DescriptionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBoxStatics)->get_DescriptionProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBoxSuggestionChosenEventArgs::SelectedItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBoxSuggestionChosenEventArgs)->get_SelectedItem(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBoxTextChangedEventArgs::Reason() const { winrt::Microsoft::UI::Xaml::Controls::AutoSuggestionBoxTextChangeReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBoxTextChangedEventArgs)->get_Reason(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBoxTextChangedEventArgs::Reason(winrt::Microsoft::UI::Xaml::Controls::AutoSuggestionBoxTextChangeReason const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBoxTextChangedEventArgs)->put_Reason(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBoxTextChangedEventArgs::CheckCurrent() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBoxTextChangedEventArgs)->CheckCurrent(&result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IAutoSuggestBoxTextChangedEventArgsStatics::ReasonProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IAutoSuggestBoxTextChangedEventArgsStatics)->get_ReasonProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IBitmapIcon::UriSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBitmapIcon)->get_UriSource(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IBitmapIcon::UriSource(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBitmapIcon)->put_UriSource(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IBitmapIcon::ShowAsMonochrome() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBitmapIcon)->get_ShowAsMonochrome(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IBitmapIcon::ShowAsMonochrome(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBitmapIcon)->put_ShowAsMonochrome(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IBitmapIconFactory::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::IBitmapIconFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::BitmapIcon{ value, take_ownership_from_abi }; } 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::Microsoft::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::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IBitmapIconStatics::UriSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBitmapIconStatics)->get_UriSourceProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IBitmapIconStatics::ShowAsMonochromeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBitmapIconStatics)->get_ShowAsMonochromeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IBorder::BorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBorder)->get_BorderBrush(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IBorder::BorderBrush(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBorder)->put_BorderBrush(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IBorder::BorderThickness() const { winrt::Microsoft::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBorder)->get_BorderThickness(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IBorder::BorderThickness(winrt::Microsoft::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBorder)->put_BorderThickness(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IBorder::Background() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBorder)->get_Background(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IBorder::Background(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBorder)->put_Background(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IBorder::BackgroundSizing() const { winrt::Microsoft::UI::Xaml::Controls::BackgroundSizing value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBorder)->get_BackgroundSizing(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IBorder::BackgroundSizing(winrt::Microsoft::UI::Xaml::Controls::BackgroundSizing const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBorder)->put_BackgroundSizing(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IBorder::CornerRadius() const { winrt::Microsoft::UI::Xaml::CornerRadius value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBorder)->get_CornerRadius(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IBorder::CornerRadius(winrt::Microsoft::UI::Xaml::CornerRadius const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBorder)->put_CornerRadius(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IBorder::Padding() const { winrt::Microsoft::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBorder)->get_Padding(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IBorder::Padding(winrt::Microsoft::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBorder)->put_Padding(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IBorder::Child() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBorder)->get_Child(&value)); return winrt::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IBorder::Child(winrt::Microsoft::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBorder)->put_Child(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IBorder::ChildTransitions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBorder)->get_ChildTransitions(&value)); return winrt::Microsoft::UI::Xaml::Media::Animation::TransitionCollection{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IBorder::ChildTransitions(winrt::Microsoft::UI::Xaml::Media::Animation::TransitionCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBorder)->put_ChildTransitions(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IBorder::BackgroundTransition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBorder)->get_BackgroundTransition(&value)); return winrt::Microsoft::UI::Xaml::BrushTransition{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IBorder::BackgroundTransition(winrt::Microsoft::UI::Xaml::BrushTransition const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBorder)->put_BackgroundTransition(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IBorderStatics::BorderBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBorderStatics)->get_BorderBrushProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IBorderStatics::BorderThicknessProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBorderStatics)->get_BorderThicknessProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IBorderStatics::BackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBorderStatics)->get_BackgroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IBorderStatics::BackgroundSizingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBorderStatics)->get_BackgroundSizingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IBorderStatics::CornerRadiusProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBorderStatics)->get_CornerRadiusProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IBorderStatics::PaddingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBorderStatics)->get_PaddingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IBorderStatics::ChildTransitionsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IBorderStatics)->get_ChildTransitionsProperty(&value)); return winrt::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IButton::Flyout() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IButton)->get_Flyout(&value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::FlyoutBase{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IButton::Flyout(winrt::Microsoft::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IButton)->put_Flyout(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IButtonFactory::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::IButtonFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::Button{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IButtonStatics::FlyoutProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IButtonStatics)->get_FlyoutProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::Date() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->get_Date(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::Date(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->put_Date(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::IsCalendarOpen() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->get_IsCalendarOpen(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::IsCalendarOpen(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->put_IsCalendarOpen(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::DateFormat() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->get_DateFormat(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::DateFormat(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->put_DateFormat(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::PlaceholderText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->get_PlaceholderText(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::PlaceholderText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->put_PlaceholderText(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->put_Header(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->get_HeaderTemplate(&value)); return winrt::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::HeaderTemplate(winrt::Microsoft::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->put_HeaderTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::CalendarViewStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->get_CalendarViewStyle(&value)); return winrt::Microsoft::UI::Xaml::Style{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::CalendarViewStyle(winrt::Microsoft::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->put_CalendarViewStyle(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::LightDismissOverlayMode() const { winrt::Microsoft::UI::Xaml::Controls::LightDismissOverlayMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->get_LightDismissOverlayMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::LightDismissOverlayMode(winrt::Microsoft::UI::Xaml::Controls::LightDismissOverlayMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->put_LightDismissOverlayMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->get_Description(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::Description(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->put_Description(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::MinDate() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->get_MinDate(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::MinDate(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->put_MinDate(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::MaxDate() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->get_MaxDate(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::MaxDate(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->put_MaxDate(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::IsTodayHighlighted() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->get_IsTodayHighlighted(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::IsTodayHighlighted(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->put_IsTodayHighlighted(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::DisplayMode() const { winrt::Microsoft::UI::Xaml::Controls::CalendarViewDisplayMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->get_DisplayMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::DisplayMode(winrt::Microsoft::UI::Xaml::Controls::CalendarViewDisplayMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->put_DisplayMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::FirstDayOfWeek() const { winrt::Windows::Globalization::DayOfWeek value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->get_FirstDayOfWeek(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::FirstDayOfWeek(winrt::Windows::Globalization::DayOfWeek const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->put_FirstDayOfWeek(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::DayOfWeekFormat() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->get_DayOfWeekFormat(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::DayOfWeekFormat(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->put_DayOfWeekFormat(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::CalendarIdentifier() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->get_CalendarIdentifier(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::CalendarIdentifier(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->put_CalendarIdentifier(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::IsOutOfScopeEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->get_IsOutOfScopeEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::IsOutOfScopeEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->put_IsOutOfScopeEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::IsGroupLabelVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->get_IsGroupLabelVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::IsGroupLabelVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->put_IsGroupLabelVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::CalendarViewDayItemChanging(winrt::Microsoft::UI::Xaml::Controls::CalendarViewDayItemChangingEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->add_CalendarViewDayItemChanging(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::CalendarViewDayItemChanging(auto_revoke_t, winrt::Microsoft::UI::Xaml::Controls::CalendarViewDayItemChangingEventHandler const& handler) const { return impl::make_event_revoker(this, CalendarViewDayItemChanging(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::CalendarViewDayItemChanging(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->remove_CalendarViewDayItemChanging(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::DateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->add_DateChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::DateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DateChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::DateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->remove_DateChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::Opened(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->add_Opened(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::Opened(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, Opened(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::Opened(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->remove_Opened(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::Closed(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->add_Closed(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::Closed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, Closed(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::Closed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->remove_Closed(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::SetDisplayDate(winrt::Windows::Foundation::DateTime const& date) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->SetDisplayDate(impl::bind_in(date))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePicker::SetYearDecadeDisplayDimensions(int32_t columns, int32_t rows) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePicker)->SetYearDecadeDisplayDimensions(columns, rows)); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePickerDateChangedEventArgs::NewDate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePickerDateChangedEventArgs)->get_NewDate(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePickerDateChangedEventArgs::OldDate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePickerDateChangedEventArgs)->get_OldDate(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePickerFactory::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::ICalendarDatePickerFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::CalendarDatePicker{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePickerStatics::DateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePickerStatics)->get_DateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePickerStatics::IsCalendarOpenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePickerStatics)->get_IsCalendarOpenProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePickerStatics::DateFormatProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePickerStatics)->get_DateFormatProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePickerStatics::PlaceholderTextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePickerStatics)->get_PlaceholderTextProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePickerStatics::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePickerStatics)->get_HeaderProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePickerStatics::HeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePickerStatics)->get_HeaderTemplateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePickerStatics::CalendarViewStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePickerStatics)->get_CalendarViewStyleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePickerStatics::LightDismissOverlayModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePickerStatics)->get_LightDismissOverlayModeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePickerStatics::DescriptionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePickerStatics)->get_DescriptionProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePickerStatics::MinDateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePickerStatics)->get_MinDateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePickerStatics::MaxDateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePickerStatics)->get_MaxDateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePickerStatics::IsTodayHighlightedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePickerStatics)->get_IsTodayHighlightedProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePickerStatics::DisplayModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePickerStatics)->get_DisplayModeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePickerStatics::FirstDayOfWeekProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePickerStatics)->get_FirstDayOfWeekProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePickerStatics::DayOfWeekFormatProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePickerStatics)->get_DayOfWeekFormatProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePickerStatics::CalendarIdentifierProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePickerStatics)->get_CalendarIdentifierProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePickerStatics::IsOutOfScopeEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePickerStatics)->get_IsOutOfScopeEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarDatePickerStatics::IsGroupLabelVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarDatePickerStatics)->get_IsGroupLabelVisibleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::CalendarIdentifier() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_CalendarIdentifier(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::CalendarIdentifier(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_CalendarIdentifier(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::DayOfWeekFormat() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_DayOfWeekFormat(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::DayOfWeekFormat(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_DayOfWeekFormat(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::IsGroupLabelVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_IsGroupLabelVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::IsGroupLabelVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_IsGroupLabelVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::DisplayMode() const { winrt::Microsoft::UI::Xaml::Controls::CalendarViewDisplayMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_DisplayMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::DisplayMode(winrt::Microsoft::UI::Xaml::Controls::CalendarViewDisplayMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_DisplayMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::FirstDayOfWeek() const { winrt::Windows::Globalization::DayOfWeek value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_FirstDayOfWeek(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::FirstDayOfWeek(winrt::Windows::Globalization::DayOfWeek const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_FirstDayOfWeek(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::IsOutOfScopeEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_IsOutOfScopeEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::IsOutOfScopeEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_IsOutOfScopeEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::IsTodayHighlighted() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_IsTodayHighlighted(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::IsTodayHighlighted(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_IsTodayHighlighted(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::MaxDate() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_MaxDate(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::MaxDate(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_MaxDate(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::MinDate() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_MinDate(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::MinDate(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_MinDate(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::NumberOfWeeksInView() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_NumberOfWeeksInView(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::NumberOfWeeksInView(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_NumberOfWeeksInView(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::SelectedDates() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_SelectedDates(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::SelectionMode() const { winrt::Microsoft::UI::Xaml::Controls::CalendarViewSelectionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_SelectionMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::SelectionMode(winrt::Microsoft::UI::Xaml::Controls::CalendarViewSelectionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_SelectionMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_TemplateSettings(&value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::CalendarViewTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::FocusBorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_FocusBorderBrush(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::FocusBorderBrush(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_FocusBorderBrush(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::SelectedHoverBorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_SelectedHoverBorderBrush(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::SelectedHoverBorderBrush(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_SelectedHoverBorderBrush(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::SelectedPressedBorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_SelectedPressedBorderBrush(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::SelectedPressedBorderBrush(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_SelectedPressedBorderBrush(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::SelectedDisabledBorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_SelectedDisabledBorderBrush(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::SelectedDisabledBorderBrush(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_SelectedDisabledBorderBrush(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::SelectedBorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_SelectedBorderBrush(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::SelectedBorderBrush(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_SelectedBorderBrush(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::HoverBorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_HoverBorderBrush(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::HoverBorderBrush(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_HoverBorderBrush(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::PressedBorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_PressedBorderBrush(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::PressedBorderBrush(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_PressedBorderBrush(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::TodaySelectedInnerBorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_TodaySelectedInnerBorderBrush(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::TodaySelectedInnerBorderBrush(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_TodaySelectedInnerBorderBrush(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::BlackoutStrikethroughBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_BlackoutStrikethroughBrush(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::BlackoutStrikethroughBrush(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_BlackoutStrikethroughBrush(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::CalendarItemBorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_CalendarItemBorderBrush(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::CalendarItemBorderBrush(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_CalendarItemBorderBrush(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::BlackoutBackground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_BlackoutBackground(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::BlackoutBackground(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_BlackoutBackground(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::OutOfScopeBackground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_OutOfScopeBackground(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::OutOfScopeBackground(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_OutOfScopeBackground(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::CalendarItemBackground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_CalendarItemBackground(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::CalendarItemBackground(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_CalendarItemBackground(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::CalendarItemHoverBackground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_CalendarItemHoverBackground(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::CalendarItemHoverBackground(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_CalendarItemHoverBackground(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::CalendarItemPressedBackground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_CalendarItemPressedBackground(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::CalendarItemPressedBackground(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_CalendarItemPressedBackground(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::CalendarItemDisabledBackground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_CalendarItemDisabledBackground(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::CalendarItemDisabledBackground(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_CalendarItemDisabledBackground(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::TodayBackground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_TodayBackground(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::TodayBackground(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_TodayBackground(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::TodayBlackoutBackground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_TodayBlackoutBackground(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::TodayBlackoutBackground(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_TodayBlackoutBackground(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::TodayHoverBackground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_TodayHoverBackground(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::TodayHoverBackground(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_TodayHoverBackground(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::TodayPressedBackground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_TodayPressedBackground(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::TodayPressedBackground(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_TodayPressedBackground(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::TodayDisabledBackground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_TodayDisabledBackground(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::TodayDisabledBackground(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_TodayDisabledBackground(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::PressedForeground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_PressedForeground(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::PressedForeground(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_PressedForeground(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::TodayForeground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_TodayForeground(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::TodayForeground(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_TodayForeground(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::BlackoutForeground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_BlackoutForeground(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::BlackoutForeground(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_BlackoutForeground(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::TodayBlackoutForeground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_TodayBlackoutForeground(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::TodayBlackoutForeground(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_TodayBlackoutForeground(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::SelectedForeground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_SelectedForeground(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::SelectedForeground(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_SelectedForeground(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::SelectedHoverForeground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_SelectedHoverForeground(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::SelectedHoverForeground(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_SelectedHoverForeground(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::SelectedPressedForeground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_SelectedPressedForeground(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::SelectedPressedForeground(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_SelectedPressedForeground(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::SelectedDisabledForeground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_SelectedDisabledForeground(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::SelectedDisabledForeground(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_SelectedDisabledForeground(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::OutOfScopeForeground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_OutOfScopeForeground(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::OutOfScopeForeground(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_OutOfScopeForeground(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::OutOfScopeHoverForeground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_OutOfScopeHoverForeground(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::OutOfScopeHoverForeground(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_OutOfScopeHoverForeground(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::OutOfScopePressedForeground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_OutOfScopePressedForeground(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::OutOfScopePressedForeground(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_OutOfScopePressedForeground(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::CalendarItemForeground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_CalendarItemForeground(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::CalendarItemForeground(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_CalendarItemForeground(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::DisabledForeground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_DisabledForeground(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::DisabledForeground(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_DisabledForeground(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::DayItemFontFamily() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_DayItemFontFamily(&value)); return winrt::Microsoft::UI::Xaml::Media::FontFamily{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::DayItemFontFamily(winrt::Microsoft::UI::Xaml::Media::FontFamily const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_DayItemFontFamily(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::DayItemFontSize() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_DayItemFontSize(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::DayItemFontSize(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_DayItemFontSize(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::DayItemFontStyle() const { winrt::Windows::UI::Text::FontStyle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_DayItemFontStyle(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::DayItemFontStyle(winrt::Windows::UI::Text::FontStyle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_DayItemFontStyle(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::DayItemFontWeight() const { winrt::Windows::UI::Text::FontWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_DayItemFontWeight(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::DayItemFontWeight(winrt::Windows::UI::Text::FontWeight const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_DayItemFontWeight(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::TodayFontWeight() const { winrt::Windows::UI::Text::FontWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_TodayFontWeight(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::TodayFontWeight(winrt::Windows::UI::Text::FontWeight const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_TodayFontWeight(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::FirstOfMonthLabelFontFamily() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_FirstOfMonthLabelFontFamily(&value)); return winrt::Microsoft::UI::Xaml::Media::FontFamily{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::FirstOfMonthLabelFontFamily(winrt::Microsoft::UI::Xaml::Media::FontFamily const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_FirstOfMonthLabelFontFamily(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::FirstOfMonthLabelFontSize() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_FirstOfMonthLabelFontSize(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::FirstOfMonthLabelFontSize(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_FirstOfMonthLabelFontSize(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::FirstOfMonthLabelFontStyle() const { winrt::Windows::UI::Text::FontStyle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_FirstOfMonthLabelFontStyle(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::FirstOfMonthLabelFontStyle(winrt::Windows::UI::Text::FontStyle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_FirstOfMonthLabelFontStyle(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::FirstOfMonthLabelFontWeight() const { winrt::Windows::UI::Text::FontWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_FirstOfMonthLabelFontWeight(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::FirstOfMonthLabelFontWeight(winrt::Windows::UI::Text::FontWeight const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_FirstOfMonthLabelFontWeight(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::MonthYearItemFontFamily() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_MonthYearItemFontFamily(&value)); return winrt::Microsoft::UI::Xaml::Media::FontFamily{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::MonthYearItemFontFamily(winrt::Microsoft::UI::Xaml::Media::FontFamily const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_MonthYearItemFontFamily(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::MonthYearItemFontSize() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_MonthYearItemFontSize(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::MonthYearItemFontSize(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_MonthYearItemFontSize(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::MonthYearItemFontStyle() const { winrt::Windows::UI::Text::FontStyle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_MonthYearItemFontStyle(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::MonthYearItemFontStyle(winrt::Windows::UI::Text::FontStyle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_MonthYearItemFontStyle(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::MonthYearItemFontWeight() const { winrt::Windows::UI::Text::FontWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_MonthYearItemFontWeight(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::MonthYearItemFontWeight(winrt::Windows::UI::Text::FontWeight const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_MonthYearItemFontWeight(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::FirstOfYearDecadeLabelFontFamily() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_FirstOfYearDecadeLabelFontFamily(&value)); return winrt::Microsoft::UI::Xaml::Media::FontFamily{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::FirstOfYearDecadeLabelFontFamily(winrt::Microsoft::UI::Xaml::Media::FontFamily const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_FirstOfYearDecadeLabelFontFamily(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::FirstOfYearDecadeLabelFontSize() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_FirstOfYearDecadeLabelFontSize(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::FirstOfYearDecadeLabelFontSize(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_FirstOfYearDecadeLabelFontSize(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::FirstOfYearDecadeLabelFontStyle() const { winrt::Windows::UI::Text::FontStyle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_FirstOfYearDecadeLabelFontStyle(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::FirstOfYearDecadeLabelFontStyle(winrt::Windows::UI::Text::FontStyle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_FirstOfYearDecadeLabelFontStyle(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::FirstOfYearDecadeLabelFontWeight() const { winrt::Windows::UI::Text::FontWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_FirstOfYearDecadeLabelFontWeight(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::FirstOfYearDecadeLabelFontWeight(winrt::Windows::UI::Text::FontWeight const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_FirstOfYearDecadeLabelFontWeight(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::DayItemMargin() const { winrt::Microsoft::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_DayItemMargin(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::DayItemMargin(winrt::Microsoft::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_DayItemMargin(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::MonthYearItemMargin() const { winrt::Microsoft::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_MonthYearItemMargin(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::MonthYearItemMargin(winrt::Microsoft::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_MonthYearItemMargin(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::FirstOfMonthLabelMargin() const { winrt::Microsoft::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_FirstOfMonthLabelMargin(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::FirstOfMonthLabelMargin(winrt::Microsoft::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_FirstOfMonthLabelMargin(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::FirstOfYearDecadeLabelMargin() const { winrt::Microsoft::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_FirstOfYearDecadeLabelMargin(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::FirstOfYearDecadeLabelMargin(winrt::Microsoft::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_FirstOfYearDecadeLabelMargin(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::HorizontalDayItemAlignment() const { winrt::Microsoft::UI::Xaml::HorizontalAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_HorizontalDayItemAlignment(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::HorizontalDayItemAlignment(winrt::Microsoft::UI::Xaml::HorizontalAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_HorizontalDayItemAlignment(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::VerticalDayItemAlignment() const { winrt::Microsoft::UI::Xaml::VerticalAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_VerticalDayItemAlignment(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::VerticalDayItemAlignment(winrt::Microsoft::UI::Xaml::VerticalAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_VerticalDayItemAlignment(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::HorizontalFirstOfMonthLabelAlignment() const { winrt::Microsoft::UI::Xaml::HorizontalAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_HorizontalFirstOfMonthLabelAlignment(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::HorizontalFirstOfMonthLabelAlignment(winrt::Microsoft::UI::Xaml::HorizontalAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_HorizontalFirstOfMonthLabelAlignment(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::VerticalFirstOfMonthLabelAlignment() const { winrt::Microsoft::UI::Xaml::VerticalAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_VerticalFirstOfMonthLabelAlignment(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::VerticalFirstOfMonthLabelAlignment(winrt::Microsoft::UI::Xaml::VerticalAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_VerticalFirstOfMonthLabelAlignment(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::CalendarItemBorderThickness() const { winrt::Microsoft::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_CalendarItemBorderThickness(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::CalendarItemBorderThickness(winrt::Microsoft::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_CalendarItemBorderThickness(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::CalendarViewDayItemStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_CalendarViewDayItemStyle(&value)); return winrt::Microsoft::UI::Xaml::Style{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::CalendarViewDayItemStyle(winrt::Microsoft::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_CalendarViewDayItemStyle(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::CalendarItemCornerRadius() const { winrt::Microsoft::UI::Xaml::CornerRadius value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->get_CalendarItemCornerRadius(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::CalendarItemCornerRadius(winrt::Microsoft::UI::Xaml::CornerRadius const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->put_CalendarItemCornerRadius(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::CalendarViewDayItemChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->add_CalendarViewDayItemChanging(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::CalendarViewDayItemChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CalendarViewDayItemChanging(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::CalendarViewDayItemChanging(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->remove_CalendarViewDayItemChanging(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::SelectedDatesChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->add_SelectedDatesChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::SelectedDatesChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SelectedDatesChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::SelectedDatesChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->remove_SelectedDatesChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::SetDisplayDate(winrt::Windows::Foundation::DateTime const& date) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->SetDisplayDate(impl::bind_in(date))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarView::SetYearDecadeDisplayDimensions(int32_t columns, int32_t rows) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarView)->SetYearDecadeDisplayDimensions(columns, rows)); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewDayItem::IsBlackout() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewDayItem)->get_IsBlackout(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewDayItem::IsBlackout(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewDayItem)->put_IsBlackout(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewDayItem::Date() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewDayItem)->get_Date(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewDayItem::SetDensityColors(param::iterable const& colors) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewDayItem)->SetDensityColors(*(void**)(&colors))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewDayItemChangingEventArgs::InRecycleQueue() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewDayItemChangingEventArgs)->get_InRecycleQueue(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewDayItemChangingEventArgs::Item() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewDayItemChangingEventArgs)->get_Item(&value)); return winrt::Microsoft::UI::Xaml::Controls::CalendarViewDayItem{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewDayItemChangingEventArgs::Phase() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewDayItemChangingEventArgs)->get_Phase(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewDayItemChangingEventArgs::RegisterUpdateCallback(winrt::Windows::Foundation::TypedEventHandler const& callback) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewDayItemChangingEventArgs)->RegisterUpdateCallback(*(void**)(&callback))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewDayItemChangingEventArgs::RegisterUpdateCallback(uint32_t callbackPhase, winrt::Windows::Foundation::TypedEventHandler const& callback) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewDayItemChangingEventArgs)->RegisterUpdateCallbackWithPhase(callbackPhase, *(void**)(&callback))); } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewDayItemFactory::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::ICalendarViewDayItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::CalendarViewDayItem{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewDayItemStatics::IsBlackoutProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewDayItemStatics)->get_IsBlackoutProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewDayItemStatics::DateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewDayItemStatics)->get_DateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewFactory::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::ICalendarViewFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::CalendarView{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewSelectedDatesChangedEventArgs::AddedDates() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewSelectedDatesChangedEventArgs)->get_AddedDates(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewSelectedDatesChangedEventArgs::RemovedDates() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewSelectedDatesChangedEventArgs)->get_RemovedDates(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::CalendarIdentifierProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_CalendarIdentifierProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::DayOfWeekFormatProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_DayOfWeekFormatProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::IsGroupLabelVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_IsGroupLabelVisibleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::DisplayModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_DisplayModeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::FirstDayOfWeekProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_FirstDayOfWeekProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::IsOutOfScopeEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_IsOutOfScopeEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::IsTodayHighlightedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_IsTodayHighlightedProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::MaxDateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_MaxDateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::MinDateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_MinDateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::NumberOfWeeksInViewProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_NumberOfWeeksInViewProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::SelectedDatesProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_SelectedDatesProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::SelectionModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_SelectionModeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::TemplateSettingsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_TemplateSettingsProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::FocusBorderBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_FocusBorderBrushProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::SelectedHoverBorderBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_SelectedHoverBorderBrushProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::SelectedPressedBorderBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_SelectedPressedBorderBrushProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::SelectedDisabledBorderBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_SelectedDisabledBorderBrushProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::SelectedBorderBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_SelectedBorderBrushProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::HoverBorderBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_HoverBorderBrushProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::PressedBorderBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_PressedBorderBrushProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::TodaySelectedInnerBorderBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_TodaySelectedInnerBorderBrushProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::BlackoutStrikethroughBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_BlackoutStrikethroughBrushProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::CalendarItemBorderBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_CalendarItemBorderBrushProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::BlackoutBackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_BlackoutBackgroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::OutOfScopeBackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_OutOfScopeBackgroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::CalendarItemBackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_CalendarItemBackgroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::CalendarItemHoverBackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_CalendarItemHoverBackgroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::CalendarItemPressedBackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_CalendarItemPressedBackgroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::CalendarItemDisabledBackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_CalendarItemDisabledBackgroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::TodayBackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_TodayBackgroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::TodayBlackoutBackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_TodayBlackoutBackgroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::TodayHoverBackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_TodayHoverBackgroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::TodayPressedBackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_TodayPressedBackgroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::TodayDisabledBackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_TodayDisabledBackgroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::PressedForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_PressedForegroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::TodayForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_TodayForegroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::BlackoutForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_BlackoutForegroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::TodayBlackoutForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_TodayBlackoutForegroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::SelectedForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_SelectedForegroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::SelectedHoverForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_SelectedHoverForegroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::SelectedPressedForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_SelectedPressedForegroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::SelectedDisabledForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_SelectedDisabledForegroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::OutOfScopeForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_OutOfScopeForegroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::OutOfScopeHoverForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_OutOfScopeHoverForegroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::OutOfScopePressedForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_OutOfScopePressedForegroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::CalendarItemForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_CalendarItemForegroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::DisabledForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_DisabledForegroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::DayItemFontFamilyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_DayItemFontFamilyProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::DayItemFontSizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_DayItemFontSizeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::DayItemFontStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_DayItemFontStyleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::DayItemFontWeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_DayItemFontWeightProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::TodayFontWeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_TodayFontWeightProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::FirstOfMonthLabelFontFamilyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_FirstOfMonthLabelFontFamilyProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::FirstOfMonthLabelFontSizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_FirstOfMonthLabelFontSizeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::FirstOfMonthLabelFontStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_FirstOfMonthLabelFontStyleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::FirstOfMonthLabelFontWeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_FirstOfMonthLabelFontWeightProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::MonthYearItemFontFamilyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_MonthYearItemFontFamilyProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::MonthYearItemFontSizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_MonthYearItemFontSizeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::MonthYearItemFontStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_MonthYearItemFontStyleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::MonthYearItemFontWeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_MonthYearItemFontWeightProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::FirstOfYearDecadeLabelFontFamilyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_FirstOfYearDecadeLabelFontFamilyProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::FirstOfYearDecadeLabelFontSizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_FirstOfYearDecadeLabelFontSizeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::FirstOfYearDecadeLabelFontStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_FirstOfYearDecadeLabelFontStyleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::FirstOfYearDecadeLabelFontWeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_FirstOfYearDecadeLabelFontWeightProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::DayItemMarginProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_DayItemMarginProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::MonthYearItemMarginProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_MonthYearItemMarginProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::FirstOfMonthLabelMarginProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_FirstOfMonthLabelMarginProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::FirstOfYearDecadeLabelMarginProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_FirstOfYearDecadeLabelMarginProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::HorizontalDayItemAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_HorizontalDayItemAlignmentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::VerticalDayItemAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_VerticalDayItemAlignmentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::HorizontalFirstOfMonthLabelAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_HorizontalFirstOfMonthLabelAlignmentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::VerticalFirstOfMonthLabelAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_VerticalFirstOfMonthLabelAlignmentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::CalendarItemBorderThicknessProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_CalendarItemBorderThicknessProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::CalendarViewDayItemStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_CalendarViewDayItemStyleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICalendarViewStatics::CalendarItemCornerRadiusProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICalendarViewStatics)->get_CalendarItemCornerRadiusProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICandidateWindowBoundsChangedEventArgs::Bounds() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICandidateWindowBoundsChangedEventArgs)->get_Bounds(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICanvasFactory::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::ICanvasFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::Canvas{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICanvasStatics::LeftProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICanvasStatics)->get_LeftProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICanvasStatics::GetLeft(winrt::Microsoft::UI::Xaml::UIElement const& element) const { double result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICanvasStatics)->GetLeft(*(void**)(&element), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_ICanvasStatics::SetLeft(winrt::Microsoft::UI::Xaml::UIElement const& element, double length) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICanvasStatics)->SetLeft(*(void**)(&element), length)); } template auto consume_Microsoft_UI_Xaml_Controls_ICanvasStatics::TopProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICanvasStatics)->get_TopProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICanvasStatics::GetTop(winrt::Microsoft::UI::Xaml::UIElement const& element) const { double result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICanvasStatics)->GetTop(*(void**)(&element), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_ICanvasStatics::SetTop(winrt::Microsoft::UI::Xaml::UIElement const& element, double length) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICanvasStatics)->SetTop(*(void**)(&element), length)); } template auto consume_Microsoft_UI_Xaml_Controls_ICanvasStatics::ZIndexProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICanvasStatics)->get_ZIndexProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICanvasStatics::GetZIndex(winrt::Microsoft::UI::Xaml::UIElement const& element) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICanvasStatics)->GetZIndex(*(void**)(&element), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_ICanvasStatics::SetZIndex(winrt::Microsoft::UI::Xaml::UIElement const& element, int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICanvasStatics)->SetZIndex(*(void**)(&element), value)); } template auto consume_Microsoft_UI_Xaml_Controls_ICheckBoxFactory::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::ICheckBoxFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::CheckBox{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IChoosingGroupHeaderContainerEventArgs::GroupHeaderContainer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IChoosingGroupHeaderContainerEventArgs)->get_GroupHeaderContainer(&value)); return winrt::Microsoft::UI::Xaml::Controls::ListViewBaseHeaderItem{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IChoosingGroupHeaderContainerEventArgs::GroupHeaderContainer(winrt::Microsoft::UI::Xaml::Controls::ListViewBaseHeaderItem const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IChoosingGroupHeaderContainerEventArgs)->put_GroupHeaderContainer(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IChoosingGroupHeaderContainerEventArgs::GroupIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IChoosingGroupHeaderContainerEventArgs)->get_GroupIndex(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IChoosingGroupHeaderContainerEventArgs::Group() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IChoosingGroupHeaderContainerEventArgs)->get_Group(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IChoosingItemContainerEventArgs::ItemIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IChoosingItemContainerEventArgs)->get_ItemIndex(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IChoosingItemContainerEventArgs::Item() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IChoosingItemContainerEventArgs)->get_Item(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IChoosingItemContainerEventArgs::ItemContainer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IChoosingItemContainerEventArgs)->get_ItemContainer(&value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::SelectorItem{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IChoosingItemContainerEventArgs::ItemContainer(winrt::Microsoft::UI::Xaml::Controls::Primitives::SelectorItem const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IChoosingItemContainerEventArgs)->put_ItemContainer(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IChoosingItemContainerEventArgs::IsContainerPrepared() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IChoosingItemContainerEventArgs)->get_IsContainerPrepared(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IChoosingItemContainerEventArgs::IsContainerPrepared(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IChoosingItemContainerEventArgs)->put_IsContainerPrepared(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ICleanUpVirtualizedItemEventArgs::Value() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICleanUpVirtualizedItemEventArgs)->get_Value(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICleanUpVirtualizedItemEventArgs::UIElement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICleanUpVirtualizedItemEventArgs)->get_UIElement(&value)); return winrt::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICleanUpVirtualizedItemEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICleanUpVirtualizedItemEventArgs)->get_Cancel(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICleanUpVirtualizedItemEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICleanUpVirtualizedItemEventArgs)->put_Cancel(value)); } 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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IColumnDefinition::Width() const { winrt::Microsoft::UI::Xaml::GridLength value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColumnDefinition)->get_Width(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IColumnDefinition::Width(winrt::Microsoft::UI::Xaml::GridLength const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColumnDefinition)->put_Width(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IColumnDefinition::MaxWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColumnDefinition)->get_MaxWidth(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IColumnDefinition::MaxWidth(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColumnDefinition)->put_MaxWidth(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IColumnDefinition::MinWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColumnDefinition)->get_MinWidth(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IColumnDefinition::MinWidth(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColumnDefinition)->put_MinWidth(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IColumnDefinition::ActualWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColumnDefinition)->get_ActualWidth(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IColumnDefinitionStatics::WidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColumnDefinitionStatics)->get_WidthProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IColumnDefinitionStatics::MaxWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColumnDefinitionStatics)->get_MaxWidthProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IColumnDefinitionStatics::MinWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IColumnDefinitionStatics)->get_MinWidthProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::IsDropDownOpen() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->get_IsDropDownOpen(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::IsDropDownOpen(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->put_IsDropDownOpen(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::IsEditable() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->get_IsEditable(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::IsEditable(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->put_IsEditable(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::IsSelectionBoxHighlighted() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->get_IsSelectionBoxHighlighted(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::MaxDropDownHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->get_MaxDropDownHeight(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::MaxDropDownHeight(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->put_MaxDropDownHeight(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::SelectionBoxItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->get_SelectionBoxItem(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::SelectionBoxItemTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->get_SelectionBoxItemTemplate(&value)); return winrt::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->get_TemplateSettings(&value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::ComboBoxTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->put_Header(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->get_HeaderTemplate(&value)); return winrt::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::HeaderTemplate(winrt::Microsoft::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->put_HeaderTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::PlaceholderText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->get_PlaceholderText(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::PlaceholderText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->put_PlaceholderText(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::LightDismissOverlayMode() const { winrt::Microsoft::UI::Xaml::Controls::LightDismissOverlayMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->get_LightDismissOverlayMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::LightDismissOverlayMode(winrt::Microsoft::UI::Xaml::Controls::LightDismissOverlayMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->put_LightDismissOverlayMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::IsTextSearchEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->get_IsTextSearchEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::IsTextSearchEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->put_IsTextSearchEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::SelectionChangedTrigger() const { winrt::Microsoft::UI::Xaml::Controls::ComboBoxSelectionChangedTrigger value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->get_SelectionChangedTrigger(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::SelectionChangedTrigger(winrt::Microsoft::UI::Xaml::Controls::ComboBoxSelectionChangedTrigger const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->put_SelectionChangedTrigger(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::PlaceholderForeground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->get_PlaceholderForeground(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::PlaceholderForeground(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->put_PlaceholderForeground(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::Text(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->put_Text(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::TextBoxStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->get_TextBoxStyle(&value)); return winrt::Microsoft::UI::Xaml::Style{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::TextBoxStyle(winrt::Microsoft::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->put_TextBoxStyle(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->get_Description(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::Description(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->put_Description(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::DropDownClosed(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->add_DropDownClosed(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::DropDownClosed(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, DropDownClosed(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::DropDownClosed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->remove_DropDownClosed(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::DropDownOpened(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->add_DropDownOpened(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::DropDownOpened(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, DropDownOpened(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::DropDownOpened(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->remove_DropDownOpened(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::TextSubmitted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->add_TextSubmitted(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::TextSubmitted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TextSubmitted(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IComboBox::TextSubmitted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBox)->remove_TextSubmitted(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IComboBoxFactory::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::IComboBoxFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::ComboBox{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBoxItemFactory::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::IComboBoxItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::ComboBoxItem{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBoxOverrides::OnDropDownClosed(winrt::Windows::Foundation::IInspectable const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBoxOverrides)->OnDropDownClosed(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IComboBoxOverrides::OnDropDownOpened(winrt::Windows::Foundation::IInspectable const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBoxOverrides)->OnDropDownOpened(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IComboBoxStatics::IsEditableProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBoxStatics)->get_IsEditableProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBoxStatics::IsDropDownOpenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBoxStatics)->get_IsDropDownOpenProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBoxStatics::MaxDropDownHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBoxStatics)->get_MaxDropDownHeightProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBoxStatics::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBoxStatics)->get_HeaderProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBoxStatics::HeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBoxStatics)->get_HeaderTemplateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBoxStatics::PlaceholderTextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBoxStatics)->get_PlaceholderTextProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBoxStatics::LightDismissOverlayModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBoxStatics)->get_LightDismissOverlayModeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBoxStatics::IsTextSearchEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBoxStatics)->get_IsTextSearchEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBoxStatics::SelectionChangedTriggerProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBoxStatics)->get_SelectionChangedTriggerProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBoxStatics::PlaceholderForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBoxStatics)->get_PlaceholderForegroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBoxStatics::TextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBoxStatics)->get_TextProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBoxStatics::TextBoxStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBoxStatics)->get_TextBoxStyleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBoxStatics::DescriptionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBoxStatics)->get_DescriptionProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBoxTextSubmittedEventArgs::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBoxTextSubmittedEventArgs)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBoxTextSubmittedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBoxTextSubmittedEventArgs)->get_Handled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IComboBoxTextSubmittedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IComboBoxTextSubmittedEventArgs)->put_Handled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ICommandBar::PrimaryCommands() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICommandBar)->get_PrimaryCommands(&value)); return winrt::Windows::Foundation::Collections::IObservableVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICommandBar::SecondaryCommands() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICommandBar)->get_SecondaryCommands(&value)); return winrt::Windows::Foundation::Collections::IObservableVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICommandBar::CommandBarOverflowPresenterStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICommandBar)->get_CommandBarOverflowPresenterStyle(&value)); return winrt::Microsoft::UI::Xaml::Style{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICommandBar::CommandBarOverflowPresenterStyle(winrt::Microsoft::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICommandBar)->put_CommandBarOverflowPresenterStyle(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICommandBar::CommandBarTemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICommandBar)->get_CommandBarTemplateSettings(&value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::CommandBarTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICommandBar::DefaultLabelPosition() const { winrt::Microsoft::UI::Xaml::Controls::CommandBarDefaultLabelPosition value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICommandBar)->get_DefaultLabelPosition(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICommandBar::DefaultLabelPosition(winrt::Microsoft::UI::Xaml::Controls::CommandBarDefaultLabelPosition const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICommandBar)->put_DefaultLabelPosition(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICommandBar::OverflowButtonVisibility() const { winrt::Microsoft::UI::Xaml::Controls::CommandBarOverflowButtonVisibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICommandBar)->get_OverflowButtonVisibility(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICommandBar::OverflowButtonVisibility(winrt::Microsoft::UI::Xaml::Controls::CommandBarOverflowButtonVisibility const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICommandBar)->put_OverflowButtonVisibility(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ICommandBar::IsDynamicOverflowEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICommandBar)->get_IsDynamicOverflowEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICommandBar::IsDynamicOverflowEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICommandBar)->put_IsDynamicOverflowEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ICommandBar::DynamicOverflowItemsChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICommandBar)->add_DynamicOverflowItemsChanging(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ICommandBar::DynamicOverflowItemsChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DynamicOverflowItemsChanging(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ICommandBar::DynamicOverflowItemsChanging(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICommandBar)->remove_DynamicOverflowItemsChanging(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ICommandBarElement::IsCompact() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICommandBarElement)->get_IsCompact(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICommandBarElement::IsCompact(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICommandBarElement)->put_IsCompact(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ICommandBarElement::IsInOverflow() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICommandBarElement)->get_IsInOverflow(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICommandBarElement::DynamicOverflowOrder() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICommandBarElement)->get_DynamicOverflowOrder(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ICommandBarElement::DynamicOverflowOrder(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICommandBarElement)->put_DynamicOverflowOrder(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ICommandBarFactory::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::ICommandBarFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::CommandBar{ 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_ICommandBarOverflowPresenterFactory::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::ICommandBarOverflowPresenterFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::CommandBarOverflowPresenter{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICommandBarStatics::PrimaryCommandsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICommandBarStatics)->get_PrimaryCommandsProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICommandBarStatics::SecondaryCommandsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICommandBarStatics)->get_SecondaryCommandsProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICommandBarStatics::CommandBarOverflowPresenterStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICommandBarStatics)->get_CommandBarOverflowPresenterStyleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICommandBarStatics::DefaultLabelPositionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICommandBarStatics)->get_DefaultLabelPositionProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICommandBarStatics::OverflowButtonVisibilityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICommandBarStatics)->get_OverflowButtonVisibilityProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ICommandBarStatics::IsDynamicOverflowEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ICommandBarStatics)->get_IsDynamicOverflowEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContainerContentChangingEventArgs::ItemContainer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContainerContentChangingEventArgs)->get_ItemContainer(&value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::SelectorItem{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContainerContentChangingEventArgs::InRecycleQueue() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContainerContentChangingEventArgs)->get_InRecycleQueue(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IContainerContentChangingEventArgs::ItemIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContainerContentChangingEventArgs)->get_ItemIndex(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IContainerContentChangingEventArgs::Item() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContainerContentChangingEventArgs)->get_Item(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContainerContentChangingEventArgs::Phase() const { uint32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContainerContentChangingEventArgs)->get_Phase(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IContainerContentChangingEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContainerContentChangingEventArgs)->get_Handled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IContainerContentChangingEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContainerContentChangingEventArgs)->put_Handled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IContainerContentChangingEventArgs::RegisterUpdateCallback(winrt::Windows::Foundation::TypedEventHandler const& callback) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContainerContentChangingEventArgs)->RegisterUpdateCallback(*(void**)(&callback))); } template auto consume_Microsoft_UI_Xaml_Controls_IContainerContentChangingEventArgs::RegisterUpdateCallback(uint32_t callbackPhase, winrt::Windows::Foundation::TypedEventHandler const& callback) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContainerContentChangingEventArgs)->RegisterUpdateCallbackWithPhase(callbackPhase, *(void**)(&callback))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentControl::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentControl)->get_Content(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentControl::Content(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentControl)->put_Content(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentControl::ContentTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentControl)->get_ContentTemplate(&value)); return winrt::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentControl::ContentTemplate(winrt::Microsoft::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentControl)->put_ContentTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentControl::ContentTemplateSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentControl)->get_ContentTemplateSelector(&value)); return winrt::Microsoft::UI::Xaml::Controls::DataTemplateSelector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentControl::ContentTemplateSelector(winrt::Microsoft::UI::Xaml::Controls::DataTemplateSelector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentControl)->put_ContentTemplateSelector(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentControl::ContentTransitions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentControl)->get_ContentTransitions(&value)); return winrt::Microsoft::UI::Xaml::Media::Animation::TransitionCollection{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentControl::ContentTransitions(winrt::Microsoft::UI::Xaml::Media::Animation::TransitionCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentControl)->put_ContentTransitions(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentControl::ContentTemplateRoot() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentControl)->get_ContentTemplateRoot(&value)); return winrt::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentControlFactory::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::IContentControlFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::ContentControl{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentControlOverrides::OnContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentControlOverrides)->OnContentChanged(*(void**)(&oldContent), *(void**)(&newContent))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentControlOverrides::OnContentTemplateChanged(winrt::Microsoft::UI::Xaml::DataTemplate const& oldContentTemplate, winrt::Microsoft::UI::Xaml::DataTemplate const& newContentTemplate) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentControlOverrides)->OnContentTemplateChanged(*(void**)(&oldContentTemplate), *(void**)(&newContentTemplate))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentControlOverrides::OnContentTemplateSelectorChanged(winrt::Microsoft::UI::Xaml::Controls::DataTemplateSelector const& oldContentTemplateSelector, winrt::Microsoft::UI::Xaml::Controls::DataTemplateSelector const& newContentTemplateSelector) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentControlOverrides)->OnContentTemplateSelectorChanged(*(void**)(&oldContentTemplateSelector), *(void**)(&newContentTemplateSelector))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentControlStatics::ContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentControlStatics)->get_ContentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentControlStatics::ContentTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentControlStatics)->get_ContentTemplateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentControlStatics::ContentTemplateSelectorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentControlStatics)->get_ContentTemplateSelectorProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentControlStatics::ContentTransitionsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentControlStatics)->get_ContentTransitionsProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->get_Title(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::Title(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->put_Title(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::TitleTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->get_TitleTemplate(&value)); return winrt::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::TitleTemplate(winrt::Microsoft::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->put_TitleTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::FullSizeDesired() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->get_FullSizeDesired(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::FullSizeDesired(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->put_FullSizeDesired(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::PrimaryButtonText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->get_PrimaryButtonText(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::PrimaryButtonText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->put_PrimaryButtonText(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::SecondaryButtonText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->get_SecondaryButtonText(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::SecondaryButtonText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->put_SecondaryButtonText(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::CloseButtonText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->get_CloseButtonText(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::CloseButtonText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->put_CloseButtonText(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::PrimaryButtonCommand() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->get_PrimaryButtonCommand(&value)); return winrt::Microsoft::UI::Xaml::Input::ICommand{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::PrimaryButtonCommand(winrt::Microsoft::UI::Xaml::Input::ICommand const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->put_PrimaryButtonCommand(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::SecondaryButtonCommand() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->get_SecondaryButtonCommand(&value)); return winrt::Microsoft::UI::Xaml::Input::ICommand{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::SecondaryButtonCommand(winrt::Microsoft::UI::Xaml::Input::ICommand const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->put_SecondaryButtonCommand(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::CloseButtonCommand() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->get_CloseButtonCommand(&value)); return winrt::Microsoft::UI::Xaml::Input::ICommand{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::CloseButtonCommand(winrt::Microsoft::UI::Xaml::Input::ICommand const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->put_CloseButtonCommand(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::PrimaryButtonCommandParameter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->get_PrimaryButtonCommandParameter(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::PrimaryButtonCommandParameter(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->put_PrimaryButtonCommandParameter(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::SecondaryButtonCommandParameter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->get_SecondaryButtonCommandParameter(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::SecondaryButtonCommandParameter(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->put_SecondaryButtonCommandParameter(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::CloseButtonCommandParameter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->get_CloseButtonCommandParameter(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::CloseButtonCommandParameter(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->put_CloseButtonCommandParameter(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::IsPrimaryButtonEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->get_IsPrimaryButtonEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::IsPrimaryButtonEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->put_IsPrimaryButtonEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::IsSecondaryButtonEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->get_IsSecondaryButtonEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::IsSecondaryButtonEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->put_IsSecondaryButtonEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::PrimaryButtonStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->get_PrimaryButtonStyle(&value)); return winrt::Microsoft::UI::Xaml::Style{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::PrimaryButtonStyle(winrt::Microsoft::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->put_PrimaryButtonStyle(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::SecondaryButtonStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->get_SecondaryButtonStyle(&value)); return winrt::Microsoft::UI::Xaml::Style{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::SecondaryButtonStyle(winrt::Microsoft::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->put_SecondaryButtonStyle(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::CloseButtonStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->get_CloseButtonStyle(&value)); return winrt::Microsoft::UI::Xaml::Style{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::CloseButtonStyle(winrt::Microsoft::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->put_CloseButtonStyle(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::DefaultButton() const { winrt::Microsoft::UI::Xaml::Controls::ContentDialogButton value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->get_DefaultButton(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::DefaultButton(winrt::Microsoft::UI::Xaml::Controls::ContentDialogButton const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->put_DefaultButton(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::Closing(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->add_Closing(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::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_IContentDialog::Closing(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->remove_Closing(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::Closed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->add_Closed(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::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_IContentDialog::Closed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->remove_Closed(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::Opened(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->add_Opened(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::Opened(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Opened(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::Opened(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->remove_Opened(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::PrimaryButtonClick(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->add_PrimaryButtonClick(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::PrimaryButtonClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PrimaryButtonClick(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::PrimaryButtonClick(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->remove_PrimaryButtonClick(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::SecondaryButtonClick(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->add_SecondaryButtonClick(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::SecondaryButtonClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SecondaryButtonClick(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::SecondaryButtonClick(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->remove_SecondaryButtonClick(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::CloseButtonClick(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->add_CloseButtonClick(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::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_IContentDialog::CloseButtonClick(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->remove_CloseButtonClick(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::Hide() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->Hide()); } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::ShowAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->ShowAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialog::ShowAsync(winrt::Microsoft::UI::Xaml::Controls::ContentDialogPlacement const& placement) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialog)->ShowAsyncWithPlacement(static_cast(placement), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialogButtonClickDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialogButtonClickDeferral)->Complete()); } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialogButtonClickEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialogButtonClickEventArgs)->get_Cancel(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialogButtonClickEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialogButtonClickEventArgs)->put_Cancel(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialogButtonClickEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialogButtonClickEventArgs)->GetDeferral(&result)); return winrt::Microsoft::UI::Xaml::Controls::ContentDialogButtonClickDeferral{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialogClosedEventArgs::Result() const { winrt::Microsoft::UI::Xaml::Controls::ContentDialogResult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialogClosedEventArgs)->get_Result(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialogClosingDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialogClosingDeferral)->Complete()); } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialogClosingEventArgs::Result() const { winrt::Microsoft::UI::Xaml::Controls::ContentDialogResult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialogClosingEventArgs)->get_Result(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialogClosingEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialogClosingEventArgs)->get_Cancel(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialogClosingEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialogClosingEventArgs)->put_Cancel(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialogClosingEventArgs::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialogClosingEventArgs)->GetDeferral(&result)); return winrt::Microsoft::UI::Xaml::Controls::ContentDialogClosingDeferral{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialogFactory::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::IContentDialogFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::ContentDialog{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialogStatics::TitleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialogStatics)->get_TitleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialogStatics::TitleTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialogStatics)->get_TitleTemplateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialogStatics::FullSizeDesiredProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialogStatics)->get_FullSizeDesiredProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialogStatics::PrimaryButtonTextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialogStatics)->get_PrimaryButtonTextProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialogStatics::SecondaryButtonTextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialogStatics)->get_SecondaryButtonTextProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialogStatics::CloseButtonTextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialogStatics)->get_CloseButtonTextProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialogStatics::PrimaryButtonCommandProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialogStatics)->get_PrimaryButtonCommandProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialogStatics::SecondaryButtonCommandProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialogStatics)->get_SecondaryButtonCommandProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialogStatics::CloseButtonCommandProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialogStatics)->get_CloseButtonCommandProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialogStatics::PrimaryButtonCommandParameterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialogStatics)->get_PrimaryButtonCommandParameterProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialogStatics::SecondaryButtonCommandParameterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialogStatics)->get_SecondaryButtonCommandParameterProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialogStatics::CloseButtonCommandParameterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialogStatics)->get_CloseButtonCommandParameterProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialogStatics::IsPrimaryButtonEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialogStatics)->get_IsPrimaryButtonEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialogStatics::IsSecondaryButtonEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialogStatics)->get_IsSecondaryButtonEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialogStatics::PrimaryButtonStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialogStatics)->get_PrimaryButtonStyleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialogStatics::SecondaryButtonStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialogStatics)->get_SecondaryButtonStyleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialogStatics::CloseButtonStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialogStatics)->get_CloseButtonStyleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentDialogStatics::DefaultButtonProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentDialogStatics)->get_DefaultButtonProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->get_Content(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::Content(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->put_Content(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::ContentTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->get_ContentTemplate(&value)); return winrt::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::ContentTemplate(winrt::Microsoft::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->put_ContentTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::ContentTemplateSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->get_ContentTemplateSelector(&value)); return winrt::Microsoft::UI::Xaml::Controls::DataTemplateSelector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::ContentTemplateSelector(winrt::Microsoft::UI::Xaml::Controls::DataTemplateSelector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->put_ContentTemplateSelector(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::ContentTransitions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->get_ContentTransitions(&value)); return winrt::Microsoft::UI::Xaml::Media::Animation::TransitionCollection{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::ContentTransitions(winrt::Microsoft::UI::Xaml::Media::Animation::TransitionCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->put_ContentTransitions(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::FontSize() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->get_FontSize(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::FontSize(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->put_FontSize(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::FontFamily() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->get_FontFamily(&value)); return winrt::Microsoft::UI::Xaml::Media::FontFamily{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::FontFamily(winrt::Microsoft::UI::Xaml::Media::FontFamily const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->put_FontFamily(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::FontWeight() const { winrt::Windows::UI::Text::FontWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->get_FontWeight(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->put_FontWeight(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::FontStyle() const { winrt::Windows::UI::Text::FontStyle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->get_FontStyle(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->put_FontStyle(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::FontStretch() const { winrt::Windows::UI::Text::FontStretch value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->get_FontStretch(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->put_FontStretch(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::CharacterSpacing() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->get_CharacterSpacing(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::CharacterSpacing(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->put_CharacterSpacing(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::Foreground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->get_Foreground(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::Foreground(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->put_Foreground(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::OpticalMarginAlignment() const { winrt::Microsoft::UI::Xaml::OpticalMarginAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->get_OpticalMarginAlignment(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::OpticalMarginAlignment(winrt::Microsoft::UI::Xaml::OpticalMarginAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->put_OpticalMarginAlignment(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::TextLineBounds() const { winrt::Microsoft::UI::Xaml::TextLineBounds value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->get_TextLineBounds(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::TextLineBounds(winrt::Microsoft::UI::Xaml::TextLineBounds const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->put_TextLineBounds(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::IsTextScaleFactorEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->get_IsTextScaleFactorEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::IsTextScaleFactorEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->put_IsTextScaleFactorEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::BackgroundTransition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->get_BackgroundTransition(&value)); return winrt::Microsoft::UI::Xaml::BrushTransition{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::BackgroundTransition(winrt::Microsoft::UI::Xaml::BrushTransition const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->put_BackgroundTransition(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::TextWrapping() const { winrt::Microsoft::UI::Xaml::TextWrapping value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->get_TextWrapping(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::TextWrapping(winrt::Microsoft::UI::Xaml::TextWrapping const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->put_TextWrapping(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::MaxLines() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->get_MaxLines(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::MaxLines(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->put_MaxLines(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::LineStackingStrategy() const { winrt::Microsoft::UI::Xaml::LineStackingStrategy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->get_LineStackingStrategy(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::LineStackingStrategy(winrt::Microsoft::UI::Xaml::LineStackingStrategy const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->put_LineStackingStrategy(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::LineHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->get_LineHeight(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::LineHeight(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->put_LineHeight(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::BorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->get_BorderBrush(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::BorderBrush(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->put_BorderBrush(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::BorderThickness() const { winrt::Microsoft::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->get_BorderThickness(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::BorderThickness(winrt::Microsoft::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->put_BorderThickness(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::CornerRadius() const { winrt::Microsoft::UI::Xaml::CornerRadius value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->get_CornerRadius(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::CornerRadius(winrt::Microsoft::UI::Xaml::CornerRadius const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->put_CornerRadius(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::Padding() const { winrt::Microsoft::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->get_Padding(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::Padding(winrt::Microsoft::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->put_Padding(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::Background() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->get_Background(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::Background(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->put_Background(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::BackgroundSizing() const { winrt::Microsoft::UI::Xaml::Controls::BackgroundSizing value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->get_BackgroundSizing(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::BackgroundSizing(winrt::Microsoft::UI::Xaml::Controls::BackgroundSizing const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->put_BackgroundSizing(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::HorizontalContentAlignment() const { winrt::Microsoft::UI::Xaml::HorizontalAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->get_HorizontalContentAlignment(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::HorizontalContentAlignment(winrt::Microsoft::UI::Xaml::HorizontalAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->put_HorizontalContentAlignment(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::VerticalContentAlignment() const { winrt::Microsoft::UI::Xaml::VerticalAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->get_VerticalContentAlignment(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenter::VerticalContentAlignment(winrt::Microsoft::UI::Xaml::VerticalAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenter)->put_VerticalContentAlignment(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenterFactory::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::IContentPresenterFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::ContentPresenter{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenterOverrides::OnContentTemplateChanged(winrt::Microsoft::UI::Xaml::DataTemplate const& oldContentTemplate, winrt::Microsoft::UI::Xaml::DataTemplate const& newContentTemplate) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenterOverrides)->OnContentTemplateChanged(*(void**)(&oldContentTemplate), *(void**)(&newContentTemplate))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenterOverrides::OnContentTemplateSelectorChanged(winrt::Microsoft::UI::Xaml::Controls::DataTemplateSelector const& oldContentTemplateSelector, winrt::Microsoft::UI::Xaml::Controls::DataTemplateSelector const& newContentTemplateSelector) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenterOverrides)->OnContentTemplateSelectorChanged(*(void**)(&oldContentTemplateSelector), *(void**)(&newContentTemplateSelector))); } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenterStatics::ContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenterStatics)->get_ContentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenterStatics::ContentTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenterStatics)->get_ContentTemplateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenterStatics::ContentTemplateSelectorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenterStatics)->get_ContentTemplateSelectorProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenterStatics::ContentTransitionsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenterStatics)->get_ContentTransitionsProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenterStatics::FontSizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenterStatics)->get_FontSizeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenterStatics::FontFamilyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenterStatics)->get_FontFamilyProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenterStatics::FontWeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenterStatics)->get_FontWeightProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenterStatics::FontStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenterStatics)->get_FontStyleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenterStatics::FontStretchProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenterStatics)->get_FontStretchProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenterStatics::CharacterSpacingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenterStatics)->get_CharacterSpacingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenterStatics::ForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenterStatics)->get_ForegroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenterStatics::OpticalMarginAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenterStatics)->get_OpticalMarginAlignmentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenterStatics::TextLineBoundsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenterStatics)->get_TextLineBoundsProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenterStatics::IsTextScaleFactorEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenterStatics)->get_IsTextScaleFactorEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenterStatics::TextWrappingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenterStatics)->get_TextWrappingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenterStatics::MaxLinesProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenterStatics)->get_MaxLinesProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenterStatics::LineStackingStrategyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenterStatics)->get_LineStackingStrategyProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenterStatics::LineHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenterStatics)->get_LineHeightProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenterStatics::BorderBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenterStatics)->get_BorderBrushProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenterStatics::BorderThicknessProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenterStatics)->get_BorderThicknessProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenterStatics::CornerRadiusProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenterStatics)->get_CornerRadiusProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenterStatics::PaddingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenterStatics)->get_PaddingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenterStatics::BackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenterStatics)->get_BackgroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenterStatics::BackgroundSizingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenterStatics)->get_BackgroundSizingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenterStatics::HorizontalContentAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenterStatics)->get_HorizontalContentAlignmentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContentPresenterStatics::VerticalContentAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContentPresenterStatics)->get_VerticalContentAlignmentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IContextMenuEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContextMenuEventArgs)->get_Handled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IContextMenuEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContextMenuEventArgs)->put_Handled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IContextMenuEventArgs::CursorLeft() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContextMenuEventArgs)->get_CursorLeft(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IContextMenuEventArgs::CursorTop() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IContextMenuEventArgs)->get_CursorTop(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IControl::IsFocusEngagementEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->get_IsFocusEngagementEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IControl::IsFocusEngagementEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->put_IsFocusEngagementEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IControl::IsFocusEngaged() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->get_IsFocusEngaged(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IControl::IsFocusEngaged(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->put_IsFocusEngaged(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IControl::RequiresPointer() const { winrt::Microsoft::UI::Xaml::Controls::RequiresPointer value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->get_RequiresPointer(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IControl::RequiresPointer(winrt::Microsoft::UI::Xaml::Controls::RequiresPointer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->put_RequiresPointer(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IControl::FontSize() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->get_FontSize(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IControl::FontSize(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->put_FontSize(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IControl::FontFamily() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->get_FontFamily(&value)); return winrt::Microsoft::UI::Xaml::Media::FontFamily{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControl::FontFamily(winrt::Microsoft::UI::Xaml::Media::FontFamily const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->put_FontFamily(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IControl::FontWeight() const { winrt::Windows::UI::Text::FontWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->get_FontWeight(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IControl::FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->put_FontWeight(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IControl::FontStyle() const { winrt::Windows::UI::Text::FontStyle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->get_FontStyle(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IControl::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->put_FontStyle(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IControl::FontStretch() const { winrt::Windows::UI::Text::FontStretch value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->get_FontStretch(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IControl::FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->put_FontStretch(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IControl::CharacterSpacing() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->get_CharacterSpacing(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IControl::CharacterSpacing(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->put_CharacterSpacing(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IControl::Foreground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->get_Foreground(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControl::Foreground(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->put_Foreground(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IControl::IsTextScaleFactorEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->get_IsTextScaleFactorEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IControl::IsTextScaleFactorEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->put_IsTextScaleFactorEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IControl::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->get_IsEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IControl::IsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->put_IsEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IControl::TabNavigation() const { winrt::Microsoft::UI::Xaml::Input::KeyboardNavigationMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->get_TabNavigation(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IControl::TabNavigation(winrt::Microsoft::UI::Xaml::Input::KeyboardNavigationMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->put_TabNavigation(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IControl::Template() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->get_Template(&value)); return winrt::Microsoft::UI::Xaml::Controls::ControlTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControl::Template(winrt::Microsoft::UI::Xaml::Controls::ControlTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->put_Template(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IControl::Padding() const { winrt::Microsoft::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->get_Padding(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IControl::Padding(winrt::Microsoft::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->put_Padding(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IControl::HorizontalContentAlignment() const { winrt::Microsoft::UI::Xaml::HorizontalAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->get_HorizontalContentAlignment(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IControl::HorizontalContentAlignment(winrt::Microsoft::UI::Xaml::HorizontalAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->put_HorizontalContentAlignment(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IControl::VerticalContentAlignment() const { winrt::Microsoft::UI::Xaml::VerticalAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->get_VerticalContentAlignment(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IControl::VerticalContentAlignment(winrt::Microsoft::UI::Xaml::VerticalAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->put_VerticalContentAlignment(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IControl::Background() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->get_Background(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControl::Background(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->put_Background(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IControl::BackgroundSizing() const { winrt::Microsoft::UI::Xaml::Controls::BackgroundSizing value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->get_BackgroundSizing(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IControl::BackgroundSizing(winrt::Microsoft::UI::Xaml::Controls::BackgroundSizing const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->put_BackgroundSizing(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IControl::BorderThickness() const { winrt::Microsoft::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->get_BorderThickness(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IControl::BorderThickness(winrt::Microsoft::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->put_BorderThickness(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IControl::BorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->get_BorderBrush(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControl::BorderBrush(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->put_BorderBrush(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IControl::DefaultStyleResourceUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->get_DefaultStyleResourceUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControl::DefaultStyleResourceUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->put_DefaultStyleResourceUri(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IControl::ElementSoundMode() const { winrt::Microsoft::UI::Xaml::ElementSoundMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->get_ElementSoundMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IControl::ElementSoundMode(winrt::Microsoft::UI::Xaml::ElementSoundMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->put_ElementSoundMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IControl::CornerRadius() const { winrt::Microsoft::UI::Xaml::CornerRadius value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->get_CornerRadius(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IControl::CornerRadius(winrt::Microsoft::UI::Xaml::CornerRadius const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->put_CornerRadius(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IControl::FocusEngaged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->add_FocusEngaged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IControl::FocusEngaged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, FocusEngaged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IControl::FocusEngaged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->remove_FocusEngaged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IControl::FocusDisengaged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->add_FocusDisengaged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IControl::FocusDisengaged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, FocusDisengaged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IControl::FocusDisengaged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->remove_FocusDisengaged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IControl::IsEnabledChanged(winrt::Microsoft::UI::Xaml::DependencyPropertyChangedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->add_IsEnabledChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IControl::IsEnabledChanged(auto_revoke_t, winrt::Microsoft::UI::Xaml::DependencyPropertyChangedEventHandler const& handler) const { return impl::make_event_revoker(this, IsEnabledChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IControl::IsEnabledChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->remove_IsEnabledChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IControl::RemoveFocusEngagement() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->RemoveFocusEngagement()); } template auto consume_Microsoft_UI_Xaml_Controls_IControl::ApplyTemplate() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControl)->ApplyTemplate(&result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IControlFactory::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::IControlFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::Control{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControlOverrides::OnPointerEntered(winrt::Microsoft::UI::Xaml::Input::PointerRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlOverrides)->OnPointerEntered(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IControlOverrides::OnPointerPressed(winrt::Microsoft::UI::Xaml::Input::PointerRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlOverrides)->OnPointerPressed(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IControlOverrides::OnPointerMoved(winrt::Microsoft::UI::Xaml::Input::PointerRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlOverrides)->OnPointerMoved(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IControlOverrides::OnPointerReleased(winrt::Microsoft::UI::Xaml::Input::PointerRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlOverrides)->OnPointerReleased(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IControlOverrides::OnPointerExited(winrt::Microsoft::UI::Xaml::Input::PointerRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlOverrides)->OnPointerExited(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IControlOverrides::OnPointerCaptureLost(winrt::Microsoft::UI::Xaml::Input::PointerRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlOverrides)->OnPointerCaptureLost(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IControlOverrides::OnPointerCanceled(winrt::Microsoft::UI::Xaml::Input::PointerRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlOverrides)->OnPointerCanceled(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IControlOverrides::OnPointerWheelChanged(winrt::Microsoft::UI::Xaml::Input::PointerRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlOverrides)->OnPointerWheelChanged(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IControlOverrides::OnTapped(winrt::Microsoft::UI::Xaml::Input::TappedRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlOverrides)->OnTapped(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IControlOverrides::OnDoubleTapped(winrt::Microsoft::UI::Xaml::Input::DoubleTappedRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlOverrides)->OnDoubleTapped(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IControlOverrides::OnHolding(winrt::Microsoft::UI::Xaml::Input::HoldingRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlOverrides)->OnHolding(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IControlOverrides::OnRightTapped(winrt::Microsoft::UI::Xaml::Input::RightTappedRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlOverrides)->OnRightTapped(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IControlOverrides::OnManipulationStarting(winrt::Microsoft::UI::Xaml::Input::ManipulationStartingRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlOverrides)->OnManipulationStarting(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IControlOverrides::OnManipulationInertiaStarting(winrt::Microsoft::UI::Xaml::Input::ManipulationInertiaStartingRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlOverrides)->OnManipulationInertiaStarting(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IControlOverrides::OnManipulationStarted(winrt::Microsoft::UI::Xaml::Input::ManipulationStartedRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlOverrides)->OnManipulationStarted(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IControlOverrides::OnManipulationDelta(winrt::Microsoft::UI::Xaml::Input::ManipulationDeltaRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlOverrides)->OnManipulationDelta(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IControlOverrides::OnManipulationCompleted(winrt::Microsoft::UI::Xaml::Input::ManipulationCompletedRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlOverrides)->OnManipulationCompleted(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IControlOverrides::OnKeyUp(winrt::Microsoft::UI::Xaml::Input::KeyRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlOverrides)->OnKeyUp(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IControlOverrides::OnKeyDown(winrt::Microsoft::UI::Xaml::Input::KeyRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlOverrides)->OnKeyDown(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IControlOverrides::OnPreviewKeyDown(winrt::Microsoft::UI::Xaml::Input::KeyRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlOverrides)->OnPreviewKeyDown(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IControlOverrides::OnPreviewKeyUp(winrt::Microsoft::UI::Xaml::Input::KeyRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlOverrides)->OnPreviewKeyUp(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IControlOverrides::OnGotFocus(winrt::Microsoft::UI::Xaml::RoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlOverrides)->OnGotFocus(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IControlOverrides::OnLostFocus(winrt::Microsoft::UI::Xaml::RoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlOverrides)->OnLostFocus(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IControlOverrides::OnCharacterReceived(winrt::Microsoft::UI::Xaml::Input::CharacterReceivedRoutedEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlOverrides)->OnCharacterReceived(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IControlOverrides::OnDragEnter(winrt::Microsoft::UI::Xaml::DragEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlOverrides)->OnDragEnter(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IControlOverrides::OnDragLeave(winrt::Microsoft::UI::Xaml::DragEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlOverrides)->OnDragLeave(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IControlOverrides::OnDragOver(winrt::Microsoft::UI::Xaml::DragEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlOverrides)->OnDragOver(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IControlOverrides::OnDrop(winrt::Microsoft::UI::Xaml::DragEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlOverrides)->OnDrop(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IControlProtected::DefaultStyleKey() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlProtected)->get_DefaultStyleKey(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControlProtected::DefaultStyleKey(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlProtected)->put_DefaultStyleKey(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IControlProtected::GetTemplateChild(param::hstring const& childName) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlProtected)->GetTemplateChild(*(void**)(&childName), &result)); return winrt::Microsoft::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControlStatics::IsFocusEngagementEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlStatics)->get_IsFocusEngagementEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControlStatics::IsFocusEngagedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlStatics)->get_IsFocusEngagedProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControlStatics::RequiresPointerProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlStatics)->get_RequiresPointerProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControlStatics::FontSizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlStatics)->get_FontSizeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControlStatics::FontFamilyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlStatics)->get_FontFamilyProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControlStatics::FontWeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlStatics)->get_FontWeightProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControlStatics::FontStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlStatics)->get_FontStyleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControlStatics::FontStretchProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlStatics)->get_FontStretchProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControlStatics::CharacterSpacingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlStatics)->get_CharacterSpacingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControlStatics::ForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlStatics)->get_ForegroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControlStatics::IsTextScaleFactorEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlStatics)->get_IsTextScaleFactorEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControlStatics::IsEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlStatics)->get_IsEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControlStatics::TabNavigationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlStatics)->get_TabNavigationProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControlStatics::TemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlStatics)->get_TemplateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControlStatics::PaddingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlStatics)->get_PaddingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControlStatics::HorizontalContentAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlStatics)->get_HorizontalContentAlignmentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControlStatics::VerticalContentAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlStatics)->get_VerticalContentAlignmentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControlStatics::BackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlStatics)->get_BackgroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControlStatics::BackgroundSizingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlStatics)->get_BackgroundSizingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControlStatics::BorderThicknessProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlStatics)->get_BorderThicknessProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControlStatics::BorderBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlStatics)->get_BorderBrushProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControlStatics::DefaultStyleKeyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlStatics)->get_DefaultStyleKeyProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControlStatics::DefaultStyleResourceUriProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlStatics)->get_DefaultStyleResourceUriProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControlStatics::ElementSoundModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlStatics)->get_ElementSoundModeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControlStatics::CornerRadiusProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlStatics)->get_CornerRadiusProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControlStatics::IsTemplateFocusTargetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlStatics)->get_IsTemplateFocusTargetProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControlStatics::GetIsTemplateFocusTarget(winrt::Microsoft::UI::Xaml::FrameworkElement const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlStatics)->GetIsTemplateFocusTarget(*(void**)(&element), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IControlStatics::SetIsTemplateFocusTarget(winrt::Microsoft::UI::Xaml::FrameworkElement const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlStatics)->SetIsTemplateFocusTarget(*(void**)(&element), value)); } template auto consume_Microsoft_UI_Xaml_Controls_IControlStatics::IsTemplateKeyTipTargetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlStatics)->get_IsTemplateKeyTipTargetProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IControlStatics::GetIsTemplateKeyTipTarget(winrt::Microsoft::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlStatics)->GetIsTemplateKeyTipTarget(*(void**)(&element), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IControlStatics::SetIsTemplateKeyTipTarget(winrt::Microsoft::UI::Xaml::DependencyObject const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlStatics)->SetIsTemplateKeyTipTarget(*(void**)(&element), value)); } template auto consume_Microsoft_UI_Xaml_Controls_IControlTemplate::TargetType() const { winrt::Windows::UI::Xaml::Interop::TypeName value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlTemplate)->get_TargetType(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IControlTemplate::TargetType(winrt::Windows::UI::Xaml::Interop::TypeName const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IControlTemplate)->put_TargetType(impl::bind_in(value))); } 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_IDataTemplateSelector::SelectTemplate(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::DependencyObject const& container) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDataTemplateSelector)->SelectTemplate(*(void**)(&item), *(void**)(&container), &result)); return winrt::Microsoft::UI::Xaml::DataTemplate{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDataTemplateSelector::SelectTemplate(winrt::Windows::Foundation::IInspectable const& item) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDataTemplateSelector)->SelectTemplateForItem(*(void**)(&item), &result)); return winrt::Microsoft::UI::Xaml::DataTemplate{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDataTemplateSelectorFactory::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::IDataTemplateSelectorFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::DataTemplateSelector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDataTemplateSelectorOverrides::SelectTemplateCore(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::DependencyObject const& container) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDataTemplateSelectorOverrides)->SelectTemplateCore(*(void**)(&item), *(void**)(&container), &result)); return winrt::Microsoft::UI::Xaml::DataTemplate{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDataTemplateSelectorOverrides::SelectTemplateCore(winrt::Windows::Foundation::IInspectable const& item) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDataTemplateSelectorOverrides)->SelectTemplateForItemCore(*(void**)(&item), &result)); return winrt::Microsoft::UI::Xaml::DataTemplate{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickedEventArgs::OldDate() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickedEventArgs)->get_OldDate(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickedEventArgs::NewDate() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickedEventArgs)->get_NewDate(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePicker)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePicker)->put_Header(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePicker)->get_HeaderTemplate(&value)); return winrt::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::HeaderTemplate(winrt::Microsoft::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePicker)->put_HeaderTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::CalendarIdentifier() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePicker)->get_CalendarIdentifier(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::CalendarIdentifier(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePicker)->put_CalendarIdentifier(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::Date() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePicker)->get_Date(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::Date(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePicker)->put_Date(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::DayVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePicker)->get_DayVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::DayVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePicker)->put_DayVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::MonthVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePicker)->get_MonthVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::MonthVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePicker)->put_MonthVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::YearVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePicker)->get_YearVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::YearVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePicker)->put_YearVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::DayFormat() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePicker)->get_DayFormat(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::DayFormat(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePicker)->put_DayFormat(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::MonthFormat() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePicker)->get_MonthFormat(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::MonthFormat(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePicker)->put_MonthFormat(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::YearFormat() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePicker)->get_YearFormat(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::YearFormat(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePicker)->put_YearFormat(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::MinYear() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePicker)->get_MinYear(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::MinYear(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePicker)->put_MinYear(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::MaxYear() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePicker)->get_MaxYear(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::MaxYear(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePicker)->put_MaxYear(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::Orientation() const { winrt::Microsoft::UI::Xaml::Controls::Orientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePicker)->get_Orientation(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::Orientation(winrt::Microsoft::UI::Xaml::Controls::Orientation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePicker)->put_Orientation(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::LightDismissOverlayMode() const { winrt::Microsoft::UI::Xaml::Controls::LightDismissOverlayMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePicker)->get_LightDismissOverlayMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::LightDismissOverlayMode(winrt::Microsoft::UI::Xaml::Controls::LightDismissOverlayMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePicker)->put_LightDismissOverlayMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::SelectedDate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePicker)->get_SelectedDate(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::SelectedDate(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePicker)->put_SelectedDate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::DateChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePicker)->add_DateChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::DateChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, DateChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::DateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePicker)->remove_DateChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::SelectedDateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePicker)->add_SelectedDateChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::SelectedDateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SelectedDateChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IDatePicker::SelectedDateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePicker)->remove_SelectedDateChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFactory::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::IDatePickerFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::DatePicker{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyout::CalendarIdentifier() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyout)->get_CalendarIdentifier(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyout::CalendarIdentifier(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyout)->put_CalendarIdentifier(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyout::Date() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyout)->get_Date(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyout::Date(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyout)->put_Date(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyout::DayVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyout)->get_DayVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyout::DayVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyout)->put_DayVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyout::MonthVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyout)->get_MonthVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyout::MonthVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyout)->put_MonthVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyout::YearVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyout)->get_YearVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyout::YearVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyout)->put_YearVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyout::MinYear() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyout)->get_MinYear(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyout::MinYear(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyout)->put_MinYear(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyout::MaxYear() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyout)->get_MaxYear(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyout::MaxYear(winrt::Windows::Foundation::DateTime const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyout)->put_MaxYear(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyout::DayFormat() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyout)->get_DayFormat(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyout::DayFormat(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyout)->put_DayFormat(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyout::MonthFormat() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyout)->get_MonthFormat(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyout::MonthFormat(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyout)->put_MonthFormat(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyout::YearFormat() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyout)->get_YearFormat(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyout::YearFormat(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyout)->put_YearFormat(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyout::DatePicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyout)->add_DatePicked(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyout::DatePicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, DatePicked(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyout::DatePicked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyout)->remove_DatePicked(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyout::ShowAtAsync(winrt::Microsoft::UI::Xaml::FrameworkElement const& target) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyout)->ShowAtAsync(*(void**)(&target), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyoutItem::PrimaryText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyoutItem)->get_PrimaryText(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyoutItem::PrimaryText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyoutItem)->put_PrimaryText(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyoutItem::SecondaryText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyoutItem)->get_SecondaryText(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyoutItem::SecondaryText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyoutItem)->put_SecondaryText(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyoutItemStatics::PrimaryTextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyoutItemStatics)->get_PrimaryTextProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyoutItemStatics::SecondaryTextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyoutItemStatics)->get_SecondaryTextProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyoutPresenter::IsDefaultShadowEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyoutPresenter)->get_IsDefaultShadowEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyoutPresenter::IsDefaultShadowEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyoutPresenter)->put_IsDefaultShadowEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyoutPresenterStatics::IsDefaultShadowEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyoutPresenterStatics)->get_IsDefaultShadowEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyoutStatics::CalendarIdentifierProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyoutStatics)->get_CalendarIdentifierProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyoutStatics::DateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyoutStatics)->get_DateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyoutStatics::DayVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyoutStatics)->get_DayVisibleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyoutStatics::MonthVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyoutStatics)->get_MonthVisibleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyoutStatics::YearVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyoutStatics)->get_YearVisibleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyoutStatics::MinYearProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyoutStatics)->get_MinYearProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyoutStatics::MaxYearProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyoutStatics)->get_MaxYearProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyoutStatics::DayFormatProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyoutStatics)->get_DayFormatProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyoutStatics::MonthFormatProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyoutStatics)->get_MonthFormatProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerFlyoutStatics::YearFormatProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerFlyoutStatics)->get_YearFormatProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerSelectedValueChangedEventArgs::OldDate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerSelectedValueChangedEventArgs)->get_OldDate(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerSelectedValueChangedEventArgs::NewDate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerSelectedValueChangedEventArgs)->get_NewDate(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerStatics::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerStatics)->get_HeaderProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerStatics::HeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerStatics)->get_HeaderTemplateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerStatics::CalendarIdentifierProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerStatics)->get_CalendarIdentifierProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerStatics::DateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerStatics)->get_DateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerStatics::DayVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerStatics)->get_DayVisibleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerStatics::MonthVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerStatics)->get_MonthVisibleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerStatics::YearVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerStatics)->get_YearVisibleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerStatics::DayFormatProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerStatics)->get_DayFormatProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerStatics::MonthFormatProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerStatics)->get_MonthFormatProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerStatics::YearFormatProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerStatics)->get_YearFormatProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerStatics::MinYearProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerStatics)->get_MinYearProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerStatics::MaxYearProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerStatics)->get_MaxYearProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerStatics::OrientationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerStatics)->get_OrientationProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerStatics::LightDismissOverlayModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerStatics)->get_LightDismissOverlayModeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerStatics::SelectedDateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerStatics)->get_SelectedDateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerValueChangedEventArgs::OldDate() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerValueChangedEventArgs)->get_OldDate(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IDatePickerValueChangedEventArgs::NewDate() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDatePickerValueChangedEventArgs)->get_NewDate(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IDragItemsCompletedEventArgs::Items() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDragItemsCompletedEventArgs)->get_Items(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDragItemsCompletedEventArgs::DropResult() const { winrt::Windows::ApplicationModel::DataTransfer::DataPackageOperation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDragItemsCompletedEventArgs)->get_DropResult(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IDragItemsStartingEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDragItemsStartingEventArgs)->get_Cancel(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IDragItemsStartingEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDragItemsStartingEventArgs)->put_Cancel(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IDragItemsStartingEventArgs::Items() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDragItemsStartingEventArgs)->get_Items(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IDragItemsStartingEventArgs::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDragItemsStartingEventArgs)->get_Data(&value)); return winrt::Windows::ApplicationModel::DataTransfer::DataPackage{ value, take_ownership_from_abi }; } 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_IDynamicOverflowItemsChangingEventArgs::Action() const { winrt::Microsoft::UI::Xaml::Controls::CommandBarDynamicOverflowAction value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IDynamicOverflowItemsChangingEventArgs)->get_Action(reinterpret_cast(&value))); return 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::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IExpander::HeaderTemplate(winrt::Microsoft::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::Microsoft::UI::Xaml::Controls::DataTemplateSelector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IExpander::HeaderTemplateSelector(winrt::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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_IFlipView::UseTouchAnimationsForAllNavigation() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFlipView)->get_UseTouchAnimationsForAllNavigation(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IFlipView::UseTouchAnimationsForAllNavigation(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFlipView)->put_UseTouchAnimationsForAllNavigation(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IFlipViewFactory::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::IFlipViewFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::FlipView{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFlipViewItemFactory::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::IFlipViewItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::FlipViewItem{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFlipViewStatics::UseTouchAnimationsForAllNavigationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFlipViewStatics)->get_UseTouchAnimationsForAllNavigationProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFlyout::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFlyout)->get_Content(&value)); return winrt::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFlyout::Content(winrt::Microsoft::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFlyout)->put_Content(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IFlyout::FlyoutPresenterStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFlyout)->get_FlyoutPresenterStyle(&value)); return winrt::Microsoft::UI::Xaml::Style{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFlyout::FlyoutPresenterStyle(winrt::Microsoft::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFlyout)->put_FlyoutPresenterStyle(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IFlyoutFactory::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::IFlyoutFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::Flyout{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFlyoutPresenter::IsDefaultShadowEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFlyoutPresenter)->get_IsDefaultShadowEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IFlyoutPresenter::IsDefaultShadowEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFlyoutPresenter)->put_IsDefaultShadowEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IFlyoutPresenterFactory::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::IFlyoutPresenterFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::FlyoutPresenter{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFlyoutPresenterStatics::IsDefaultShadowEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFlyoutPresenterStatics)->get_IsDefaultShadowEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFlyoutStatics::ContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFlyoutStatics)->get_ContentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFlyoutStatics::FlyoutPresenterStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFlyoutStatics)->get_FlyoutPresenterStyleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFocusEngagedEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFocusEngagedEventArgs)->get_Handled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IFocusEngagedEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFocusEngagedEventArgs)->put_Handled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IFontIcon::Glyph() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIcon)->get_Glyph(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFontIcon::Glyph(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIcon)->put_Glyph(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IFontIcon::FontSize() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIcon)->get_FontSize(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IFontIcon::FontSize(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIcon)->put_FontSize(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IFontIcon::FontFamily() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIcon)->get_FontFamily(&value)); return winrt::Microsoft::UI::Xaml::Media::FontFamily{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFontIcon::FontFamily(winrt::Microsoft::UI::Xaml::Media::FontFamily const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIcon)->put_FontFamily(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IFontIcon::FontWeight() const { winrt::Windows::UI::Text::FontWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIcon)->get_FontWeight(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IFontIcon::FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIcon)->put_FontWeight(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IFontIcon::FontStyle() const { winrt::Windows::UI::Text::FontStyle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIcon)->get_FontStyle(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IFontIcon::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIcon)->put_FontStyle(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IFontIcon::IsTextScaleFactorEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIcon)->get_IsTextScaleFactorEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IFontIcon::IsTextScaleFactorEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIcon)->put_IsTextScaleFactorEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IFontIcon::MirroredWhenRightToLeft() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIcon)->get_MirroredWhenRightToLeft(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IFontIcon::MirroredWhenRightToLeft(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIcon)->put_MirroredWhenRightToLeft(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IFontIconFactory::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::IFontIconFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::FontIcon{ value, take_ownership_from_abi }; } 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::Microsoft::UI::Xaml::Media::FontFamily{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFontIconSource::FontFamily(winrt::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFontIconStatics::GlyphProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIconStatics)->get_GlyphProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFontIconStatics::FontSizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIconStatics)->get_FontSizeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFontIconStatics::FontFamilyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIconStatics)->get_FontFamilyProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFontIconStatics::FontWeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIconStatics)->get_FontWeightProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFontIconStatics::FontStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIconStatics)->get_FontStyleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFontIconStatics::IsTextScaleFactorEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIconStatics)->get_IsTextScaleFactorEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFontIconStatics::MirroredWhenRightToLeftProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFontIconStatics)->get_MirroredWhenRightToLeftProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFrame::CacheSize() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrame)->get_CacheSize(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IFrame::CacheSize(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrame)->put_CacheSize(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IFrame::CanGoBack() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrame)->get_CanGoBack(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IFrame::CanGoForward() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrame)->get_CanGoForward(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IFrame::CurrentSourcePageType() const { winrt::Windows::UI::Xaml::Interop::TypeName value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrame)->get_CurrentSourcePageType(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IFrame::SourcePageType() const { winrt::Windows::UI::Xaml::Interop::TypeName value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrame)->get_SourcePageType(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IFrame::SourcePageType(winrt::Windows::UI::Xaml::Interop::TypeName const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrame)->put_SourcePageType(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IFrame::BackStackDepth() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrame)->get_BackStackDepth(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IFrame::BackStack() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrame)->get_BackStack(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFrame::ForwardStack() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrame)->get_ForwardStack(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFrame::IsNavigationStackEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrame)->get_IsNavigationStackEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IFrame::IsNavigationStackEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrame)->put_IsNavigationStackEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IFrame::Navigated(winrt::Microsoft::UI::Xaml::Navigation::NavigatedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrame)->add_Navigated(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IFrame::Navigated(auto_revoke_t, winrt::Microsoft::UI::Xaml::Navigation::NavigatedEventHandler const& handler) const { return impl::make_event_revoker(this, Navigated(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IFrame::Navigated(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrame)->remove_Navigated(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IFrame::Navigating(winrt::Microsoft::UI::Xaml::Navigation::NavigatingCancelEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrame)->add_Navigating(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IFrame::Navigating(auto_revoke_t, winrt::Microsoft::UI::Xaml::Navigation::NavigatingCancelEventHandler const& handler) const { return impl::make_event_revoker(this, Navigating(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IFrame::Navigating(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrame)->remove_Navigating(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IFrame::NavigationFailed(winrt::Microsoft::UI::Xaml::Navigation::NavigationFailedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrame)->add_NavigationFailed(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IFrame::NavigationFailed(auto_revoke_t, winrt::Microsoft::UI::Xaml::Navigation::NavigationFailedEventHandler const& handler) const { return impl::make_event_revoker(this, NavigationFailed(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IFrame::NavigationFailed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrame)->remove_NavigationFailed(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IFrame::NavigationStopped(winrt::Microsoft::UI::Xaml::Navigation::NavigationStoppedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrame)->add_NavigationStopped(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IFrame::NavigationStopped(auto_revoke_t, winrt::Microsoft::UI::Xaml::Navigation::NavigationStoppedEventHandler const& handler) const { return impl::make_event_revoker(this, NavigationStopped(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IFrame::NavigationStopped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrame)->remove_NavigationStopped(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IFrame::GoBack() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrame)->GoBack()); } template auto consume_Microsoft_UI_Xaml_Controls_IFrame::GoBack(winrt::Microsoft::UI::Xaml::Media::Animation::NavigationTransitionInfo const& transitionInfoOverride) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrame)->GoBackWithTransitionInfo(*(void**)(&transitionInfoOverride))); } template auto consume_Microsoft_UI_Xaml_Controls_IFrame::GoForward() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrame)->GoForward()); } template auto consume_Microsoft_UI_Xaml_Controls_IFrame::Navigate(winrt::Windows::UI::Xaml::Interop::TypeName const& sourcePageType, winrt::Windows::Foundation::IInspectable const& parameter) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrame)->Navigate(impl::bind_in(sourcePageType), *(void**)(¶meter), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IFrame::Navigate(winrt::Windows::UI::Xaml::Interop::TypeName const& sourcePageType, winrt::Windows::Foundation::IInspectable const& parameter, winrt::Microsoft::UI::Xaml::Media::Animation::NavigationTransitionInfo const& infoOverride) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrame)->NavigateWithTransitionInfo(impl::bind_in(sourcePageType), *(void**)(¶meter), *(void**)(&infoOverride), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IFrame::NavigateToType(winrt::Windows::UI::Xaml::Interop::TypeName const& sourcePageType, winrt::Windows::Foundation::IInspectable const& parameter, winrt::Microsoft::UI::Xaml::Navigation::FrameNavigationOptions const& navigationOptions) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrame)->NavigateToType(impl::bind_in(sourcePageType), *(void**)(¶meter), *(void**)(&navigationOptions), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IFrame::GetNavigationState() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrame)->GetNavigationState(&result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFrame::SetNavigationState(param::hstring const& navigationState) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrame)->SetNavigationState(*(void**)(&navigationState))); } template auto consume_Microsoft_UI_Xaml_Controls_IFrame::SetNavigationState(param::hstring const& navigationState, bool suppressNavigate) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrame)->SetNavigationStateWithNavigationControl(*(void**)(&navigationState), suppressNavigate)); } template auto consume_Microsoft_UI_Xaml_Controls_IFrameFactory::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::IFrameFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::Frame{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFrameStatics::CacheSizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrameStatics)->get_CacheSizeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFrameStatics::CanGoBackProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrameStatics)->get_CanGoBackProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFrameStatics::CanGoForwardProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrameStatics)->get_CanGoForwardProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFrameStatics::CurrentSourcePageTypeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrameStatics)->get_CurrentSourcePageTypeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFrameStatics::SourcePageTypeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrameStatics)->get_SourcePageTypeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFrameStatics::BackStackDepthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrameStatics)->get_BackStackDepthProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFrameStatics::BackStackProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrameStatics)->get_BackStackProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFrameStatics::ForwardStackProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrameStatics)->get_ForwardStackProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IFrameStatics::IsNavigationStackEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IFrameStatics)->get_IsNavigationStackEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IGrid::RowDefinitions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGrid)->get_RowDefinitions(&value)); return winrt::Microsoft::UI::Xaml::Controls::RowDefinitionCollection{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IGrid::ColumnDefinitions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGrid)->get_ColumnDefinitions(&value)); return winrt::Microsoft::UI::Xaml::Controls::ColumnDefinitionCollection{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IGrid::BackgroundSizing() const { winrt::Microsoft::UI::Xaml::Controls::BackgroundSizing value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGrid)->get_BackgroundSizing(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IGrid::BackgroundSizing(winrt::Microsoft::UI::Xaml::Controls::BackgroundSizing const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGrid)->put_BackgroundSizing(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IGrid::BorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGrid)->get_BorderBrush(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IGrid::BorderBrush(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGrid)->put_BorderBrush(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IGrid::BorderThickness() const { winrt::Microsoft::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGrid)->get_BorderThickness(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IGrid::BorderThickness(winrt::Microsoft::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGrid)->put_BorderThickness(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IGrid::CornerRadius() const { winrt::Microsoft::UI::Xaml::CornerRadius value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGrid)->get_CornerRadius(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IGrid::CornerRadius(winrt::Microsoft::UI::Xaml::CornerRadius const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGrid)->put_CornerRadius(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IGrid::Padding() const { winrt::Microsoft::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGrid)->get_Padding(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IGrid::Padding(winrt::Microsoft::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGrid)->put_Padding(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IGrid::RowSpacing() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGrid)->get_RowSpacing(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IGrid::RowSpacing(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGrid)->put_RowSpacing(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IGrid::ColumnSpacing() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGrid)->get_ColumnSpacing(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IGrid::ColumnSpacing(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGrid)->put_ColumnSpacing(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IGridFactory::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::IGridFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::Grid{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IGridStatics::BackgroundSizingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGridStatics)->get_BackgroundSizingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IGridStatics::BorderBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGridStatics)->get_BorderBrushProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IGridStatics::BorderThicknessProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGridStatics)->get_BorderThicknessProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IGridStatics::CornerRadiusProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGridStatics)->get_CornerRadiusProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IGridStatics::PaddingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGridStatics)->get_PaddingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IGridStatics::RowSpacingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGridStatics)->get_RowSpacingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IGridStatics::ColumnSpacingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGridStatics)->get_ColumnSpacingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IGridStatics::RowProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGridStatics)->get_RowProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IGridStatics::GetRow(winrt::Microsoft::UI::Xaml::FrameworkElement const& element) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGridStatics)->GetRow(*(void**)(&element), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IGridStatics::SetRow(winrt::Microsoft::UI::Xaml::FrameworkElement const& element, int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGridStatics)->SetRow(*(void**)(&element), value)); } template auto consume_Microsoft_UI_Xaml_Controls_IGridStatics::ColumnProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGridStatics)->get_ColumnProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IGridStatics::GetColumn(winrt::Microsoft::UI::Xaml::FrameworkElement const& element) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGridStatics)->GetColumn(*(void**)(&element), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IGridStatics::SetColumn(winrt::Microsoft::UI::Xaml::FrameworkElement const& element, int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGridStatics)->SetColumn(*(void**)(&element), value)); } template auto consume_Microsoft_UI_Xaml_Controls_IGridStatics::RowSpanProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGridStatics)->get_RowSpanProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IGridStatics::GetRowSpan(winrt::Microsoft::UI::Xaml::FrameworkElement const& element) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGridStatics)->GetRowSpan(*(void**)(&element), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IGridStatics::SetRowSpan(winrt::Microsoft::UI::Xaml::FrameworkElement const& element, int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGridStatics)->SetRowSpan(*(void**)(&element), value)); } template auto consume_Microsoft_UI_Xaml_Controls_IGridStatics::ColumnSpanProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGridStatics)->get_ColumnSpanProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IGridStatics::GetColumnSpan(winrt::Microsoft::UI::Xaml::FrameworkElement const& element) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGridStatics)->GetColumnSpan(*(void**)(&element), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IGridStatics::SetColumnSpan(winrt::Microsoft::UI::Xaml::FrameworkElement const& element, int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGridStatics)->SetColumnSpan(*(void**)(&element), value)); } template auto consume_Microsoft_UI_Xaml_Controls_IGridViewFactory::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::IGridViewFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::GridView{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IGridViewHeaderItemFactory::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::IGridViewHeaderItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::GridViewHeaderItem{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IGridViewItem::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGridViewItem)->get_TemplateSettings(&value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::GridViewItemTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IGridViewItemFactory::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::IGridViewItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::GridViewItem{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IGroupItemFactory::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::IGroupItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::GroupItem{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IGroupStyle::Panel() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGroupStyle)->get_Panel(&value)); return winrt::Microsoft::UI::Xaml::Controls::ItemsPanelTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IGroupStyle::Panel(winrt::Microsoft::UI::Xaml::Controls::ItemsPanelTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGroupStyle)->put_Panel(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IGroupStyle::ContainerStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGroupStyle)->get_ContainerStyle(&value)); return winrt::Microsoft::UI::Xaml::Style{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IGroupStyle::ContainerStyle(winrt::Microsoft::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGroupStyle)->put_ContainerStyle(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IGroupStyle::HeaderContainerStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGroupStyle)->get_HeaderContainerStyle(&value)); return winrt::Microsoft::UI::Xaml::Style{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IGroupStyle::HeaderContainerStyle(winrt::Microsoft::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGroupStyle)->put_HeaderContainerStyle(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IGroupStyle::ContainerStyleSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGroupStyle)->get_ContainerStyleSelector(&value)); return winrt::Microsoft::UI::Xaml::Controls::StyleSelector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IGroupStyle::ContainerStyleSelector(winrt::Microsoft::UI::Xaml::Controls::StyleSelector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGroupStyle)->put_ContainerStyleSelector(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IGroupStyle::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGroupStyle)->get_HeaderTemplate(&value)); return winrt::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IGroupStyle::HeaderTemplate(winrt::Microsoft::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGroupStyle)->put_HeaderTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IGroupStyle::HeaderTemplateSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGroupStyle)->get_HeaderTemplateSelector(&value)); return winrt::Microsoft::UI::Xaml::Controls::DataTemplateSelector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IGroupStyle::HeaderTemplateSelector(winrt::Microsoft::UI::Xaml::Controls::DataTemplateSelector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGroupStyle)->put_HeaderTemplateSelector(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IGroupStyle::HidesIfEmpty() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGroupStyle)->get_HidesIfEmpty(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IGroupStyle::HidesIfEmpty(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGroupStyle)->put_HidesIfEmpty(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IGroupStyleFactory::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::IGroupStyleFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::GroupStyle{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IGroupStyleSelector::SelectGroupStyle(winrt::Windows::Foundation::IInspectable const& group, uint32_t level) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGroupStyleSelector)->SelectGroupStyle(*(void**)(&group), level, &result)); return winrt::Microsoft::UI::Xaml::Controls::GroupStyle{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IGroupStyleSelectorFactory::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::IGroupStyleSelectorFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::GroupStyleSelector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IGroupStyleSelectorOverrides::SelectGroupStyleCore(winrt::Windows::Foundation::IInspectable const& group, uint32_t level) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IGroupStyleSelectorOverrides)->SelectGroupStyleCore(*(void**)(&group), level, &result)); return winrt::Microsoft::UI::Xaml::Controls::GroupStyle{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IHasValidationErrorsChangedEventArgs::NewValue() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHasValidationErrorsChangedEventArgs)->get_NewValue(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IHub::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHub)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IHub::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHub)->put_Header(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IHub::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHub)->get_HeaderTemplate(&value)); return winrt::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IHub::HeaderTemplate(winrt::Microsoft::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHub)->put_HeaderTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IHub::Orientation() const { winrt::Microsoft::UI::Xaml::Controls::Orientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHub)->get_Orientation(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IHub::Orientation(winrt::Microsoft::UI::Xaml::Controls::Orientation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHub)->put_Orientation(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IHub::DefaultSectionIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHub)->get_DefaultSectionIndex(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IHub::DefaultSectionIndex(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHub)->put_DefaultSectionIndex(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IHub::Sections() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHub)->get_Sections(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IHub::SectionsInView() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHub)->get_SectionsInView(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IHub::SectionHeaders() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHub)->get_SectionHeaders(&value)); return winrt::Windows::Foundation::Collections::IObservableVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IHub::SectionHeaderClick(winrt::Microsoft::UI::Xaml::Controls::HubSectionHeaderClickEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHub)->add_SectionHeaderClick(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IHub::SectionHeaderClick(auto_revoke_t, winrt::Microsoft::UI::Xaml::Controls::HubSectionHeaderClickEventHandler const& handler) const { return impl::make_event_revoker(this, SectionHeaderClick(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IHub::SectionHeaderClick(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHub)->remove_SectionHeaderClick(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IHub::SectionsInViewChanged(winrt::Microsoft::UI::Xaml::Controls::SectionsInViewChangedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHub)->add_SectionsInViewChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IHub::SectionsInViewChanged(auto_revoke_t, winrt::Microsoft::UI::Xaml::Controls::SectionsInViewChangedEventHandler const& handler) const { return impl::make_event_revoker(this, SectionsInViewChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IHub::SectionsInViewChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHub)->remove_SectionsInViewChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IHub::ScrollToSection(winrt::Microsoft::UI::Xaml::Controls::HubSection const& section) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHub)->ScrollToSection(*(void**)(§ion))); } template auto consume_Microsoft_UI_Xaml_Controls_IHubFactory::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::IHubFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::Hub{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IHubSection::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHubSection)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IHubSection::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHubSection)->put_Header(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IHubSection::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHubSection)->get_HeaderTemplate(&value)); return winrt::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IHubSection::HeaderTemplate(winrt::Microsoft::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHubSection)->put_HeaderTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IHubSection::ContentTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHubSection)->get_ContentTemplate(&value)); return winrt::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IHubSection::ContentTemplate(winrt::Microsoft::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHubSection)->put_ContentTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IHubSection::IsHeaderInteractive() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHubSection)->get_IsHeaderInteractive(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IHubSection::IsHeaderInteractive(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHubSection)->put_IsHeaderInteractive(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IHubSectionFactory::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::IHubSectionFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::HubSection{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IHubSectionHeaderClickEventArgs::Section() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHubSectionHeaderClickEventArgs)->get_Section(&value)); return winrt::Microsoft::UI::Xaml::Controls::HubSection{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IHubSectionStatics::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHubSectionStatics)->get_HeaderProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IHubSectionStatics::HeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHubSectionStatics)->get_HeaderTemplateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IHubSectionStatics::ContentTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHubSectionStatics)->get_ContentTemplateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IHubSectionStatics::IsHeaderInteractiveProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHubSectionStatics)->get_IsHeaderInteractiveProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IHubStatics::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHubStatics)->get_HeaderProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IHubStatics::HeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHubStatics)->get_HeaderTemplateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IHubStatics::OrientationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHubStatics)->get_OrientationProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IHubStatics::DefaultSectionIndexProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHubStatics)->get_DefaultSectionIndexProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IHubStatics::SemanticZoomOwnerProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHubStatics)->get_SemanticZoomOwnerProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IHubStatics::IsActiveViewProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHubStatics)->get_IsActiveViewProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IHubStatics::IsZoomedInViewProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHubStatics)->get_IsZoomedInViewProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IHyperlinkButton::NavigateUri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHyperlinkButton)->get_NavigateUri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IHyperlinkButton::NavigateUri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHyperlinkButton)->put_NavigateUri(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IHyperlinkButtonFactory::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::IHyperlinkButtonFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::HyperlinkButton{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IHyperlinkButtonStatics::NavigateUriProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IHyperlinkButtonStatics)->get_NavigateUriProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IIconElement::Foreground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IIconElement)->get_Foreground(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IIconElement::Foreground(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IIconElement)->put_Foreground(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IIconElementStatics::ForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IIconElementStatics)->get_ForegroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, 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::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IIconSource::Foreground(winrt::Microsoft::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_IIconSource::CreateIconElement() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IIconSource)->CreateIconElement(&result)); return winrt::Microsoft::UI::Xaml::Controls::IconElement{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IIconSourceElement::IconSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IIconSourceElement)->get_IconSource(&value)); return winrt::Microsoft::UI::Xaml::Controls::IconSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IIconSourceElement::IconSource(winrt::Microsoft::UI::Xaml::Controls::IconSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IIconSourceElement)->put_IconSource(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IIconSourceElementFactory::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::IIconSourceElementFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::IconSourceElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IIconSourceElementStatics::IconSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IIconSourceElementStatics)->get_IconSourceProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IIconSourceOverrides::CreateIconElementCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IIconSourceOverrides)->CreateIconElementCore(&result)); return winrt::Microsoft::UI::Xaml::Controls::IconElement{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IIconSourceOverrides::GetIconElementPropertyCore(winrt::Microsoft::UI::Xaml::DependencyProperty const& iconSourceProperty) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IIconSourceOverrides)->GetIconElementPropertyCore(*(void**)(&iconSourceProperty), &result)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ result, take_ownership_from_abi }; } 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::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IImage::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IImage)->get_Source(&value)); return winrt::Microsoft::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IImage::Source(winrt::Microsoft::UI::Xaml::Media::ImageSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IImage)->put_Source(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IImage::Stretch() const { winrt::Microsoft::UI::Xaml::Media::Stretch value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IImage)->get_Stretch(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IImage::Stretch(winrt::Microsoft::UI::Xaml::Media::Stretch const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IImage)->put_Stretch(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IImage::NineGrid() const { winrt::Microsoft::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IImage)->get_NineGrid(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IImage::NineGrid(winrt::Microsoft::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IImage)->put_NineGrid(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IImage::ImageFailed(winrt::Microsoft::UI::Xaml::ExceptionRoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IImage)->add_ImageFailed(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IImage::ImageFailed(auto_revoke_t, winrt::Microsoft::UI::Xaml::ExceptionRoutedEventHandler const& handler) const { return impl::make_event_revoker(this, ImageFailed(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IImage::ImageFailed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IImage)->remove_ImageFailed(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IImage::ImageOpened(winrt::Microsoft::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IImage)->add_ImageOpened(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IImage::ImageOpened(auto_revoke_t, winrt::Microsoft::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, ImageOpened(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IImage::ImageOpened(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IImage)->remove_ImageOpened(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IImage::GetAsCastingSource() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IImage)->GetAsCastingSource(&result)); return winrt::Windows::Media::Casting::CastingSource{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IImage::GetAlphaMask() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IImage)->GetAlphaMask(&result)); return winrt::Microsoft::UI::Composition::CompositionBrush{ result, 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::Microsoft::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IImageIcon::Source(winrt::Microsoft::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::Microsoft::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IImageIconSource::ImageSource(winrt::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IImageStatics::SourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IImageStatics)->get_SourceProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IImageStatics::StretchProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IImageStatics)->get_StretchProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IImageStatics::NineGridProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IImageStatics)->get_NineGridProperty(&value)); return winrt::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBadgeTemplateSettings::InfoBadgeCornerRadius() const { winrt::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::Controls::IconElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBadgeTemplateSettings::IconElement(winrt::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::Style{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::CloseButtonStyle(winrt::Microsoft::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::Microsoft::UI::Xaml::Input::ICommand{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::CloseButtonCommand(winrt::Microsoft::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::Microsoft::UI::Xaml::Controls::Primitives::ButtonBase{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::ActionButton(winrt::Microsoft::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::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBar::ContentTemplate(winrt::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::Controls::IconElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInfoBarTemplateSettings::IconElement(winrt::Microsoft::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::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IInsertionPanel::GetInsertionIndexes(winrt::Windows::Foundation::Point const& position, int32_t& first, int32_t& second) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IInsertionPanel)->GetInsertionIndexes(impl::bind_in(position), &first, &second)); } template auto consume_Microsoft_UI_Xaml_Controls_IItemClickEventArgs::ClickedItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemClickEventArgs)->get_ClickedItem(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemCollectionTransition::Operation() const { winrt::Microsoft::UI::Xaml::Controls::ItemCollectionTransitionOperation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemCollectionTransition)->get_Operation(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemCollectionTransition::Triggers() const { winrt::Microsoft::UI::Xaml::Controls::ItemCollectionTransitionTriggers value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemCollectionTransition)->get_Triggers(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemCollectionTransition::OldBounds() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemCollectionTransition)->get_OldBounds(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemCollectionTransition::NewBounds() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemCollectionTransition)->get_NewBounds(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemCollectionTransition::HasStarted() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemCollectionTransition)->get_HasStarted(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemCollectionTransition::Start() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemCollectionTransition)->Start(&result)); return winrt::Microsoft::UI::Xaml::Controls::ItemCollectionTransitionProgress{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemCollectionTransitionCompletedEventArgs::Transition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemCollectionTransitionCompletedEventArgs)->get_Transition(&value)); return winrt::Microsoft::UI::Xaml::Controls::ItemCollectionTransition{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemCollectionTransitionCompletedEventArgs::Element() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemCollectionTransitionCompletedEventArgs)->get_Element(&value)); return winrt::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemCollectionTransitionProgress::Transition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemCollectionTransitionProgress)->get_Transition(&value)); return winrt::Microsoft::UI::Xaml::Controls::ItemCollectionTransition{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemCollectionTransitionProgress::Element() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemCollectionTransitionProgress)->get_Element(&value)); return winrt::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemCollectionTransitionProgress::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemCollectionTransitionProgress)->Complete()); } template auto consume_Microsoft_UI_Xaml_Controls_IItemCollectionTransitionProvider::ShouldAnimate(winrt::Microsoft::UI::Xaml::Controls::ItemCollectionTransition const& transition) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemCollectionTransitionProvider)->ShouldAnimate(*(void**)(&transition), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IItemCollectionTransitionProvider::QueueTransition(winrt::Microsoft::UI::Xaml::Controls::ItemCollectionTransition const& transition) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemCollectionTransitionProvider)->QueueTransition(*(void**)(&transition))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemCollectionTransitionProvider::TransitionCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemCollectionTransitionProvider)->add_TransitionCompleted(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IItemCollectionTransitionProvider::TransitionCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TransitionCompleted(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IItemCollectionTransitionProvider::TransitionCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemCollectionTransitionProvider)->remove_TransitionCompleted(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IItemCollectionTransitionProviderFactory::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::IItemCollectionTransitionProviderFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::ItemCollectionTransitionProvider{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemCollectionTransitionProviderOverrides::ShouldAnimateCore(winrt::Microsoft::UI::Xaml::Controls::ItemCollectionTransition const& transition) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemCollectionTransitionProviderOverrides)->ShouldAnimateCore(*(void**)(&transition), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IItemCollectionTransitionProviderOverrides::StartTransitions(param::vector const& transitions) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemCollectionTransitionProviderOverrides)->StartTransitions(*(void**)(&transitions))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemContainer::Child() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemContainer)->get_Child(&value)); return winrt::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemContainer::Child(winrt::Microsoft::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemContainer)->put_Child(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemContainer::IsSelected() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemContainer)->get_IsSelected(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemContainer::IsSelected(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemContainer)->put_IsSelected(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IItemContainerFactory::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::IItemContainerFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::ItemContainer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemContainerGenerator::ItemsChanged(winrt::Microsoft::UI::Xaml::Controls::Primitives::ItemsChangedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemContainerGenerator)->add_ItemsChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IItemContainerGenerator::ItemsChanged(auto_revoke_t, winrt::Microsoft::UI::Xaml::Controls::Primitives::ItemsChangedEventHandler const& handler) const { return impl::make_event_revoker(this, ItemsChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IItemContainerGenerator::ItemsChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemContainerGenerator)->remove_ItemsChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IItemContainerGenerator::ItemFromContainer(winrt::Microsoft::UI::Xaml::DependencyObject const& container) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemContainerGenerator)->ItemFromContainer(*(void**)(&container), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemContainerGenerator::ContainerFromItem(winrt::Windows::Foundation::IInspectable const& item) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemContainerGenerator)->ContainerFromItem(*(void**)(&item), &result)); return winrt::Microsoft::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemContainerGenerator::IndexFromContainer(winrt::Microsoft::UI::Xaml::DependencyObject const& container) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemContainerGenerator)->IndexFromContainer(*(void**)(&container), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IItemContainerGenerator::ContainerFromIndex(int32_t index) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemContainerGenerator)->ContainerFromIndex(index, &result)); return winrt::Microsoft::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemContainerGenerator::GetItemContainerGeneratorForPanel(winrt::Microsoft::UI::Xaml::Controls::Panel const& panel) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemContainerGenerator)->GetItemContainerGeneratorForPanel(*(void**)(&panel), &result)); return winrt::Microsoft::UI::Xaml::Controls::ItemContainerGenerator{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemContainerGenerator::StartAt(winrt::Microsoft::UI::Xaml::Controls::Primitives::GeneratorPosition const& position, winrt::Microsoft::UI::Xaml::Controls::Primitives::GeneratorDirection const& direction, bool allowStartAtRealizedItem) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemContainerGenerator)->StartAt(impl::bind_in(position), static_cast(direction), allowStartAtRealizedItem)); } template auto consume_Microsoft_UI_Xaml_Controls_IItemContainerGenerator::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemContainerGenerator)->Stop()); } template auto consume_Microsoft_UI_Xaml_Controls_IItemContainerGenerator::GenerateNext(bool& isNewlyRealized) const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemContainerGenerator)->GenerateNext(&isNewlyRealized, &returnValue)); return winrt::Microsoft::UI::Xaml::DependencyObject{ returnValue, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemContainerGenerator::PrepareItemContainer(winrt::Microsoft::UI::Xaml::DependencyObject const& container) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemContainerGenerator)->PrepareItemContainer(*(void**)(&container))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemContainerGenerator::RemoveAll() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemContainerGenerator)->RemoveAll()); } template auto consume_Microsoft_UI_Xaml_Controls_IItemContainerGenerator::Remove(winrt::Microsoft::UI::Xaml::Controls::Primitives::GeneratorPosition const& position, int32_t count) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemContainerGenerator)->Remove(impl::bind_in(position), count)); } template auto consume_Microsoft_UI_Xaml_Controls_IItemContainerGenerator::GeneratorPositionFromIndex(int32_t itemIndex) const { winrt::Microsoft::UI::Xaml::Controls::Primitives::GeneratorPosition result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemContainerGenerator)->GeneratorPositionFromIndex(itemIndex, put_abi(result))); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IItemContainerGenerator::IndexFromGeneratorPosition(winrt::Microsoft::UI::Xaml::Controls::Primitives::GeneratorPosition const& position) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemContainerGenerator)->IndexFromGeneratorPosition(impl::bind_in(position), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IItemContainerGenerator::Recycle(winrt::Microsoft::UI::Xaml::Controls::Primitives::GeneratorPosition const& position, int32_t count) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemContainerGenerator)->Recycle(impl::bind_in(position), count)); } template auto consume_Microsoft_UI_Xaml_Controls_IItemContainerMapping::ItemFromContainer(winrt::Microsoft::UI::Xaml::DependencyObject const& container) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemContainerMapping)->ItemFromContainer(*(void**)(&container), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemContainerMapping::ContainerFromItem(winrt::Windows::Foundation::IInspectable const& item) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemContainerMapping)->ContainerFromItem(*(void**)(&item), &result)); return winrt::Microsoft::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemContainerMapping::IndexFromContainer(winrt::Microsoft::UI::Xaml::DependencyObject const& container) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemContainerMapping)->IndexFromContainer(*(void**)(&container), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IItemContainerMapping::ContainerFromIndex(int32_t index) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemContainerMapping)->ContainerFromIndex(index, &result)); return winrt::Microsoft::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemContainerStatics::ChildProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemContainerStatics)->get_ChildProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemContainerStatics::IsSelectedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemContainerStatics)->get_IsSelectedProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControl::ItemsSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControl)->get_ItemsSource(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControl::ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControl)->put_ItemsSource(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControl::Items() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControl)->get_Items(&value)); return winrt::Microsoft::UI::Xaml::Controls::ItemCollection{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControl::ItemTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControl)->get_ItemTemplate(&value)); return winrt::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControl::ItemTemplate(winrt::Microsoft::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControl)->put_ItemTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControl::ItemTemplateSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControl)->get_ItemTemplateSelector(&value)); return winrt::Microsoft::UI::Xaml::Controls::DataTemplateSelector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControl::ItemTemplateSelector(winrt::Microsoft::UI::Xaml::Controls::DataTemplateSelector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControl)->put_ItemTemplateSelector(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControl::ItemsPanel() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControl)->get_ItemsPanel(&value)); return winrt::Microsoft::UI::Xaml::Controls::ItemsPanelTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControl::ItemsPanel(winrt::Microsoft::UI::Xaml::Controls::ItemsPanelTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControl)->put_ItemsPanel(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControl::DisplayMemberPath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControl)->get_DisplayMemberPath(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControl::DisplayMemberPath(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControl)->put_DisplayMemberPath(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControl::ItemsPanelRoot() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControl)->get_ItemsPanelRoot(&value)); return winrt::Microsoft::UI::Xaml::Controls::Panel{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControl::ItemContainerStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControl)->get_ItemContainerStyle(&value)); return winrt::Microsoft::UI::Xaml::Style{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControl::ItemContainerStyle(winrt::Microsoft::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControl)->put_ItemContainerStyle(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControl::ItemContainerStyleSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControl)->get_ItemContainerStyleSelector(&value)); return winrt::Microsoft::UI::Xaml::Controls::StyleSelector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControl::ItemContainerStyleSelector(winrt::Microsoft::UI::Xaml::Controls::StyleSelector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControl)->put_ItemContainerStyleSelector(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControl::ItemContainerGenerator() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControl)->get_ItemContainerGenerator(&value)); return winrt::Microsoft::UI::Xaml::Controls::ItemContainerGenerator{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControl::ItemContainerTransitions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControl)->get_ItemContainerTransitions(&value)); return winrt::Microsoft::UI::Xaml::Media::Animation::TransitionCollection{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControl::ItemContainerTransitions(winrt::Microsoft::UI::Xaml::Media::Animation::TransitionCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControl)->put_ItemContainerTransitions(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControl::GroupStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControl)->get_GroupStyle(&value)); return winrt::Windows::Foundation::Collections::IObservableVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControl::GroupStyleSelector() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControl)->get_GroupStyleSelector(&value)); return winrt::Microsoft::UI::Xaml::Controls::GroupStyleSelector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControl::GroupStyleSelector(winrt::Microsoft::UI::Xaml::Controls::GroupStyleSelector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControl)->put_GroupStyleSelector(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControl::IsGrouping() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControl)->get_IsGrouping(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControl::GroupHeaderContainerFromItemContainer(winrt::Microsoft::UI::Xaml::DependencyObject const& itemContainer) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControl)->GroupHeaderContainerFromItemContainer(*(void**)(&itemContainer), &result)); return winrt::Microsoft::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControlFactory::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::IItemsControlFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::ItemsControl{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControlOverrides::IsItemItsOwnContainerOverride(winrt::Windows::Foundation::IInspectable const& item) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControlOverrides)->IsItemItsOwnContainerOverride(*(void**)(&item), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControlOverrides::GetContainerForItemOverride() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControlOverrides)->GetContainerForItemOverride(&result)); return winrt::Microsoft::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControlOverrides::ClearContainerForItemOverride(winrt::Microsoft::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& item) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControlOverrides)->ClearContainerForItemOverride(*(void**)(&element), *(void**)(&item))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControlOverrides::PrepareContainerForItemOverride(winrt::Microsoft::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& item) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControlOverrides)->PrepareContainerForItemOverride(*(void**)(&element), *(void**)(&item))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControlOverrides::OnItemsChanged(winrt::Windows::Foundation::IInspectable const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControlOverrides)->OnItemsChanged(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControlOverrides::OnItemContainerStyleChanged(winrt::Microsoft::UI::Xaml::Style const& oldItemContainerStyle, winrt::Microsoft::UI::Xaml::Style const& newItemContainerStyle) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControlOverrides)->OnItemContainerStyleChanged(*(void**)(&oldItemContainerStyle), *(void**)(&newItemContainerStyle))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControlOverrides::OnItemContainerStyleSelectorChanged(winrt::Microsoft::UI::Xaml::Controls::StyleSelector const& oldItemContainerStyleSelector, winrt::Microsoft::UI::Xaml::Controls::StyleSelector const& newItemContainerStyleSelector) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControlOverrides)->OnItemContainerStyleSelectorChanged(*(void**)(&oldItemContainerStyleSelector), *(void**)(&newItemContainerStyleSelector))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControlOverrides::OnItemTemplateChanged(winrt::Microsoft::UI::Xaml::DataTemplate const& oldItemTemplate, winrt::Microsoft::UI::Xaml::DataTemplate const& newItemTemplate) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControlOverrides)->OnItemTemplateChanged(*(void**)(&oldItemTemplate), *(void**)(&newItemTemplate))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControlOverrides::OnItemTemplateSelectorChanged(winrt::Microsoft::UI::Xaml::Controls::DataTemplateSelector const& oldItemTemplateSelector, winrt::Microsoft::UI::Xaml::Controls::DataTemplateSelector const& newItemTemplateSelector) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControlOverrides)->OnItemTemplateSelectorChanged(*(void**)(&oldItemTemplateSelector), *(void**)(&newItemTemplateSelector))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControlOverrides::OnGroupStyleSelectorChanged(winrt::Microsoft::UI::Xaml::Controls::GroupStyleSelector const& oldGroupStyleSelector, winrt::Microsoft::UI::Xaml::Controls::GroupStyleSelector const& newGroupStyleSelector) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControlOverrides)->OnGroupStyleSelectorChanged(*(void**)(&oldGroupStyleSelector), *(void**)(&newGroupStyleSelector))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControlStatics::ItemsSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControlStatics)->get_ItemsSourceProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControlStatics::ItemTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControlStatics)->get_ItemTemplateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControlStatics::ItemTemplateSelectorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControlStatics)->get_ItemTemplateSelectorProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControlStatics::ItemsPanelProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControlStatics)->get_ItemsPanelProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControlStatics::DisplayMemberPathProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControlStatics)->get_DisplayMemberPathProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControlStatics::ItemContainerStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControlStatics)->get_ItemContainerStyleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControlStatics::ItemContainerStyleSelectorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControlStatics)->get_ItemContainerStyleSelectorProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControlStatics::ItemContainerTransitionsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControlStatics)->get_ItemContainerTransitionsProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControlStatics::GroupStyleSelectorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControlStatics)->get_GroupStyleSelectorProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControlStatics::IsGroupingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControlStatics)->get_IsGroupingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControlStatics::GetItemsOwner(winrt::Microsoft::UI::Xaml::DependencyObject const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControlStatics)->GetItemsOwner(*(void**)(&element), &result)); return winrt::Microsoft::UI::Xaml::Controls::ItemsControl{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsControlStatics::ItemsControlFromItemContainer(winrt::Microsoft::UI::Xaml::DependencyObject const& container) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsControlStatics)->ItemsControlFromItemContainer(*(void**)(&container), &result)); return winrt::Microsoft::UI::Xaml::Controls::ItemsControl{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsPickedEventArgs::AddedItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsPickedEventArgs)->get_AddedItems(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsPickedEventArgs::RemovedItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsPickedEventArgs)->get_RemovedItems(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsPresenter::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsPresenter)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsPresenter::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsPresenter)->put_Header(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsPresenter::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsPresenter)->get_HeaderTemplate(&value)); return winrt::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsPresenter::HeaderTemplate(winrt::Microsoft::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsPresenter)->put_HeaderTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsPresenter::HeaderTransitions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsPresenter)->get_HeaderTransitions(&value)); return winrt::Microsoft::UI::Xaml::Media::Animation::TransitionCollection{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsPresenter::HeaderTransitions(winrt::Microsoft::UI::Xaml::Media::Animation::TransitionCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsPresenter)->put_HeaderTransitions(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsPresenter::Footer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsPresenter)->get_Footer(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsPresenter::Footer(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsPresenter)->put_Footer(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsPresenter::FooterTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsPresenter)->get_FooterTemplate(&value)); return winrt::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsPresenter::FooterTemplate(winrt::Microsoft::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsPresenter)->put_FooterTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsPresenter::FooterTransitions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsPresenter)->get_FooterTransitions(&value)); return winrt::Microsoft::UI::Xaml::Media::Animation::TransitionCollection{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsPresenter::FooterTransitions(winrt::Microsoft::UI::Xaml::Media::Animation::TransitionCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsPresenter)->put_FooterTransitions(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsPresenter::Padding() const { winrt::Microsoft::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsPresenter)->get_Padding(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsPresenter::Padding(winrt::Microsoft::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsPresenter)->put_Padding(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsPresenterStatics::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsPresenterStatics)->get_HeaderProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsPresenterStatics::HeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsPresenterStatics)->get_HeaderTemplateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsPresenterStatics::HeaderTransitionsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsPresenterStatics)->get_HeaderTransitionsProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsPresenterStatics::FooterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsPresenterStatics)->get_FooterProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsPresenterStatics::FooterTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsPresenterStatics)->get_FooterTemplateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsPresenterStatics::FooterTransitionsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsPresenterStatics)->get_FooterTransitionsProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsPresenterStatics::PaddingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsPresenterStatics)->get_PaddingProperty(&value)); return winrt::Microsoft::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::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeater::Background(winrt::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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_IItemsRepeater2::ItemTransitionProvider() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeater2)->get_ItemTransitionProvider(&value)); return winrt::Microsoft::UI::Xaml::Controls::ItemCollectionTransitionProvider{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeater2::ItemTransitionProvider(winrt::Microsoft::UI::Xaml::Controls::ItemCollectionTransitionProvider const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeater2)->put_ItemTransitionProvider(*(void**)(&value))); } 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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::Controls::ScrollViewer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeaterScrollHost::ScrollViewer(winrt::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsRepeaterStatics2::ItemTransitionProviderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsRepeaterStatics2)->get_ItemTransitionProviderProperty(&value)); return winrt::Microsoft::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_IItemsStackPanel::GroupPadding() const { winrt::Microsoft::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsStackPanel)->get_GroupPadding(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsStackPanel::GroupPadding(winrt::Microsoft::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsStackPanel)->put_GroupPadding(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsStackPanel::Orientation() const { winrt::Microsoft::UI::Xaml::Controls::Orientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsStackPanel)->get_Orientation(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsStackPanel::Orientation(winrt::Microsoft::UI::Xaml::Controls::Orientation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsStackPanel)->put_Orientation(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsStackPanel::FirstCacheIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsStackPanel)->get_FirstCacheIndex(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsStackPanel::FirstVisibleIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsStackPanel)->get_FirstVisibleIndex(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsStackPanel::LastVisibleIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsStackPanel)->get_LastVisibleIndex(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsStackPanel::LastCacheIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsStackPanel)->get_LastCacheIndex(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsStackPanel::ScrollingDirection() const { winrt::Microsoft::UI::Xaml::Controls::PanelScrollingDirection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsStackPanel)->get_ScrollingDirection(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsStackPanel::GroupHeaderPlacement() const { winrt::Microsoft::UI::Xaml::Controls::Primitives::GroupHeaderPlacement value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsStackPanel)->get_GroupHeaderPlacement(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsStackPanel::GroupHeaderPlacement(winrt::Microsoft::UI::Xaml::Controls::Primitives::GroupHeaderPlacement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsStackPanel)->put_GroupHeaderPlacement(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsStackPanel::ItemsUpdatingScrollMode() const { winrt::Microsoft::UI::Xaml::Controls::ItemsUpdatingScrollMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsStackPanel)->get_ItemsUpdatingScrollMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsStackPanel::ItemsUpdatingScrollMode(winrt::Microsoft::UI::Xaml::Controls::ItemsUpdatingScrollMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsStackPanel)->put_ItemsUpdatingScrollMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsStackPanel::CacheLength() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsStackPanel)->get_CacheLength(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsStackPanel::CacheLength(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsStackPanel)->put_CacheLength(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsStackPanel::AreStickyGroupHeadersEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsStackPanel)->get_AreStickyGroupHeadersEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsStackPanel::AreStickyGroupHeadersEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsStackPanel)->put_AreStickyGroupHeadersEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsStackPanelStatics::GroupPaddingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsStackPanelStatics)->get_GroupPaddingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsStackPanelStatics::OrientationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsStackPanelStatics)->get_OrientationProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsStackPanelStatics::GroupHeaderPlacementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsStackPanelStatics)->get_GroupHeaderPlacementProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsStackPanelStatics::CacheLengthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsStackPanelStatics)->get_CacheLengthProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsStackPanelStatics::AreStickyGroupHeadersEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsStackPanelStatics)->get_AreStickyGroupHeadersEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsView::ItemsSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsView)->get_ItemsSource(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsView::ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsView)->put_ItemsSource(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsView::ScrollView() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsView)->get_ScrollView(&value)); return winrt::Microsoft::UI::Xaml::Controls::ScrollView{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsView::VerticalScrollController() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsView)->get_VerticalScrollController(&value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::IScrollController{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsView::VerticalScrollController(winrt::Microsoft::UI::Xaml::Controls::Primitives::IScrollController const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsView)->put_VerticalScrollController(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsView::ItemTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsView)->get_ItemTemplate(&value)); return winrt::Microsoft::UI::Xaml::IElementFactory{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsView::ItemTemplate(winrt::Microsoft::UI::Xaml::IElementFactory const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsView)->put_ItemTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsView::Layout() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsView)->get_Layout(&value)); return winrt::Microsoft::UI::Xaml::Controls::Layout{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsView::Layout(winrt::Microsoft::UI::Xaml::Controls::Layout const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsView)->put_Layout(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsView::IsItemInvokedEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsView)->get_IsItemInvokedEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsView::IsItemInvokedEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsView)->put_IsItemInvokedEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsView::SelectionMode() const { winrt::Microsoft::UI::Xaml::Controls::ItemsViewSelectionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsView)->get_SelectionMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsView::SelectionMode(winrt::Microsoft::UI::Xaml::Controls::ItemsViewSelectionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsView)->put_SelectionMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsView::ItemTransitionProvider() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsView)->get_ItemTransitionProvider(&value)); return winrt::Microsoft::UI::Xaml::Controls::ItemCollectionTransitionProvider{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsView::ItemTransitionProvider(winrt::Microsoft::UI::Xaml::Controls::ItemCollectionTransitionProvider const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsView)->put_ItemTransitionProvider(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsView::CurrentItemIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsView)->get_CurrentItemIndex(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsView::SelectedItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsView)->get_SelectedItem(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsView::SelectedItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsView)->get_SelectedItems(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsView::TryGetItemIndex(double horizontalViewportRatio, double verticalViewportRatio, int32_t& index) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsView)->TryGetItemIndex(horizontalViewportRatio, verticalViewportRatio, &index, &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsView::StartBringItemIntoView(int32_t index, winrt::Microsoft::UI::Xaml::BringIntoViewOptions const& options) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsView)->StartBringItemIntoView(index, *(void**)(&options))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsView::Select(int32_t itemIndex) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsView)->Select(itemIndex)); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsView::Deselect(int32_t itemIndex) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsView)->Deselect(itemIndex)); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsView::IsSelected(int32_t itemIndex) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsView)->IsSelected(itemIndex, &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsView::SelectAll() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsView)->SelectAll()); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsView::DeselectAll() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsView)->DeselectAll()); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsView::InvertSelection() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsView)->InvertSelection()); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsView::ItemInvoked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsView)->add_ItemInvoked(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsView::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_IItemsView::ItemInvoked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsView)->remove_ItemInvoked(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsView::SelectionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsView)->add_SelectionChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsView::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_IItemsView::SelectionChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsView)->remove_SelectionChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsViewFactory::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::IItemsViewFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::ItemsView{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsViewItemInvokedEventArgs::InvokedItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsViewItemInvokedEventArgs)->get_InvokedItem(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsViewStatics::IsItemInvokedEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsViewStatics)->get_IsItemInvokedEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsViewStatics::ItemsSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsViewStatics)->get_ItemsSourceProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsViewStatics::ItemTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsViewStatics)->get_ItemTemplateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsViewStatics::LayoutProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsViewStatics)->get_LayoutProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsViewStatics::SelectionModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsViewStatics)->get_SelectionModeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsViewStatics::ItemTransitionProviderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsViewStatics)->get_ItemTransitionProviderProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsViewStatics::CurrentItemIndexProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsViewStatics)->get_CurrentItemIndexProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsViewStatics::SelectedItemProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsViewStatics)->get_SelectedItemProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsViewStatics::ScrollViewProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsViewStatics)->get_ScrollViewProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsViewStatics::VerticalScrollControllerProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsViewStatics)->get_VerticalScrollControllerProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsWrapGrid::GroupPadding() const { winrt::Microsoft::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsWrapGrid)->get_GroupPadding(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsWrapGrid::GroupPadding(winrt::Microsoft::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsWrapGrid)->put_GroupPadding(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsWrapGrid::Orientation() const { winrt::Microsoft::UI::Xaml::Controls::Orientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsWrapGrid)->get_Orientation(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsWrapGrid::Orientation(winrt::Microsoft::UI::Xaml::Controls::Orientation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsWrapGrid)->put_Orientation(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsWrapGrid::MaximumRowsOrColumns() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsWrapGrid)->get_MaximumRowsOrColumns(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsWrapGrid::MaximumRowsOrColumns(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsWrapGrid)->put_MaximumRowsOrColumns(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsWrapGrid::ItemWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsWrapGrid)->get_ItemWidth(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsWrapGrid::ItemWidth(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsWrapGrid)->put_ItemWidth(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsWrapGrid::ItemHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsWrapGrid)->get_ItemHeight(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsWrapGrid::ItemHeight(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsWrapGrid)->put_ItemHeight(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsWrapGrid::FirstCacheIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsWrapGrid)->get_FirstCacheIndex(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsWrapGrid::FirstVisibleIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsWrapGrid)->get_FirstVisibleIndex(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsWrapGrid::LastVisibleIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsWrapGrid)->get_LastVisibleIndex(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsWrapGrid::LastCacheIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsWrapGrid)->get_LastCacheIndex(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsWrapGrid::ScrollingDirection() const { winrt::Microsoft::UI::Xaml::Controls::PanelScrollingDirection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsWrapGrid)->get_ScrollingDirection(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsWrapGrid::GroupHeaderPlacement() const { winrt::Microsoft::UI::Xaml::Controls::Primitives::GroupHeaderPlacement value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsWrapGrid)->get_GroupHeaderPlacement(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsWrapGrid::GroupHeaderPlacement(winrt::Microsoft::UI::Xaml::Controls::Primitives::GroupHeaderPlacement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsWrapGrid)->put_GroupHeaderPlacement(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsWrapGrid::CacheLength() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsWrapGrid)->get_CacheLength(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsWrapGrid::CacheLength(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsWrapGrid)->put_CacheLength(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsWrapGrid::AreStickyGroupHeadersEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsWrapGrid)->get_AreStickyGroupHeadersEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsWrapGrid::AreStickyGroupHeadersEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsWrapGrid)->put_AreStickyGroupHeadersEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IItemsWrapGridFactory::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::IItemsWrapGridFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::ItemsWrapGrid{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsWrapGridStatics::GroupPaddingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsWrapGridStatics)->get_GroupPaddingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsWrapGridStatics::OrientationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsWrapGridStatics)->get_OrientationProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsWrapGridStatics::MaximumRowsOrColumnsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsWrapGridStatics)->get_MaximumRowsOrColumnsProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsWrapGridStatics::ItemWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsWrapGridStatics)->get_ItemWidthProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsWrapGridStatics::ItemHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsWrapGridStatics)->get_ItemHeightProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsWrapGridStatics::GroupHeaderPlacementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsWrapGridStatics)->get_GroupHeaderPlacementProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsWrapGridStatics::CacheLengthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsWrapGridStatics)->get_CacheLengthProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IItemsWrapGridStatics::AreStickyGroupHeadersEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IItemsWrapGridStatics)->get_AreStickyGroupHeadersEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ 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_ILayout2::IndexBasedLayoutOrientation() const { winrt::Microsoft::UI::Xaml::Controls::IndexBasedLayoutOrientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILayout2)->get_IndexBasedLayoutOrientation(reinterpret_cast(&value))); return value; } 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_ILayoutOverrides::CreateDefaultItemTransitionProvider() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILayoutOverrides)->CreateDefaultItemTransitionProvider(&result)); return winrt::Microsoft::UI::Xaml::Controls::ItemCollectionTransitionProvider{ result, take_ownership_from_abi }; } 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_ILayoutProtected2::SetIndexBasedLayoutOrientation(winrt::Microsoft::UI::Xaml::Controls::IndexBasedLayoutOrientation const& orientation) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILayoutProtected2)->SetIndexBasedLayoutOrientation(static_cast(orientation))); } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayout::ItemsInfoRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayout)->add_ItemsInfoRequested(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayout::ItemsInfoRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ItemsInfoRequested(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayout::ItemsInfoRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayout)->remove_ItemsInfoRequested(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayout::ItemsUnlocked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayout)->add_ItemsUnlocked(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayout::ItemsUnlocked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ItemsUnlocked(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayout::ItemsUnlocked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayout)->remove_ItemsUnlocked(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayout::ItemsJustification() const { winrt::Microsoft::UI::Xaml::Controls::LinedFlowLayoutItemsJustification value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayout)->get_ItemsJustification(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayout::ItemsJustification(winrt::Microsoft::UI::Xaml::Controls::LinedFlowLayoutItemsJustification const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayout)->put_ItemsJustification(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayout::ItemsStretch() const { winrt::Microsoft::UI::Xaml::Controls::LinedFlowLayoutItemsStretch value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayout)->get_ItemsStretch(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayout::ItemsStretch(winrt::Microsoft::UI::Xaml::Controls::LinedFlowLayoutItemsStretch const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayout)->put_ItemsStretch(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayout::MinItemSpacing() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayout)->get_MinItemSpacing(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayout::MinItemSpacing(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayout)->put_MinItemSpacing(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayout::LineSpacing() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayout)->get_LineSpacing(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayout::LineSpacing(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayout)->put_LineSpacing(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayout::LineHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayout)->get_LineHeight(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayout::LineHeight(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayout)->put_LineHeight(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayout::ActualLineHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayout)->get_ActualLineHeight(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayout::RequestedRangeStartIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayout)->get_RequestedRangeStartIndex(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayout::RequestedRangeLength() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayout)->get_RequestedRangeLength(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayout::InvalidateItemsInfo() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayout)->InvalidateItemsInfo()); } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayout::LockItemToLine(int32_t itemIndex) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayout)->LockItemToLine(itemIndex, &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayoutFactory::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::ILinedFlowLayoutFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::LinedFlowLayout{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayoutItemCollectionTransitionProviderFactory::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::ILinedFlowLayoutItemCollectionTransitionProviderFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::LinedFlowLayoutItemCollectionTransitionProvider{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayoutItemsInfoRequestedEventArgs::ItemsRangeStartIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayoutItemsInfoRequestedEventArgs)->get_ItemsRangeStartIndex(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayoutItemsInfoRequestedEventArgs::ItemsRangeStartIndex(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayoutItemsInfoRequestedEventArgs)->put_ItemsRangeStartIndex(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayoutItemsInfoRequestedEventArgs::ItemsRangeRequestedLength() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayoutItemsInfoRequestedEventArgs)->get_ItemsRangeRequestedLength(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayoutItemsInfoRequestedEventArgs::MinWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayoutItemsInfoRequestedEventArgs)->get_MinWidth(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayoutItemsInfoRequestedEventArgs::MinWidth(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayoutItemsInfoRequestedEventArgs)->put_MinWidth(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayoutItemsInfoRequestedEventArgs::MaxWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayoutItemsInfoRequestedEventArgs)->get_MaxWidth(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayoutItemsInfoRequestedEventArgs::MaxWidth(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayoutItemsInfoRequestedEventArgs)->put_MaxWidth(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayoutItemsInfoRequestedEventArgs::SetDesiredAspectRatios(array_view values) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayoutItemsInfoRequestedEventArgs)->SetDesiredAspectRatios(values.size(), get_abi(values))); } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayoutItemsInfoRequestedEventArgs::SetMinWidths(array_view values) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayoutItemsInfoRequestedEventArgs)->SetMinWidths(values.size(), get_abi(values))); } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayoutItemsInfoRequestedEventArgs::SetMaxWidths(array_view values) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayoutItemsInfoRequestedEventArgs)->SetMaxWidths(values.size(), get_abi(values))); } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayoutStatics::ItemsJustificationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayoutStatics)->get_ItemsJustificationProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayoutStatics::ItemsStretchProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayoutStatics)->get_ItemsStretchProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayoutStatics::MinItemSpacingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayoutStatics)->get_MinItemSpacingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayoutStatics::LineSpacingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayoutStatics)->get_LineSpacingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayoutStatics::LineHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayoutStatics)->get_LineHeightProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ILinedFlowLayoutStatics::ActualLineHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ILinedFlowLayoutStatics)->get_ActualLineHeightProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListBox::SelectedItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListBox)->get_SelectedItems(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListBox::SelectionMode() const { winrt::Microsoft::UI::Xaml::Controls::SelectionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListBox)->get_SelectionMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IListBox::SelectionMode(winrt::Microsoft::UI::Xaml::Controls::SelectionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListBox)->put_SelectionMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IListBox::SingleSelectionFollowsFocus() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListBox)->get_SingleSelectionFollowsFocus(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IListBox::SingleSelectionFollowsFocus(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListBox)->put_SingleSelectionFollowsFocus(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IListBox::ScrollIntoView(winrt::Windows::Foundation::IInspectable const& item) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListBox)->ScrollIntoView(*(void**)(&item))); } template auto consume_Microsoft_UI_Xaml_Controls_IListBox::SelectAll() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListBox)->SelectAll()); } template auto consume_Microsoft_UI_Xaml_Controls_IListBoxFactory::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::IListBoxFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::ListBox{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListBoxItemFactory::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::IListBoxItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::ListBoxItem{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListBoxStatics::SelectionModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListBoxStatics)->get_SelectionModeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListBoxStatics::SingleSelectionFollowsFocusProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListBoxStatics)->get_SingleSelectionFollowsFocusProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListPickerFlyout::ItemsSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListPickerFlyout)->get_ItemsSource(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListPickerFlyout::ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListPickerFlyout)->put_ItemsSource(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IListPickerFlyout::ItemTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListPickerFlyout)->get_ItemTemplate(&value)); return winrt::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListPickerFlyout::ItemTemplate(winrt::Microsoft::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListPickerFlyout)->put_ItemTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IListPickerFlyout::DisplayMemberPath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListPickerFlyout)->get_DisplayMemberPath(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListPickerFlyout::DisplayMemberPath(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListPickerFlyout)->put_DisplayMemberPath(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IListPickerFlyout::SelectionMode() const { winrt::Microsoft::UI::Xaml::Controls::ListPickerFlyoutSelectionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListPickerFlyout)->get_SelectionMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IListPickerFlyout::SelectionMode(winrt::Microsoft::UI::Xaml::Controls::ListPickerFlyoutSelectionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListPickerFlyout)->put_SelectionMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IListPickerFlyout::SelectedIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListPickerFlyout)->get_SelectedIndex(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IListPickerFlyout::SelectedIndex(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListPickerFlyout)->put_SelectedIndex(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IListPickerFlyout::SelectedItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListPickerFlyout)->get_SelectedItem(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListPickerFlyout::SelectedItem(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListPickerFlyout)->put_SelectedItem(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IListPickerFlyout::SelectedValue() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListPickerFlyout)->get_SelectedValue(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListPickerFlyout::SelectedValue(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListPickerFlyout)->put_SelectedValue(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IListPickerFlyout::SelectedValuePath() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListPickerFlyout)->get_SelectedValuePath(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListPickerFlyout::SelectedValuePath(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListPickerFlyout)->put_SelectedValuePath(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IListPickerFlyout::SelectedItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListPickerFlyout)->get_SelectedItems(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListPickerFlyout::ItemsPicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListPickerFlyout)->add_ItemsPicked(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IListPickerFlyout::ItemsPicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ItemsPicked(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IListPickerFlyout::ItemsPicked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListPickerFlyout)->remove_ItemsPicked(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IListPickerFlyout::ShowAtAsync(winrt::Microsoft::UI::Xaml::FrameworkElement const& target) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListPickerFlyout)->ShowAtAsync(*(void**)(&target), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListPickerFlyoutStatics::ItemsSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListPickerFlyoutStatics)->get_ItemsSourceProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListPickerFlyoutStatics::ItemTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListPickerFlyoutStatics)->get_ItemTemplateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListPickerFlyoutStatics::DisplayMemberPathProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListPickerFlyoutStatics)->get_DisplayMemberPathProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListPickerFlyoutStatics::SelectionModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListPickerFlyoutStatics)->get_SelectionModeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListPickerFlyoutStatics::SelectedIndexProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListPickerFlyoutStatics)->get_SelectedIndexProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListPickerFlyoutStatics::SelectedItemProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListPickerFlyoutStatics)->get_SelectedItemProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListPickerFlyoutStatics::SelectedValueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListPickerFlyoutStatics)->get_SelectedValueProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListPickerFlyoutStatics::SelectedValuePathProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListPickerFlyoutStatics)->get_SelectedValuePathProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::SelectedItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->get_SelectedItems(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::SelectionMode() const { winrt::Microsoft::UI::Xaml::Controls::ListViewSelectionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->get_SelectionMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::SelectionMode(winrt::Microsoft::UI::Xaml::Controls::ListViewSelectionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->put_SelectionMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::IsSwipeEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->get_IsSwipeEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::IsSwipeEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->put_IsSwipeEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::CanDragItems() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->get_CanDragItems(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::CanDragItems(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->put_CanDragItems(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::CanReorderItems() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->get_CanReorderItems(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::CanReorderItems(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->put_CanReorderItems(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::IsItemClickEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->get_IsItemClickEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::IsItemClickEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->put_IsItemClickEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::DataFetchSize() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->get_DataFetchSize(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::DataFetchSize(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->put_DataFetchSize(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::IncrementalLoadingThreshold() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->get_IncrementalLoadingThreshold(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::IncrementalLoadingThreshold(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->put_IncrementalLoadingThreshold(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::IncrementalLoadingTrigger() const { winrt::Microsoft::UI::Xaml::Controls::IncrementalLoadingTrigger value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->get_IncrementalLoadingTrigger(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::IncrementalLoadingTrigger(winrt::Microsoft::UI::Xaml::Controls::IncrementalLoadingTrigger const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->put_IncrementalLoadingTrigger(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::ShowsScrollingPlaceholders() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->get_ShowsScrollingPlaceholders(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::ShowsScrollingPlaceholders(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->put_ShowsScrollingPlaceholders(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::ReorderMode() const { winrt::Microsoft::UI::Xaml::Controls::ListViewReorderMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->get_ReorderMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::ReorderMode(winrt::Microsoft::UI::Xaml::Controls::ListViewReorderMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->put_ReorderMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::SelectedRanges() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->get_SelectedRanges(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::IsMultiSelectCheckBoxEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->get_IsMultiSelectCheckBoxEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::IsMultiSelectCheckBoxEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->put_IsMultiSelectCheckBoxEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::SingleSelectionFollowsFocus() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->get_SingleSelectionFollowsFocus(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::SingleSelectionFollowsFocus(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->put_SingleSelectionFollowsFocus(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::ItemClick(winrt::Microsoft::UI::Xaml::Controls::ItemClickEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->add_ItemClick(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::ItemClick(auto_revoke_t, winrt::Microsoft::UI::Xaml::Controls::ItemClickEventHandler const& handler) const { return impl::make_event_revoker(this, ItemClick(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::ItemClick(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->remove_ItemClick(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::DragItemsStarting(winrt::Microsoft::UI::Xaml::Controls::DragItemsStartingEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->add_DragItemsStarting(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::DragItemsStarting(auto_revoke_t, winrt::Microsoft::UI::Xaml::Controls::DragItemsStartingEventHandler const& handler) const { return impl::make_event_revoker(this, DragItemsStarting(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::DragItemsStarting(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->remove_DragItemsStarting(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::DragItemsCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->add_DragItemsCompleted(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::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_IListViewBase::DragItemsCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->remove_DragItemsCompleted(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::ContainerContentChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->add_ContainerContentChanging(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::ContainerContentChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ContainerContentChanging(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::ContainerContentChanging(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->remove_ContainerContentChanging(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::ChoosingItemContainer(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->add_ChoosingItemContainer(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::ChoosingItemContainer(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ChoosingItemContainer(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::ChoosingItemContainer(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->remove_ChoosingItemContainer(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::ChoosingGroupHeaderContainer(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->add_ChoosingGroupHeaderContainer(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::ChoosingGroupHeaderContainer(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ChoosingGroupHeaderContainer(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::ChoosingGroupHeaderContainer(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->remove_ChoosingGroupHeaderContainer(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::ScrollIntoView(winrt::Windows::Foundation::IInspectable const& item) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->ScrollIntoView(*(void**)(&item))); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::SelectAll() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->SelectAll()); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::LoadMoreItemsAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->LoadMoreItemsAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::ScrollIntoView(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::Controls::ScrollIntoViewAlignment const& alignment) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->ScrollIntoViewWithAlignment(*(void**)(&item), static_cast(alignment))); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::SetDesiredContainerUpdateDuration(winrt::Windows::Foundation::TimeSpan const& duration) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->SetDesiredContainerUpdateDuration(impl::bind_in(duration))); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::SelectRange(winrt::Microsoft::UI::Xaml::Data::ItemIndexRange const& itemIndexRange) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->SelectRange(*(void**)(&itemIndexRange))); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::DeselectRange(winrt::Microsoft::UI::Xaml::Data::ItemIndexRange const& itemIndexRange) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->DeselectRange(*(void**)(&itemIndexRange))); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::IsDragSource() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->IsDragSource(&result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::TryStartConnectedAnimationAsync(winrt::Microsoft::UI::Xaml::Media::Animation::ConnectedAnimation const& animation, winrt::Windows::Foundation::IInspectable const& item, param::hstring const& elementName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->TryStartConnectedAnimationAsync(*(void**)(&animation), *(void**)(&item), *(void**)(&elementName), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::PrepareConnectedAnimation(param::hstring const& key, winrt::Windows::Foundation::IInspectable const& item, param::hstring const& elementName) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->PrepareConnectedAnimation(*(void**)(&key), *(void**)(&item), *(void**)(&elementName), &result)); return winrt::Microsoft::UI::Xaml::Media::Animation::ConnectedAnimation{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->put_Header(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->get_HeaderTemplate(&value)); return winrt::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::HeaderTemplate(winrt::Microsoft::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->put_HeaderTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::HeaderTransitions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->get_HeaderTransitions(&value)); return winrt::Microsoft::UI::Xaml::Media::Animation::TransitionCollection{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::HeaderTransitions(winrt::Microsoft::UI::Xaml::Media::Animation::TransitionCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->put_HeaderTransitions(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::Footer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->get_Footer(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::Footer(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->put_Footer(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::FooterTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->get_FooterTemplate(&value)); return winrt::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::FooterTemplate(winrt::Microsoft::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->put_FooterTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::FooterTransitions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->get_FooterTransitions(&value)); return winrt::Microsoft::UI::Xaml::Media::Animation::TransitionCollection{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBase::FooterTransitions(winrt::Microsoft::UI::Xaml::Media::Animation::TransitionCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBase)->put_FooterTransitions(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBaseFactory::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::IListViewBaseFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::ListViewBase{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBaseStatics::SelectionModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBaseStatics)->get_SelectionModeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBaseStatics::IsSwipeEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBaseStatics)->get_IsSwipeEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBaseStatics::CanDragItemsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBaseStatics)->get_CanDragItemsProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBaseStatics::CanReorderItemsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBaseStatics)->get_CanReorderItemsProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBaseStatics::IsItemClickEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBaseStatics)->get_IsItemClickEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBaseStatics::DataFetchSizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBaseStatics)->get_DataFetchSizeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBaseStatics::IncrementalLoadingThresholdProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBaseStatics)->get_IncrementalLoadingThresholdProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBaseStatics::IncrementalLoadingTriggerProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBaseStatics)->get_IncrementalLoadingTriggerProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBaseStatics::ShowsScrollingPlaceholdersProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBaseStatics)->get_ShowsScrollingPlaceholdersProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBaseStatics::ReorderModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBaseStatics)->get_ReorderModeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBaseStatics::IsMultiSelectCheckBoxEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBaseStatics)->get_IsMultiSelectCheckBoxEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBaseStatics::SingleSelectionFollowsFocusProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBaseStatics)->get_SingleSelectionFollowsFocusProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBaseStatics::SemanticZoomOwnerProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBaseStatics)->get_SemanticZoomOwnerProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBaseStatics::IsActiveViewProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBaseStatics)->get_IsActiveViewProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBaseStatics::IsZoomedInViewProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBaseStatics)->get_IsZoomedInViewProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBaseStatics::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBaseStatics)->get_HeaderProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBaseStatics::HeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBaseStatics)->get_HeaderTemplateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBaseStatics::HeaderTransitionsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBaseStatics)->get_HeaderTransitionsProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBaseStatics::FooterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBaseStatics)->get_FooterProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBaseStatics::FooterTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBaseStatics)->get_FooterTemplateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewBaseStatics::FooterTransitionsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewBaseStatics)->get_FooterTransitionsProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewFactory::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::IListViewFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::ListView{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewHeaderItemFactory::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::IListViewHeaderItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::ListViewHeaderItem{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewItem::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewItem)->get_TemplateSettings(&value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::ListViewItemTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewItemFactory::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::IListViewItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::ListViewItem{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewPersistenceHelperStatics::GetRelativeScrollPosition(winrt::Microsoft::UI::Xaml::Controls::ListViewBase const& listViewBase, winrt::Microsoft::UI::Xaml::Controls::ListViewItemToKeyHandler const& itemToKeyHandler) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewPersistenceHelperStatics)->GetRelativeScrollPosition(*(void**)(&listViewBase), *(void**)(&itemToKeyHandler), &result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IListViewPersistenceHelperStatics::SetRelativeScrollPositionAsync(winrt::Microsoft::UI::Xaml::Controls::ListViewBase const& listViewBase, param::hstring const& relativeScrollPosition, winrt::Microsoft::UI::Xaml::Controls::ListViewKeyToItemHandler const& keyToItemHandler) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IListViewPersistenceHelperStatics)->SetRelativeScrollPositionAsync(*(void**)(&listViewBase), *(void**)(&relativeScrollPosition), *(void**)(&keyToItemHandler), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMapControl::MapServiceToken() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMapControl)->get_MapServiceToken(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMapControl::MapServiceToken(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMapControl)->put_MapServiceToken(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IMapControl::Center() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMapControl)->get_Center(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMapControl::Center(winrt::Windows::Devices::Geolocation::Geopoint const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMapControl)->put_Center(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IMapControl::Layers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMapControl)->get_Layers(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMapControl::Layers(param::vector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMapControl)->put_Layers(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IMapControl::ZoomLevel() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMapControl)->get_ZoomLevel(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IMapControl::ZoomLevel(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMapControl)->put_ZoomLevel(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IMapControl::InteractiveControlsVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMapControl)->get_InteractiveControlsVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IMapControl::InteractiveControlsVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMapControl)->put_InteractiveControlsVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IMapControl::MapElementClick(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMapControl)->add_MapElementClick(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IMapControl::MapElementClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MapElementClick(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IMapControl::MapElementClick(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMapControl)->remove_MapElementClick(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IMapControl::MapServiceErrorOccurred(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMapControl)->add_MapServiceErrorOccurred(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IMapControl::MapServiceErrorOccurred(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MapServiceErrorOccurred(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IMapControl::MapServiceErrorOccurred(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMapControl)->remove_MapServiceErrorOccurred(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IMapControlFactory::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::IMapControlFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::MapControl{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMapControlMapServiceErrorOccurredEventArgs::DiagnosticMessage() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMapControlMapServiceErrorOccurredEventArgs)->get_DiagnosticMessage(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMapControlStatics::LayersProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMapControlStatics)->get_LayersProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMapControlStatics::MapServiceTokenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMapControlStatics)->get_MapServiceTokenProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMapControlStatics::CenterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMapControlStatics)->get_CenterProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMapControlStatics::ZoomLevelProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMapControlStatics)->get_ZoomLevelProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMapControlStatics::InteractiveControlsVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMapControlStatics)->get_InteractiveControlsVisibleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMapElementClickEventArgs::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMapElementClickEventArgs)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMapElementClickEventArgs::Element() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMapElementClickEventArgs)->get_Element(&value)); return winrt::Microsoft::UI::Xaml::Controls::MapElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMapElementsLayer::MapElements() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMapElementsLayer)->get_MapElements(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMapElementsLayer::MapElements(param::vector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMapElementsLayer)->put_MapElements(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IMapElementsLayer::MapElementClick(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMapElementsLayer)->add_MapElementClick(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IMapElementsLayer::MapElementClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MapElementClick(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IMapElementsLayer::MapElementClick(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMapElementsLayer)->remove_MapElementClick(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IMapElementsLayerFactory::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::IMapElementsLayerFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::MapElementsLayer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMapElementsLayerStatics::MapElementsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMapElementsLayerStatics)->get_MapElementsProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMapIcon::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMapIcon)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMapIcon::Location(winrt::Windows::Devices::Geolocation::Geopoint const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMapIcon)->put_Location(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IMapIconFactory::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::IMapIconFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::MapIcon{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMapIconStatics::LocationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMapIconStatics)->get_LocationProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaPlayerElement::Source() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaPlayerElement)->get_Source(&value)); return winrt::Windows::Media::Playback::IMediaPlaybackSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaPlayerElement::Source(winrt::Windows::Media::Playback::IMediaPlaybackSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaPlayerElement)->put_Source(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaPlayerElement::TransportControls() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaPlayerElement)->get_TransportControls(&value)); return winrt::Microsoft::UI::Xaml::Controls::MediaTransportControls{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaPlayerElement::TransportControls(winrt::Microsoft::UI::Xaml::Controls::MediaTransportControls const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaPlayerElement)->put_TransportControls(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaPlayerElement::AreTransportControlsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaPlayerElement)->get_AreTransportControlsEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaPlayerElement::AreTransportControlsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaPlayerElement)->put_AreTransportControlsEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaPlayerElement::PosterSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaPlayerElement)->get_PosterSource(&value)); return winrt::Microsoft::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaPlayerElement::PosterSource(winrt::Microsoft::UI::Xaml::Media::ImageSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaPlayerElement)->put_PosterSource(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaPlayerElement::Stretch() const { winrt::Microsoft::UI::Xaml::Media::Stretch value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaPlayerElement)->get_Stretch(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaPlayerElement::Stretch(winrt::Microsoft::UI::Xaml::Media::Stretch const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaPlayerElement)->put_Stretch(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaPlayerElement::AutoPlay() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaPlayerElement)->get_AutoPlay(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaPlayerElement::AutoPlay(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaPlayerElement)->put_AutoPlay(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaPlayerElement::IsFullWindow() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaPlayerElement)->get_IsFullWindow(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaPlayerElement::IsFullWindow(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaPlayerElement)->put_IsFullWindow(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaPlayerElement::MediaPlayer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaPlayerElement)->get_MediaPlayer(&value)); return winrt::Windows::Media::Playback::MediaPlayer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaPlayerElement::SetMediaPlayer(winrt::Windows::Media::Playback::MediaPlayer const& mediaPlayer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaPlayerElement)->SetMediaPlayer(*(void**)(&mediaPlayer))); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaPlayerElementFactory::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::IMediaPlayerElementFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::MediaPlayerElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaPlayerElementStatics::SourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaPlayerElementStatics)->get_SourceProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaPlayerElementStatics::AreTransportControlsEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaPlayerElementStatics)->get_AreTransportControlsEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaPlayerElementStatics::PosterSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaPlayerElementStatics)->get_PosterSourceProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaPlayerElementStatics::StretchProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaPlayerElementStatics)->get_StretchProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaPlayerElementStatics::AutoPlayProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaPlayerElementStatics)->get_AutoPlayProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaPlayerElementStatics::IsFullWindowProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaPlayerElementStatics)->get_IsFullWindowProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaPlayerElementStatics::MediaPlayerProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaPlayerElementStatics)->get_MediaPlayerProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaPlayerPresenter::MediaPlayer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaPlayerPresenter)->get_MediaPlayer(&value)); return winrt::Windows::Media::Playback::MediaPlayer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaPlayerPresenter::MediaPlayer(winrt::Windows::Media::Playback::MediaPlayer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaPlayerPresenter)->put_MediaPlayer(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaPlayerPresenter::Stretch() const { winrt::Microsoft::UI::Xaml::Media::Stretch value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaPlayerPresenter)->get_Stretch(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaPlayerPresenter::Stretch(winrt::Microsoft::UI::Xaml::Media::Stretch const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaPlayerPresenter)->put_Stretch(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaPlayerPresenter::IsFullWindow() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaPlayerPresenter)->get_IsFullWindow(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaPlayerPresenter::IsFullWindow(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaPlayerPresenter)->put_IsFullWindow(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaPlayerPresenterFactory::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::IMediaPlayerPresenterFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::MediaPlayerPresenter{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaPlayerPresenterStatics::MediaPlayerProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaPlayerPresenterStatics)->get_MediaPlayerProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaPlayerPresenterStatics::StretchProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaPlayerPresenterStatics)->get_StretchProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaPlayerPresenterStatics::IsFullWindowProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaPlayerPresenterStatics)->get_IsFullWindowProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsZoomButtonVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->get_IsZoomButtonVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsZoomButtonVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->put_IsZoomButtonVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsZoomEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->get_IsZoomEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsZoomEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->put_IsZoomEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsFastForwardButtonVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->get_IsFastForwardButtonVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsFastForwardButtonVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->put_IsFastForwardButtonVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsFastForwardEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->get_IsFastForwardEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsFastForwardEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->put_IsFastForwardEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsFastRewindButtonVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->get_IsFastRewindButtonVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsFastRewindButtonVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->put_IsFastRewindButtonVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsFastRewindEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->get_IsFastRewindEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsFastRewindEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->put_IsFastRewindEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsStopButtonVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->get_IsStopButtonVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsStopButtonVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->put_IsStopButtonVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsStopEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->get_IsStopEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsStopEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->put_IsStopEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsVolumeButtonVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->get_IsVolumeButtonVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsVolumeButtonVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->put_IsVolumeButtonVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsVolumeEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->get_IsVolumeEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsVolumeEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->put_IsVolumeEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsPlaybackRateButtonVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->get_IsPlaybackRateButtonVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsPlaybackRateButtonVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->put_IsPlaybackRateButtonVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsPlaybackRateEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->get_IsPlaybackRateEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsPlaybackRateEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->put_IsPlaybackRateEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsSeekBarVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->get_IsSeekBarVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsSeekBarVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->put_IsSeekBarVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsSeekEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->get_IsSeekEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsSeekEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->put_IsSeekEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsCompact() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->get_IsCompact(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsCompact(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->put_IsCompact(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsSkipForwardButtonVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->get_IsSkipForwardButtonVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsSkipForwardButtonVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->put_IsSkipForwardButtonVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsSkipForwardEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->get_IsSkipForwardEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsSkipForwardEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->put_IsSkipForwardEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsSkipBackwardButtonVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->get_IsSkipBackwardButtonVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsSkipBackwardButtonVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->put_IsSkipBackwardButtonVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsSkipBackwardEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->get_IsSkipBackwardEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsSkipBackwardEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->put_IsSkipBackwardEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsNextTrackButtonVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->get_IsNextTrackButtonVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsNextTrackButtonVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->put_IsNextTrackButtonVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsPreviousTrackButtonVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->get_IsPreviousTrackButtonVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsPreviousTrackButtonVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->put_IsPreviousTrackButtonVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::FastPlayFallbackBehaviour() const { winrt::Microsoft::UI::Xaml::Media::FastPlayFallbackBehaviour value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->get_FastPlayFallbackBehaviour(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::FastPlayFallbackBehaviour(winrt::Microsoft::UI::Xaml::Media::FastPlayFallbackBehaviour const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->put_FastPlayFallbackBehaviour(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::ShowAndHideAutomatically() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->get_ShowAndHideAutomatically(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::ShowAndHideAutomatically(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->put_ShowAndHideAutomatically(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsRepeatEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->get_IsRepeatEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsRepeatEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->put_IsRepeatEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsRepeatButtonVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->get_IsRepeatButtonVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::IsRepeatButtonVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->put_IsRepeatButtonVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::ThumbnailRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->add_ThumbnailRequested(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::ThumbnailRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ThumbnailRequested(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::ThumbnailRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->remove_ThumbnailRequested(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::Show() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->Show()); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControls::Hide() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControls)->Hide()); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControlsFactory::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::IMediaTransportControlsFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::MediaTransportControls{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControlsHelperStatics::DropoutOrderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControlsHelperStatics)->get_DropoutOrderProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControlsHelperStatics::GetDropoutOrder(winrt::Microsoft::UI::Xaml::UIElement const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControlsHelperStatics)->GetDropoutOrder(*(void**)(&element), &result)); return winrt::Windows::Foundation::IReference{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControlsHelperStatics::SetDropoutOrder(winrt::Microsoft::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControlsHelperStatics)->SetDropoutOrder(*(void**)(&element), *(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControlsStatics::IsZoomButtonVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsZoomButtonVisibleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControlsStatics::IsZoomEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsZoomEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControlsStatics::IsFastForwardButtonVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsFastForwardButtonVisibleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControlsStatics::IsFastForwardEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsFastForwardEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControlsStatics::IsFastRewindButtonVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsFastRewindButtonVisibleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControlsStatics::IsFastRewindEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsFastRewindEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControlsStatics::IsStopButtonVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsStopButtonVisibleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControlsStatics::IsStopEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsStopEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControlsStatics::IsVolumeButtonVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsVolumeButtonVisibleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControlsStatics::IsVolumeEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsVolumeEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControlsStatics::IsPlaybackRateButtonVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsPlaybackRateButtonVisibleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControlsStatics::IsPlaybackRateEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsPlaybackRateEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControlsStatics::IsSeekBarVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsSeekBarVisibleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControlsStatics::IsSeekEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsSeekEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControlsStatics::IsCompactProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsCompactProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControlsStatics::IsSkipForwardButtonVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsSkipForwardButtonVisibleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControlsStatics::IsSkipForwardEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsSkipForwardEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControlsStatics::IsSkipBackwardButtonVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsSkipBackwardButtonVisibleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControlsStatics::IsSkipBackwardEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsSkipBackwardEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControlsStatics::IsNextTrackButtonVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsNextTrackButtonVisibleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControlsStatics::IsPreviousTrackButtonVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsPreviousTrackButtonVisibleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControlsStatics::FastPlayFallbackBehaviourProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_FastPlayFallbackBehaviourProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControlsStatics::ShowAndHideAutomaticallyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_ShowAndHideAutomaticallyProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControlsStatics::IsRepeatEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsRepeatEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMediaTransportControlsStatics::IsRepeatButtonVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMediaTransportControlsStatics)->get_IsRepeatButtonVisibleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } 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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyout::Items() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyout)->get_Items(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyout::MenuFlyoutPresenterStyle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyout)->get_MenuFlyoutPresenterStyle(&value)); return winrt::Microsoft::UI::Xaml::Style{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyout::MenuFlyoutPresenterStyle(winrt::Microsoft::UI::Xaml::Style const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyout)->put_MenuFlyoutPresenterStyle(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyout::ShowAt(winrt::Microsoft::UI::Xaml::UIElement const& targetElement, winrt::Windows::Foundation::Point const& point) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyout)->ShowAt(*(void**)(&targetElement), impl::bind_in(point))); } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutFactory::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::IMenuFlyoutFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::MenuFlyout{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutItem::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyoutItem)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutItem::Text(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyoutItem)->put_Text(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutItem::Command() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyoutItem)->get_Command(&value)); return winrt::Microsoft::UI::Xaml::Input::ICommand{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutItem::Command(winrt::Microsoft::UI::Xaml::Input::ICommand const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyoutItem)->put_Command(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutItem::CommandParameter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyoutItem)->get_CommandParameter(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutItem::CommandParameter(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyoutItem)->put_CommandParameter(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutItem::Icon() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyoutItem)->get_Icon(&value)); return winrt::Microsoft::UI::Xaml::Controls::IconElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutItem::Icon(winrt::Microsoft::UI::Xaml::Controls::IconElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyoutItem)->put_Icon(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutItem::KeyboardAcceleratorTextOverride() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyoutItem)->get_KeyboardAcceleratorTextOverride(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutItem::KeyboardAcceleratorTextOverride(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyoutItem)->put_KeyboardAcceleratorTextOverride(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutItem::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyoutItem)->get_TemplateSettings(&value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::MenuFlyoutItemTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutItem::Click(winrt::Microsoft::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyoutItem)->add_Click(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutItem::Click(auto_revoke_t, winrt::Microsoft::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, Click(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutItem::Click(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyoutItem)->remove_Click(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutItemFactory::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::IMenuFlyoutItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::MenuFlyoutItem{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutItemStatics::TextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyoutItemStatics)->get_TextProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutItemStatics::CommandProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyoutItemStatics)->get_CommandProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutItemStatics::CommandParameterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyoutItemStatics)->get_CommandParameterProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutItemStatics::IconProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyoutItemStatics)->get_IconProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutItemStatics::KeyboardAcceleratorTextOverrideProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyoutItemStatics)->get_KeyboardAcceleratorTextOverrideProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutPresenter::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyoutPresenter)->get_TemplateSettings(&value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::MenuFlyoutPresenterTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutPresenter::IsDefaultShadowEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyoutPresenter)->get_IsDefaultShadowEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutPresenter::IsDefaultShadowEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyoutPresenter)->put_IsDefaultShadowEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutPresenter2::SystemBackdrop() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyoutPresenter2)->get_SystemBackdrop(&value)); return winrt::Microsoft::UI::Xaml::Media::SystemBackdrop{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutPresenter2::SystemBackdrop(winrt::Microsoft::UI::Xaml::Media::SystemBackdrop const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyoutPresenter2)->put_SystemBackdrop(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutPresenterFactory::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::IMenuFlyoutPresenterFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::MenuFlyoutPresenter{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutPresenterStatics::IsDefaultShadowEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyoutPresenterStatics)->get_IsDefaultShadowEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutPresenterStatics2::SystemBackdropProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyoutPresenterStatics2)->get_SystemBackdropProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutSeparatorFactory::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::IMenuFlyoutSeparatorFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::MenuFlyoutSeparator{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutStatics::MenuFlyoutPresenterStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyoutStatics)->get_MenuFlyoutPresenterStyleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutSubItem::Items() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyoutSubItem)->get_Items(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutSubItem::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyoutSubItem)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutSubItem::Text(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyoutSubItem)->put_Text(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutSubItem::Icon() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyoutSubItem)->get_Icon(&value)); return winrt::Microsoft::UI::Xaml::Controls::IconElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutSubItem::Icon(winrt::Microsoft::UI::Xaml::Controls::IconElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyoutSubItem)->put_Icon(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutSubItemStatics::TextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyoutSubItemStatics)->get_TextProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IMenuFlyoutSubItemStatics::IconProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IMenuFlyoutSubItemStatics)->get_IconProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigate::Navigate(winrt::Windows::UI::Xaml::Interop::TypeName const& sourcePageType) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::INavigate)->Navigate(impl::bind_in(sourcePageType), &result)); return result; } 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::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::PaneFooter(winrt::Microsoft::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::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::HeaderTemplate(winrt::Microsoft::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::Microsoft::UI::Xaml::Style{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::PaneToggleButtonStyle(winrt::Microsoft::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::Microsoft::UI::Xaml::Controls::AutoSuggestBox{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::AutoSuggestBox(winrt::Microsoft::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::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::MenuItemTemplate(winrt::Microsoft::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::Microsoft::UI::Xaml::Controls::DataTemplateSelector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::MenuItemTemplateSelector(winrt::Microsoft::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::Microsoft::UI::Xaml::Style{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::MenuItemContainerStyle(winrt::Microsoft::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::Microsoft::UI::Xaml::Controls::StyleSelector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView::MenuItemContainerStyleSelector(winrt::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::PaneHeader(winrt::Microsoft::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::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::PaneCustomContent(winrt::Microsoft::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::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationView2::ContentOverlay(winrt::Microsoft::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::Microsoft::UI::Xaml::Controls::IconElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INavigationViewItem::Icon(winrt::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::HeaderTemplate(winrt::Microsoft::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::Microsoft::UI::Xaml::Controls::Primitives::FlyoutBase{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::SelectionFlyout(winrt::Microsoft::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::Microsoft::UI::Xaml::Media::SolidColorBrush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_INumberBox::SelectionHighlightColor(winrt::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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_IPage::Frame() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPage)->get_Frame(&value)); return winrt::Microsoft::UI::Xaml::Controls::Frame{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPage::NavigationCacheMode() const { winrt::Microsoft::UI::Xaml::Navigation::NavigationCacheMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPage)->get_NavigationCacheMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IPage::NavigationCacheMode(winrt::Microsoft::UI::Xaml::Navigation::NavigationCacheMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPage)->put_NavigationCacheMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPage::TopAppBar() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPage)->get_TopAppBar(&value)); return winrt::Microsoft::UI::Xaml::Controls::AppBar{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPage::TopAppBar(winrt::Microsoft::UI::Xaml::Controls::AppBar const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPage)->put_TopAppBar(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPage::BottomAppBar() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPage)->get_BottomAppBar(&value)); return winrt::Microsoft::UI::Xaml::Controls::AppBar{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPage::BottomAppBar(winrt::Microsoft::UI::Xaml::Controls::AppBar const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPage)->put_BottomAppBar(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPageFactory::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::IPageFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::Page{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPageOverrides::OnNavigatedFrom(winrt::Microsoft::UI::Xaml::Navigation::NavigationEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPageOverrides)->OnNavigatedFrom(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IPageOverrides::OnNavigatedTo(winrt::Microsoft::UI::Xaml::Navigation::NavigationEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPageOverrides)->OnNavigatedTo(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IPageOverrides::OnNavigatingFrom(winrt::Microsoft::UI::Xaml::Navigation::NavigatingCancelEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPageOverrides)->OnNavigatingFrom(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IPageStatics::FrameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPageStatics)->get_FrameProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPageStatics::TopAppBarProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPageStatics)->get_TopAppBarProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPageStatics::BottomAppBarProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPageStatics)->get_BottomAppBarProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPanel::Children() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPanel)->get_Children(&value)); return winrt::Microsoft::UI::Xaml::Controls::UIElementCollection{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPanel::Background() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPanel)->get_Background(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPanel::Background(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPanel)->put_Background(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPanel::IsItemsHost() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPanel)->get_IsItemsHost(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IPanel::ChildrenTransitions() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPanel)->get_ChildrenTransitions(&value)); return winrt::Microsoft::UI::Xaml::Media::Animation::TransitionCollection{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPanel::ChildrenTransitions(winrt::Microsoft::UI::Xaml::Media::Animation::TransitionCollection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPanel)->put_ChildrenTransitions(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPanel::BackgroundTransition() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPanel)->get_BackgroundTransition(&value)); return winrt::Microsoft::UI::Xaml::BrushTransition{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPanel::BackgroundTransition(winrt::Microsoft::UI::Xaml::BrushTransition const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPanel)->put_BackgroundTransition(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPanelFactory::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::IPanelFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::Panel{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPanelStatics::BackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPanelStatics)->get_BackgroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPanelStatics::IsItemsHostProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPanelStatics)->get_IsItemsHostProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPanelStatics::ChildrenTransitionsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPanelStatics)->get_ChildrenTransitionsProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } 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::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxView::Child(winrt::Microsoft::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::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IParallaxView::Source(winrt::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::Password() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->get_Password(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::Password(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->put_Password(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::PasswordChar() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->get_PasswordChar(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::PasswordChar(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->put_PasswordChar(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::IsPasswordRevealButtonEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->get_IsPasswordRevealButtonEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::IsPasswordRevealButtonEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->put_IsPasswordRevealButtonEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::MaxLength() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->get_MaxLength(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::MaxLength(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->put_MaxLength(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->put_Header(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->get_HeaderTemplate(&value)); return winrt::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::HeaderTemplate(winrt::Microsoft::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->put_HeaderTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::PlaceholderText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->get_PlaceholderText(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::PlaceholderText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->put_PlaceholderText(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::SelectionHighlightColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->get_SelectionHighlightColor(&value)); return winrt::Microsoft::UI::Xaml::Media::SolidColorBrush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::SelectionHighlightColor(winrt::Microsoft::UI::Xaml::Media::SolidColorBrush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->put_SelectionHighlightColor(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::PreventKeyboardDisplayOnProgrammaticFocus() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->get_PreventKeyboardDisplayOnProgrammaticFocus(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::PreventKeyboardDisplayOnProgrammaticFocus(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->put_PreventKeyboardDisplayOnProgrammaticFocus(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::PasswordRevealMode() const { winrt::Microsoft::UI::Xaml::Controls::PasswordRevealMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->get_PasswordRevealMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::PasswordRevealMode(winrt::Microsoft::UI::Xaml::Controls::PasswordRevealMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->put_PasswordRevealMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::TextReadingOrder() const { winrt::Microsoft::UI::Xaml::TextReadingOrder value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->get_TextReadingOrder(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::TextReadingOrder(winrt::Microsoft::UI::Xaml::TextReadingOrder const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->put_TextReadingOrder(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::InputScope() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->get_InputScope(&value)); return winrt::Microsoft::UI::Xaml::Input::InputScope{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::InputScope(winrt::Microsoft::UI::Xaml::Input::InputScope const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->put_InputScope(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::CanPasteClipboardContent() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->get_CanPasteClipboardContent(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::SelectionFlyout() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->get_SelectionFlyout(&value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::FlyoutBase{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::SelectionFlyout(winrt::Microsoft::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->put_SelectionFlyout(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->get_Description(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::Description(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->put_Description(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::PasswordChanged(winrt::Microsoft::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->add_PasswordChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::PasswordChanged(auto_revoke_t, winrt::Microsoft::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, PasswordChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::PasswordChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->remove_PasswordChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::ContextMenuOpening(winrt::Microsoft::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->add_ContextMenuOpening(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::ContextMenuOpening(auto_revoke_t, winrt::Microsoft::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const { return impl::make_event_revoker(this, ContextMenuOpening(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::ContextMenuOpening(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->remove_ContextMenuOpening(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::Paste(winrt::Microsoft::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->add_Paste(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::Paste(auto_revoke_t, winrt::Microsoft::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const { return impl::make_event_revoker(this, Paste(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::Paste(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->remove_Paste(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::PasswordChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->add_PasswordChanging(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::PasswordChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PasswordChanging(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::PasswordChanging(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->remove_PasswordChanging(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::SelectAll() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->SelectAll()); } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBox::PasteFromClipboard() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBox)->PasteFromClipboard()); } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBoxPasswordChangingEventArgs::IsContentChanging() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBoxPasswordChangingEventArgs)->get_IsContentChanging(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBoxStatics::PasswordProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBoxStatics)->get_PasswordProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBoxStatics::PasswordCharProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBoxStatics)->get_PasswordCharProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBoxStatics::IsPasswordRevealButtonEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBoxStatics)->get_IsPasswordRevealButtonEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBoxStatics::MaxLengthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBoxStatics)->get_MaxLengthProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBoxStatics::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBoxStatics)->get_HeaderProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBoxStatics::HeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBoxStatics)->get_HeaderTemplateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBoxStatics::PlaceholderTextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBoxStatics)->get_PlaceholderTextProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBoxStatics::SelectionHighlightColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBoxStatics)->get_SelectionHighlightColorProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBoxStatics::PreventKeyboardDisplayOnProgrammaticFocusProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBoxStatics)->get_PreventKeyboardDisplayOnProgrammaticFocusProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBoxStatics::PasswordRevealModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBoxStatics)->get_PasswordRevealModeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBoxStatics::TextReadingOrderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBoxStatics)->get_TextReadingOrderProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBoxStatics::InputScopeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBoxStatics)->get_InputScopeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBoxStatics::CanPasteClipboardContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBoxStatics)->get_CanPasteClipboardContentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBoxStatics::SelectionFlyoutProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBoxStatics)->get_SelectionFlyoutProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPasswordBoxStatics::DescriptionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPasswordBoxStatics)->get_DescriptionProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPathIcon::Data() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPathIcon)->get_Data(&value)); return winrt::Microsoft::UI::Xaml::Media::Geometry{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPathIcon::Data(winrt::Microsoft::UI::Xaml::Media::Geometry const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPathIcon)->put_Data(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPathIconFactory::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::IPathIconFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::PathIcon{ 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::Microsoft::UI::Xaml::Media::Geometry{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPathIconSource::Data(winrt::Microsoft::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::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPathIconStatics::DataProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPathIconStatics)->get_DataProperty(&value)); return winrt::Microsoft::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::Microsoft::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPicture::BadgeImageSource(winrt::Microsoft::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::Microsoft::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPersonPicture::ProfilePicture(winrt::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::Media::ImageBrush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPickerFlyout::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPickerFlyout)->get_Content(&value)); return winrt::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPickerFlyout::Content(winrt::Microsoft::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPickerFlyout)->put_Content(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPickerFlyout::ConfirmationButtonsVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPickerFlyout)->get_ConfirmationButtonsVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IPickerFlyout::ConfirmationButtonsVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPickerFlyout)->put_ConfirmationButtonsVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IPickerFlyout::Confirmed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPickerFlyout)->add_Confirmed(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IPickerFlyout::Confirmed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Confirmed(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IPickerFlyout::Confirmed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPickerFlyout)->remove_Confirmed(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IPickerFlyout::ShowAtAsync(winrt::Microsoft::UI::Xaml::FrameworkElement const& target) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPickerFlyout)->ShowAtAsync(*(void**)(&target), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPickerFlyoutStatics::ContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPickerFlyoutStatics)->get_ContentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPickerFlyoutStatics::ConfirmationButtonsVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPickerFlyoutStatics)->get_ConfirmationButtonsVisibleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ 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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::Style{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPager::PreviousButtonStyle(winrt::Microsoft::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::Microsoft::UI::Xaml::Style{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPager::NextButtonStyle(winrt::Microsoft::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::Microsoft::UI::Xaml::Style{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPager::SelectedPipStyle(winrt::Microsoft::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::Microsoft::UI::Xaml::Style{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPager::NormalPipStyle(winrt::Microsoft::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_IPipsPager2::WrapMode() const { winrt::Microsoft::UI::Xaml::Controls::PipsPagerWrapMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPager2)->get_WrapMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPager2::WrapMode(winrt::Microsoft::UI::Xaml::Controls::PipsPagerWrapMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPager2)->put_WrapMode(static_cast(value))); } 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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPipsPagerStatics2::WrapModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPipsPagerStatics2)->get_WrapModeProperty(&value)); return winrt::Microsoft::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_IPivot::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivot)->get_Title(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::Title(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivot)->put_Title(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::TitleTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivot)->get_TitleTemplate(&value)); return winrt::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::TitleTemplate(winrt::Microsoft::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivot)->put_TitleTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::LeftHeader() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivot)->get_LeftHeader(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::LeftHeader(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivot)->put_LeftHeader(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::LeftHeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivot)->get_LeftHeaderTemplate(&value)); return winrt::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::LeftHeaderTemplate(winrt::Microsoft::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivot)->put_LeftHeaderTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::RightHeader() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivot)->get_RightHeader(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::RightHeader(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivot)->put_RightHeader(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::RightHeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivot)->get_RightHeaderTemplate(&value)); return winrt::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::RightHeaderTemplate(winrt::Microsoft::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivot)->put_RightHeaderTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivot)->get_HeaderTemplate(&value)); return winrt::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::HeaderTemplate(winrt::Microsoft::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivot)->put_HeaderTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::SelectedIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivot)->get_SelectedIndex(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::SelectedIndex(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivot)->put_SelectedIndex(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::SelectedItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivot)->get_SelectedItem(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::SelectedItem(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivot)->put_SelectedItem(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::IsLocked() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivot)->get_IsLocked(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::IsLocked(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivot)->put_IsLocked(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::HeaderFocusVisualPlacement() const { winrt::Microsoft::UI::Xaml::Controls::PivotHeaderFocusVisualPlacement value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivot)->get_HeaderFocusVisualPlacement(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::HeaderFocusVisualPlacement(winrt::Microsoft::UI::Xaml::Controls::PivotHeaderFocusVisualPlacement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivot)->put_HeaderFocusVisualPlacement(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::IsHeaderItemsCarouselEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivot)->get_IsHeaderItemsCarouselEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::IsHeaderItemsCarouselEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivot)->put_IsHeaderItemsCarouselEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::SelectionChanged(winrt::Microsoft::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivot)->add_SelectionChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::SelectionChanged(auto_revoke_t, winrt::Microsoft::UI::Xaml::Controls::SelectionChangedEventHandler const& handler) const { return impl::make_event_revoker(this, SelectionChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::SelectionChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivot)->remove_SelectionChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::PivotItemLoading(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivot)->add_PivotItemLoading(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::PivotItemLoading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PivotItemLoading(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::PivotItemLoading(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivot)->remove_PivotItemLoading(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::PivotItemLoaded(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivot)->add_PivotItemLoaded(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::PivotItemLoaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PivotItemLoaded(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::PivotItemLoaded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivot)->remove_PivotItemLoaded(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::PivotItemUnloading(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivot)->add_PivotItemUnloading(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::PivotItemUnloading(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PivotItemUnloading(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::PivotItemUnloading(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivot)->remove_PivotItemUnloading(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::PivotItemUnloaded(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivot)->add_PivotItemUnloaded(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::PivotItemUnloaded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PivotItemUnloaded(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IPivot::PivotItemUnloaded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivot)->remove_PivotItemUnloaded(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IPivotFactory::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::IPivotFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::Pivot{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPivotItem::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivotItem)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPivotItem::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivotItem)->put_Header(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPivotItemEventArgs::Item() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivotItemEventArgs)->get_Item(&value)); return winrt::Microsoft::UI::Xaml::Controls::PivotItem{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPivotItemEventArgs::Item(winrt::Microsoft::UI::Xaml::Controls::PivotItem const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivotItemEventArgs)->put_Item(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IPivotItemFactory::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::IPivotItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::PivotItem{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPivotItemStatics::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivotItemStatics)->get_HeaderProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPivotStatics::TitleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivotStatics)->get_TitleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPivotStatics::TitleTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivotStatics)->get_TitleTemplateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPivotStatics::LeftHeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivotStatics)->get_LeftHeaderProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPivotStatics::LeftHeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivotStatics)->get_LeftHeaderTemplateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPivotStatics::RightHeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivotStatics)->get_RightHeaderProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPivotStatics::RightHeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivotStatics)->get_RightHeaderTemplateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPivotStatics::HeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivotStatics)->get_HeaderTemplateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPivotStatics::SelectedIndexProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivotStatics)->get_SelectedIndexProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPivotStatics::SelectedItemProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivotStatics)->get_SelectedItemProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPivotStatics::IsLockedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivotStatics)->get_IsLockedProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPivotStatics::HeaderFocusVisualPlacementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivotStatics)->get_HeaderFocusVisualPlacementProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPivotStatics::IsHeaderItemsCarouselEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivotStatics)->get_IsHeaderItemsCarouselEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPivotStatics::SlideInAnimationGroupProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivotStatics)->get_SlideInAnimationGroupProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IPivotStatics::GetSlideInAnimationGroup(winrt::Microsoft::UI::Xaml::FrameworkElement const& element) const { winrt::Microsoft::UI::Xaml::Controls::PivotSlideInAnimationGroup result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivotStatics)->GetSlideInAnimationGroup(*(void**)(&element), reinterpret_cast(&result))); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IPivotStatics::SetSlideInAnimationGroup(winrt::Microsoft::UI::Xaml::FrameworkElement const& element, winrt::Microsoft::UI::Xaml::Controls::PivotSlideInAnimationGroup const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IPivotStatics)->SetSlideInAnimationGroup(*(void**)(&element), static_cast(value))); } 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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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_IRadioButton::GroupName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioButton)->get_GroupName(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRadioButton::GroupName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioButton)->put_GroupName(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRadioButtonFactory::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::IRadioButtonFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::RadioButton{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRadioButtonStatics::GroupNameProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRadioButtonStatics)->get_GroupNameProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } 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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRadioButtons::HeaderTemplate(winrt::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRadioMenuFlyoutItemStatics2::SetAreCheckStatesEnabled(winrt::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemImageInfo::DisabledImage(winrt::Microsoft::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::Microsoft::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemImageInfo::Image(winrt::Microsoft::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::Microsoft::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemImageInfo::PlaceholderImage(winrt::Microsoft::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::Microsoft::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemImageInfo::PointerOverImage(winrt::Microsoft::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::Microsoft::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemImageInfo::PointerOverPlaceholderImage(winrt::Microsoft::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::Microsoft::UI::Xaml::Media::ImageSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRatingItemImageInfo::UnsetImage(winrt::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRefreshVisualizer::Content(winrt::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanel::BackgroundSizing() const { winrt::Microsoft::UI::Xaml::Controls::BackgroundSizing value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanel)->get_BackgroundSizing(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanel::BackgroundSizing(winrt::Microsoft::UI::Xaml::Controls::BackgroundSizing const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanel)->put_BackgroundSizing(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanel::BorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanel)->get_BorderBrush(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanel::BorderBrush(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanel)->put_BorderBrush(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanel::BorderThickness() const { winrt::Microsoft::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanel)->get_BorderThickness(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanel::BorderThickness(winrt::Microsoft::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanel)->put_BorderThickness(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanel::CornerRadius() const { winrt::Microsoft::UI::Xaml::CornerRadius value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanel)->get_CornerRadius(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanel::CornerRadius(winrt::Microsoft::UI::Xaml::CornerRadius const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanel)->put_CornerRadius(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanel::Padding() const { winrt::Microsoft::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanel)->get_Padding(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanel::Padding(winrt::Microsoft::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanel)->put_Padding(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelFactory::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::IRelativePanelFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::RelativePanel{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::BackgroundSizingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->get_BackgroundSizingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::LeftOfProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->get_LeftOfProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::GetLeftOf(winrt::Microsoft::UI::Xaml::UIElement const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->GetLeftOf(*(void**)(&element), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::SetLeftOf(winrt::Microsoft::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->SetLeftOf(*(void**)(&element), *(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::AboveProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->get_AboveProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::GetAbove(winrt::Microsoft::UI::Xaml::UIElement const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->GetAbove(*(void**)(&element), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::SetAbove(winrt::Microsoft::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->SetAbove(*(void**)(&element), *(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::RightOfProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->get_RightOfProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::GetRightOf(winrt::Microsoft::UI::Xaml::UIElement const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->GetRightOf(*(void**)(&element), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::SetRightOf(winrt::Microsoft::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->SetRightOf(*(void**)(&element), *(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::BelowProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->get_BelowProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::GetBelow(winrt::Microsoft::UI::Xaml::UIElement const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->GetBelow(*(void**)(&element), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::SetBelow(winrt::Microsoft::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->SetBelow(*(void**)(&element), *(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::AlignHorizontalCenterWithProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->get_AlignHorizontalCenterWithProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::GetAlignHorizontalCenterWith(winrt::Microsoft::UI::Xaml::UIElement const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->GetAlignHorizontalCenterWith(*(void**)(&element), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::SetAlignHorizontalCenterWith(winrt::Microsoft::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->SetAlignHorizontalCenterWith(*(void**)(&element), *(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::AlignVerticalCenterWithProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->get_AlignVerticalCenterWithProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::GetAlignVerticalCenterWith(winrt::Microsoft::UI::Xaml::UIElement const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->GetAlignVerticalCenterWith(*(void**)(&element), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::SetAlignVerticalCenterWith(winrt::Microsoft::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->SetAlignVerticalCenterWith(*(void**)(&element), *(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::AlignLeftWithProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->get_AlignLeftWithProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::GetAlignLeftWith(winrt::Microsoft::UI::Xaml::UIElement const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->GetAlignLeftWith(*(void**)(&element), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::SetAlignLeftWith(winrt::Microsoft::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->SetAlignLeftWith(*(void**)(&element), *(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::AlignTopWithProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->get_AlignTopWithProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::GetAlignTopWith(winrt::Microsoft::UI::Xaml::UIElement const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->GetAlignTopWith(*(void**)(&element), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::SetAlignTopWith(winrt::Microsoft::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->SetAlignTopWith(*(void**)(&element), *(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::AlignRightWithProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->get_AlignRightWithProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::GetAlignRightWith(winrt::Microsoft::UI::Xaml::UIElement const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->GetAlignRightWith(*(void**)(&element), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::SetAlignRightWith(winrt::Microsoft::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->SetAlignRightWith(*(void**)(&element), *(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::AlignBottomWithProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->get_AlignBottomWithProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::GetAlignBottomWith(winrt::Microsoft::UI::Xaml::UIElement const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->GetAlignBottomWith(*(void**)(&element), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::SetAlignBottomWith(winrt::Microsoft::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->SetAlignBottomWith(*(void**)(&element), *(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::AlignLeftWithPanelProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->get_AlignLeftWithPanelProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::GetAlignLeftWithPanel(winrt::Microsoft::UI::Xaml::UIElement const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->GetAlignLeftWithPanel(*(void**)(&element), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::SetAlignLeftWithPanel(winrt::Microsoft::UI::Xaml::UIElement const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->SetAlignLeftWithPanel(*(void**)(&element), value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::AlignTopWithPanelProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->get_AlignTopWithPanelProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::GetAlignTopWithPanel(winrt::Microsoft::UI::Xaml::UIElement const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->GetAlignTopWithPanel(*(void**)(&element), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::SetAlignTopWithPanel(winrt::Microsoft::UI::Xaml::UIElement const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->SetAlignTopWithPanel(*(void**)(&element), value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::AlignRightWithPanelProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->get_AlignRightWithPanelProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::GetAlignRightWithPanel(winrt::Microsoft::UI::Xaml::UIElement const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->GetAlignRightWithPanel(*(void**)(&element), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::SetAlignRightWithPanel(winrt::Microsoft::UI::Xaml::UIElement const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->SetAlignRightWithPanel(*(void**)(&element), value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::AlignBottomWithPanelProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->get_AlignBottomWithPanelProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::GetAlignBottomWithPanel(winrt::Microsoft::UI::Xaml::UIElement const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->GetAlignBottomWithPanel(*(void**)(&element), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::SetAlignBottomWithPanel(winrt::Microsoft::UI::Xaml::UIElement const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->SetAlignBottomWithPanel(*(void**)(&element), value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::AlignHorizontalCenterWithPanelProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->get_AlignHorizontalCenterWithPanelProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::GetAlignHorizontalCenterWithPanel(winrt::Microsoft::UI::Xaml::UIElement const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->GetAlignHorizontalCenterWithPanel(*(void**)(&element), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::SetAlignHorizontalCenterWithPanel(winrt::Microsoft::UI::Xaml::UIElement const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->SetAlignHorizontalCenterWithPanel(*(void**)(&element), value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::AlignVerticalCenterWithPanelProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->get_AlignVerticalCenterWithPanelProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::GetAlignVerticalCenterWithPanel(winrt::Microsoft::UI::Xaml::UIElement const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->GetAlignVerticalCenterWithPanel(*(void**)(&element), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::SetAlignVerticalCenterWithPanel(winrt::Microsoft::UI::Xaml::UIElement const& element, bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->SetAlignVerticalCenterWithPanel(*(void**)(&element), value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::BorderBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->get_BorderBrushProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::BorderThicknessProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->get_BorderThicknessProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::CornerRadiusProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->get_CornerRadiusProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRelativePanelStatics::PaddingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRelativePanelStatics)->get_PaddingProperty(&value)); return winrt::Microsoft::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_IRichEditBox::IsReadOnly() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->get_IsReadOnly(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::IsReadOnly(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->put_IsReadOnly(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::AcceptsReturn() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->get_AcceptsReturn(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::AcceptsReturn(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->put_AcceptsReturn(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::TextAlignment() const { winrt::Microsoft::UI::Xaml::TextAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->get_TextAlignment(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::TextAlignment(winrt::Microsoft::UI::Xaml::TextAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->put_TextAlignment(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::TextWrapping() const { winrt::Microsoft::UI::Xaml::TextWrapping value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->get_TextWrapping(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::TextWrapping(winrt::Microsoft::UI::Xaml::TextWrapping const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->put_TextWrapping(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::IsSpellCheckEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->get_IsSpellCheckEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::IsSpellCheckEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->put_IsSpellCheckEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::IsTextPredictionEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->get_IsTextPredictionEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::IsTextPredictionEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->put_IsTextPredictionEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::Document() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->get_Document(&value)); return winrt::Microsoft::UI::Text::RichEditTextDocument{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::InputScope() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->get_InputScope(&value)); return winrt::Microsoft::UI::Xaml::Input::InputScope{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::InputScope(winrt::Microsoft::UI::Xaml::Input::InputScope const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->put_InputScope(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->put_Header(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->get_HeaderTemplate(&value)); return winrt::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::HeaderTemplate(winrt::Microsoft::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->put_HeaderTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::PlaceholderText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->get_PlaceholderText(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::PlaceholderText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->put_PlaceholderText(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::SelectionHighlightColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->get_SelectionHighlightColor(&value)); return winrt::Microsoft::UI::Xaml::Media::SolidColorBrush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::SelectionHighlightColor(winrt::Microsoft::UI::Xaml::Media::SolidColorBrush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->put_SelectionHighlightColor(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::PreventKeyboardDisplayOnProgrammaticFocus() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->get_PreventKeyboardDisplayOnProgrammaticFocus(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::PreventKeyboardDisplayOnProgrammaticFocus(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->put_PreventKeyboardDisplayOnProgrammaticFocus(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::IsColorFontEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->get_IsColorFontEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::IsColorFontEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->put_IsColorFontEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::SelectionHighlightColorWhenNotFocused() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->get_SelectionHighlightColorWhenNotFocused(&value)); return winrt::Microsoft::UI::Xaml::Media::SolidColorBrush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::SelectionHighlightColorWhenNotFocused(winrt::Microsoft::UI::Xaml::Media::SolidColorBrush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->put_SelectionHighlightColorWhenNotFocused(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::MaxLength() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->get_MaxLength(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::MaxLength(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->put_MaxLength(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::HorizontalTextAlignment() const { winrt::Microsoft::UI::Xaml::TextAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->get_HorizontalTextAlignment(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::HorizontalTextAlignment(winrt::Microsoft::UI::Xaml::TextAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->put_HorizontalTextAlignment(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::CharacterCasing() const { winrt::Microsoft::UI::Xaml::Controls::CharacterCasing value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->get_CharacterCasing(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::CharacterCasing(winrt::Microsoft::UI::Xaml::Controls::CharacterCasing const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->put_CharacterCasing(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::DisabledFormattingAccelerators() const { winrt::Microsoft::UI::Xaml::Controls::DisabledFormattingAccelerators value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->get_DisabledFormattingAccelerators(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::DisabledFormattingAccelerators(winrt::Microsoft::UI::Xaml::Controls::DisabledFormattingAccelerators const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->put_DisabledFormattingAccelerators(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::TextDocument() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->get_TextDocument(&value)); return winrt::Microsoft::UI::Text::RichEditTextDocument{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::SelectionFlyout() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->get_SelectionFlyout(&value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::FlyoutBase{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::SelectionFlyout(winrt::Microsoft::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->put_SelectionFlyout(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::ProofingMenuFlyout() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->get_ProofingMenuFlyout(&value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::FlyoutBase{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->get_Description(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::Description(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->put_Description(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::TextChanged(winrt::Microsoft::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->add_TextChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::TextChanged(auto_revoke_t, winrt::Microsoft::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, TextChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::TextChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->remove_TextChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::SelectionChanged(winrt::Microsoft::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->add_SelectionChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::SelectionChanged(auto_revoke_t, winrt::Microsoft::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, SelectionChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::SelectionChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->remove_SelectionChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::ContextMenuOpening(winrt::Microsoft::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->add_ContextMenuOpening(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::ContextMenuOpening(auto_revoke_t, winrt::Microsoft::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const { return impl::make_event_revoker(this, ContextMenuOpening(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::ContextMenuOpening(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->remove_ContextMenuOpening(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::Paste(winrt::Microsoft::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->add_Paste(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::Paste(auto_revoke_t, winrt::Microsoft::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const { return impl::make_event_revoker(this, Paste(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::Paste(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->remove_Paste(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::TextCompositionStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->add_TextCompositionStarted(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::TextCompositionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TextCompositionStarted(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::TextCompositionStarted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->remove_TextCompositionStarted(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::TextCompositionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->add_TextCompositionChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::TextCompositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TextCompositionChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::TextCompositionChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->remove_TextCompositionChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::TextCompositionEnded(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->add_TextCompositionEnded(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::TextCompositionEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TextCompositionEnded(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::TextCompositionEnded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->remove_TextCompositionEnded(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::CopyingToClipboard(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->add_CopyingToClipboard(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::CopyingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CopyingToClipboard(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::CopyingToClipboard(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->remove_CopyingToClipboard(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::CuttingToClipboard(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->add_CuttingToClipboard(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::CuttingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CuttingToClipboard(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::CuttingToClipboard(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->remove_CuttingToClipboard(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::SelectionChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->add_SelectionChanging(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::SelectionChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SelectionChanging(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::SelectionChanging(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->remove_SelectionChanging(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::GetLinguisticAlternativesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->GetLinguisticAlternativesAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::TextReadingOrder() const { winrt::Microsoft::UI::Xaml::TextReadingOrder value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->get_TextReadingOrder(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::TextReadingOrder(winrt::Microsoft::UI::Xaml::TextReadingOrder const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->put_TextReadingOrder(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::ClipboardCopyFormat() const { winrt::Microsoft::UI::Xaml::Controls::RichEditClipboardFormat value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->get_ClipboardCopyFormat(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::ClipboardCopyFormat(winrt::Microsoft::UI::Xaml::Controls::RichEditClipboardFormat const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->put_ClipboardCopyFormat(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::DesiredCandidateWindowAlignment() const { winrt::Microsoft::UI::Xaml::Controls::CandidateWindowAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->get_DesiredCandidateWindowAlignment(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::DesiredCandidateWindowAlignment(winrt::Microsoft::UI::Xaml::Controls::CandidateWindowAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->put_DesiredCandidateWindowAlignment(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::CandidateWindowBoundsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->add_CandidateWindowBoundsChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::CandidateWindowBoundsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CandidateWindowBoundsChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::CandidateWindowBoundsChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->remove_CandidateWindowBoundsChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::TextChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->add_TextChanging(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::TextChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TextChanging(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBox::TextChanging(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBox)->remove_TextChanging(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBoxFactory::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::IRichEditBoxFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::RichEditBox{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBoxSelectionChangingEventArgs::SelectionStart() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBoxSelectionChangingEventArgs)->get_SelectionStart(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBoxSelectionChangingEventArgs::SelectionLength() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBoxSelectionChangingEventArgs)->get_SelectionLength(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBoxSelectionChangingEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBoxSelectionChangingEventArgs)->get_Cancel(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBoxSelectionChangingEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBoxSelectionChangingEventArgs)->put_Cancel(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBoxStatics::IsReadOnlyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBoxStatics)->get_IsReadOnlyProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBoxStatics::AcceptsReturnProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBoxStatics)->get_AcceptsReturnProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBoxStatics::TextAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBoxStatics)->get_TextAlignmentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBoxStatics::TextWrappingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBoxStatics)->get_TextWrappingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBoxStatics::IsSpellCheckEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBoxStatics)->get_IsSpellCheckEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBoxStatics::IsTextPredictionEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBoxStatics)->get_IsTextPredictionEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBoxStatics::InputScopeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBoxStatics)->get_InputScopeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBoxStatics::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBoxStatics)->get_HeaderProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBoxStatics::HeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBoxStatics)->get_HeaderTemplateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBoxStatics::PlaceholderTextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBoxStatics)->get_PlaceholderTextProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBoxStatics::SelectionHighlightColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBoxStatics)->get_SelectionHighlightColorProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBoxStatics::PreventKeyboardDisplayOnProgrammaticFocusProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBoxStatics)->get_PreventKeyboardDisplayOnProgrammaticFocusProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBoxStatics::IsColorFontEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBoxStatics)->get_IsColorFontEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBoxStatics::SelectionHighlightColorWhenNotFocusedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBoxStatics)->get_SelectionHighlightColorWhenNotFocusedProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBoxStatics::MaxLengthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBoxStatics)->get_MaxLengthProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBoxStatics::HorizontalTextAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBoxStatics)->get_HorizontalTextAlignmentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBoxStatics::CharacterCasingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBoxStatics)->get_CharacterCasingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBoxStatics::DisabledFormattingAcceleratorsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBoxStatics)->get_DisabledFormattingAcceleratorsProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBoxStatics::SelectionFlyoutProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBoxStatics)->get_SelectionFlyoutProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBoxStatics::ProofingMenuFlyoutProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBoxStatics)->get_ProofingMenuFlyoutProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBoxStatics::DescriptionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBoxStatics)->get_DescriptionProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBoxStatics::DesiredCandidateWindowAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBoxStatics)->get_DesiredCandidateWindowAlignmentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBoxStatics::TextReadingOrderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBoxStatics)->get_TextReadingOrderProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBoxStatics::ClipboardCopyFormatProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBoxStatics)->get_ClipboardCopyFormatProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichEditBoxTextChangingEventArgs::IsContentChanging() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichEditBoxTextChangingEventArgs)->get_IsContentChanging(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::FontSize() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_FontSize(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::FontSize(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->put_FontSize(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::FontFamily() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_FontFamily(&value)); return winrt::Microsoft::UI::Xaml::Media::FontFamily{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::FontFamily(winrt::Microsoft::UI::Xaml::Media::FontFamily const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->put_FontFamily(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::FontWeight() const { winrt::Windows::UI::Text::FontWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_FontWeight(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->put_FontWeight(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::FontStyle() const { winrt::Windows::UI::Text::FontStyle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_FontStyle(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->put_FontStyle(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::FontStretch() const { winrt::Windows::UI::Text::FontStretch value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_FontStretch(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->put_FontStretch(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::Foreground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_Foreground(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::Foreground(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->put_Foreground(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::TextWrapping() const { winrt::Microsoft::UI::Xaml::TextWrapping value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_TextWrapping(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::TextWrapping(winrt::Microsoft::UI::Xaml::TextWrapping const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->put_TextWrapping(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::TextTrimming() const { winrt::Microsoft::UI::Xaml::TextTrimming value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_TextTrimming(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::TextTrimming(winrt::Microsoft::UI::Xaml::TextTrimming const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->put_TextTrimming(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::TextAlignment() const { winrt::Microsoft::UI::Xaml::TextAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_TextAlignment(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::TextAlignment(winrt::Microsoft::UI::Xaml::TextAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->put_TextAlignment(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::Blocks() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_Blocks(&value)); return winrt::Microsoft::UI::Xaml::Documents::BlockCollection{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::Padding() const { winrt::Microsoft::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_Padding(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::Padding(winrt::Microsoft::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->put_Padding(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::LineHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_LineHeight(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::LineHeight(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->put_LineHeight(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::LineStackingStrategy() const { winrt::Microsoft::UI::Xaml::LineStackingStrategy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_LineStackingStrategy(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::LineStackingStrategy(winrt::Microsoft::UI::Xaml::LineStackingStrategy const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->put_LineStackingStrategy(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::CharacterSpacing() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_CharacterSpacing(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::CharacterSpacing(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->put_CharacterSpacing(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::OverflowContentTarget() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_OverflowContentTarget(&value)); return winrt::Microsoft::UI::Xaml::Controls::RichTextBlockOverflow{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::OverflowContentTarget(winrt::Microsoft::UI::Xaml::Controls::RichTextBlockOverflow const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->put_OverflowContentTarget(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::IsTextSelectionEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_IsTextSelectionEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::IsTextSelectionEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->put_IsTextSelectionEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::HasOverflowContent() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_HasOverflowContent(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::SelectedText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_SelectedText(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::ContentStart() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_ContentStart(&value)); return winrt::Microsoft::UI::Xaml::Documents::TextPointer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::ContentEnd() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_ContentEnd(&value)); return winrt::Microsoft::UI::Xaml::Documents::TextPointer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::SelectionStart() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_SelectionStart(&value)); return winrt::Microsoft::UI::Xaml::Documents::TextPointer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::SelectionEnd() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_SelectionEnd(&value)); return winrt::Microsoft::UI::Xaml::Documents::TextPointer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::BaselineOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_BaselineOffset(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::MaxLines() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_MaxLines(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::MaxLines(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->put_MaxLines(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::TextLineBounds() const { winrt::Microsoft::UI::Xaml::TextLineBounds value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_TextLineBounds(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::TextLineBounds(winrt::Microsoft::UI::Xaml::TextLineBounds const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->put_TextLineBounds(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::SelectionHighlightColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_SelectionHighlightColor(&value)); return winrt::Microsoft::UI::Xaml::Media::SolidColorBrush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::SelectionHighlightColor(winrt::Microsoft::UI::Xaml::Media::SolidColorBrush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->put_SelectionHighlightColor(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::OpticalMarginAlignment() const { winrt::Microsoft::UI::Xaml::OpticalMarginAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_OpticalMarginAlignment(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::OpticalMarginAlignment(winrt::Microsoft::UI::Xaml::OpticalMarginAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->put_OpticalMarginAlignment(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::IsColorFontEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_IsColorFontEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::IsColorFontEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->put_IsColorFontEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::TextReadingOrder() const { winrt::Microsoft::UI::Xaml::TextReadingOrder value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_TextReadingOrder(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::TextReadingOrder(winrt::Microsoft::UI::Xaml::TextReadingOrder const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->put_TextReadingOrder(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::IsTextScaleFactorEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_IsTextScaleFactorEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::IsTextScaleFactorEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->put_IsTextScaleFactorEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::TextDecorations() const { winrt::Windows::UI::Text::TextDecorations value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_TextDecorations(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::TextDecorations(winrt::Windows::UI::Text::TextDecorations const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->put_TextDecorations(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::IsTextTrimmed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_IsTextTrimmed(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::HorizontalTextAlignment() const { winrt::Microsoft::UI::Xaml::TextAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_HorizontalTextAlignment(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::HorizontalTextAlignment(winrt::Microsoft::UI::Xaml::TextAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->put_HorizontalTextAlignment(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::TextHighlighters() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_TextHighlighters(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::SelectionFlyout() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_SelectionFlyout(&value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::FlyoutBase{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::SelectionFlyout(winrt::Microsoft::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->put_SelectionFlyout(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::SelectionChanged(winrt::Microsoft::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->add_SelectionChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::SelectionChanged(auto_revoke_t, winrt::Microsoft::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, SelectionChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::SelectionChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->remove_SelectionChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::ContextMenuOpening(winrt::Microsoft::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->add_ContextMenuOpening(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::ContextMenuOpening(auto_revoke_t, winrt::Microsoft::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const { return impl::make_event_revoker(this, ContextMenuOpening(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::ContextMenuOpening(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->remove_ContextMenuOpening(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::IsTextTrimmedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->add_IsTextTrimmedChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::IsTextTrimmedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, IsTextTrimmedChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::IsTextTrimmedChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->remove_IsTextTrimmedChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::SelectAll() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->SelectAll()); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::Select(winrt::Microsoft::UI::Xaml::Documents::TextPointer const& start, winrt::Microsoft::UI::Xaml::Documents::TextPointer const& end) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->Select(*(void**)(&start), *(void**)(&end))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::GetPositionFromPoint(winrt::Windows::Foundation::Point const& point) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->GetPositionFromPoint(impl::bind_in(point), &result)); return winrt::Microsoft::UI::Xaml::Documents::TextPointer{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::CopySelectionToClipboard() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->CopySelectionToClipboard()); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::TextIndent() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->get_TextIndent(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlock::TextIndent(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlock)->put_TextIndent(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockOverflow::OverflowContentTarget() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockOverflow)->get_OverflowContentTarget(&value)); return winrt::Microsoft::UI::Xaml::Controls::RichTextBlockOverflow{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockOverflow::OverflowContentTarget(winrt::Microsoft::UI::Xaml::Controls::RichTextBlockOverflow const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockOverflow)->put_OverflowContentTarget(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockOverflow::Padding() const { winrt::Microsoft::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockOverflow)->get_Padding(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockOverflow::Padding(winrt::Microsoft::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockOverflow)->put_Padding(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockOverflow::ContentSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockOverflow)->get_ContentSource(&value)); return winrt::Microsoft::UI::Xaml::Controls::RichTextBlock{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockOverflow::HasOverflowContent() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockOverflow)->get_HasOverflowContent(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockOverflow::ContentStart() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockOverflow)->get_ContentStart(&value)); return winrt::Microsoft::UI::Xaml::Documents::TextPointer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockOverflow::ContentEnd() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockOverflow)->get_ContentEnd(&value)); return winrt::Microsoft::UI::Xaml::Documents::TextPointer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockOverflow::BaselineOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockOverflow)->get_BaselineOffset(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockOverflow::MaxLines() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockOverflow)->get_MaxLines(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockOverflow::MaxLines(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockOverflow)->put_MaxLines(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockOverflow::IsTextTrimmed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockOverflow)->get_IsTextTrimmed(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockOverflow::IsTextTrimmedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockOverflow)->add_IsTextTrimmedChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockOverflow::IsTextTrimmedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, IsTextTrimmedChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockOverflow::IsTextTrimmedChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockOverflow)->remove_IsTextTrimmedChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockOverflow::GetPositionFromPoint(winrt::Windows::Foundation::Point const& point) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockOverflow)->GetPositionFromPoint(impl::bind_in(point), &result)); return winrt::Microsoft::UI::Xaml::Documents::TextPointer{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockOverflowStatics::OverflowContentTargetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockOverflowStatics)->get_OverflowContentTargetProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockOverflowStatics::PaddingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockOverflowStatics)->get_PaddingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockOverflowStatics::HasOverflowContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockOverflowStatics)->get_HasOverflowContentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockOverflowStatics::MaxLinesProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockOverflowStatics)->get_MaxLinesProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockOverflowStatics::IsTextTrimmedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockOverflowStatics)->get_IsTextTrimmedProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockStatics::FontSizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockStatics)->get_FontSizeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockStatics::FontFamilyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockStatics)->get_FontFamilyProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockStatics::FontWeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockStatics)->get_FontWeightProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockStatics::FontStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockStatics)->get_FontStyleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockStatics::FontStretchProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockStatics)->get_FontStretchProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockStatics::ForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockStatics)->get_ForegroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockStatics::TextWrappingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockStatics)->get_TextWrappingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockStatics::TextTrimmingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockStatics)->get_TextTrimmingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockStatics::TextAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockStatics)->get_TextAlignmentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockStatics::PaddingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockStatics)->get_PaddingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockStatics::LineHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockStatics)->get_LineHeightProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockStatics::LineStackingStrategyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockStatics)->get_LineStackingStrategyProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockStatics::CharacterSpacingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockStatics)->get_CharacterSpacingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockStatics::OverflowContentTargetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockStatics)->get_OverflowContentTargetProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockStatics::IsTextSelectionEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockStatics)->get_IsTextSelectionEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockStatics::HasOverflowContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockStatics)->get_HasOverflowContentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockStatics::SelectedTextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockStatics)->get_SelectedTextProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockStatics::MaxLinesProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockStatics)->get_MaxLinesProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockStatics::TextLineBoundsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockStatics)->get_TextLineBoundsProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockStatics::SelectionHighlightColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockStatics)->get_SelectionHighlightColorProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockStatics::OpticalMarginAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockStatics)->get_OpticalMarginAlignmentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockStatics::IsColorFontEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockStatics)->get_IsColorFontEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockStatics::TextReadingOrderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockStatics)->get_TextReadingOrderProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockStatics::IsTextScaleFactorEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockStatics)->get_IsTextScaleFactorEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockStatics::TextDecorationsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockStatics)->get_TextDecorationsProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockStatics::IsTextTrimmedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockStatics)->get_IsTextTrimmedProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockStatics::HorizontalTextAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockStatics)->get_HorizontalTextAlignmentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockStatics::SelectionFlyoutProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockStatics)->get_SelectionFlyoutProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRichTextBlockStatics::TextIndentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRichTextBlockStatics)->get_TextIndentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRowDefinition::Height() const { winrt::Microsoft::UI::Xaml::GridLength value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRowDefinition)->get_Height(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRowDefinition::Height(winrt::Microsoft::UI::Xaml::GridLength const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRowDefinition)->put_Height(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IRowDefinition::MaxHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRowDefinition)->get_MaxHeight(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRowDefinition::MaxHeight(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRowDefinition)->put_MaxHeight(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRowDefinition::MinHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRowDefinition)->get_MinHeight(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRowDefinition::MinHeight(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRowDefinition)->put_MinHeight(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IRowDefinition::ActualHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRowDefinition)->get_ActualHeight(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IRowDefinitionStatics::HeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRowDefinitionStatics)->get_HeightProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRowDefinitionStatics::MaxHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRowDefinitionStatics)->get_MaxHeightProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IRowDefinitionStatics::MinHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IRowDefinitionStatics)->get_MinHeightProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollAnchorProvider::CurrentAnchor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollAnchorProvider)->get_CurrentAnchor(&value)); return winrt::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollAnchorProvider::RegisterAnchorCandidate(winrt::Microsoft::UI::Xaml::UIElement const& element) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollAnchorProvider)->RegisterAnchorCandidate(*(void**)(&element))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollAnchorProvider::UnregisterAnchorCandidate(winrt::Microsoft::UI::Xaml::UIElement const& element) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollAnchorProvider)->UnregisterAnchorCandidate(*(void**)(&element))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollContentPresenter::CanVerticallyScroll() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollContentPresenter)->get_CanVerticallyScroll(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollContentPresenter::CanVerticallyScroll(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollContentPresenter)->put_CanVerticallyScroll(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollContentPresenter::CanHorizontallyScroll() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollContentPresenter)->get_CanHorizontallyScroll(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollContentPresenter::CanHorizontallyScroll(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollContentPresenter)->put_CanHorizontallyScroll(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollContentPresenter::ExtentWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollContentPresenter)->get_ExtentWidth(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollContentPresenter::ExtentHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollContentPresenter)->get_ExtentHeight(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollContentPresenter::ViewportWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollContentPresenter)->get_ViewportWidth(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollContentPresenter::ViewportHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollContentPresenter)->get_ViewportHeight(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollContentPresenter::HorizontalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollContentPresenter)->get_HorizontalOffset(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollContentPresenter::VerticalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollContentPresenter)->get_VerticalOffset(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollContentPresenter::ScrollOwner() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollContentPresenter)->get_ScrollOwner(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollContentPresenter::ScrollOwner(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollContentPresenter)->put_ScrollOwner(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollContentPresenter::CanContentRenderOutsideBounds() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollContentPresenter)->get_CanContentRenderOutsideBounds(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollContentPresenter::CanContentRenderOutsideBounds(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollContentPresenter)->put_CanContentRenderOutsideBounds(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollContentPresenter::SizesContentToTemplatedParent() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollContentPresenter)->get_SizesContentToTemplatedParent(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollContentPresenter::SizesContentToTemplatedParent(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollContentPresenter)->put_SizesContentToTemplatedParent(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollContentPresenter::LineUp() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollContentPresenter)->LineUp()); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollContentPresenter::LineDown() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollContentPresenter)->LineDown()); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollContentPresenter::LineLeft() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollContentPresenter)->LineLeft()); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollContentPresenter::LineRight() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollContentPresenter)->LineRight()); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollContentPresenter::PageUp() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollContentPresenter)->PageUp()); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollContentPresenter::PageDown() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollContentPresenter)->PageDown()); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollContentPresenter::PageLeft() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollContentPresenter)->PageLeft()); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollContentPresenter::PageRight() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollContentPresenter)->PageRight()); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollContentPresenter::MouseWheelUp() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollContentPresenter)->MouseWheelUp()); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollContentPresenter::MouseWheelDown() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollContentPresenter)->MouseWheelDown()); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollContentPresenter::MouseWheelLeft() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollContentPresenter)->MouseWheelLeft()); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollContentPresenter::MouseWheelRight() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollContentPresenter)->MouseWheelRight()); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollContentPresenter::SetHorizontalOffset(double offset) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollContentPresenter)->SetHorizontalOffset(offset)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollContentPresenter::SetVerticalOffset(double offset) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollContentPresenter)->SetVerticalOffset(offset)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollContentPresenter::MakeVisible(winrt::Microsoft::UI::Xaml::UIElement const& visual, winrt::Windows::Foundation::Rect const& rectangle) const { winrt::Windows::Foundation::Rect result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollContentPresenter)->MakeVisible(*(void**)(&visual), impl::bind_in(rectangle), put_abi(result))); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollContentPresenterStatics::CanContentRenderOutsideBoundsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollContentPresenterStatics)->get_CanContentRenderOutsideBoundsProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollContentPresenterStatics::SizesContentToTemplatedParentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollContentPresenterStatics)->get_SizesContentToTemplatedParentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->get_Content(&value)); return winrt::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::Content(winrt::Microsoft::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->put_Content(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::CurrentAnchor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->get_CurrentAnchor(&value)); return winrt::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ScrollPresenter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->get_ScrollPresenter(&value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::ScrollPresenter{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ExpressionAnimationSources() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->get_ExpressionAnimationSources(&value)); return winrt::Microsoft::UI::Composition::CompositionPropertySet{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::HorizontalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->get_HorizontalOffset(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::VerticalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->get_VerticalOffset(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ZoomFactor() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->get_ZoomFactor(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ExtentWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->get_ExtentWidth(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ExtentHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->get_ExtentHeight(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ViewportWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->get_ViewportWidth(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ViewportHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->get_ViewportHeight(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ScrollableWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->get_ScrollableWidth(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ScrollableHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->get_ScrollableHeight(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::State() const { winrt::Microsoft::UI::Xaml::Controls::ScrollingInteractionState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->get_State(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::HorizontalScrollBarVisibility() const { winrt::Microsoft::UI::Xaml::Controls::ScrollingScrollBarVisibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->get_HorizontalScrollBarVisibility(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::HorizontalScrollBarVisibility(winrt::Microsoft::UI::Xaml::Controls::ScrollingScrollBarVisibility const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->put_HorizontalScrollBarVisibility(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::VerticalScrollBarVisibility() const { winrt::Microsoft::UI::Xaml::Controls::ScrollingScrollBarVisibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->get_VerticalScrollBarVisibility(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::VerticalScrollBarVisibility(winrt::Microsoft::UI::Xaml::Controls::ScrollingScrollBarVisibility const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->put_VerticalScrollBarVisibility(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ContentOrientation() const { winrt::Microsoft::UI::Xaml::Controls::ScrollingContentOrientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->get_ContentOrientation(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ContentOrientation(winrt::Microsoft::UI::Xaml::Controls::ScrollingContentOrientation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->put_ContentOrientation(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::HorizontalScrollChainMode() const { winrt::Microsoft::UI::Xaml::Controls::ScrollingChainMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->get_HorizontalScrollChainMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::HorizontalScrollChainMode(winrt::Microsoft::UI::Xaml::Controls::ScrollingChainMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->put_HorizontalScrollChainMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::VerticalScrollChainMode() const { winrt::Microsoft::UI::Xaml::Controls::ScrollingChainMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->get_VerticalScrollChainMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::VerticalScrollChainMode(winrt::Microsoft::UI::Xaml::Controls::ScrollingChainMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->put_VerticalScrollChainMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::HorizontalScrollRailMode() const { winrt::Microsoft::UI::Xaml::Controls::ScrollingRailMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->get_HorizontalScrollRailMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::HorizontalScrollRailMode(winrt::Microsoft::UI::Xaml::Controls::ScrollingRailMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->put_HorizontalScrollRailMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::VerticalScrollRailMode() const { winrt::Microsoft::UI::Xaml::Controls::ScrollingRailMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->get_VerticalScrollRailMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::VerticalScrollRailMode(winrt::Microsoft::UI::Xaml::Controls::ScrollingRailMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->put_VerticalScrollRailMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::HorizontalScrollMode() const { winrt::Microsoft::UI::Xaml::Controls::ScrollingScrollMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->get_HorizontalScrollMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::HorizontalScrollMode(winrt::Microsoft::UI::Xaml::Controls::ScrollingScrollMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->put_HorizontalScrollMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::VerticalScrollMode() const { winrt::Microsoft::UI::Xaml::Controls::ScrollingScrollMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->get_VerticalScrollMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::VerticalScrollMode(winrt::Microsoft::UI::Xaml::Controls::ScrollingScrollMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->put_VerticalScrollMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ComputedHorizontalScrollBarVisibility() const { winrt::Microsoft::UI::Xaml::Visibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->get_ComputedHorizontalScrollBarVisibility(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ComputedVerticalScrollBarVisibility() const { winrt::Microsoft::UI::Xaml::Visibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->get_ComputedVerticalScrollBarVisibility(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ComputedHorizontalScrollMode() const { winrt::Microsoft::UI::Xaml::Controls::ScrollingScrollMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->get_ComputedHorizontalScrollMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ComputedVerticalScrollMode() const { winrt::Microsoft::UI::Xaml::Controls::ScrollingScrollMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->get_ComputedVerticalScrollMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ZoomChainMode() const { winrt::Microsoft::UI::Xaml::Controls::ScrollingChainMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->get_ZoomChainMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ZoomChainMode(winrt::Microsoft::UI::Xaml::Controls::ScrollingChainMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->put_ZoomChainMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ZoomMode() const { winrt::Microsoft::UI::Xaml::Controls::ScrollingZoomMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->get_ZoomMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ZoomMode(winrt::Microsoft::UI::Xaml::Controls::ScrollingZoomMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->put_ZoomMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::IgnoredInputKinds() const { winrt::Microsoft::UI::Xaml::Controls::ScrollingInputKinds value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->get_IgnoredInputKinds(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::IgnoredInputKinds(winrt::Microsoft::UI::Xaml::Controls::ScrollingInputKinds const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->put_IgnoredInputKinds(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::MinZoomFactor() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->get_MinZoomFactor(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::MinZoomFactor(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->put_MinZoomFactor(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::MaxZoomFactor() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->get_MaxZoomFactor(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::MaxZoomFactor(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->put_MaxZoomFactor(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::HorizontalAnchorRatio() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->get_HorizontalAnchorRatio(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::HorizontalAnchorRatio(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->put_HorizontalAnchorRatio(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::VerticalAnchorRatio() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->get_VerticalAnchorRatio(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::VerticalAnchorRatio(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->put_VerticalAnchorRatio(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::RegisterAnchorCandidate(winrt::Microsoft::UI::Xaml::UIElement const& element) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->RegisterAnchorCandidate(*(void**)(&element))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::UnregisterAnchorCandidate(winrt::Microsoft::UI::Xaml::UIElement const& element) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->UnregisterAnchorCandidate(*(void**)(&element))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ScrollTo(double horizontalOffset, double verticalOffset) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->ScrollTo(horizontalOffset, verticalOffset, &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ScrollTo(double horizontalOffset, double verticalOffset, winrt::Microsoft::UI::Xaml::Controls::ScrollingScrollOptions const& options) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->ScrollToWithOptions(horizontalOffset, verticalOffset, *(void**)(&options), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ScrollBy(double horizontalOffsetDelta, double verticalOffsetDelta) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->ScrollBy(horizontalOffsetDelta, verticalOffsetDelta, &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ScrollBy(double horizontalOffsetDelta, double verticalOffsetDelta, winrt::Microsoft::UI::Xaml::Controls::ScrollingScrollOptions const& options) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->ScrollByWithOptions(horizontalOffsetDelta, verticalOffsetDelta, *(void**)(&options), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::AddScrollVelocity(winrt::Windows::Foundation::Numerics::float2 const& offsetsVelocity, winrt::Windows::Foundation::IReference const& inertiaDecayRate) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->AddScrollVelocity(impl::bind_in(offsetsVelocity), *(void**)(&inertiaDecayRate), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ZoomTo(float zoomFactor, winrt::Windows::Foundation::IReference const& centerPoint) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->ZoomTo(zoomFactor, *(void**)(¢erPoint), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ZoomTo(float zoomFactor, winrt::Windows::Foundation::IReference const& centerPoint, winrt::Microsoft::UI::Xaml::Controls::ScrollingZoomOptions const& options) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->ZoomToWithOptions(zoomFactor, *(void**)(¢erPoint), *(void**)(&options), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ZoomBy(float zoomFactorDelta, winrt::Windows::Foundation::IReference const& centerPoint) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->ZoomBy(zoomFactorDelta, *(void**)(¢erPoint), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ZoomBy(float zoomFactorDelta, winrt::Windows::Foundation::IReference const& centerPoint, winrt::Microsoft::UI::Xaml::Controls::ScrollingZoomOptions const& options) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->ZoomByWithOptions(zoomFactorDelta, *(void**)(¢erPoint), *(void**)(&options), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::AddZoomVelocity(float zoomFactorVelocity, winrt::Windows::Foundation::IReference const& centerPoint, winrt::Windows::Foundation::IReference const& inertiaDecayRate) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->AddZoomVelocity(zoomFactorVelocity, *(void**)(¢erPoint), *(void**)(&inertiaDecayRate), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ExtentChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->add_ExtentChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ExtentChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ExtentChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ExtentChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->remove_ExtentChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::StateChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->add_StateChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::StateChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StateChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::StateChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->remove_StateChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ViewChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->add_ViewChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ViewChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ViewChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ViewChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->remove_ViewChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ScrollAnimationStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->add_ScrollAnimationStarting(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ScrollAnimationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ScrollAnimationStarting(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ScrollAnimationStarting(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->remove_ScrollAnimationStarting(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ZoomAnimationStarting(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->add_ZoomAnimationStarting(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ZoomAnimationStarting(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ZoomAnimationStarting(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ZoomAnimationStarting(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->remove_ZoomAnimationStarting(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ScrollCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->add_ScrollCompleted(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ScrollCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ScrollCompleted(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ScrollCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->remove_ScrollCompleted(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ZoomCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->add_ZoomCompleted(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ZoomCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ZoomCompleted(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::ZoomCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->remove_ZoomCompleted(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::BringingIntoView(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->add_BringingIntoView(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::BringingIntoView(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, BringingIntoView(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::BringingIntoView(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->remove_BringingIntoView(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::AnchorRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->add_AnchorRequested(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::AnchorRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AnchorRequested(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollView::AnchorRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollView)->remove_AnchorRequested(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewFactory::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::IScrollViewFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::ScrollView{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewStatics::ContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewStatics)->get_ContentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewStatics::ScrollPresenterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewStatics)->get_ScrollPresenterProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewStatics::HorizontalScrollBarVisibilityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewStatics)->get_HorizontalScrollBarVisibilityProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewStatics::VerticalScrollBarVisibilityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewStatics)->get_VerticalScrollBarVisibilityProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewStatics::ContentOrientationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewStatics)->get_ContentOrientationProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewStatics::HorizontalScrollChainModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewStatics)->get_HorizontalScrollChainModeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewStatics::VerticalScrollChainModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewStatics)->get_VerticalScrollChainModeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewStatics::HorizontalScrollRailModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewStatics)->get_HorizontalScrollRailModeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewStatics::VerticalScrollRailModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewStatics)->get_VerticalScrollRailModeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewStatics::HorizontalScrollModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewStatics)->get_HorizontalScrollModeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewStatics::VerticalScrollModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewStatics)->get_VerticalScrollModeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewStatics::ComputedHorizontalScrollBarVisibilityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewStatics)->get_ComputedHorizontalScrollBarVisibilityProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewStatics::ComputedVerticalScrollBarVisibilityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewStatics)->get_ComputedVerticalScrollBarVisibilityProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewStatics::ComputedHorizontalScrollModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewStatics)->get_ComputedHorizontalScrollModeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewStatics::ComputedVerticalScrollModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewStatics)->get_ComputedVerticalScrollModeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewStatics::ZoomChainModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewStatics)->get_ZoomChainModeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewStatics::ZoomModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewStatics)->get_ZoomModeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewStatics::IgnoredInputKindsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewStatics)->get_IgnoredInputKindsProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewStatics::MinZoomFactorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewStatics)->get_MinZoomFactorProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewStatics::MaxZoomFactorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewStatics)->get_MaxZoomFactorProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewStatics::HorizontalAnchorRatioProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewStatics)->get_HorizontalAnchorRatioProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewStatics::VerticalAnchorRatioProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewStatics)->get_VerticalAnchorRatioProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::HorizontalScrollBarVisibility() const { winrt::Microsoft::UI::Xaml::Controls::ScrollBarVisibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_HorizontalScrollBarVisibility(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::HorizontalScrollBarVisibility(winrt::Microsoft::UI::Xaml::Controls::ScrollBarVisibility const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->put_HorizontalScrollBarVisibility(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::VerticalScrollBarVisibility() const { winrt::Microsoft::UI::Xaml::Controls::ScrollBarVisibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_VerticalScrollBarVisibility(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::VerticalScrollBarVisibility(winrt::Microsoft::UI::Xaml::Controls::ScrollBarVisibility const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->put_VerticalScrollBarVisibility(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::IsHorizontalRailEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_IsHorizontalRailEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::IsHorizontalRailEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->put_IsHorizontalRailEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::IsVerticalRailEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_IsVerticalRailEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::IsVerticalRailEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->put_IsVerticalRailEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::IsHorizontalScrollChainingEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_IsHorizontalScrollChainingEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::IsHorizontalScrollChainingEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->put_IsHorizontalScrollChainingEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::IsVerticalScrollChainingEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_IsVerticalScrollChainingEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::IsVerticalScrollChainingEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->put_IsVerticalScrollChainingEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::IsZoomChainingEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_IsZoomChainingEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::IsZoomChainingEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->put_IsZoomChainingEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::IsScrollInertiaEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_IsScrollInertiaEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::IsScrollInertiaEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->put_IsScrollInertiaEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::IsZoomInertiaEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_IsZoomInertiaEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::IsZoomInertiaEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->put_IsZoomInertiaEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::HorizontalScrollMode() const { winrt::Microsoft::UI::Xaml::Controls::ScrollMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_HorizontalScrollMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::HorizontalScrollMode(winrt::Microsoft::UI::Xaml::Controls::ScrollMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->put_HorizontalScrollMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::VerticalScrollMode() const { winrt::Microsoft::UI::Xaml::Controls::ScrollMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_VerticalScrollMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::VerticalScrollMode(winrt::Microsoft::UI::Xaml::Controls::ScrollMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->put_VerticalScrollMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::ZoomMode() const { winrt::Microsoft::UI::Xaml::Controls::ZoomMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_ZoomMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::ZoomMode(winrt::Microsoft::UI::Xaml::Controls::ZoomMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->put_ZoomMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::HorizontalSnapPointsAlignment() const { winrt::Microsoft::UI::Xaml::Controls::Primitives::SnapPointsAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_HorizontalSnapPointsAlignment(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::HorizontalSnapPointsAlignment(winrt::Microsoft::UI::Xaml::Controls::Primitives::SnapPointsAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->put_HorizontalSnapPointsAlignment(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::VerticalSnapPointsAlignment() const { winrt::Microsoft::UI::Xaml::Controls::Primitives::SnapPointsAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_VerticalSnapPointsAlignment(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::VerticalSnapPointsAlignment(winrt::Microsoft::UI::Xaml::Controls::Primitives::SnapPointsAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->put_VerticalSnapPointsAlignment(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::HorizontalSnapPointsType() const { winrt::Microsoft::UI::Xaml::Controls::SnapPointsType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_HorizontalSnapPointsType(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::HorizontalSnapPointsType(winrt::Microsoft::UI::Xaml::Controls::SnapPointsType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->put_HorizontalSnapPointsType(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::VerticalSnapPointsType() const { winrt::Microsoft::UI::Xaml::Controls::SnapPointsType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_VerticalSnapPointsType(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::VerticalSnapPointsType(winrt::Microsoft::UI::Xaml::Controls::SnapPointsType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->put_VerticalSnapPointsType(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::ZoomSnapPointsType() const { winrt::Microsoft::UI::Xaml::Controls::SnapPointsType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_ZoomSnapPointsType(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::ZoomSnapPointsType(winrt::Microsoft::UI::Xaml::Controls::SnapPointsType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->put_ZoomSnapPointsType(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::HorizontalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_HorizontalOffset(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::ViewportWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_ViewportWidth(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::ScrollableWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_ScrollableWidth(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::ComputedHorizontalScrollBarVisibility() const { winrt::Microsoft::UI::Xaml::Visibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_ComputedHorizontalScrollBarVisibility(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::ExtentWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_ExtentWidth(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::VerticalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_VerticalOffset(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::ViewportHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_ViewportHeight(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::ScrollableHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_ScrollableHeight(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::ComputedVerticalScrollBarVisibility() const { winrt::Microsoft::UI::Xaml::Visibility value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_ComputedVerticalScrollBarVisibility(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::ExtentHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_ExtentHeight(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::MinZoomFactor() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_MinZoomFactor(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::MinZoomFactor(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->put_MinZoomFactor(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::MaxZoomFactor() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_MaxZoomFactor(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::MaxZoomFactor(float value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->put_MaxZoomFactor(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::ZoomFactor() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_ZoomFactor(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::ZoomSnapPoints() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_ZoomSnapPoints(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::TopLeftHeader() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_TopLeftHeader(&value)); return winrt::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::TopLeftHeader(winrt::Microsoft::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->put_TopLeftHeader(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::LeftHeader() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_LeftHeader(&value)); return winrt::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::LeftHeader(winrt::Microsoft::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->put_LeftHeader(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::TopHeader() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_TopHeader(&value)); return winrt::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::TopHeader(winrt::Microsoft::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->put_TopHeader(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::ReduceViewportForCoreInputViewOcclusions() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_ReduceViewportForCoreInputViewOcclusions(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::ReduceViewportForCoreInputViewOcclusions(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->put_ReduceViewportForCoreInputViewOcclusions(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::HorizontalAnchorRatio() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_HorizontalAnchorRatio(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::HorizontalAnchorRatio(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->put_HorizontalAnchorRatio(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::VerticalAnchorRatio() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_VerticalAnchorRatio(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::VerticalAnchorRatio(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->put_VerticalAnchorRatio(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::CanContentRenderOutsideBounds() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_CanContentRenderOutsideBounds(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::CanContentRenderOutsideBounds(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->put_CanContentRenderOutsideBounds(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::AnchorRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->add_AnchorRequested(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::AnchorRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, AnchorRequested(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::AnchorRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->remove_AnchorRequested(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::ViewChanging(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->add_ViewChanging(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::ViewChanging(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, ViewChanging(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::ViewChanging(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->remove_ViewChanging(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::ViewChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->add_ViewChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::ViewChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, ViewChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::ViewChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->remove_ViewChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::DirectManipulationStarted(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->add_DirectManipulationStarted(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::DirectManipulationStarted(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, DirectManipulationStarted(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::DirectManipulationStarted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->remove_DirectManipulationStarted(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::DirectManipulationCompleted(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->add_DirectManipulationCompleted(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::DirectManipulationCompleted(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, DirectManipulationCompleted(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::DirectManipulationCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->remove_DirectManipulationCompleted(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::ScrollToHorizontalOffset(double offset) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->ScrollToHorizontalOffset(offset)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::ScrollToVerticalOffset(double offset) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->ScrollToVerticalOffset(offset)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::ZoomToFactor(float factor) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->ZoomToFactor(factor)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::ChangeView(winrt::Windows::Foundation::IReference const& horizontalOffset, winrt::Windows::Foundation::IReference const& verticalOffset, winrt::Windows::Foundation::IReference const& zoomFactor) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->ChangeView(*(void**)(&horizontalOffset), *(void**)(&verticalOffset), *(void**)(&zoomFactor), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::ChangeView(winrt::Windows::Foundation::IReference const& horizontalOffset, winrt::Windows::Foundation::IReference const& verticalOffset, winrt::Windows::Foundation::IReference const& zoomFactor, bool disableAnimation) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->ChangeViewWithOptionalAnimation(*(void**)(&horizontalOffset), *(void**)(&verticalOffset), *(void**)(&zoomFactor), disableAnimation, &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::InvalidateScrollInfo() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->InvalidateScrollInfo()); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::IsDeferredScrollingEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_IsDeferredScrollingEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::IsDeferredScrollingEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->put_IsDeferredScrollingEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::BringIntoViewOnFocusChange() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->get_BringIntoViewOnFocusChange(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewer::BringIntoViewOnFocusChange(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewer)->put_BringIntoViewOnFocusChange(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::HorizontalSnapPointsAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_HorizontalSnapPointsAlignmentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::VerticalSnapPointsAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_VerticalSnapPointsAlignmentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::HorizontalSnapPointsTypeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_HorizontalSnapPointsTypeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::VerticalSnapPointsTypeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_VerticalSnapPointsTypeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::ZoomSnapPointsTypeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_ZoomSnapPointsTypeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::HorizontalOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_HorizontalOffsetProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::ViewportWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_ViewportWidthProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::ScrollableWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_ScrollableWidthProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::ComputedHorizontalScrollBarVisibilityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_ComputedHorizontalScrollBarVisibilityProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::ExtentWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_ExtentWidthProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::VerticalOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_VerticalOffsetProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::ViewportHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_ViewportHeightProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::ScrollableHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_ScrollableHeightProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::ComputedVerticalScrollBarVisibilityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_ComputedVerticalScrollBarVisibilityProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::ExtentHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_ExtentHeightProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::MinZoomFactorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_MinZoomFactorProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::MaxZoomFactorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_MaxZoomFactorProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::ZoomFactorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_ZoomFactorProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::ZoomSnapPointsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_ZoomSnapPointsProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::TopLeftHeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_TopLeftHeaderProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::LeftHeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_LeftHeaderProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::TopHeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_TopHeaderProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::ReduceViewportForCoreInputViewOcclusionsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_ReduceViewportForCoreInputViewOcclusionsProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::HorizontalAnchorRatioProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_HorizontalAnchorRatioProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::VerticalAnchorRatioProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_VerticalAnchorRatioProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::HorizontalScrollBarVisibilityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_HorizontalScrollBarVisibilityProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::GetHorizontalScrollBarVisibility(winrt::Microsoft::UI::Xaml::DependencyObject const& element) const { winrt::Microsoft::UI::Xaml::Controls::ScrollBarVisibility result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->GetHorizontalScrollBarVisibility(*(void**)(&element), reinterpret_cast(&result))); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::SetHorizontalScrollBarVisibility(winrt::Microsoft::UI::Xaml::DependencyObject const& element, winrt::Microsoft::UI::Xaml::Controls::ScrollBarVisibility const& horizontalScrollBarVisibility) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->SetHorizontalScrollBarVisibility(*(void**)(&element), static_cast(horizontalScrollBarVisibility))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::VerticalScrollBarVisibilityProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_VerticalScrollBarVisibilityProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::GetVerticalScrollBarVisibility(winrt::Microsoft::UI::Xaml::DependencyObject const& element) const { winrt::Microsoft::UI::Xaml::Controls::ScrollBarVisibility result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->GetVerticalScrollBarVisibility(*(void**)(&element), reinterpret_cast(&result))); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::SetVerticalScrollBarVisibility(winrt::Microsoft::UI::Xaml::DependencyObject const& element, winrt::Microsoft::UI::Xaml::Controls::ScrollBarVisibility const& verticalScrollBarVisibility) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->SetVerticalScrollBarVisibility(*(void**)(&element), static_cast(verticalScrollBarVisibility))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::IsHorizontalRailEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_IsHorizontalRailEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::GetIsHorizontalRailEnabled(winrt::Microsoft::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->GetIsHorizontalRailEnabled(*(void**)(&element), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::SetIsHorizontalRailEnabled(winrt::Microsoft::UI::Xaml::DependencyObject const& element, bool isHorizontalRailEnabled) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->SetIsHorizontalRailEnabled(*(void**)(&element), isHorizontalRailEnabled)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::IsVerticalRailEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_IsVerticalRailEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::GetIsVerticalRailEnabled(winrt::Microsoft::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->GetIsVerticalRailEnabled(*(void**)(&element), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::SetIsVerticalRailEnabled(winrt::Microsoft::UI::Xaml::DependencyObject const& element, bool isVerticalRailEnabled) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->SetIsVerticalRailEnabled(*(void**)(&element), isVerticalRailEnabled)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::IsHorizontalScrollChainingEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_IsHorizontalScrollChainingEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::GetIsHorizontalScrollChainingEnabled(winrt::Microsoft::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->GetIsHorizontalScrollChainingEnabled(*(void**)(&element), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::SetIsHorizontalScrollChainingEnabled(winrt::Microsoft::UI::Xaml::DependencyObject const& element, bool isHorizontalScrollChainingEnabled) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->SetIsHorizontalScrollChainingEnabled(*(void**)(&element), isHorizontalScrollChainingEnabled)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::IsVerticalScrollChainingEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_IsVerticalScrollChainingEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::GetIsVerticalScrollChainingEnabled(winrt::Microsoft::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->GetIsVerticalScrollChainingEnabled(*(void**)(&element), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::SetIsVerticalScrollChainingEnabled(winrt::Microsoft::UI::Xaml::DependencyObject const& element, bool isVerticalScrollChainingEnabled) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->SetIsVerticalScrollChainingEnabled(*(void**)(&element), isVerticalScrollChainingEnabled)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::IsZoomChainingEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_IsZoomChainingEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::GetIsZoomChainingEnabled(winrt::Microsoft::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->GetIsZoomChainingEnabled(*(void**)(&element), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::SetIsZoomChainingEnabled(winrt::Microsoft::UI::Xaml::DependencyObject const& element, bool isZoomChainingEnabled) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->SetIsZoomChainingEnabled(*(void**)(&element), isZoomChainingEnabled)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::IsScrollInertiaEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_IsScrollInertiaEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::GetIsScrollInertiaEnabled(winrt::Microsoft::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->GetIsScrollInertiaEnabled(*(void**)(&element), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::SetIsScrollInertiaEnabled(winrt::Microsoft::UI::Xaml::DependencyObject const& element, bool isScrollInertiaEnabled) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->SetIsScrollInertiaEnabled(*(void**)(&element), isScrollInertiaEnabled)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::IsZoomInertiaEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_IsZoomInertiaEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::GetIsZoomInertiaEnabled(winrt::Microsoft::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->GetIsZoomInertiaEnabled(*(void**)(&element), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::SetIsZoomInertiaEnabled(winrt::Microsoft::UI::Xaml::DependencyObject const& element, bool isZoomInertiaEnabled) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->SetIsZoomInertiaEnabled(*(void**)(&element), isZoomInertiaEnabled)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::HorizontalScrollModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_HorizontalScrollModeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::GetHorizontalScrollMode(winrt::Microsoft::UI::Xaml::DependencyObject const& element) const { winrt::Microsoft::UI::Xaml::Controls::ScrollMode result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->GetHorizontalScrollMode(*(void**)(&element), reinterpret_cast(&result))); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::SetHorizontalScrollMode(winrt::Microsoft::UI::Xaml::DependencyObject const& element, winrt::Microsoft::UI::Xaml::Controls::ScrollMode const& horizontalScrollMode) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->SetHorizontalScrollMode(*(void**)(&element), static_cast(horizontalScrollMode))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::VerticalScrollModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_VerticalScrollModeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::GetVerticalScrollMode(winrt::Microsoft::UI::Xaml::DependencyObject const& element) const { winrt::Microsoft::UI::Xaml::Controls::ScrollMode result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->GetVerticalScrollMode(*(void**)(&element), reinterpret_cast(&result))); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::SetVerticalScrollMode(winrt::Microsoft::UI::Xaml::DependencyObject const& element, winrt::Microsoft::UI::Xaml::Controls::ScrollMode const& verticalScrollMode) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->SetVerticalScrollMode(*(void**)(&element), static_cast(verticalScrollMode))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::ZoomModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_ZoomModeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::GetZoomMode(winrt::Microsoft::UI::Xaml::DependencyObject const& element) const { winrt::Microsoft::UI::Xaml::Controls::ZoomMode result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->GetZoomMode(*(void**)(&element), reinterpret_cast(&result))); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::SetZoomMode(winrt::Microsoft::UI::Xaml::DependencyObject const& element, winrt::Microsoft::UI::Xaml::Controls::ZoomMode const& zoomMode) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->SetZoomMode(*(void**)(&element), static_cast(zoomMode))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::CanContentRenderOutsideBoundsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_CanContentRenderOutsideBoundsProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::GetCanContentRenderOutsideBounds(winrt::Microsoft::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->GetCanContentRenderOutsideBounds(*(void**)(&element), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::SetCanContentRenderOutsideBounds(winrt::Microsoft::UI::Xaml::DependencyObject const& element, bool canContentRenderOutsideBounds) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->SetCanContentRenderOutsideBounds(*(void**)(&element), canContentRenderOutsideBounds)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::IsDeferredScrollingEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_IsDeferredScrollingEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::GetIsDeferredScrollingEnabled(winrt::Microsoft::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->GetIsDeferredScrollingEnabled(*(void**)(&element), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::SetIsDeferredScrollingEnabled(winrt::Microsoft::UI::Xaml::DependencyObject const& element, bool isDeferredScrollingEnabled) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->SetIsDeferredScrollingEnabled(*(void**)(&element), isDeferredScrollingEnabled)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::BringIntoViewOnFocusChangeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->get_BringIntoViewOnFocusChangeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::GetBringIntoViewOnFocusChange(winrt::Microsoft::UI::Xaml::DependencyObject const& element) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->GetBringIntoViewOnFocusChange(*(void**)(&element), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerStatics::SetBringIntoViewOnFocusChange(winrt::Microsoft::UI::Xaml::DependencyObject const& element, bool bringIntoViewOnFocusChange) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerStatics)->SetBringIntoViewOnFocusChange(*(void**)(&element), bringIntoViewOnFocusChange)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerView::HorizontalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerView)->get_HorizontalOffset(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerView::VerticalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerView)->get_VerticalOffset(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerView::ZoomFactor() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerView)->get_ZoomFactor(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerViewChangedEventArgs::IsIntermediate() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerViewChangedEventArgs)->get_IsIntermediate(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerViewChangingEventArgs::NextView() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerViewChangingEventArgs)->get_NextView(&value)); return winrt::Microsoft::UI::Xaml::Controls::ScrollViewerView{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerViewChangingEventArgs::FinalView() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerViewChangingEventArgs)->get_FinalView(&value)); return winrt::Microsoft::UI::Xaml::Controls::ScrollViewerView{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollViewerViewChangingEventArgs::IsInertial() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollViewerViewChangingEventArgs)->get_IsInertial(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingAnchorRequestedEventArgs::AnchorCandidates() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingAnchorRequestedEventArgs)->get_AnchorCandidates(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingAnchorRequestedEventArgs::AnchorElement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingAnchorRequestedEventArgs)->get_AnchorElement(&value)); return winrt::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingAnchorRequestedEventArgs::AnchorElement(winrt::Microsoft::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingAnchorRequestedEventArgs)->put_AnchorElement(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingBringingIntoViewEventArgs::SnapPointsMode() const { winrt::Microsoft::UI::Xaml::Controls::ScrollingSnapPointsMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingBringingIntoViewEventArgs)->get_SnapPointsMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingBringingIntoViewEventArgs::SnapPointsMode(winrt::Microsoft::UI::Xaml::Controls::ScrollingSnapPointsMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingBringingIntoViewEventArgs)->put_SnapPointsMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingBringingIntoViewEventArgs::RequestEventArgs() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingBringingIntoViewEventArgs)->get_RequestEventArgs(&value)); return winrt::Microsoft::UI::Xaml::BringIntoViewRequestedEventArgs{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingBringingIntoViewEventArgs::TargetHorizontalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingBringingIntoViewEventArgs)->get_TargetHorizontalOffset(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingBringingIntoViewEventArgs::TargetVerticalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingBringingIntoViewEventArgs)->get_TargetVerticalOffset(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingBringingIntoViewEventArgs::CorrelationId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingBringingIntoViewEventArgs)->get_CorrelationId(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingBringingIntoViewEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingBringingIntoViewEventArgs)->get_Cancel(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingBringingIntoViewEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingBringingIntoViewEventArgs)->put_Cancel(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingScrollAnimationStartingEventArgs::Animation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingScrollAnimationStartingEventArgs)->get_Animation(&value)); return winrt::Microsoft::UI::Composition::CompositionAnimation{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingScrollAnimationStartingEventArgs::Animation(winrt::Microsoft::UI::Composition::CompositionAnimation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingScrollAnimationStartingEventArgs)->put_Animation(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingScrollAnimationStartingEventArgs::StartPosition() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingScrollAnimationStartingEventArgs)->get_StartPosition(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingScrollAnimationStartingEventArgs::EndPosition() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingScrollAnimationStartingEventArgs)->get_EndPosition(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingScrollAnimationStartingEventArgs::CorrelationId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingScrollAnimationStartingEventArgs)->get_CorrelationId(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingScrollCompletedEventArgs::CorrelationId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingScrollCompletedEventArgs)->get_CorrelationId(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingScrollOptions::AnimationMode() const { winrt::Microsoft::UI::Xaml::Controls::ScrollingAnimationMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingScrollOptions)->get_AnimationMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingScrollOptions::AnimationMode(winrt::Microsoft::UI::Xaml::Controls::ScrollingAnimationMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingScrollOptions)->put_AnimationMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingScrollOptions::SnapPointsMode() const { winrt::Microsoft::UI::Xaml::Controls::ScrollingSnapPointsMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingScrollOptions)->get_SnapPointsMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingScrollOptions::SnapPointsMode(winrt::Microsoft::UI::Xaml::Controls::ScrollingSnapPointsMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingScrollOptions)->put_SnapPointsMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingScrollOptionsFactory::CreateInstance(winrt::Microsoft::UI::Xaml::Controls::ScrollingAnimationMode const& animationMode, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingScrollOptionsFactory)->CreateInstance(static_cast(animationMode), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::ScrollingScrollOptions{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingScrollOptionsFactory::CreateInstance2(winrt::Microsoft::UI::Xaml::Controls::ScrollingAnimationMode const& animationMode, winrt::Microsoft::UI::Xaml::Controls::ScrollingSnapPointsMode const& snapPointsMode, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingScrollOptionsFactory)->CreateInstance2(static_cast(animationMode), static_cast(snapPointsMode), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::ScrollingScrollOptions{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingZoomAnimationStartingEventArgs::CenterPoint() const { winrt::Windows::Foundation::Numerics::float2 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingZoomAnimationStartingEventArgs)->get_CenterPoint(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingZoomAnimationStartingEventArgs::StartZoomFactor() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingZoomAnimationStartingEventArgs)->get_StartZoomFactor(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingZoomAnimationStartingEventArgs::EndZoomFactor() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingZoomAnimationStartingEventArgs)->get_EndZoomFactor(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingZoomAnimationStartingEventArgs::Animation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingZoomAnimationStartingEventArgs)->get_Animation(&value)); return winrt::Microsoft::UI::Composition::CompositionAnimation{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingZoomAnimationStartingEventArgs::Animation(winrt::Microsoft::UI::Composition::CompositionAnimation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingZoomAnimationStartingEventArgs)->put_Animation(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingZoomAnimationStartingEventArgs::CorrelationId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingZoomAnimationStartingEventArgs)->get_CorrelationId(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingZoomCompletedEventArgs::CorrelationId() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingZoomCompletedEventArgs)->get_CorrelationId(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingZoomOptions::AnimationMode() const { winrt::Microsoft::UI::Xaml::Controls::ScrollingAnimationMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingZoomOptions)->get_AnimationMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingZoomOptions::AnimationMode(winrt::Microsoft::UI::Xaml::Controls::ScrollingAnimationMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingZoomOptions)->put_AnimationMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingZoomOptions::SnapPointsMode() const { winrt::Microsoft::UI::Xaml::Controls::ScrollingSnapPointsMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingZoomOptions)->get_SnapPointsMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingZoomOptions::SnapPointsMode(winrt::Microsoft::UI::Xaml::Controls::ScrollingSnapPointsMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingZoomOptions)->put_SnapPointsMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingZoomOptionsFactory::CreateInstance(winrt::Microsoft::UI::Xaml::Controls::ScrollingAnimationMode const& animationMode, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingZoomOptionsFactory)->CreateInstance(static_cast(animationMode), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::ScrollingZoomOptions{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IScrollingZoomOptionsFactory::CreateInstance2(winrt::Microsoft::UI::Xaml::Controls::ScrollingAnimationMode const& animationMode, winrt::Microsoft::UI::Xaml::Controls::ScrollingSnapPointsMode const& snapPointsMode, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IScrollingZoomOptionsFactory)->CreateInstance2(static_cast(animationMode), static_cast(snapPointsMode), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::ScrollingZoomOptions{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISectionsInViewChangedEventArgs::AddedSections() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISectionsInViewChangedEventArgs)->get_AddedSections(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISectionsInViewChangedEventArgs::RemovedSections() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISectionsInViewChangedEventArgs)->get_RemovedSections(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISelectionChangedEventArgs::AddedItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISelectionChangedEventArgs)->get_AddedItems(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISelectionChangedEventArgs::RemovedItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISelectionChangedEventArgs)->get_RemovedItems(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISelectionChangedEventArgsFactory::CreateInstanceWithRemovedItemsAndAddedItems(param::vector const& removedItems, param::vector const& addedItems, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISelectionChangedEventArgsFactory)->CreateInstanceWithRemovedItemsAndAddedItems(*(void**)(&removedItems), *(void**)(&addedItems), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::SelectionChangedEventArgs{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISelectorBar::Items() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISelectorBar)->get_Items(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISelectorBar::SelectedItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISelectorBar)->get_SelectedItem(&value)); return winrt::Microsoft::UI::Xaml::Controls::SelectorBarItem{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISelectorBar::SelectedItem(winrt::Microsoft::UI::Xaml::Controls::SelectorBarItem const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISelectorBar)->put_SelectedItem(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISelectorBar::SelectionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISelectorBar)->add_SelectionChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ISelectorBar::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_ISelectorBar::SelectionChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISelectorBar)->remove_SelectionChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ISelectorBarFactory::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::ISelectorBarFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::SelectorBar{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISelectorBarItem::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISelectorBarItem)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISelectorBarItem::Text(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISelectorBarItem)->put_Text(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISelectorBarItem::Icon() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISelectorBarItem)->get_Icon(&value)); return winrt::Microsoft::UI::Xaml::Controls::IconElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISelectorBarItem::Icon(winrt::Microsoft::UI::Xaml::Controls::IconElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISelectorBarItem)->put_Icon(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISelectorBarItemFactory::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::ISelectorBarItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::SelectorBarItem{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISelectorBarItemStatics::TextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISelectorBarItemStatics)->get_TextProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISelectorBarItemStatics::IconProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISelectorBarItemStatics)->get_IconProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISelectorBarStatics::ItemsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISelectorBarStatics)->get_ItemsProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISelectorBarStatics::SelectedItemProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISelectorBarStatics)->get_SelectedItemProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoom::ZoomedInView() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoom)->get_ZoomedInView(&value)); return winrt::Microsoft::UI::Xaml::Controls::ISemanticZoomInformation{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoom::ZoomedInView(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoomInformation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoom)->put_ZoomedInView(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoom::ZoomedOutView() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoom)->get_ZoomedOutView(&value)); return winrt::Microsoft::UI::Xaml::Controls::ISemanticZoomInformation{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoom::ZoomedOutView(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoomInformation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoom)->put_ZoomedOutView(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoom::IsZoomedInViewActive() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoom)->get_IsZoomedInViewActive(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoom::IsZoomedInViewActive(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoom)->put_IsZoomedInViewActive(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoom::CanChangeViews() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoom)->get_CanChangeViews(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoom::CanChangeViews(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoom)->put_CanChangeViews(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoom::ViewChangeStarted(winrt::Microsoft::UI::Xaml::Controls::SemanticZoomViewChangedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoom)->add_ViewChangeStarted(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoom::ViewChangeStarted(auto_revoke_t, winrt::Microsoft::UI::Xaml::Controls::SemanticZoomViewChangedEventHandler const& handler) const { return impl::make_event_revoker(this, ViewChangeStarted(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoom::ViewChangeStarted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoom)->remove_ViewChangeStarted(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoom::ViewChangeCompleted(winrt::Microsoft::UI::Xaml::Controls::SemanticZoomViewChangedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoom)->add_ViewChangeCompleted(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoom::ViewChangeCompleted(auto_revoke_t, winrt::Microsoft::UI::Xaml::Controls::SemanticZoomViewChangedEventHandler const& handler) const { return impl::make_event_revoker(this, ViewChangeCompleted(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoom::ViewChangeCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoom)->remove_ViewChangeCompleted(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoom::ToggleActiveView() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoom)->ToggleActiveView()); } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoom::IsZoomOutButtonEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoom)->get_IsZoomOutButtonEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoom::IsZoomOutButtonEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoom)->put_IsZoomOutButtonEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoomInformation::SemanticZoomOwner() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoomInformation)->get_SemanticZoomOwner(&value)); return winrt::Microsoft::UI::Xaml::Controls::SemanticZoom{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoomInformation::SemanticZoomOwner(winrt::Microsoft::UI::Xaml::Controls::SemanticZoom const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoomInformation)->put_SemanticZoomOwner(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoomInformation::IsActiveView() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoomInformation)->get_IsActiveView(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoomInformation::IsActiveView(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoomInformation)->put_IsActiveView(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoomInformation::IsZoomedInView() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoomInformation)->get_IsZoomedInView(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoomInformation::IsZoomedInView(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoomInformation)->put_IsZoomedInView(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoomInformation::InitializeViewChange() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoomInformation)->InitializeViewChange()); } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoomInformation::CompleteViewChange() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoomInformation)->CompleteViewChange()); } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoomInformation::MakeVisible(winrt::Microsoft::UI::Xaml::Controls::SemanticZoomLocation const& item) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoomInformation)->MakeVisible(*(void**)(&item))); } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoomInformation::StartViewChangeFrom(winrt::Microsoft::UI::Xaml::Controls::SemanticZoomLocation const& source, winrt::Microsoft::UI::Xaml::Controls::SemanticZoomLocation const& destination) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoomInformation)->StartViewChangeFrom(*(void**)(&source), *(void**)(&destination))); } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoomInformation::StartViewChangeTo(winrt::Microsoft::UI::Xaml::Controls::SemanticZoomLocation const& source, winrt::Microsoft::UI::Xaml::Controls::SemanticZoomLocation const& destination) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoomInformation)->StartViewChangeTo(*(void**)(&source), *(void**)(&destination))); } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoomInformation::CompleteViewChangeFrom(winrt::Microsoft::UI::Xaml::Controls::SemanticZoomLocation const& source, winrt::Microsoft::UI::Xaml::Controls::SemanticZoomLocation const& destination) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoomInformation)->CompleteViewChangeFrom(*(void**)(&source), *(void**)(&destination))); } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoomInformation::CompleteViewChangeTo(winrt::Microsoft::UI::Xaml::Controls::SemanticZoomLocation const& source, winrt::Microsoft::UI::Xaml::Controls::SemanticZoomLocation const& destination) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoomInformation)->CompleteViewChangeTo(*(void**)(&source), *(void**)(&destination))); } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoomLocation::Item() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoomLocation)->get_Item(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoomLocation::Item(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoomLocation)->put_Item(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoomLocation::Bounds() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoomLocation)->get_Bounds(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoomLocation::Bounds(winrt::Windows::Foundation::Rect const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoomLocation)->put_Bounds(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoomStatics::ZoomedInViewProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoomStatics)->get_ZoomedInViewProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoomStatics::ZoomedOutViewProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoomStatics)->get_ZoomedOutViewProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoomStatics::IsZoomedInViewActiveProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoomStatics)->get_IsZoomedInViewActiveProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoomStatics::CanChangeViewsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoomStatics)->get_CanChangeViewsProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoomStatics::IsZoomOutButtonEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoomStatics)->get_IsZoomOutButtonEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoomViewChangedEventArgs::IsSourceZoomedInView() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoomViewChangedEventArgs)->get_IsSourceZoomedInView(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoomViewChangedEventArgs::IsSourceZoomedInView(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoomViewChangedEventArgs)->put_IsSourceZoomedInView(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoomViewChangedEventArgs::SourceItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoomViewChangedEventArgs)->get_SourceItem(&value)); return winrt::Microsoft::UI::Xaml::Controls::SemanticZoomLocation{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoomViewChangedEventArgs::SourceItem(winrt::Microsoft::UI::Xaml::Controls::SemanticZoomLocation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoomViewChangedEventArgs)->put_SourceItem(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoomViewChangedEventArgs::DestinationItem() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoomViewChangedEventArgs)->get_DestinationItem(&value)); return winrt::Microsoft::UI::Xaml::Controls::SemanticZoomLocation{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISemanticZoomViewChangedEventArgs::DestinationItem(winrt::Microsoft::UI::Xaml::Controls::SemanticZoomLocation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISemanticZoomViewChangedEventArgs)->put_DestinationItem(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISlider::IntermediateValue() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISlider)->get_IntermediateValue(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ISlider::IntermediateValue(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISlider)->put_IntermediateValue(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ISlider::StepFrequency() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISlider)->get_StepFrequency(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ISlider::StepFrequency(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISlider)->put_StepFrequency(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ISlider::SnapsTo() const { winrt::Microsoft::UI::Xaml::Controls::Primitives::SliderSnapsTo value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISlider)->get_SnapsTo(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ISlider::SnapsTo(winrt::Microsoft::UI::Xaml::Controls::Primitives::SliderSnapsTo const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISlider)->put_SnapsTo(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISlider::TickFrequency() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISlider)->get_TickFrequency(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ISlider::TickFrequency(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISlider)->put_TickFrequency(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ISlider::TickPlacement() const { winrt::Microsoft::UI::Xaml::Controls::Primitives::TickPlacement value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISlider)->get_TickPlacement(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ISlider::TickPlacement(winrt::Microsoft::UI::Xaml::Controls::Primitives::TickPlacement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISlider)->put_TickPlacement(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISlider::Orientation() const { winrt::Microsoft::UI::Xaml::Controls::Orientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISlider)->get_Orientation(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ISlider::Orientation(winrt::Microsoft::UI::Xaml::Controls::Orientation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISlider)->put_Orientation(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISlider::IsDirectionReversed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISlider)->get_IsDirectionReversed(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ISlider::IsDirectionReversed(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISlider)->put_IsDirectionReversed(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ISlider::IsThumbToolTipEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISlider)->get_IsThumbToolTipEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ISlider::IsThumbToolTipEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISlider)->put_IsThumbToolTipEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ISlider::ThumbToolTipValueConverter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISlider)->get_ThumbToolTipValueConverter(&value)); return winrt::Microsoft::UI::Xaml::Data::IValueConverter{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISlider::ThumbToolTipValueConverter(winrt::Microsoft::UI::Xaml::Data::IValueConverter const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISlider)->put_ThumbToolTipValueConverter(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISlider::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISlider)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISlider::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISlider)->put_Header(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISlider::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISlider)->get_HeaderTemplate(&value)); return winrt::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISlider::HeaderTemplate(winrt::Microsoft::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISlider)->put_HeaderTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISliderFactory::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::ISliderFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::Slider{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISliderStatics::IntermediateValueProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISliderStatics)->get_IntermediateValueProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISliderStatics::StepFrequencyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISliderStatics)->get_StepFrequencyProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISliderStatics::SnapsToProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISliderStatics)->get_SnapsToProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISliderStatics::TickFrequencyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISliderStatics)->get_TickFrequencyProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISliderStatics::TickPlacementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISliderStatics)->get_TickPlacementProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISliderStatics::OrientationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISliderStatics)->get_OrientationProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISliderStatics::IsDirectionReversedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISliderStatics)->get_IsDirectionReversedProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISliderStatics::IsThumbToolTipEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISliderStatics)->get_IsThumbToolTipEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISliderStatics::ThumbToolTipValueConverterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISliderStatics)->get_ThumbToolTipValueConverterProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISliderStatics::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISliderStatics)->get_HeaderProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISliderStatics::HeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISliderStatics)->get_HeaderTemplateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ 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::Microsoft::UI::Xaml::Controls::Primitives::FlyoutBase{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitButton::Flyout(winrt::Microsoft::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::Microsoft::UI::Xaml::Input::ICommand{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitButton::Command(winrt::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitView::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitView)->get_Content(&value)); return winrt::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitView::Content(winrt::Microsoft::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitView)->put_Content(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISplitView::Pane() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitView)->get_Pane(&value)); return winrt::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitView::Pane(winrt::Microsoft::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitView)->put_Pane(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISplitView::IsPaneOpen() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitView)->get_IsPaneOpen(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitView::IsPaneOpen(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitView)->put_IsPaneOpen(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ISplitView::OpenPaneLength() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitView)->get_OpenPaneLength(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitView::OpenPaneLength(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitView)->put_OpenPaneLength(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ISplitView::CompactPaneLength() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitView)->get_CompactPaneLength(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitView::CompactPaneLength(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitView)->put_CompactPaneLength(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ISplitView::PanePlacement() const { winrt::Microsoft::UI::Xaml::Controls::SplitViewPanePlacement value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitView)->get_PanePlacement(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitView::PanePlacement(winrt::Microsoft::UI::Xaml::Controls::SplitViewPanePlacement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitView)->put_PanePlacement(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISplitView::DisplayMode() const { winrt::Microsoft::UI::Xaml::Controls::SplitViewDisplayMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitView)->get_DisplayMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitView::DisplayMode(winrt::Microsoft::UI::Xaml::Controls::SplitViewDisplayMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitView)->put_DisplayMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISplitView::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitView)->get_TemplateSettings(&value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::SplitViewTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitView::PaneBackground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitView)->get_PaneBackground(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitView::PaneBackground(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitView)->put_PaneBackground(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISplitView::LightDismissOverlayMode() const { winrt::Microsoft::UI::Xaml::Controls::LightDismissOverlayMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitView)->get_LightDismissOverlayMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitView::LightDismissOverlayMode(winrt::Microsoft::UI::Xaml::Controls::LightDismissOverlayMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitView)->put_LightDismissOverlayMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISplitView::PaneClosing(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitView)->add_PaneClosing(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitView::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_ISplitView::PaneClosing(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitView)->remove_PaneClosing(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ISplitView::PaneClosed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitView)->add_PaneClosed(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitView::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_ISplitView::PaneClosed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitView)->remove_PaneClosed(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ISplitView::PaneOpening(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitView)->add_PaneOpening(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitView::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_ISplitView::PaneOpening(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitView)->remove_PaneOpening(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ISplitView::PaneOpened(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitView)->add_PaneOpened(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitView::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_ISplitView::PaneOpened(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitView)->remove_PaneOpened(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ISplitViewFactory::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::ISplitViewFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::SplitView{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitViewPaneClosingEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitViewPaneClosingEventArgs)->get_Cancel(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitViewPaneClosingEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitViewPaneClosingEventArgs)->put_Cancel(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ISplitViewStatics::ContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitViewStatics)->get_ContentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitViewStatics::PaneProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitViewStatics)->get_PaneProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitViewStatics::IsPaneOpenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitViewStatics)->get_IsPaneOpenProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitViewStatics::OpenPaneLengthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitViewStatics)->get_OpenPaneLengthProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitViewStatics::CompactPaneLengthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitViewStatics)->get_CompactPaneLengthProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitViewStatics::PanePlacementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitViewStatics)->get_PanePlacementProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitViewStatics::DisplayModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitViewStatics)->get_DisplayModeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitViewStatics::TemplateSettingsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitViewStatics)->get_TemplateSettingsProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitViewStatics::PaneBackgroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitViewStatics)->get_PaneBackgroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISplitViewStatics::LightDismissOverlayModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISplitViewStatics)->get_LightDismissOverlayModeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IStackLayout::Orientation() const { winrt::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IStackPanel::AreScrollSnapPointsRegular() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IStackPanel)->get_AreScrollSnapPointsRegular(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IStackPanel::AreScrollSnapPointsRegular(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IStackPanel)->put_AreScrollSnapPointsRegular(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IStackPanel::Orientation() const { winrt::Microsoft::UI::Xaml::Controls::Orientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IStackPanel)->get_Orientation(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IStackPanel::Orientation(winrt::Microsoft::UI::Xaml::Controls::Orientation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IStackPanel)->put_Orientation(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IStackPanel::BackgroundSizing() const { winrt::Microsoft::UI::Xaml::Controls::BackgroundSizing value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IStackPanel)->get_BackgroundSizing(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IStackPanel::BackgroundSizing(winrt::Microsoft::UI::Xaml::Controls::BackgroundSizing const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IStackPanel)->put_BackgroundSizing(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IStackPanel::BorderBrush() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IStackPanel)->get_BorderBrush(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IStackPanel::BorderBrush(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IStackPanel)->put_BorderBrush(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IStackPanel::BorderThickness() const { winrt::Microsoft::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IStackPanel)->get_BorderThickness(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IStackPanel::BorderThickness(winrt::Microsoft::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IStackPanel)->put_BorderThickness(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IStackPanel::CornerRadius() const { winrt::Microsoft::UI::Xaml::CornerRadius value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IStackPanel)->get_CornerRadius(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IStackPanel::CornerRadius(winrt::Microsoft::UI::Xaml::CornerRadius const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IStackPanel)->put_CornerRadius(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IStackPanel::Padding() const { winrt::Microsoft::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IStackPanel)->get_Padding(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IStackPanel::Padding(winrt::Microsoft::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IStackPanel)->put_Padding(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IStackPanel::Spacing() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IStackPanel)->get_Spacing(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IStackPanel::Spacing(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IStackPanel)->put_Spacing(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IStackPanelFactory::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::IStackPanelFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::StackPanel{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IStackPanelStatics::AreScrollSnapPointsRegularProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IStackPanelStatics)->get_AreScrollSnapPointsRegularProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IStackPanelStatics::OrientationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IStackPanelStatics)->get_OrientationProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IStackPanelStatics::BackgroundSizingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IStackPanelStatics)->get_BackgroundSizingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IStackPanelStatics::BorderBrushProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IStackPanelStatics)->get_BorderBrushProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IStackPanelStatics::BorderThicknessProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IStackPanelStatics)->get_BorderThicknessProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IStackPanelStatics::CornerRadiusProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IStackPanelStatics)->get_CornerRadiusProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IStackPanelStatics::PaddingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IStackPanelStatics)->get_PaddingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IStackPanelStatics::SpacingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IStackPanelStatics)->get_SpacingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IStyleSelector::SelectStyle(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::DependencyObject const& container) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IStyleSelector)->SelectStyle(*(void**)(&item), *(void**)(&container), &result)); return winrt::Microsoft::UI::Xaml::Style{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IStyleSelectorFactory::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::IStyleSelectorFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::StyleSelector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IStyleSelectorOverrides::SelectStyleCore(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::DependencyObject const& container) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IStyleSelectorOverrides)->SelectStyleCore(*(void**)(&item), *(void**)(&container), &result)); return winrt::Microsoft::UI::Xaml::Style{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISwapChainBackgroundPanelFactory::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::ISwapChainBackgroundPanelFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::SwapChainBackgroundPanel{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISwapChainPanel::CompositionScaleX() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwapChainPanel)->get_CompositionScaleX(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ISwapChainPanel::CompositionScaleY() const { float value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwapChainPanel)->get_CompositionScaleY(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ISwapChainPanel::CompositionScaleChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwapChainPanel)->add_CompositionScaleChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ISwapChainPanel::CompositionScaleChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CompositionScaleChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ISwapChainPanel::CompositionScaleChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwapChainPanel)->remove_CompositionScaleChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ISwapChainPanel::CreateCoreIndependentInputSource(winrt::Microsoft::UI::Input::InputPointerSourceDeviceKinds const& deviceKinds) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwapChainPanel)->CreateCoreIndependentInputSource(static_cast(deviceKinds), &result)); return winrt::Microsoft::UI::Input::InputPointerSource{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISwapChainPanelFactory::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::ISwapChainPanelFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::SwapChainPanel{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISwapChainPanelStatics::CompositionScaleXProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwapChainPanelStatics)->get_CompositionScaleXProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISwapChainPanelStatics::CompositionScaleYProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISwapChainPanelStatics)->get_CompositionScaleYProperty(&value)); return winrt::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeItem::Background(winrt::Microsoft::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::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeItem::Foreground(winrt::Microsoft::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::Microsoft::UI::Xaml::Input::ICommand{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISwipeItem::Command(winrt::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISymbolIcon::Symbol() const { winrt::Microsoft::UI::Xaml::Controls::Symbol value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISymbolIcon)->get_Symbol(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ISymbolIcon::Symbol(winrt::Microsoft::UI::Xaml::Controls::Symbol const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISymbolIcon)->put_Symbol(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ISymbolIconFactory::CreateInstanceWithSymbol(winrt::Microsoft::UI::Xaml::Controls::Symbol const& symbol) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISymbolIconFactory)->CreateInstanceWithSymbol(static_cast(symbol), &value)); return winrt::Microsoft::UI::Xaml::Controls::SymbolIcon{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISymbolIconSource::Symbol() const { winrt::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ISymbolIconStatics::SymbolProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ISymbolIconStatics)->get_SymbolProperty(&value)); return winrt::Microsoft::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::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabStripHeaderTemplate(winrt::Microsoft::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::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabStripFooterTemplate(winrt::Microsoft::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::Microsoft::UI::Xaml::Input::ICommand{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::AddTabButtonCommand(winrt::Microsoft::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::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabItemTemplate(winrt::Microsoft::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::Microsoft::UI::Xaml::Controls::DataTemplateSelector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::TabItemTemplateSelector(winrt::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView::SelectionChanged(winrt::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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_ITabView2::CanTearOutTabs() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView2)->get_CanTearOutTabs(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView2::CanTearOutTabs(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView2)->put_CanTearOutTabs(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView2::TabTearOutWindowRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView2)->add_TabTearOutWindowRequested(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView2::TabTearOutWindowRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TabTearOutWindowRequested(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView2::TabTearOutWindowRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView2)->remove_TabTearOutWindowRequested(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView2::TabTearOutRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView2)->add_TabTearOutRequested(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView2::TabTearOutRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TabTearOutRequested(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView2::TabTearOutRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView2)->remove_TabTearOutRequested(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView2::ExternalTornOutTabsDropping(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView2)->add_ExternalTornOutTabsDropping(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView2::ExternalTornOutTabsDropping(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ExternalTornOutTabsDropping(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView2::ExternalTornOutTabsDropping(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView2)->remove_ExternalTornOutTabsDropping(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView2::ExternalTornOutTabsDropped(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView2)->add_ExternalTornOutTabsDropped(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITabView2::ExternalTornOutTabsDropped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ExternalTornOutTabsDropped(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabView2::ExternalTornOutTabsDropped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabView2)->remove_ExternalTornOutTabsDropped(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewExternalTornOutTabsDroppedEventArgs::Items() const { uint32_t value_impl_size{}; void** value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewExternalTornOutTabsDroppedEventArgs)->get_Items(&value_impl_size, &value)); return com_array{ value, value_impl_size, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewExternalTornOutTabsDroppedEventArgs::Tabs() const { uint32_t value_impl_size{}; void** value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewExternalTornOutTabsDroppedEventArgs)->get_Tabs(&value_impl_size, &value)); return com_array{ value, value_impl_size, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewExternalTornOutTabsDroppedEventArgs::DropIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewExternalTornOutTabsDroppedEventArgs)->get_DropIndex(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewExternalTornOutTabsDroppingEventArgs::Items() const { uint32_t value_impl_size{}; void** value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewExternalTornOutTabsDroppingEventArgs)->get_Items(&value_impl_size, &value)); return com_array{ value, value_impl_size, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewExternalTornOutTabsDroppingEventArgs::Tabs() const { uint32_t value_impl_size{}; void** value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewExternalTornOutTabsDroppingEventArgs)->get_Tabs(&value_impl_size, &value)); return com_array{ value, value_impl_size, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewExternalTornOutTabsDroppingEventArgs::DropIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewExternalTornOutTabsDroppingEventArgs)->get_DropIndex(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewExternalTornOutTabsDroppingEventArgs::AllowDrop() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewExternalTornOutTabsDroppingEventArgs)->get_AllowDrop(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewExternalTornOutTabsDroppingEventArgs::AllowDrop(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewExternalTornOutTabsDroppingEventArgs)->put_AllowDrop(value)); } 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::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewItem::HeaderTemplate(winrt::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::Controls::IconElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewItemTemplateSettings::IconElement(winrt::Microsoft::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::Microsoft::UI::Xaml::Media::Geometry{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewItemTemplateSettings2::TabGeometry(winrt::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewStatics2::CanTearOutTabsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewStatics2)->get_CanTearOutTabsProperty(&value)); return winrt::Microsoft::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_ITabViewTabTearOutRequestedEventArgs::Items() const { uint32_t value_impl_size{}; void** value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewTabTearOutRequestedEventArgs)->get_Items(&value_impl_size, &value)); return com_array{ value, value_impl_size, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewTabTearOutRequestedEventArgs::Tabs() const { uint32_t value_impl_size{}; void** value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewTabTearOutRequestedEventArgs)->get_Tabs(&value_impl_size, &value)); return com_array{ value, value_impl_size, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewTabTearOutRequestedEventArgs::NewWindowId() const { winrt::Microsoft::UI::WindowId value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewTabTearOutRequestedEventArgs)->get_NewWindowId(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewTabTearOutWindowRequestedEventArgs::Items() const { uint32_t value_impl_size{}; void** value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewTabTearOutWindowRequestedEventArgs)->get_Items(&value_impl_size, &value)); return com_array{ value, value_impl_size, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewTabTearOutWindowRequestedEventArgs::Tabs() const { uint32_t value_impl_size{}; void** value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewTabTearOutWindowRequestedEventArgs)->get_Tabs(&value_impl_size, &value)); return com_array{ value, value_impl_size, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewTabTearOutWindowRequestedEventArgs::NewWindowId() const { winrt::Microsoft::UI::WindowId value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewTabTearOutWindowRequestedEventArgs)->get_NewWindowId(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITabViewTabTearOutWindowRequestedEventArgs::NewWindowId(winrt::Microsoft::UI::WindowId const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITabViewTabTearOutWindowRequestedEventArgs)->put_NewWindowId(impl::bind_in(value))); } 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::Microsoft::UI::Xaml::FrameworkElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::Target(winrt::Microsoft::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::Microsoft::UI::Xaml::Style{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::ActionButtonStyle(winrt::Microsoft::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::Microsoft::UI::Xaml::Input::ICommand{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::ActionButtonCommand(winrt::Microsoft::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::Microsoft::UI::Xaml::Style{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::CloseButtonStyle(winrt::Microsoft::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::Microsoft::UI::Xaml::Input::ICommand{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::CloseButtonCommand(winrt::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTip::HeroContent(winrt::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipTemplateSettings::TopRightHighlightMargin() const { winrt::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::Controls::IconElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITeachingTipTemplateSettings::IconElement(winrt::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::FontSize() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->get_FontSize(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::FontSize(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->put_FontSize(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::FontFamily() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->get_FontFamily(&value)); return winrt::Microsoft::UI::Xaml::Media::FontFamily{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::FontFamily(winrt::Microsoft::UI::Xaml::Media::FontFamily const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->put_FontFamily(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::FontWeight() const { winrt::Windows::UI::Text::FontWeight value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->get_FontWeight(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::FontWeight(winrt::Windows::UI::Text::FontWeight const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->put_FontWeight(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::FontStyle() const { winrt::Windows::UI::Text::FontStyle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->get_FontStyle(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::FontStyle(winrt::Windows::UI::Text::FontStyle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->put_FontStyle(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::FontStretch() const { winrt::Windows::UI::Text::FontStretch value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->get_FontStretch(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::FontStretch(winrt::Windows::UI::Text::FontStretch const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->put_FontStretch(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::CharacterSpacing() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->get_CharacterSpacing(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::CharacterSpacing(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->put_CharacterSpacing(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::Foreground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->get_Foreground(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::Foreground(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->put_Foreground(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::TextWrapping() const { winrt::Microsoft::UI::Xaml::TextWrapping value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->get_TextWrapping(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::TextWrapping(winrt::Microsoft::UI::Xaml::TextWrapping const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->put_TextWrapping(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::TextTrimming() const { winrt::Microsoft::UI::Xaml::TextTrimming value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->get_TextTrimming(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::TextTrimming(winrt::Microsoft::UI::Xaml::TextTrimming const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->put_TextTrimming(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::TextAlignment() const { winrt::Microsoft::UI::Xaml::TextAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->get_TextAlignment(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::TextAlignment(winrt::Microsoft::UI::Xaml::TextAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->put_TextAlignment(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::Text(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->put_Text(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::Inlines() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->get_Inlines(&value)); return winrt::Microsoft::UI::Xaml::Documents::InlineCollection{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::Padding() const { winrt::Microsoft::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->get_Padding(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::Padding(winrt::Microsoft::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->put_Padding(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::LineHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->get_LineHeight(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::LineHeight(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->put_LineHeight(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::LineStackingStrategy() const { winrt::Microsoft::UI::Xaml::LineStackingStrategy value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->get_LineStackingStrategy(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::LineStackingStrategy(winrt::Microsoft::UI::Xaml::LineStackingStrategy const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->put_LineStackingStrategy(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::IsTextSelectionEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->get_IsTextSelectionEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::IsTextSelectionEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->put_IsTextSelectionEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::SelectedText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->get_SelectedText(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::ContentStart() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->get_ContentStart(&value)); return winrt::Microsoft::UI::Xaml::Documents::TextPointer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::ContentEnd() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->get_ContentEnd(&value)); return winrt::Microsoft::UI::Xaml::Documents::TextPointer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::SelectionStart() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->get_SelectionStart(&value)); return winrt::Microsoft::UI::Xaml::Documents::TextPointer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::SelectionEnd() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->get_SelectionEnd(&value)); return winrt::Microsoft::UI::Xaml::Documents::TextPointer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::BaselineOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->get_BaselineOffset(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::SelectionHighlightColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->get_SelectionHighlightColor(&value)); return winrt::Microsoft::UI::Xaml::Media::SolidColorBrush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::SelectionHighlightColor(winrt::Microsoft::UI::Xaml::Media::SolidColorBrush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->put_SelectionHighlightColor(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::MaxLines() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->get_MaxLines(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::MaxLines(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->put_MaxLines(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::TextLineBounds() const { winrt::Microsoft::UI::Xaml::TextLineBounds value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->get_TextLineBounds(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::TextLineBounds(winrt::Microsoft::UI::Xaml::TextLineBounds const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->put_TextLineBounds(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::OpticalMarginAlignment() const { winrt::Microsoft::UI::Xaml::OpticalMarginAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->get_OpticalMarginAlignment(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::OpticalMarginAlignment(winrt::Microsoft::UI::Xaml::OpticalMarginAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->put_OpticalMarginAlignment(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::IsColorFontEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->get_IsColorFontEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::IsColorFontEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->put_IsColorFontEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::TextReadingOrder() const { winrt::Microsoft::UI::Xaml::TextReadingOrder value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->get_TextReadingOrder(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::TextReadingOrder(winrt::Microsoft::UI::Xaml::TextReadingOrder const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->put_TextReadingOrder(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::IsTextScaleFactorEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->get_IsTextScaleFactorEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::IsTextScaleFactorEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->put_IsTextScaleFactorEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::TextDecorations() const { winrt::Windows::UI::Text::TextDecorations value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->get_TextDecorations(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::TextDecorations(winrt::Windows::UI::Text::TextDecorations const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->put_TextDecorations(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::IsTextTrimmed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->get_IsTextTrimmed(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::HorizontalTextAlignment() const { winrt::Microsoft::UI::Xaml::TextAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->get_HorizontalTextAlignment(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::HorizontalTextAlignment(winrt::Microsoft::UI::Xaml::TextAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->put_HorizontalTextAlignment(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::TextHighlighters() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->get_TextHighlighters(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::SelectionFlyout() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->get_SelectionFlyout(&value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::FlyoutBase{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::SelectionFlyout(winrt::Microsoft::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->put_SelectionFlyout(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::SelectionChanged(winrt::Microsoft::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->add_SelectionChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::SelectionChanged(auto_revoke_t, winrt::Microsoft::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, SelectionChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::SelectionChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->remove_SelectionChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::ContextMenuOpening(winrt::Microsoft::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->add_ContextMenuOpening(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::ContextMenuOpening(auto_revoke_t, winrt::Microsoft::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const { return impl::make_event_revoker(this, ContextMenuOpening(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::ContextMenuOpening(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->remove_ContextMenuOpening(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::IsTextTrimmedChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->add_IsTextTrimmedChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::IsTextTrimmedChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, IsTextTrimmedChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::IsTextTrimmedChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->remove_IsTextTrimmedChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::SelectAll() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->SelectAll()); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::Select(winrt::Microsoft::UI::Xaml::Documents::TextPointer const& start, winrt::Microsoft::UI::Xaml::Documents::TextPointer const& end) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->Select(*(void**)(&start), *(void**)(&end))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::GetAlphaMask() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->GetAlphaMask(&result)); return winrt::Microsoft::UI::Composition::CompositionBrush{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlock::CopySelectionToClipboard() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlock)->CopySelectionToClipboard()); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlockStatics::FontSizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlockStatics)->get_FontSizeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlockStatics::FontFamilyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlockStatics)->get_FontFamilyProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlockStatics::FontWeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlockStatics)->get_FontWeightProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlockStatics::FontStyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlockStatics)->get_FontStyleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlockStatics::FontStretchProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlockStatics)->get_FontStretchProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlockStatics::CharacterSpacingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlockStatics)->get_CharacterSpacingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlockStatics::ForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlockStatics)->get_ForegroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlockStatics::TextWrappingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlockStatics)->get_TextWrappingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlockStatics::TextTrimmingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlockStatics)->get_TextTrimmingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlockStatics::TextAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlockStatics)->get_TextAlignmentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlockStatics::TextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlockStatics)->get_TextProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlockStatics::PaddingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlockStatics)->get_PaddingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlockStatics::LineHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlockStatics)->get_LineHeightProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlockStatics::LineStackingStrategyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlockStatics)->get_LineStackingStrategyProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlockStatics::IsTextSelectionEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlockStatics)->get_IsTextSelectionEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlockStatics::SelectedTextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlockStatics)->get_SelectedTextProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlockStatics::SelectionHighlightColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlockStatics)->get_SelectionHighlightColorProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlockStatics::MaxLinesProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlockStatics)->get_MaxLinesProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlockStatics::TextLineBoundsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlockStatics)->get_TextLineBoundsProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlockStatics::OpticalMarginAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlockStatics)->get_OpticalMarginAlignmentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlockStatics::IsColorFontEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlockStatics)->get_IsColorFontEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlockStatics::TextReadingOrderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlockStatics)->get_TextReadingOrderProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlockStatics::IsTextScaleFactorEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlockStatics)->get_IsTextScaleFactorEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlockStatics::TextDecorationsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlockStatics)->get_TextDecorationsProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlockStatics::IsTextTrimmedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlockStatics)->get_IsTextTrimmedProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlockStatics::HorizontalTextAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlockStatics)->get_HorizontalTextAlignmentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBlockStatics::SelectionFlyoutProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBlockStatics)->get_SelectionFlyoutProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::Text() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->get_Text(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::Text(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->put_Text(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::SelectedText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->get_SelectedText(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::SelectedText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->put_SelectedText(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::SelectionLength() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->get_SelectionLength(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::SelectionLength(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->put_SelectionLength(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::SelectionStart() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->get_SelectionStart(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::SelectionStart(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->put_SelectionStart(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::MaxLength() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->get_MaxLength(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::MaxLength(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->put_MaxLength(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::IsReadOnly() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->get_IsReadOnly(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::IsReadOnly(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->put_IsReadOnly(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::AcceptsReturn() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->get_AcceptsReturn(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::AcceptsReturn(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->put_AcceptsReturn(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::TextAlignment() const { winrt::Microsoft::UI::Xaml::TextAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->get_TextAlignment(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::TextAlignment(winrt::Microsoft::UI::Xaml::TextAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->put_TextAlignment(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::TextWrapping() const { winrt::Microsoft::UI::Xaml::TextWrapping value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->get_TextWrapping(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::TextWrapping(winrt::Microsoft::UI::Xaml::TextWrapping const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->put_TextWrapping(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::IsSpellCheckEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->get_IsSpellCheckEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::IsSpellCheckEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->put_IsSpellCheckEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::IsTextPredictionEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->get_IsTextPredictionEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::IsTextPredictionEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->put_IsTextPredictionEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::InputScope() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->get_InputScope(&value)); return winrt::Microsoft::UI::Xaml::Input::InputScope{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::InputScope(winrt::Microsoft::UI::Xaml::Input::InputScope const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->put_InputScope(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->put_Header(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->get_HeaderTemplate(&value)); return winrt::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::HeaderTemplate(winrt::Microsoft::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->put_HeaderTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::PlaceholderText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->get_PlaceholderText(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::PlaceholderText(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->put_PlaceholderText(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::SelectionHighlightColor() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->get_SelectionHighlightColor(&value)); return winrt::Microsoft::UI::Xaml::Media::SolidColorBrush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::SelectionHighlightColor(winrt::Microsoft::UI::Xaml::Media::SolidColorBrush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->put_SelectionHighlightColor(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::PreventKeyboardDisplayOnProgrammaticFocus() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->get_PreventKeyboardDisplayOnProgrammaticFocus(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::PreventKeyboardDisplayOnProgrammaticFocus(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->put_PreventKeyboardDisplayOnProgrammaticFocus(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::IsColorFontEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->get_IsColorFontEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::IsColorFontEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->put_IsColorFontEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::SelectionHighlightColorWhenNotFocused() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->get_SelectionHighlightColorWhenNotFocused(&value)); return winrt::Microsoft::UI::Xaml::Media::SolidColorBrush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::SelectionHighlightColorWhenNotFocused(winrt::Microsoft::UI::Xaml::Media::SolidColorBrush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->put_SelectionHighlightColorWhenNotFocused(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::HorizontalTextAlignment() const { winrt::Microsoft::UI::Xaml::TextAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->get_HorizontalTextAlignment(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::HorizontalTextAlignment(winrt::Microsoft::UI::Xaml::TextAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->put_HorizontalTextAlignment(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::CharacterCasing() const { winrt::Microsoft::UI::Xaml::Controls::CharacterCasing value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->get_CharacterCasing(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::CharacterCasing(winrt::Microsoft::UI::Xaml::Controls::CharacterCasing const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->put_CharacterCasing(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::PlaceholderForeground() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->get_PlaceholderForeground(&value)); return winrt::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::PlaceholderForeground(winrt::Microsoft::UI::Xaml::Media::Brush const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->put_PlaceholderForeground(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::CanPasteClipboardContent() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->get_CanPasteClipboardContent(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::CanUndo() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->get_CanUndo(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::CanRedo() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->get_CanRedo(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::SelectionFlyout() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->get_SelectionFlyout(&value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::FlyoutBase{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::SelectionFlyout(winrt::Microsoft::UI::Xaml::Controls::Primitives::FlyoutBase const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->put_SelectionFlyout(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::ProofingMenuFlyout() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->get_ProofingMenuFlyout(&value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::FlyoutBase{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->get_Description(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::Description(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->put_Description(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::TextChanged(winrt::Microsoft::UI::Xaml::Controls::TextChangedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->add_TextChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::TextChanged(auto_revoke_t, winrt::Microsoft::UI::Xaml::Controls::TextChangedEventHandler const& handler) const { return impl::make_event_revoker(this, TextChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::TextChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->remove_TextChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::SelectionChanged(winrt::Microsoft::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->add_SelectionChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::SelectionChanged(auto_revoke_t, winrt::Microsoft::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, SelectionChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::SelectionChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->remove_SelectionChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::ContextMenuOpening(winrt::Microsoft::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->add_ContextMenuOpening(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::ContextMenuOpening(auto_revoke_t, winrt::Microsoft::UI::Xaml::Controls::ContextMenuOpeningEventHandler const& handler) const { return impl::make_event_revoker(this, ContextMenuOpening(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::ContextMenuOpening(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->remove_ContextMenuOpening(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::Paste(winrt::Microsoft::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->add_Paste(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::Paste(auto_revoke_t, winrt::Microsoft::UI::Xaml::Controls::TextControlPasteEventHandler const& handler) const { return impl::make_event_revoker(this, Paste(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::Paste(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->remove_Paste(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::TextCompositionStarted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->add_TextCompositionStarted(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::TextCompositionStarted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TextCompositionStarted(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::TextCompositionStarted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->remove_TextCompositionStarted(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::TextCompositionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->add_TextCompositionChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::TextCompositionChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TextCompositionChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::TextCompositionChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->remove_TextCompositionChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::TextCompositionEnded(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->add_TextCompositionEnded(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::TextCompositionEnded(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TextCompositionEnded(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::TextCompositionEnded(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->remove_TextCompositionEnded(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::CopyingToClipboard(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->add_CopyingToClipboard(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::CopyingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CopyingToClipboard(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::CopyingToClipboard(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->remove_CopyingToClipboard(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::CuttingToClipboard(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->add_CuttingToClipboard(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::CuttingToClipboard(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CuttingToClipboard(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::CuttingToClipboard(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->remove_CuttingToClipboard(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::BeforeTextChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->add_BeforeTextChanging(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::BeforeTextChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, BeforeTextChanging(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::BeforeTextChanging(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->remove_BeforeTextChanging(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::SelectionChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->add_SelectionChanging(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::SelectionChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SelectionChanging(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::SelectionChanging(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->remove_SelectionChanging(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::Select(int32_t start, int32_t length) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->Select(start, length)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::SelectAll() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->SelectAll()); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::GetRectFromCharacterIndex(int32_t charIndex, bool trailingEdge) const { winrt::Windows::Foundation::Rect result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->GetRectFromCharacterIndex(charIndex, trailingEdge, put_abi(result))); return result; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::GetLinguisticAlternativesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->GetLinguisticAlternativesAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::Undo() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->Undo()); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::Redo() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->Redo()); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::PasteFromClipboard() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->PasteFromClipboard()); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::CopySelectionToClipboard() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->CopySelectionToClipboard()); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::CutSelectionToClipboard() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->CutSelectionToClipboard()); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::ClearUndoRedoHistory() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->ClearUndoRedoHistory()); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::TextReadingOrder() const { winrt::Microsoft::UI::Xaml::TextReadingOrder value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->get_TextReadingOrder(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::TextReadingOrder(winrt::Microsoft::UI::Xaml::TextReadingOrder const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->put_TextReadingOrder(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::DesiredCandidateWindowAlignment() const { winrt::Microsoft::UI::Xaml::Controls::CandidateWindowAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->get_DesiredCandidateWindowAlignment(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::DesiredCandidateWindowAlignment(winrt::Microsoft::UI::Xaml::Controls::CandidateWindowAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->put_DesiredCandidateWindowAlignment(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::CandidateWindowBoundsChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->add_CandidateWindowBoundsChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::CandidateWindowBoundsChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CandidateWindowBoundsChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::CandidateWindowBoundsChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->remove_CandidateWindowBoundsChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::TextChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->add_TextChanging(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::TextChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TextChanging(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBox::TextChanging(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBox)->remove_TextChanging(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxBeforeTextChangingEventArgs::NewText() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxBeforeTextChangingEventArgs)->get_NewText(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxBeforeTextChangingEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxBeforeTextChangingEventArgs)->get_Cancel(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxBeforeTextChangingEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxBeforeTextChangingEventArgs)->put_Cancel(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxFactory::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::ITextBoxFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::TextBox{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxSelectionChangingEventArgs::SelectionStart() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxSelectionChangingEventArgs)->get_SelectionStart(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxSelectionChangingEventArgs::SelectionLength() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxSelectionChangingEventArgs)->get_SelectionLength(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxSelectionChangingEventArgs::Cancel() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxSelectionChangingEventArgs)->get_Cancel(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxSelectionChangingEventArgs::Cancel(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxSelectionChangingEventArgs)->put_Cancel(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxStatics::TextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxStatics)->get_TextProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxStatics::MaxLengthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxStatics)->get_MaxLengthProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxStatics::IsReadOnlyProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxStatics)->get_IsReadOnlyProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxStatics::AcceptsReturnProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxStatics)->get_AcceptsReturnProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxStatics::TextAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxStatics)->get_TextAlignmentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxStatics::TextWrappingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxStatics)->get_TextWrappingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxStatics::IsSpellCheckEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxStatics)->get_IsSpellCheckEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxStatics::IsTextPredictionEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxStatics)->get_IsTextPredictionEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxStatics::InputScopeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxStatics)->get_InputScopeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxStatics::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxStatics)->get_HeaderProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxStatics::HeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxStatics)->get_HeaderTemplateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxStatics::PlaceholderTextProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxStatics)->get_PlaceholderTextProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxStatics::SelectionHighlightColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxStatics)->get_SelectionHighlightColorProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxStatics::PreventKeyboardDisplayOnProgrammaticFocusProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxStatics)->get_PreventKeyboardDisplayOnProgrammaticFocusProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxStatics::IsColorFontEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxStatics)->get_IsColorFontEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxStatics::SelectionHighlightColorWhenNotFocusedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxStatics)->get_SelectionHighlightColorWhenNotFocusedProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxStatics::HorizontalTextAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxStatics)->get_HorizontalTextAlignmentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxStatics::CharacterCasingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxStatics)->get_CharacterCasingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxStatics::PlaceholderForegroundProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxStatics)->get_PlaceholderForegroundProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxStatics::CanPasteClipboardContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxStatics)->get_CanPasteClipboardContentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxStatics::CanUndoProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxStatics)->get_CanUndoProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxStatics::CanRedoProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxStatics)->get_CanRedoProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxStatics::SelectionFlyoutProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxStatics)->get_SelectionFlyoutProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxStatics::ProofingMenuFlyoutProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxStatics)->get_ProofingMenuFlyoutProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxStatics::DescriptionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxStatics)->get_DescriptionProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxStatics::DesiredCandidateWindowAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxStatics)->get_DesiredCandidateWindowAlignmentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxStatics::TextReadingOrderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxStatics)->get_TextReadingOrderProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITextBoxTextChangingEventArgs::IsContentChanging() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextBoxTextChangingEventArgs)->get_IsContentChanging(&value)); return value; } 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_ITextCompositionChangedEventArgs::StartIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextCompositionChangedEventArgs)->get_StartIndex(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextCompositionChangedEventArgs::Length() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextCompositionChangedEventArgs)->get_Length(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextCompositionEndedEventArgs::StartIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextCompositionEndedEventArgs)->get_StartIndex(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextCompositionEndedEventArgs::Length() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextCompositionEndedEventArgs)->get_Length(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextCompositionStartedEventArgs::StartIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextCompositionStartedEventArgs)->get_StartIndex(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextCompositionStartedEventArgs::Length() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextCompositionStartedEventArgs)->get_Length(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextControlCopyingToClipboardEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextControlCopyingToClipboardEventArgs)->get_Handled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextControlCopyingToClipboardEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextControlCopyingToClipboardEventArgs)->put_Handled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextControlCuttingToClipboardEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextControlCuttingToClipboardEventArgs)->get_Handled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextControlCuttingToClipboardEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextControlCuttingToClipboardEventArgs)->put_Handled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITextControlPasteEventArgs::Handled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextControlPasteEventArgs)->get_Handled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITextControlPasteEventArgs::Handled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITextControlPasteEventArgs)->put_Handled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITimePickedEventArgs::OldTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePickedEventArgs)->get_OldTime(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITimePickedEventArgs::NewTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePickedEventArgs)->get_NewTime(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITimePicker::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePicker)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITimePicker::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePicker)->put_Header(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITimePicker::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePicker)->get_HeaderTemplate(&value)); return winrt::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITimePicker::HeaderTemplate(winrt::Microsoft::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePicker)->put_HeaderTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITimePicker::ClockIdentifier() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePicker)->get_ClockIdentifier(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITimePicker::ClockIdentifier(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePicker)->put_ClockIdentifier(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITimePicker::MinuteIncrement() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePicker)->get_MinuteIncrement(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITimePicker::MinuteIncrement(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePicker)->put_MinuteIncrement(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITimePicker::Time() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePicker)->get_Time(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITimePicker::Time(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePicker)->put_Time(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITimePicker::LightDismissOverlayMode() const { winrt::Microsoft::UI::Xaml::Controls::LightDismissOverlayMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePicker)->get_LightDismissOverlayMode(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITimePicker::LightDismissOverlayMode(winrt::Microsoft::UI::Xaml::Controls::LightDismissOverlayMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePicker)->put_LightDismissOverlayMode(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITimePicker::SelectedTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePicker)->get_SelectedTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITimePicker::SelectedTime(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePicker)->put_SelectedTime(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITimePicker::TimeChanged(winrt::Windows::Foundation::EventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePicker)->add_TimeChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITimePicker::TimeChanged(auto_revoke_t, winrt::Windows::Foundation::EventHandler const& handler) const { return impl::make_event_revoker(this, TimeChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITimePicker::TimeChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePicker)->remove_TimeChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITimePicker::SelectedTimeChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePicker)->add_SelectedTimeChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITimePicker::SelectedTimeChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, SelectedTimeChanged(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITimePicker::SelectedTimeChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePicker)->remove_SelectedTimeChanged(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITimePickerFactory::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::ITimePickerFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::TimePicker{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITimePickerFlyout::ClockIdentifier() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePickerFlyout)->get_ClockIdentifier(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITimePickerFlyout::ClockIdentifier(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePickerFlyout)->put_ClockIdentifier(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITimePickerFlyout::Time() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePickerFlyout)->get_Time(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITimePickerFlyout::Time(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePickerFlyout)->put_Time(impl::bind_in(value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITimePickerFlyout::MinuteIncrement() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePickerFlyout)->get_MinuteIncrement(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITimePickerFlyout::MinuteIncrement(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePickerFlyout)->put_MinuteIncrement(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITimePickerFlyout::TimePicked(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePickerFlyout)->add_TimePicked(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITimePickerFlyout::TimePicked(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TimePicked(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITimePickerFlyout::TimePicked(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePickerFlyout)->remove_TimePicked(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITimePickerFlyout::ShowAtAsync(winrt::Microsoft::UI::Xaml::FrameworkElement const& target) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePickerFlyout)->ShowAtAsync(*(void**)(&target), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITimePickerFlyoutPresenter::IsDefaultShadowEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePickerFlyoutPresenter)->get_IsDefaultShadowEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITimePickerFlyoutPresenter::IsDefaultShadowEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePickerFlyoutPresenter)->put_IsDefaultShadowEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITimePickerFlyoutPresenterStatics::IsDefaultShadowEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePickerFlyoutPresenterStatics)->get_IsDefaultShadowEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITimePickerFlyoutStatics::ClockIdentifierProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePickerFlyoutStatics)->get_ClockIdentifierProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITimePickerFlyoutStatics::TimeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePickerFlyoutStatics)->get_TimeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITimePickerFlyoutStatics::MinuteIncrementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePickerFlyoutStatics)->get_MinuteIncrementProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITimePickerSelectedValueChangedEventArgs::OldTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePickerSelectedValueChangedEventArgs)->get_OldTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITimePickerSelectedValueChangedEventArgs::NewTime() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePickerSelectedValueChangedEventArgs)->get_NewTime(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITimePickerStatics::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePickerStatics)->get_HeaderProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITimePickerStatics::HeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePickerStatics)->get_HeaderTemplateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITimePickerStatics::ClockIdentifierProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePickerStatics)->get_ClockIdentifierProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITimePickerStatics::MinuteIncrementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePickerStatics)->get_MinuteIncrementProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITimePickerStatics::TimeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePickerStatics)->get_TimeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITimePickerStatics::LightDismissOverlayModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePickerStatics)->get_LightDismissOverlayModeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITimePickerStatics::SelectedTimeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePickerStatics)->get_SelectedTimeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITimePickerValueChangedEventArgs::OldTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePickerValueChangedEventArgs)->get_OldTime(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITimePickerValueChangedEventArgs::NewTime() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITimePickerValueChangedEventArgs)->get_NewTime(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBar::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBar)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBar::Title(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBar)->put_Title(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBar::Subtitle() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBar)->get_Subtitle(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBar::Subtitle(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBar)->put_Subtitle(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBar::IconSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBar)->get_IconSource(&value)); return winrt::Microsoft::UI::Xaml::Controls::IconSource{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBar::IconSource(winrt::Microsoft::UI::Xaml::Controls::IconSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBar)->put_IconSource(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBar::LeftHeader() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBar)->get_LeftHeader(&value)); return winrt::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBar::LeftHeader(winrt::Microsoft::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBar)->put_LeftHeader(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBar::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBar)->get_Content(&value)); return winrt::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBar::Content(winrt::Microsoft::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBar)->put_Content(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBar::RightHeader() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBar)->get_RightHeader(&value)); return winrt::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBar::RightHeader(winrt::Microsoft::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBar)->put_RightHeader(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBar::IsBackButtonVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBar)->get_IsBackButtonVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBar::IsBackButtonVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBar)->put_IsBackButtonVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBar::IsBackButtonEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBar)->get_IsBackButtonEnabled(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBar::IsBackButtonEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBar)->put_IsBackButtonEnabled(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBar::IsPaneToggleButtonVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBar)->get_IsPaneToggleButtonVisible(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBar::IsPaneToggleButtonVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBar)->put_IsPaneToggleButtonVisible(value)); } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBar::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBar)->get_TemplateSettings(&value)); return winrt::Microsoft::UI::Xaml::Controls::TitleBarTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBar::BackRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBar)->add_BackRequested(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBar::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_ITitleBar::BackRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBar)->remove_BackRequested(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBar::PaneToggleRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBar)->add_PaneToggleRequested(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBar::PaneToggleRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PaneToggleRequested(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBar::PaneToggleRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBar)->remove_PaneToggleRequested(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBarAutomationPeerFactory::CreateInstance(winrt::Microsoft::UI::Xaml::Controls::TitleBar const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBarAutomationPeerFactory)->CreateInstance(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::TitleBarAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBarFactory::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::ITitleBarFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::TitleBar{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBarStatics::TitleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBarStatics)->get_TitleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBarStatics::SubtitleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBarStatics)->get_SubtitleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBarStatics::IconSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBarStatics)->get_IconSourceProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBarStatics::LeftHeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBarStatics)->get_LeftHeaderProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBarStatics::ContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBarStatics)->get_ContentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBarStatics::RightHeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBarStatics)->get_RightHeaderProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBarStatics::IsBackButtonVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBarStatics)->get_IsBackButtonVisibleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBarStatics::IsBackButtonEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBarStatics)->get_IsBackButtonEnabledProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBarStatics::IsPaneToggleButtonVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBarStatics)->get_IsPaneToggleButtonVisibleProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBarStatics::TemplateSettingsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBarStatics)->get_TemplateSettingsProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBarTemplateSettings::IconElement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBarTemplateSettings)->get_IconElement(&value)); return winrt::Microsoft::UI::Xaml::Controls::IconElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBarTemplateSettings::IconElement(winrt::Microsoft::UI::Xaml::Controls::IconElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBarTemplateSettings)->put_IconElement(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBarTemplateSettingsFactory::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::ITitleBarTemplateSettingsFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::TitleBarTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITitleBarTemplateSettingsStatics::IconElementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITitleBarTemplateSettingsStatics)->get_IconElementProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IToggleMenuFlyoutItem::IsChecked() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleMenuFlyoutItem)->get_IsChecked(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IToggleMenuFlyoutItem::IsChecked(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleMenuFlyoutItem)->put_IsChecked(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IToggleMenuFlyoutItemFactory::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::IToggleMenuFlyoutItemFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::ToggleMenuFlyoutItem{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IToggleMenuFlyoutItemStatics::IsCheckedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleMenuFlyoutItemStatics)->get_IsCheckedProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ 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::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSwitch::IsOn() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleSwitch)->get_IsOn(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSwitch::IsOn(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleSwitch)->put_IsOn(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSwitch::Header() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleSwitch)->get_Header(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSwitch::Header(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleSwitch)->put_Header(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSwitch::HeaderTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleSwitch)->get_HeaderTemplate(&value)); return winrt::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSwitch::HeaderTemplate(winrt::Microsoft::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleSwitch)->put_HeaderTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSwitch::OnContent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleSwitch)->get_OnContent(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSwitch::OnContent(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleSwitch)->put_OnContent(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSwitch::OnContentTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleSwitch)->get_OnContentTemplate(&value)); return winrt::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSwitch::OnContentTemplate(winrt::Microsoft::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleSwitch)->put_OnContentTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSwitch::OffContent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleSwitch)->get_OffContent(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSwitch::OffContent(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleSwitch)->put_OffContent(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSwitch::OffContentTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleSwitch)->get_OffContentTemplate(&value)); return winrt::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSwitch::OffContentTemplate(winrt::Microsoft::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleSwitch)->put_OffContentTemplate(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSwitch::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleSwitch)->get_TemplateSettings(&value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::ToggleSwitchTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSwitch::Toggled(winrt::Microsoft::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleSwitch)->add_Toggled(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSwitch::Toggled(auto_revoke_t, winrt::Microsoft::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, Toggled(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSwitch::Toggled(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleSwitch)->remove_Toggled(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSwitchOverrides::OnToggled() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleSwitchOverrides)->OnToggled()); } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSwitchOverrides::OnOnContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleSwitchOverrides)->OnOnContentChanged(*(void**)(&oldContent), *(void**)(&newContent))); } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSwitchOverrides::OnOffContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleSwitchOverrides)->OnOffContentChanged(*(void**)(&oldContent), *(void**)(&newContent))); } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSwitchOverrides::OnHeaderChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleSwitchOverrides)->OnHeaderChanged(*(void**)(&oldContent), *(void**)(&newContent))); } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSwitchStatics::IsOnProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleSwitchStatics)->get_IsOnProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSwitchStatics::HeaderProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleSwitchStatics)->get_HeaderProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSwitchStatics::HeaderTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleSwitchStatics)->get_HeaderTemplateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSwitchStatics::OnContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleSwitchStatics)->get_OnContentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSwitchStatics::OnContentTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleSwitchStatics)->get_OnContentTemplateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSwitchStatics::OffContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleSwitchStatics)->get_OffContentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IToggleSwitchStatics::OffContentTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToggleSwitchStatics)->get_OffContentTemplateProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IToolTip::HorizontalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToolTip)->get_HorizontalOffset(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IToolTip::HorizontalOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToolTip)->put_HorizontalOffset(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IToolTip::IsOpen() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToolTip)->get_IsOpen(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IToolTip::IsOpen(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToolTip)->put_IsOpen(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IToolTip::Placement() const { winrt::Microsoft::UI::Xaml::Controls::Primitives::PlacementMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToolTip)->get_Placement(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IToolTip::Placement(winrt::Microsoft::UI::Xaml::Controls::Primitives::PlacementMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToolTip)->put_Placement(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IToolTip::PlacementTarget() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToolTip)->get_PlacementTarget(&value)); return winrt::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IToolTip::PlacementTarget(winrt::Microsoft::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToolTip)->put_PlacementTarget(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IToolTip::PlacementRect() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToolTip)->get_PlacementRect(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IToolTip::PlacementRect(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToolTip)->put_PlacementRect(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IToolTip::VerticalOffset() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToolTip)->get_VerticalOffset(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IToolTip::VerticalOffset(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToolTip)->put_VerticalOffset(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IToolTip::TemplateSettings() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToolTip)->get_TemplateSettings(&value)); return winrt::Microsoft::UI::Xaml::Controls::Primitives::ToolTipTemplateSettings{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IToolTip::Closed(winrt::Microsoft::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToolTip)->add_Closed(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IToolTip::Closed(auto_revoke_t, winrt::Microsoft::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, Closed(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IToolTip::Closed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToolTip)->remove_Closed(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IToolTip::Opened(winrt::Microsoft::UI::Xaml::RoutedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToolTip)->add_Opened(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IToolTip::Opened(auto_revoke_t, winrt::Microsoft::UI::Xaml::RoutedEventHandler const& handler) const { return impl::make_event_revoker(this, Opened(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IToolTip::Opened(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToolTip)->remove_Opened(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IToolTipFactory::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::IToolTipFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::ToolTip{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IToolTipServiceStatics::PlacementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToolTipServiceStatics)->get_PlacementProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IToolTipServiceStatics::GetPlacement(winrt::Microsoft::UI::Xaml::DependencyObject const& element) const { winrt::Microsoft::UI::Xaml::Controls::Primitives::PlacementMode result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToolTipServiceStatics)->GetPlacement(*(void**)(&element), reinterpret_cast(&result))); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IToolTipServiceStatics::SetPlacement(winrt::Microsoft::UI::Xaml::DependencyObject const& element, winrt::Microsoft::UI::Xaml::Controls::Primitives::PlacementMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToolTipServiceStatics)->SetPlacement(*(void**)(&element), static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IToolTipServiceStatics::PlacementTargetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToolTipServiceStatics)->get_PlacementTargetProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IToolTipServiceStatics::GetPlacementTarget(winrt::Microsoft::UI::Xaml::DependencyObject const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToolTipServiceStatics)->GetPlacementTarget(*(void**)(&element), &result)); return winrt::Microsoft::UI::Xaml::UIElement{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IToolTipServiceStatics::SetPlacementTarget(winrt::Microsoft::UI::Xaml::DependencyObject const& element, winrt::Microsoft::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToolTipServiceStatics)->SetPlacementTarget(*(void**)(&element), *(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IToolTipServiceStatics::ToolTipProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToolTipServiceStatics)->get_ToolTipProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IToolTipServiceStatics::GetToolTip(winrt::Microsoft::UI::Xaml::DependencyObject const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToolTipServiceStatics)->GetToolTip(*(void**)(&element), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IToolTipServiceStatics::SetToolTip(winrt::Microsoft::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToolTipServiceStatics)->SetToolTip(*(void**)(&element), *(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IToolTipStatics::HorizontalOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToolTipStatics)->get_HorizontalOffsetProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IToolTipStatics::IsOpenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToolTipStatics)->get_IsOpenProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IToolTipStatics::PlacementProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToolTipStatics)->get_PlacementProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IToolTipStatics::PlacementTargetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToolTipStatics)->get_PlacementTargetProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IToolTipStatics::PlacementRectProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToolTipStatics)->get_PlacementRectProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IToolTipStatics::VerticalOffsetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IToolTipStatics)->get_VerticalOffsetProperty(&value)); return winrt::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::DependencyObject{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::ItemFromContainer(winrt::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::ItemTemplate(winrt::Microsoft::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::Microsoft::UI::Xaml::Controls::DataTemplateSelector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::ItemTemplateSelector(winrt::Microsoft::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::Microsoft::UI::Xaml::Style{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::ItemContainerStyle(winrt::Microsoft::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::Microsoft::UI::Xaml::Controls::StyleSelector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::ItemContainerStyleSelector(winrt::Microsoft::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::Microsoft::UI::Xaml::Media::Animation::TransitionCollection{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView2::ItemContainerTransitions(winrt::Microsoft::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_ITreeView3::SelectionChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView3)->add_SelectionChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeView3::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_ITreeView3::SelectionChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeView3)->remove_SelectionChanged(impl::bind_in(token)); } 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::Microsoft::UI::Xaml::Media::Brush{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItem::GlyphBrush(winrt::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewItemTemplateSettings::ExpandedGlyphVisibility() const { winrt::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewSelectionChangedEventArgs::AddedItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewSelectionChangedEventArgs)->get_AddedItems(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITreeViewSelectionChangedEventArgs::RemovedItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::ITreeViewSelectionChangedEventArgs)->get_RemovedItems(&value)); return winrt::Windows::Foundation::Collections::IVector{ 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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneView::Pane1(winrt::Microsoft::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::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_ITwoPaneView::Pane2(winrt::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IUIElementCollection::Move(uint32_t oldIndex, uint32_t newIndex) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IUIElementCollection)->Move(oldIndex, newIndex)); } template auto consume_Microsoft_UI_Xaml_Controls_IUniformGridLayout::Orientation() const { winrt::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IUserControl::Content() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IUserControl)->get_Content(&value)); return winrt::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IUserControl::Content(winrt::Microsoft::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IUserControl)->put_Content(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IUserControlFactory::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::IUserControlFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Controls::UserControl{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IUserControlStatics::ContentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IUserControlStatics)->get_ContentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IVariableSizedWrapGrid::ItemHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVariableSizedWrapGrid)->get_ItemHeight(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IVariableSizedWrapGrid::ItemHeight(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVariableSizedWrapGrid)->put_ItemHeight(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IVariableSizedWrapGrid::ItemWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVariableSizedWrapGrid)->get_ItemWidth(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IVariableSizedWrapGrid::ItemWidth(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVariableSizedWrapGrid)->put_ItemWidth(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IVariableSizedWrapGrid::Orientation() const { winrt::Microsoft::UI::Xaml::Controls::Orientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVariableSizedWrapGrid)->get_Orientation(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IVariableSizedWrapGrid::Orientation(winrt::Microsoft::UI::Xaml::Controls::Orientation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVariableSizedWrapGrid)->put_Orientation(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IVariableSizedWrapGrid::HorizontalChildrenAlignment() const { winrt::Microsoft::UI::Xaml::HorizontalAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVariableSizedWrapGrid)->get_HorizontalChildrenAlignment(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IVariableSizedWrapGrid::HorizontalChildrenAlignment(winrt::Microsoft::UI::Xaml::HorizontalAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVariableSizedWrapGrid)->put_HorizontalChildrenAlignment(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IVariableSizedWrapGrid::VerticalChildrenAlignment() const { winrt::Microsoft::UI::Xaml::VerticalAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVariableSizedWrapGrid)->get_VerticalChildrenAlignment(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IVariableSizedWrapGrid::VerticalChildrenAlignment(winrt::Microsoft::UI::Xaml::VerticalAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVariableSizedWrapGrid)->put_VerticalChildrenAlignment(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IVariableSizedWrapGrid::MaximumRowsOrColumns() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVariableSizedWrapGrid)->get_MaximumRowsOrColumns(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IVariableSizedWrapGrid::MaximumRowsOrColumns(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVariableSizedWrapGrid)->put_MaximumRowsOrColumns(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IVariableSizedWrapGridStatics::ItemHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVariableSizedWrapGridStatics)->get_ItemHeightProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IVariableSizedWrapGridStatics::ItemWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVariableSizedWrapGridStatics)->get_ItemWidthProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IVariableSizedWrapGridStatics::OrientationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVariableSizedWrapGridStatics)->get_OrientationProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IVariableSizedWrapGridStatics::HorizontalChildrenAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVariableSizedWrapGridStatics)->get_HorizontalChildrenAlignmentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IVariableSizedWrapGridStatics::VerticalChildrenAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVariableSizedWrapGridStatics)->get_VerticalChildrenAlignmentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IVariableSizedWrapGridStatics::MaximumRowsOrColumnsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVariableSizedWrapGridStatics)->get_MaximumRowsOrColumnsProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IVariableSizedWrapGridStatics::RowSpanProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVariableSizedWrapGridStatics)->get_RowSpanProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IVariableSizedWrapGridStatics::GetRowSpan(winrt::Microsoft::UI::Xaml::UIElement const& element) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVariableSizedWrapGridStatics)->GetRowSpan(*(void**)(&element), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IVariableSizedWrapGridStatics::SetRowSpan(winrt::Microsoft::UI::Xaml::UIElement const& element, int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVariableSizedWrapGridStatics)->SetRowSpan(*(void**)(&element), value)); } template auto consume_Microsoft_UI_Xaml_Controls_IVariableSizedWrapGridStatics::ColumnSpanProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVariableSizedWrapGridStatics)->get_ColumnSpanProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IVariableSizedWrapGridStatics::GetColumnSpan(winrt::Microsoft::UI::Xaml::UIElement const& element) const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVariableSizedWrapGridStatics)->GetColumnSpan(*(void**)(&element), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IVariableSizedWrapGridStatics::SetColumnSpan(winrt::Microsoft::UI::Xaml::UIElement const& element, int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVariableSizedWrapGridStatics)->SetColumnSpan(*(void**)(&element), value)); } template auto consume_Microsoft_UI_Xaml_Controls_IViewbox::Child() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IViewbox)->get_Child(&value)); return winrt::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IViewbox::Child(winrt::Microsoft::UI::Xaml::UIElement const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IViewbox)->put_Child(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Controls_IViewbox::Stretch() const { winrt::Microsoft::UI::Xaml::Media::Stretch value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IViewbox)->get_Stretch(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IViewbox::Stretch(winrt::Microsoft::UI::Xaml::Media::Stretch const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IViewbox)->put_Stretch(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IViewbox::StretchDirection() const { winrt::Microsoft::UI::Xaml::Controls::StretchDirection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IViewbox)->get_StretchDirection(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IViewbox::StretchDirection(winrt::Microsoft::UI::Xaml::Controls::StretchDirection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IViewbox)->put_StretchDirection(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IViewboxStatics::StretchProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IViewboxStatics)->get_StretchProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IViewboxStatics::StretchDirectionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IViewboxStatics)->get_StretchDirectionProperty(&value)); return winrt::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::UIElement{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingLayoutContext::RecycleElement(winrt::Microsoft::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_IVirtualizingLayoutContext2::VisibleRect() const { winrt::Windows::Foundation::Rect value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingLayoutContext2)->get_VisibleRect(put_abi(value))); return 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::Microsoft::UI::Xaml::UIElement{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingLayoutContextOverrides::RecycleElementCore(winrt::Microsoft::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_IVirtualizingLayoutContextOverrides2::VisibleRectCore() const { winrt::Windows::Foundation::Rect result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingLayoutContextOverrides2)->VisibleRectCore(put_abi(result))); return result; } 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::Microsoft::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_IVirtualizingPanel::ItemContainerGenerator() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingPanel)->get_ItemContainerGenerator(&value)); return winrt::Microsoft::UI::Xaml::Controls::ItemContainerGenerator{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingPanelOverrides::OnItemsChanged(winrt::Windows::Foundation::IInspectable const& sender, winrt::Microsoft::UI::Xaml::Controls::Primitives::ItemsChangedEventArgs const& args) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingPanelOverrides)->OnItemsChanged(*(void**)(&sender), *(void**)(&args))); } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingPanelOverrides::OnClearChildren() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingPanelOverrides)->OnClearChildren()); } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingPanelOverrides::BringIndexIntoView(int32_t index) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingPanelOverrides)->BringIndexIntoView(index)); } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingPanelProtected::AddInternalChild(winrt::Microsoft::UI::Xaml::UIElement const& child) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingPanelProtected)->AddInternalChild(*(void**)(&child))); } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingPanelProtected::InsertInternalChild(int32_t index, winrt::Microsoft::UI::Xaml::UIElement const& child) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingPanelProtected)->InsertInternalChild(index, *(void**)(&child))); } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingPanelProtected::RemoveInternalChildRange(int32_t index, int32_t range) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingPanelProtected)->RemoveInternalChildRange(index, range)); } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingStackPanel::AreScrollSnapPointsRegular() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingStackPanel)->get_AreScrollSnapPointsRegular(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingStackPanel::AreScrollSnapPointsRegular(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingStackPanel)->put_AreScrollSnapPointsRegular(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingStackPanel::Orientation() const { winrt::Microsoft::UI::Xaml::Controls::Orientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingStackPanel)->get_Orientation(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingStackPanel::Orientation(winrt::Microsoft::UI::Xaml::Controls::Orientation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingStackPanel)->put_Orientation(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingStackPanel::CleanUpVirtualizedItemEvent(winrt::Microsoft::UI::Xaml::Controls::CleanUpVirtualizedItemEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingStackPanel)->add_CleanUpVirtualizedItemEvent(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingStackPanel::CleanUpVirtualizedItemEvent(auto_revoke_t, winrt::Microsoft::UI::Xaml::Controls::CleanUpVirtualizedItemEventHandler const& handler) const { return impl::make_event_revoker(this, CleanUpVirtualizedItemEvent(handler)); } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingStackPanel::CleanUpVirtualizedItemEvent(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingStackPanel)->remove_CleanUpVirtualizedItemEvent(impl::bind_in(token)); } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingStackPanelOverrides::OnCleanUpVirtualizedItem(winrt::Microsoft::UI::Xaml::Controls::CleanUpVirtualizedItemEventArgs const& e) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingStackPanelOverrides)->OnCleanUpVirtualizedItem(*(void**)(&e))); } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingStackPanelStatics::AreScrollSnapPointsRegularProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingStackPanelStatics)->get_AreScrollSnapPointsRegularProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingStackPanelStatics::OrientationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingStackPanelStatics)->get_OrientationProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingStackPanelStatics::VirtualizationModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingStackPanelStatics)->get_VirtualizationModeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingStackPanelStatics::GetVirtualizationMode(winrt::Microsoft::UI::Xaml::DependencyObject const& element) const { winrt::Microsoft::UI::Xaml::Controls::VirtualizationMode result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingStackPanelStatics)->GetVirtualizationMode(*(void**)(&element), reinterpret_cast(&result))); return result; } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingStackPanelStatics::SetVirtualizationMode(winrt::Microsoft::UI::Xaml::DependencyObject const& element, winrt::Microsoft::UI::Xaml::Controls::VirtualizationMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingStackPanelStatics)->SetVirtualizationMode(*(void**)(&element), static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingStackPanelStatics::IsVirtualizingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingStackPanelStatics)->get_IsVirtualizingProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IVirtualizingStackPanelStatics::GetIsVirtualizing(winrt::Microsoft::UI::Xaml::DependencyObject const& o) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IVirtualizingStackPanelStatics)->GetIsVirtualizing(*(void**)(&o), &result)); return result; } 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::DefaultBackgroundColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWebView2)->get_DefaultBackgroundColor(put_abi(value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2::DefaultBackgroundColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWebView2)->put_DefaultBackgroundColor(impl::bind_in(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_IWebView22::EnsureCoreWebView2Async(winrt::Microsoft::Web::WebView2::Core::CoreWebView2Environment const& environment) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWebView22)->EnsureCoreWebView2WithEnvironmentAsync(*(void**)(&environment), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IWebView22::EnsureCoreWebView2Async(winrt::Microsoft::Web::WebView2::Core::CoreWebView2Environment const& environment, winrt::Microsoft::Web::WebView2::Core::CoreWebView2ControllerOptions const& controllerOptions) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWebView22)->EnsureCoreWebView2WithEnvironmentAndOptionsAsync(*(void**)(&environment), *(void**)(&controllerOptions), &operation)); return winrt::Windows::Foundation::IAsyncAction{ operation, take_ownership_from_abi }; } 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::Microsoft::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::Microsoft::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::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IWebView2Statics::DefaultBackgroundColorProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWebView2Statics)->get_DefaultBackgroundColorProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IWrapGrid::ItemWidth() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWrapGrid)->get_ItemWidth(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IWrapGrid::ItemWidth(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWrapGrid)->put_ItemWidth(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IWrapGrid::ItemHeight() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWrapGrid)->get_ItemHeight(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IWrapGrid::ItemHeight(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWrapGrid)->put_ItemHeight(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IWrapGrid::Orientation() const { winrt::Microsoft::UI::Xaml::Controls::Orientation value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWrapGrid)->get_Orientation(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IWrapGrid::Orientation(winrt::Microsoft::UI::Xaml::Controls::Orientation const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWrapGrid)->put_Orientation(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IWrapGrid::HorizontalChildrenAlignment() const { winrt::Microsoft::UI::Xaml::HorizontalAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWrapGrid)->get_HorizontalChildrenAlignment(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IWrapGrid::HorizontalChildrenAlignment(winrt::Microsoft::UI::Xaml::HorizontalAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWrapGrid)->put_HorizontalChildrenAlignment(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IWrapGrid::VerticalChildrenAlignment() const { winrt::Microsoft::UI::Xaml::VerticalAlignment value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWrapGrid)->get_VerticalChildrenAlignment(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IWrapGrid::VerticalChildrenAlignment(winrt::Microsoft::UI::Xaml::VerticalAlignment const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWrapGrid)->put_VerticalChildrenAlignment(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Controls_IWrapGrid::MaximumRowsOrColumns() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWrapGrid)->get_MaximumRowsOrColumns(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IWrapGrid::MaximumRowsOrColumns(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWrapGrid)->put_MaximumRowsOrColumns(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IWrapGridStatics::ItemWidthProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWrapGridStatics)->get_ItemWidthProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IWrapGridStatics::ItemHeightProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWrapGridStatics)->get_ItemHeightProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IWrapGridStatics::OrientationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWrapGridStatics)->get_OrientationProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IWrapGridStatics::HorizontalChildrenAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWrapGridStatics)->get_HorizontalChildrenAlignmentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IWrapGridStatics::VerticalChildrenAlignmentProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWrapGridStatics)->get_VerticalChildrenAlignmentProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IWrapGridStatics::MaximumRowsOrColumnsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IWrapGridStatics)->get_MaximumRowsOrColumnsProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Controls_IXamlControlsResources::UseCompactResources() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IXamlControlsResources)->get_UseCompactResources(&value)); return value; } template auto consume_Microsoft_UI_Xaml_Controls_IXamlControlsResources::UseCompactResources(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IXamlControlsResources)->put_UseCompactResources(value)); } template auto consume_Microsoft_UI_Xaml_Controls_IXamlControlsResourcesStatics::EnsureRevealLights(winrt::Microsoft::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_IXamlControlsResourcesStatics::UseCompactResourcesProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Controls::IXamlControlsResourcesStatics)->get_UseCompactResourcesProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template struct delegate final : implements_delegate { delegate(H&& handler) : implements_delegate(std::forward(handler)) {} int32_t __stdcall Invoke(void* sender, void* e) noexcept final try { (*this)(*reinterpret_cast(&sender), *reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } }; template struct delegate final : implements_delegate { delegate(H&& handler) : implements_delegate(std::forward(handler)) {} int32_t __stdcall Invoke(void* sender, void* e) noexcept final try { (*this)(*reinterpret_cast(&sender), *reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } }; template struct delegate final : implements_delegate { delegate(H&& handler) : implements_delegate(std::forward(handler)) {} int32_t __stdcall Invoke(void* sender, void* e) noexcept final try { (*this)(*reinterpret_cast(&sender), *reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } }; template struct delegate final : implements_delegate { delegate(H&& handler) : implements_delegate(std::forward(handler)) {} int32_t __stdcall Invoke(void* sender, void* e) noexcept final try { (*this)(*reinterpret_cast(&sender), *reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } }; template struct delegate final : implements_delegate { delegate(H&& handler) : implements_delegate(std::forward(handler)) {} int32_t __stdcall Invoke(void* sender, void* e) noexcept final try { (*this)(*reinterpret_cast(&sender), *reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } }; template struct delegate final : implements_delegate { delegate(H&& handler) : implements_delegate(std::forward(handler)) {} int32_t __stdcall Invoke(void* sender, void* e) noexcept final try { (*this)(*reinterpret_cast(&sender), *reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } }; template struct delegate final : implements_delegate { delegate(H&& handler) : implements_delegate(std::forward(handler)) {} int32_t __stdcall Invoke(void* item, void** result) noexcept final try { clear_abi(result); *result = detach_from((*this)(*reinterpret_cast(&item))); return 0; } catch (...) { return to_hresult(); } }; template struct delegate final : implements_delegate { delegate(H&& handler) : implements_delegate(std::forward(handler)) {} int32_t __stdcall Invoke(void* key, void** operation) noexcept final try { clear_abi(operation); *operation = detach_from>((*this)(*reinterpret_cast(&key))); return 0; } catch (...) { return to_hresult(); } }; template struct delegate final : implements_delegate { delegate(H&& handler) : implements_delegate(std::forward(handler)) {} int32_t __stdcall Invoke(void* sender, void* e) noexcept final try { (*this)(*reinterpret_cast(&sender), *reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } }; template struct delegate final : implements_delegate { delegate(H&& handler) : implements_delegate(std::forward(handler)) {} int32_t __stdcall Invoke(void* sender, void* e) noexcept final try { (*this)(*reinterpret_cast(&sender), *reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } }; template struct delegate final : implements_delegate { delegate(H&& handler) : implements_delegate(std::forward(handler)) {} int32_t __stdcall Invoke(void* sender, void* e) noexcept final try { (*this)(*reinterpret_cast(&sender), *reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } }; template struct delegate final : implements_delegate { delegate(H&& handler) : implements_delegate(std::forward(handler)) {} int32_t __stdcall Invoke(void* sender, void* e) noexcept final try { (*this)(*reinterpret_cast(&sender), *reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } }; template struct delegate final : implements_delegate { delegate(H&& handler) : implements_delegate(std::forward(handler)) {} int32_t __stdcall Invoke(void* sender, void* e) noexcept final try { (*this)(*reinterpret_cast(&sender), *reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Anchor(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Anchor()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Anchor(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Anchor(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AnchorCandidates(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().AnchorCandidates()); 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_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 { int32_t __stdcall get_ScrollController(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScrollController()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Labels(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Labels()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Labels(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Labels(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LabelTemplate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LabelTemplate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LabelTemplate(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LabelTemplate(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DetailLabelTemplate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DetailLabelTemplate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DetailLabelTemplate(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DetailLabelTemplate(*reinterpret_cast(&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 add_Scrolling(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Scrolling(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Scrolling(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Scrolling(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_DetailLabelRequested(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().DetailLabelRequested(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_DetailLabelRequested(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().DetailLabelRequested(*reinterpret_cast(&token)); return 0; } }; #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_ScrollOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScrollOffset()); 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_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 get_ScrollOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScrollOffset()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* content, double scrollOffset, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&content), scrollOffset)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ScrollOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScrollOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ScrollingEventKind(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScrollingEventKind()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Cancel(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Cancel()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Cancel(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Cancel(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_LabelsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LabelsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LabelTemplateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LabelTemplateProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DetailLabelTemplateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DetailLabelTemplateProperty()); 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(); } }; #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_IsSticky(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSticky()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsSticky(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsSticky(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ClosedDisplayMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ClosedDisplayMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ClosedDisplayMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ClosedDisplayMode(*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_LightDismissOverlayMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LightDismissOverlayMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LightDismissOverlayMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LightDismissOverlayMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_Opening(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Opening(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Opening(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Opening(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_Opened(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Opened(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Opened(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Opened(*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_Label(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Label()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Label(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Label(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_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_LabelPosition(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LabelPosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LabelPosition(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LabelPosition(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_KeyboardAcceleratorTextOverride(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().KeyboardAcceleratorTextOverride()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_KeyboardAcceleratorTextOverride(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().KeyboardAcceleratorTextOverride(*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_LabelProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LabelProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_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_LabelPositionProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LabelPositionProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_KeyboardAcceleratorTextOverrideProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().KeyboardAcceleratorTextOverrideProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsCompactProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsCompactProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsInOverflowProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsInOverflowProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DynamicOverflowOrderProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DynamicOverflowOrderProperty()); 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_IsCompactProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsCompactProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsInOverflowProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsInOverflowProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DynamicOverflowOrderProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DynamicOverflowOrderProperty()); 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 OnClosed(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnClosed(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnOpened(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnOpened(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnClosing(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnClosing(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnOpening(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnOpening(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall 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_IsCompactProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsCompactProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsInOverflowProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsInOverflowProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DynamicOverflowOrderProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DynamicOverflowOrderProperty()); 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_IsStickyProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsStickyProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ClosedDisplayModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ClosedDisplayModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LightDismissOverlayModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LightDismissOverlayModeProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Label(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Label()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Label(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Label(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_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_LabelPosition(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LabelPosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LabelPosition(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LabelPosition(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_KeyboardAcceleratorTextOverride(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().KeyboardAcceleratorTextOverride()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_KeyboardAcceleratorTextOverride(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().KeyboardAcceleratorTextOverride(*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_LabelProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LabelProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_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_LabelPositionProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LabelPositionProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_KeyboardAcceleratorTextOverrideProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().KeyboardAcceleratorTextOverrideProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsCompactProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsCompactProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsInOverflowProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsInOverflowProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DynamicOverflowOrderProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DynamicOverflowOrderProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_MaxSuggestionListHeight(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxSuggestionListHeight()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxSuggestionListHeight(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxSuggestionListHeight(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsSuggestionListOpen(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSuggestionListOpen()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsSuggestionListOpen(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsSuggestionListOpen(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextMemberPath(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextMemberPath()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TextMemberPath(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TextMemberPath(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Text(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Text()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Text(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Text(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_UpdateTextOnSelect(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().UpdateTextOnSelect()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_UpdateTextOnSelect(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().UpdateTextOnSelect(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_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_AutoMaximizeSuggestionArea(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AutoMaximizeSuggestionArea()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AutoMaximizeSuggestionArea(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AutoMaximizeSuggestionArea(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextBoxStyle(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextBoxStyle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TextBoxStyle(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TextBoxStyle(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_QueryIcon(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().QueryIcon()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_QueryIcon(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().QueryIcon(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LightDismissOverlayMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LightDismissOverlayMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LightDismissOverlayMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LightDismissOverlayMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Description(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Description()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Description(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Description(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_SuggestionChosen(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().SuggestionChosen(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_SuggestionChosen(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().SuggestionChosen(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_TextChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().TextChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_TextChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().TextChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_QuerySubmitted(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().QuerySubmitted(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_QuerySubmitted(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().QuerySubmitted(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_QueryText(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().QueryText()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ChosenSuggestion(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ChosenSuggestion()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_MaxSuggestionListHeightProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxSuggestionListHeightProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsSuggestionListOpenProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSuggestionListOpenProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextMemberPathProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextMemberPathProperty()); 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_UpdateTextOnSelectProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().UpdateTextOnSelectProperty()); 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_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_AutoMaximizeSuggestionAreaProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AutoMaximizeSuggestionAreaProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextBoxStyleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextBoxStyleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_QueryIconProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().QueryIconProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LightDismissOverlayModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LightDismissOverlayModeProperty()); 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(); } }; #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(); } }; #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 put_Reason(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Reason(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CheckCurrent(bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CheckCurrent()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ReasonProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ReasonProperty()); 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_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_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_BorderBrush(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BorderBrush()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BorderBrush(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BorderBrush(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BorderThickness(struct struct_Microsoft_UI_Xaml_Thickness* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BorderThickness()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BorderThickness(struct struct_Microsoft_UI_Xaml_Thickness value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BorderThickness(*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_BackgroundSizing(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BackgroundSizing()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BackgroundSizing(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BackgroundSizing(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CornerRadius(struct struct_Microsoft_UI_Xaml_CornerRadius* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CornerRadius()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CornerRadius(struct struct_Microsoft_UI_Xaml_CornerRadius value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CornerRadius(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Padding(struct struct_Microsoft_UI_Xaml_Thickness* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Padding()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Padding(struct struct_Microsoft_UI_Xaml_Thickness value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Padding(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } 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_ChildTransitions(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ChildTransitions()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ChildTransitions(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ChildTransitions(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BackgroundTransition(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BackgroundTransition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BackgroundTransition(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BackgroundTransition(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_BorderBrushProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BorderBrushProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BorderThicknessProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BorderThicknessProperty()); 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_BackgroundSizingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BackgroundSizingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CornerRadiusProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CornerRadiusProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PaddingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PaddingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ChildTransitionsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ChildTransitionsProperty()); 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_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(); } }; #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(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Date(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Date()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Date(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Date(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsCalendarOpen(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsCalendarOpen()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsCalendarOpen(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsCalendarOpen(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DateFormat(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DateFormat()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DateFormat(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DateFormat(*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_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_CalendarViewStyle(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CalendarViewStyle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CalendarViewStyle(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CalendarViewStyle(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LightDismissOverlayMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LightDismissOverlayMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LightDismissOverlayMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LightDismissOverlayMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Description(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Description()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Description(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Description(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinDate(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinDate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MinDate(int64_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MinDate(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxDate(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxDate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxDate(int64_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxDate(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsTodayHighlighted(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsTodayHighlighted()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsTodayHighlighted(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsTodayHighlighted(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 put_DisplayMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DisplayMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FirstDayOfWeek(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FirstDayOfWeek()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FirstDayOfWeek(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FirstDayOfWeek(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DayOfWeekFormat(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DayOfWeekFormat()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DayOfWeekFormat(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DayOfWeekFormat(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CalendarIdentifier(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CalendarIdentifier()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CalendarIdentifier(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CalendarIdentifier(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsOutOfScopeEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsOutOfScopeEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsOutOfScopeEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsOutOfScopeEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsGroupLabelVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsGroupLabelVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsGroupLabelVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsGroupLabelVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_CalendarViewDayItemChanging(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().CalendarViewDayItemChanging(*reinterpret_cast(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_CalendarViewDayItemChanging(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().CalendarViewDayItemChanging(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_DateChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().DateChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_DateChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().DateChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_Opened(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Opened(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Opened(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Opened(*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; } int32_t __stdcall SetDisplayDate(int64_t date) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetDisplayDate(*reinterpret_cast(&date)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetYearDecadeDisplayDimensions(int32_t columns, int32_t rows) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetYearDecadeDisplayDimensions(columns, rows); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_NewDate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().NewDate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OldDate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().OldDate()); 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_DateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DateProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsCalendarOpenProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsCalendarOpenProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DateFormatProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DateFormatProperty()); 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_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_CalendarViewStyleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CalendarViewStyleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LightDismissOverlayModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LightDismissOverlayModeProperty()); 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_MinDateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinDateProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxDateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxDateProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsTodayHighlightedProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsTodayHighlightedProperty()); 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_FirstDayOfWeekProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FirstDayOfWeekProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DayOfWeekFormatProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DayOfWeekFormatProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CalendarIdentifierProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CalendarIdentifierProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsOutOfScopeEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsOutOfScopeEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsGroupLabelVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsGroupLabelVisibleProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CalendarIdentifier(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CalendarIdentifier()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CalendarIdentifier(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CalendarIdentifier(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DayOfWeekFormat(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DayOfWeekFormat()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DayOfWeekFormat(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DayOfWeekFormat(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsGroupLabelVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsGroupLabelVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsGroupLabelVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsGroupLabelVisible(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 put_DisplayMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DisplayMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FirstDayOfWeek(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FirstDayOfWeek()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FirstDayOfWeek(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FirstDayOfWeek(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsOutOfScopeEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsOutOfScopeEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsOutOfScopeEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsOutOfScopeEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsTodayHighlighted(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsTodayHighlighted()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsTodayHighlighted(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsTodayHighlighted(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxDate(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxDate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxDate(int64_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxDate(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinDate(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinDate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MinDate(int64_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MinDate(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NumberOfWeeksInView(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NumberOfWeeksInView()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_NumberOfWeeksInView(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().NumberOfWeeksInView(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedDates(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().SelectedDates()); 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_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_FocusBorderBrush(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FocusBorderBrush()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FocusBorderBrush(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FocusBorderBrush(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedHoverBorderBrush(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedHoverBorderBrush()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SelectedHoverBorderBrush(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectedHoverBorderBrush(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedPressedBorderBrush(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedPressedBorderBrush()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SelectedPressedBorderBrush(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectedPressedBorderBrush(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedDisabledBorderBrush(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedDisabledBorderBrush()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SelectedDisabledBorderBrush(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectedDisabledBorderBrush(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedBorderBrush(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedBorderBrush()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SelectedBorderBrush(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectedBorderBrush(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HoverBorderBrush(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HoverBorderBrush()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HoverBorderBrush(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HoverBorderBrush(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PressedBorderBrush(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PressedBorderBrush()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PressedBorderBrush(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PressedBorderBrush(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TodaySelectedInnerBorderBrush(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TodaySelectedInnerBorderBrush()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TodaySelectedInnerBorderBrush(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TodaySelectedInnerBorderBrush(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BlackoutStrikethroughBrush(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BlackoutStrikethroughBrush()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BlackoutStrikethroughBrush(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BlackoutStrikethroughBrush(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CalendarItemBorderBrush(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CalendarItemBorderBrush()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CalendarItemBorderBrush(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CalendarItemBorderBrush(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BlackoutBackground(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BlackoutBackground()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BlackoutBackground(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BlackoutBackground(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OutOfScopeBackground(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OutOfScopeBackground()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_OutOfScopeBackground(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OutOfScopeBackground(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CalendarItemBackground(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CalendarItemBackground()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CalendarItemBackground(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CalendarItemBackground(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CalendarItemHoverBackground(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CalendarItemHoverBackground()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CalendarItemHoverBackground(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CalendarItemHoverBackground(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CalendarItemPressedBackground(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CalendarItemPressedBackground()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CalendarItemPressedBackground(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CalendarItemPressedBackground(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CalendarItemDisabledBackground(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CalendarItemDisabledBackground()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CalendarItemDisabledBackground(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CalendarItemDisabledBackground(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TodayBackground(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TodayBackground()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TodayBackground(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TodayBackground(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TodayBlackoutBackground(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TodayBlackoutBackground()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TodayBlackoutBackground(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TodayBlackoutBackground(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TodayHoverBackground(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TodayHoverBackground()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TodayHoverBackground(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TodayHoverBackground(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TodayPressedBackground(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TodayPressedBackground()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TodayPressedBackground(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TodayPressedBackground(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TodayDisabledBackground(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TodayDisabledBackground()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TodayDisabledBackground(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TodayDisabledBackground(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PressedForeground(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PressedForeground()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PressedForeground(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PressedForeground(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TodayForeground(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TodayForeground()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TodayForeground(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TodayForeground(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BlackoutForeground(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BlackoutForeground()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BlackoutForeground(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BlackoutForeground(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TodayBlackoutForeground(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TodayBlackoutForeground()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TodayBlackoutForeground(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TodayBlackoutForeground(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedForeground(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedForeground()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SelectedForeground(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectedForeground(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedHoverForeground(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedHoverForeground()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SelectedHoverForeground(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectedHoverForeground(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedPressedForeground(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedPressedForeground()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SelectedPressedForeground(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectedPressedForeground(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedDisabledForeground(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedDisabledForeground()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SelectedDisabledForeground(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectedDisabledForeground(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OutOfScopeForeground(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OutOfScopeForeground()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_OutOfScopeForeground(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OutOfScopeForeground(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OutOfScopeHoverForeground(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OutOfScopeHoverForeground()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_OutOfScopeHoverForeground(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OutOfScopeHoverForeground(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OutOfScopePressedForeground(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OutOfScopePressedForeground()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_OutOfScopePressedForeground(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OutOfScopePressedForeground(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CalendarItemForeground(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CalendarItemForeground()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CalendarItemForeground(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CalendarItemForeground(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DisabledForeground(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DisabledForeground()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DisabledForeground(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DisabledForeground(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DayItemFontFamily(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DayItemFontFamily()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DayItemFontFamily(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DayItemFontFamily(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DayItemFontSize(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DayItemFontSize()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DayItemFontSize(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DayItemFontSize(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DayItemFontStyle(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DayItemFontStyle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DayItemFontStyle(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DayItemFontStyle(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DayItemFontWeight(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().DayItemFontWeight()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DayItemFontWeight(struct struct_Windows_UI_Text_FontWeight value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DayItemFontWeight(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TodayFontWeight(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().TodayFontWeight()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TodayFontWeight(struct struct_Windows_UI_Text_FontWeight value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TodayFontWeight(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FirstOfMonthLabelFontFamily(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FirstOfMonthLabelFontFamily()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FirstOfMonthLabelFontFamily(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FirstOfMonthLabelFontFamily(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FirstOfMonthLabelFontSize(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FirstOfMonthLabelFontSize()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FirstOfMonthLabelFontSize(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FirstOfMonthLabelFontSize(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FirstOfMonthLabelFontStyle(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FirstOfMonthLabelFontStyle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FirstOfMonthLabelFontStyle(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FirstOfMonthLabelFontStyle(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FirstOfMonthLabelFontWeight(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().FirstOfMonthLabelFontWeight()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FirstOfMonthLabelFontWeight(struct struct_Windows_UI_Text_FontWeight value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FirstOfMonthLabelFontWeight(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MonthYearItemFontFamily(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MonthYearItemFontFamily()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MonthYearItemFontFamily(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MonthYearItemFontFamily(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MonthYearItemFontSize(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MonthYearItemFontSize()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MonthYearItemFontSize(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MonthYearItemFontSize(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MonthYearItemFontStyle(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MonthYearItemFontStyle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MonthYearItemFontStyle(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MonthYearItemFontStyle(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MonthYearItemFontWeight(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().MonthYearItemFontWeight()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MonthYearItemFontWeight(struct struct_Windows_UI_Text_FontWeight value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MonthYearItemFontWeight(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FirstOfYearDecadeLabelFontFamily(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FirstOfYearDecadeLabelFontFamily()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FirstOfYearDecadeLabelFontFamily(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FirstOfYearDecadeLabelFontFamily(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FirstOfYearDecadeLabelFontSize(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FirstOfYearDecadeLabelFontSize()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FirstOfYearDecadeLabelFontSize(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FirstOfYearDecadeLabelFontSize(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FirstOfYearDecadeLabelFontStyle(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FirstOfYearDecadeLabelFontStyle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FirstOfYearDecadeLabelFontStyle(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FirstOfYearDecadeLabelFontStyle(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FirstOfYearDecadeLabelFontWeight(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().FirstOfYearDecadeLabelFontWeight()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FirstOfYearDecadeLabelFontWeight(struct struct_Windows_UI_Text_FontWeight value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FirstOfYearDecadeLabelFontWeight(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DayItemMargin(struct struct_Microsoft_UI_Xaml_Thickness* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DayItemMargin()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DayItemMargin(struct struct_Microsoft_UI_Xaml_Thickness value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DayItemMargin(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MonthYearItemMargin(struct struct_Microsoft_UI_Xaml_Thickness* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MonthYearItemMargin()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MonthYearItemMargin(struct struct_Microsoft_UI_Xaml_Thickness value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MonthYearItemMargin(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FirstOfMonthLabelMargin(struct struct_Microsoft_UI_Xaml_Thickness* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FirstOfMonthLabelMargin()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FirstOfMonthLabelMargin(struct struct_Microsoft_UI_Xaml_Thickness value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FirstOfMonthLabelMargin(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FirstOfYearDecadeLabelMargin(struct struct_Microsoft_UI_Xaml_Thickness* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FirstOfYearDecadeLabelMargin()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FirstOfYearDecadeLabelMargin(struct struct_Microsoft_UI_Xaml_Thickness value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FirstOfYearDecadeLabelMargin(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalDayItemAlignment(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalDayItemAlignment()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HorizontalDayItemAlignment(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HorizontalDayItemAlignment(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalDayItemAlignment(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalDayItemAlignment()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_VerticalDayItemAlignment(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().VerticalDayItemAlignment(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalFirstOfMonthLabelAlignment(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalFirstOfMonthLabelAlignment()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HorizontalFirstOfMonthLabelAlignment(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HorizontalFirstOfMonthLabelAlignment(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalFirstOfMonthLabelAlignment(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalFirstOfMonthLabelAlignment()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_VerticalFirstOfMonthLabelAlignment(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().VerticalFirstOfMonthLabelAlignment(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CalendarItemBorderThickness(struct struct_Microsoft_UI_Xaml_Thickness* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CalendarItemBorderThickness()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CalendarItemBorderThickness(struct struct_Microsoft_UI_Xaml_Thickness value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CalendarItemBorderThickness(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CalendarViewDayItemStyle(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CalendarViewDayItemStyle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CalendarViewDayItemStyle(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CalendarViewDayItemStyle(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CalendarItemCornerRadius(struct struct_Microsoft_UI_Xaml_CornerRadius* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CalendarItemCornerRadius()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CalendarItemCornerRadius(struct struct_Microsoft_UI_Xaml_CornerRadius value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CalendarItemCornerRadius(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_CalendarViewDayItemChanging(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().CalendarViewDayItemChanging(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_CalendarViewDayItemChanging(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().CalendarViewDayItemChanging(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_SelectedDatesChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().SelectedDatesChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_SelectedDatesChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().SelectedDatesChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall SetDisplayDate(int64_t date) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetDisplayDate(*reinterpret_cast(&date)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetYearDecadeDisplayDimensions(int32_t columns, int32_t rows) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetYearDecadeDisplayDimensions(columns, rows); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsBlackout(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsBlackout()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsBlackout(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsBlackout(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Date(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Date()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetDensityColors(void* colors) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetDensityColors(*reinterpret_cast const*>(&colors)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_InRecycleQueue(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InRecycleQueue()); 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_Phase(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Phase()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RegisterUpdateCallback(void* callback) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RegisterUpdateCallback(*reinterpret_cast const*>(&callback)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RegisterUpdateCallbackWithPhase(uint32_t callbackPhase, void* callback) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RegisterUpdateCallback(callbackPhase, *reinterpret_cast const*>(&callback)); 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_IsBlackoutProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsBlackoutProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DateProperty()); 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_AddedDates(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().AddedDates()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RemovedDates(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().RemovedDates()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CalendarIdentifierProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CalendarIdentifierProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DayOfWeekFormatProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DayOfWeekFormatProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsGroupLabelVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsGroupLabelVisibleProperty()); 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_FirstDayOfWeekProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FirstDayOfWeekProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsOutOfScopeEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsOutOfScopeEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsTodayHighlightedProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsTodayHighlightedProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxDateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxDateProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinDateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinDateProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NumberOfWeeksInViewProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NumberOfWeeksInViewProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedDatesProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedDatesProperty()); 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(); } 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_FocusBorderBrushProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FocusBorderBrushProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedHoverBorderBrushProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedHoverBorderBrushProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedPressedBorderBrushProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedPressedBorderBrushProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedDisabledBorderBrushProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedDisabledBorderBrushProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedBorderBrushProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedBorderBrushProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HoverBorderBrushProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HoverBorderBrushProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PressedBorderBrushProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PressedBorderBrushProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TodaySelectedInnerBorderBrushProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TodaySelectedInnerBorderBrushProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BlackoutStrikethroughBrushProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BlackoutStrikethroughBrushProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CalendarItemBorderBrushProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CalendarItemBorderBrushProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BlackoutBackgroundProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BlackoutBackgroundProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OutOfScopeBackgroundProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OutOfScopeBackgroundProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CalendarItemBackgroundProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CalendarItemBackgroundProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CalendarItemHoverBackgroundProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CalendarItemHoverBackgroundProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CalendarItemPressedBackgroundProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CalendarItemPressedBackgroundProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CalendarItemDisabledBackgroundProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CalendarItemDisabledBackgroundProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TodayBackgroundProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TodayBackgroundProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TodayBlackoutBackgroundProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TodayBlackoutBackgroundProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TodayHoverBackgroundProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TodayHoverBackgroundProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TodayPressedBackgroundProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TodayPressedBackgroundProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TodayDisabledBackgroundProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TodayDisabledBackgroundProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PressedForegroundProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PressedForegroundProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TodayForegroundProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TodayForegroundProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BlackoutForegroundProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BlackoutForegroundProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TodayBlackoutForegroundProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TodayBlackoutForegroundProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedForegroundProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedForegroundProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedHoverForegroundProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedHoverForegroundProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedPressedForegroundProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedPressedForegroundProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedDisabledForegroundProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedDisabledForegroundProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OutOfScopeForegroundProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OutOfScopeForegroundProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OutOfScopeHoverForegroundProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OutOfScopeHoverForegroundProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OutOfScopePressedForegroundProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OutOfScopePressedForegroundProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CalendarItemForegroundProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CalendarItemForegroundProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DisabledForegroundProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DisabledForegroundProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DayItemFontFamilyProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DayItemFontFamilyProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DayItemFontSizeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DayItemFontSizeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DayItemFontStyleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DayItemFontStyleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DayItemFontWeightProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DayItemFontWeightProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TodayFontWeightProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TodayFontWeightProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FirstOfMonthLabelFontFamilyProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FirstOfMonthLabelFontFamilyProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FirstOfMonthLabelFontSizeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FirstOfMonthLabelFontSizeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FirstOfMonthLabelFontStyleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FirstOfMonthLabelFontStyleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FirstOfMonthLabelFontWeightProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FirstOfMonthLabelFontWeightProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MonthYearItemFontFamilyProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MonthYearItemFontFamilyProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MonthYearItemFontSizeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MonthYearItemFontSizeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MonthYearItemFontStyleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MonthYearItemFontStyleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MonthYearItemFontWeightProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MonthYearItemFontWeightProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FirstOfYearDecadeLabelFontFamilyProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FirstOfYearDecadeLabelFontFamilyProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FirstOfYearDecadeLabelFontSizeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FirstOfYearDecadeLabelFontSizeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FirstOfYearDecadeLabelFontStyleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FirstOfYearDecadeLabelFontStyleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FirstOfYearDecadeLabelFontWeightProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FirstOfYearDecadeLabelFontWeightProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DayItemMarginProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DayItemMarginProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MonthYearItemMarginProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MonthYearItemMarginProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FirstOfMonthLabelMarginProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FirstOfMonthLabelMarginProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FirstOfYearDecadeLabelMarginProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FirstOfYearDecadeLabelMarginProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalDayItemAlignmentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalDayItemAlignmentProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalDayItemAlignmentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalDayItemAlignmentProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalFirstOfMonthLabelAlignmentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalFirstOfMonthLabelAlignmentProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalFirstOfMonthLabelAlignmentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalFirstOfMonthLabelAlignmentProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CalendarItemBorderThicknessProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CalendarItemBorderThicknessProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CalendarViewDayItemStyleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CalendarViewDayItemStyleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CalendarItemCornerRadiusProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CalendarItemCornerRadiusProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Bounds(winrt::Windows::Foundation::Rect* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Bounds()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall 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_LeftProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LeftProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetLeft(void* element, double* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetLeft(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetLeft(void* element, double length) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetLeft(*reinterpret_cast(&element), length); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TopProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TopProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetTop(void* element, double* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetTop(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetTop(void* element, double length) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetTop(*reinterpret_cast(&element), length); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ZIndexProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZIndexProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetZIndex(void* element, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetZIndex(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetZIndex(void* element, int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetZIndex(*reinterpret_cast(&element), value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { 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_GroupHeaderContainer(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GroupHeaderContainer()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_GroupHeaderContainer(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().GroupHeaderContainer(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_GroupIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GroupIndex()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Group(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Group()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ItemIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemIndex()); 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_ItemContainer(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemContainer()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ItemContainer(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ItemContainer(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsContainerPrepared(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsContainerPrepared()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsContainerPrepared(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsContainerPrepared(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Value(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Value()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_UIElement(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().UIElement()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Cancel(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Cancel()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Cancel(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Cancel(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall 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_Width(struct struct_Microsoft_UI_Xaml_GridLength* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Width()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Width(struct struct_Microsoft_UI_Xaml_GridLength value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Width(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxWidth(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxWidth()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxWidth(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxWidth(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinWidth(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinWidth()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MinWidth(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MinWidth(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ActualWidth(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ActualWidth()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_WidthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().WidthProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxWidthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxWidthProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinWidthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinWidthProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsDropDownOpen(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsDropDownOpen()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsDropDownOpen(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsDropDownOpen(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsEditable(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsEditable()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsEditable(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsEditable(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsSelectionBoxHighlighted(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSelectionBoxHighlighted()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxDropDownHeight(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxDropDownHeight()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxDropDownHeight(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxDropDownHeight(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectionBoxItem(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectionBoxItem()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectionBoxItemTemplate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectionBoxItemTemplate()); 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_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_LightDismissOverlayMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LightDismissOverlayMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LightDismissOverlayMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LightDismissOverlayMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsTextSearchEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsTextSearchEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsTextSearchEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsTextSearchEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectionChangedTrigger(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectionChangedTrigger()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SelectionChangedTrigger(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectionChangedTrigger(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PlaceholderForeground(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PlaceholderForeground()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PlaceholderForeground(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PlaceholderForeground(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Text(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Text()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Text(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Text(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextBoxStyle(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextBoxStyle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TextBoxStyle(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TextBoxStyle(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Description(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Description()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Description(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Description(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_DropDownClosed(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().DropDownClosed(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_DropDownClosed(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().DropDownClosed(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_DropDownOpened(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().DropDownOpened(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_DropDownOpened(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().DropDownOpened(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_TextSubmitted(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().TextSubmitted(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_TextSubmitted(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().TextSubmitted(*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 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 OnDropDownClosed(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnDropDownClosed(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnDropDownOpened(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnDropDownOpened(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsEditableProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsEditableProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsDropDownOpenProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsDropDownOpenProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxDropDownHeightProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxDropDownHeightProperty()); 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_LightDismissOverlayModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LightDismissOverlayModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsTextSearchEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsTextSearchEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectionChangedTriggerProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectionChangedTriggerProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PlaceholderForegroundProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PlaceholderForegroundProperty()); 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_TextBoxStyleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextBoxStyleProperty()); 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(); } }; #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 get_Handled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Handled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Handled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Handled(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_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(); } int32_t __stdcall get_CommandBarOverflowPresenterStyle(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CommandBarOverflowPresenterStyle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CommandBarOverflowPresenterStyle(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CommandBarOverflowPresenterStyle(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CommandBarTemplateSettings(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CommandBarTemplateSettings()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DefaultLabelPosition(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DefaultLabelPosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DefaultLabelPosition(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DefaultLabelPosition(*reinterpret_cast(&value)); 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 put_OverflowButtonVisibility(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OverflowButtonVisibility(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsDynamicOverflowEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsDynamicOverflowEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsDynamicOverflowEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsDynamicOverflowEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_DynamicOverflowItemsChanging(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().DynamicOverflowItemsChanging(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_DynamicOverflowItemsChanging(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().DynamicOverflowItemsChanging(*reinterpret_cast(&token)); return 0; } }; #endif template struct produce : produce_base { int32_t __stdcall get_IsCompact(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsCompact()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsCompact(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsCompact(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsInOverflow(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsInOverflow()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DynamicOverflowOrder(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DynamicOverflowOrder()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DynamicOverflowOrder(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DynamicOverflowOrder(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 #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 { }; #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_PrimaryCommandsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PrimaryCommandsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SecondaryCommandsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SecondaryCommandsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CommandBarOverflowPresenterStyleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CommandBarOverflowPresenterStyleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DefaultLabelPositionProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DefaultLabelPositionProperty()); 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_IsDynamicOverflowEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsDynamicOverflowEnabledProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ItemContainer(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemContainer()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_InRecycleQueue(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InRecycleQueue()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemIndex()); 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_Phase(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Phase()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Handled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Handled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Handled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Handled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RegisterUpdateCallback(void* callback) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RegisterUpdateCallback(*reinterpret_cast const*>(&callback)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RegisterUpdateCallbackWithPhase(uint32_t callbackPhase, void* callback) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RegisterUpdateCallback(callbackPhase, *reinterpret_cast const*>(&callback)); 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_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_ContentTemplateSelector(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentTemplateSelector()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ContentTemplateSelector(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ContentTemplateSelector(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentTransitions(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentTransitions()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ContentTransitions(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ContentTransitions(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentTemplateRoot(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentTemplateRoot()); 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 OnContentChanged(void* oldContent, void* newContent) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnContentChanged(*reinterpret_cast(&oldContent), *reinterpret_cast(&newContent)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnContentTemplateChanged(void* oldContentTemplate, void* newContentTemplate) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnContentTemplateChanged(*reinterpret_cast(&oldContentTemplate), *reinterpret_cast(&newContentTemplate)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnContentTemplateSelectorChanged(void* oldContentTemplateSelector, void* newContentTemplateSelector) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnContentTemplateSelectorChanged(*reinterpret_cast(&oldContentTemplateSelector), *reinterpret_cast(&newContentTemplateSelector)); return 0; } catch (...) { return to_hresult(); } }; #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_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_ContentTemplateSelectorProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentTemplateSelectorProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentTransitionsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentTransitionsProperty()); 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_TitleTemplate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TitleTemplate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TitleTemplate(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TitleTemplate(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FullSizeDesired(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FullSizeDesired()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FullSizeDesired(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FullSizeDesired(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PrimaryButtonText(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PrimaryButtonText()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PrimaryButtonText(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PrimaryButtonText(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SecondaryButtonText(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SecondaryButtonText()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SecondaryButtonText(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SecondaryButtonText(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CloseButtonText(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CloseButtonText()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CloseButtonText(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CloseButtonText(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PrimaryButtonCommand(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PrimaryButtonCommand()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PrimaryButtonCommand(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PrimaryButtonCommand(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SecondaryButtonCommand(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SecondaryButtonCommand()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SecondaryButtonCommand(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SecondaryButtonCommand(*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_PrimaryButtonCommandParameter(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PrimaryButtonCommandParameter()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PrimaryButtonCommandParameter(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PrimaryButtonCommandParameter(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SecondaryButtonCommandParameter(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SecondaryButtonCommandParameter()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SecondaryButtonCommandParameter(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SecondaryButtonCommandParameter(*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_IsPrimaryButtonEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsPrimaryButtonEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsPrimaryButtonEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsPrimaryButtonEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsSecondaryButtonEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSecondaryButtonEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsSecondaryButtonEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsSecondaryButtonEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PrimaryButtonStyle(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PrimaryButtonStyle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PrimaryButtonStyle(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PrimaryButtonStyle(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SecondaryButtonStyle(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SecondaryButtonStyle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SecondaryButtonStyle(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SecondaryButtonStyle(*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_DefaultButton(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DefaultButton()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DefaultButton(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DefaultButton(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } 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; } int32_t __stdcall add_Opened(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Opened(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Opened(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Opened(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_PrimaryButtonClick(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().PrimaryButtonClick(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_PrimaryButtonClick(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().PrimaryButtonClick(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_SecondaryButtonClick(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().SecondaryButtonClick(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_SecondaryButtonClick(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().SecondaryButtonClick(*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 Hide() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Hide(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ShowAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().ShowAsync()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ShowAsyncWithPlacement(int32_t placement, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().ShowAsync(*reinterpret_cast(&placement))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Complete() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Complete(); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_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 get_Result(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Result()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Complete() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Complete(); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Result(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Result()); 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 { }; #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_TitleTemplateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TitleTemplateProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FullSizeDesiredProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FullSizeDesiredProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PrimaryButtonTextProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PrimaryButtonTextProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SecondaryButtonTextProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SecondaryButtonTextProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CloseButtonTextProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CloseButtonTextProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PrimaryButtonCommandProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PrimaryButtonCommandProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SecondaryButtonCommandProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SecondaryButtonCommandProperty()); 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_PrimaryButtonCommandParameterProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PrimaryButtonCommandParameterProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SecondaryButtonCommandParameterProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SecondaryButtonCommandParameterProperty()); 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_IsPrimaryButtonEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsPrimaryButtonEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsSecondaryButtonEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSecondaryButtonEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PrimaryButtonStyleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PrimaryButtonStyleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SecondaryButtonStyleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SecondaryButtonStyleProperty()); 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_DefaultButtonProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DefaultButtonProperty()); 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_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_ContentTemplateSelector(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentTemplateSelector()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ContentTemplateSelector(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ContentTemplateSelector(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentTransitions(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentTransitions()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ContentTransitions(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ContentTransitions(*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_FontStretch(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FontStretch()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FontStretch(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FontStretch(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CharacterSpacing(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CharacterSpacing()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CharacterSpacing(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CharacterSpacing(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_OpticalMarginAlignment(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OpticalMarginAlignment()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_OpticalMarginAlignment(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OpticalMarginAlignment(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextLineBounds(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextLineBounds()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TextLineBounds(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TextLineBounds(*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_BackgroundTransition(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BackgroundTransition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BackgroundTransition(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BackgroundTransition(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextWrapping(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextWrapping()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TextWrapping(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TextWrapping(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxLines(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxLines()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxLines(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxLines(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LineStackingStrategy(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LineStackingStrategy()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LineStackingStrategy(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LineStackingStrategy(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LineHeight(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LineHeight()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LineHeight(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LineHeight(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BorderBrush(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BorderBrush()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BorderBrush(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BorderBrush(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BorderThickness(struct struct_Microsoft_UI_Xaml_Thickness* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BorderThickness()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BorderThickness(struct struct_Microsoft_UI_Xaml_Thickness value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BorderThickness(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CornerRadius(struct struct_Microsoft_UI_Xaml_CornerRadius* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CornerRadius()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CornerRadius(struct struct_Microsoft_UI_Xaml_CornerRadius value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CornerRadius(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Padding(struct struct_Microsoft_UI_Xaml_Thickness* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Padding()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Padding(struct struct_Microsoft_UI_Xaml_Thickness value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Padding(*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_BackgroundSizing(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BackgroundSizing()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BackgroundSizing(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BackgroundSizing(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalContentAlignment(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalContentAlignment()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HorizontalContentAlignment(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HorizontalContentAlignment(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalContentAlignment(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalContentAlignment()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_VerticalContentAlignment(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().VerticalContentAlignment(*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 OnContentTemplateChanged(void* oldContentTemplate, void* newContentTemplate) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnContentTemplateChanged(*reinterpret_cast(&oldContentTemplate), *reinterpret_cast(&newContentTemplate)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnContentTemplateSelectorChanged(void* oldContentTemplateSelector, void* newContentTemplateSelector) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnContentTemplateSelectorChanged(*reinterpret_cast(&oldContentTemplateSelector), *reinterpret_cast(&newContentTemplateSelector)); return 0; } catch (...) { return to_hresult(); } }; #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_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_ContentTemplateSelectorProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentTemplateSelectorProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentTransitionsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentTransitionsProperty()); 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_FontStretchProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FontStretchProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CharacterSpacingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CharacterSpacingProperty()); 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_OpticalMarginAlignmentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OpticalMarginAlignmentProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextLineBoundsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextLineBoundsProperty()); 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_TextWrappingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextWrappingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxLinesProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxLinesProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LineStackingStrategyProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LineStackingStrategyProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LineHeightProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LineHeightProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BorderBrushProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BorderBrushProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BorderThicknessProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BorderThicknessProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CornerRadiusProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CornerRadiusProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PaddingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PaddingProperty()); 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_BackgroundSizingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BackgroundSizingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalContentAlignmentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalContentAlignmentProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalContentAlignmentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalContentAlignmentProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Handled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Handled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Handled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Handled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CursorLeft(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CursorLeft()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CursorTop(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CursorTop()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsFocusEngagementEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsFocusEngagementEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsFocusEngagementEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsFocusEngagementEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsFocusEngaged(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsFocusEngaged()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsFocusEngaged(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsFocusEngaged(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RequiresPointer(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RequiresPointer()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_RequiresPointer(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RequiresPointer(*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_FontStretch(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FontStretch()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FontStretch(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FontStretch(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CharacterSpacing(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CharacterSpacing()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CharacterSpacing(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CharacterSpacing(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_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_IsEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TabNavigation(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TabNavigation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TabNavigation(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TabNavigation(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Template(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Template()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Template(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Template(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Padding(struct struct_Microsoft_UI_Xaml_Thickness* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Padding()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Padding(struct struct_Microsoft_UI_Xaml_Thickness value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Padding(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalContentAlignment(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalContentAlignment()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HorizontalContentAlignment(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HorizontalContentAlignment(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalContentAlignment(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalContentAlignment()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_VerticalContentAlignment(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().VerticalContentAlignment(*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_BackgroundSizing(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BackgroundSizing()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BackgroundSizing(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BackgroundSizing(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BorderThickness(struct struct_Microsoft_UI_Xaml_Thickness* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BorderThickness()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BorderThickness(struct struct_Microsoft_UI_Xaml_Thickness value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BorderThickness(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BorderBrush(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BorderBrush()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BorderBrush(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BorderBrush(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DefaultStyleResourceUri(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DefaultStyleResourceUri()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DefaultStyleResourceUri(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DefaultStyleResourceUri(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ElementSoundMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ElementSoundMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ElementSoundMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ElementSoundMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CornerRadius(struct struct_Microsoft_UI_Xaml_CornerRadius* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CornerRadius()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CornerRadius(struct struct_Microsoft_UI_Xaml_CornerRadius value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CornerRadius(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_FocusEngaged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().FocusEngaged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_FocusEngaged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().FocusEngaged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_FocusDisengaged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().FocusDisengaged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_FocusDisengaged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().FocusDisengaged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_IsEnabledChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().IsEnabledChanged(*reinterpret_cast(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_IsEnabledChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().IsEnabledChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall RemoveFocusEngagement() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RemoveFocusEngagement(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ApplyTemplate(bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().ApplyTemplate()); 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 OnPointerEntered(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnPointerEntered(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnPointerPressed(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnPointerPressed(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnPointerMoved(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnPointerMoved(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnPointerReleased(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnPointerReleased(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnPointerExited(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnPointerExited(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnPointerCaptureLost(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnPointerCaptureLost(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnPointerCanceled(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnPointerCanceled(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnPointerWheelChanged(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnPointerWheelChanged(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnTapped(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnTapped(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnDoubleTapped(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnDoubleTapped(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnHolding(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnHolding(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnRightTapped(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnRightTapped(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnManipulationStarting(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnManipulationStarting(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnManipulationInertiaStarting(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnManipulationInertiaStarting(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnManipulationStarted(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnManipulationStarted(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnManipulationDelta(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnManipulationDelta(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnManipulationCompleted(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnManipulationCompleted(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnKeyUp(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnKeyUp(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnKeyDown(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnKeyDown(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnPreviewKeyDown(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnPreviewKeyDown(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnPreviewKeyUp(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnPreviewKeyUp(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnGotFocus(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnGotFocus(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnLostFocus(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnLostFocus(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnCharacterReceived(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnCharacterReceived(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnDragEnter(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnDragEnter(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnDragLeave(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnDragLeave(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnDragOver(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnDragOver(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnDrop(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnDrop(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_DefaultStyleKey(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DefaultStyleKey()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DefaultStyleKey(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DefaultStyleKey(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetTemplateChild(void* childName, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetTemplateChild(*reinterpret_cast(&childName))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsFocusEngagementEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsFocusEngagementEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsFocusEngagedProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsFocusEngagedProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RequiresPointerProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RequiresPointerProperty()); 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_FontStretchProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FontStretchProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CharacterSpacingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CharacterSpacingProperty()); 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_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_IsEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TabNavigationProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TabNavigationProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TemplateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TemplateProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PaddingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PaddingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalContentAlignmentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalContentAlignmentProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalContentAlignmentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalContentAlignmentProperty()); 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_BackgroundSizingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BackgroundSizingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BorderThicknessProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BorderThicknessProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BorderBrushProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BorderBrushProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DefaultStyleKeyProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DefaultStyleKeyProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DefaultStyleResourceUriProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DefaultStyleResourceUriProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ElementSoundModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ElementSoundModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CornerRadiusProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CornerRadiusProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsTemplateFocusTargetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsTemplateFocusTargetProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetIsTemplateFocusTarget(void* element, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetIsTemplateFocusTarget(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetIsTemplateFocusTarget(void* element, bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetIsTemplateFocusTarget(*reinterpret_cast(&element), value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsTemplateKeyTipTargetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsTemplateKeyTipTargetProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetIsTemplateKeyTipTarget(void* element, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetIsTemplateKeyTipTarget(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetIsTemplateKeyTipTarget(void* element, bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetIsTemplateKeyTipTarget(*reinterpret_cast(&element), value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_TargetType(struct struct_Windows_UI_Xaml_Interop_TypeName* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TargetType()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TargetType(struct struct_Windows_UI_Xaml_Interop_TypeName value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TargetType(*reinterpret_cast(&value)); 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 { int32_t __stdcall SelectTemplate(void* item, void* container, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().SelectTemplate(*reinterpret_cast(&item), *reinterpret_cast(&container))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SelectTemplateForItem(void* item, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().SelectTemplate(*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* 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 SelectTemplateCore(void* item, void* container, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().SelectTemplateCore(*reinterpret_cast(&item), *reinterpret_cast(&container))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SelectTemplateForItemCore(void* item, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().SelectTemplateCore(*reinterpret_cast(&item))); return 0; } catch (...) { return to_hresult(); } }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_OldDate(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OldDate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NewDate(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NewDate()); 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_CalendarIdentifier(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CalendarIdentifier()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CalendarIdentifier(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CalendarIdentifier(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Date(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Date()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Date(int64_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Date(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DayVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DayVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DayVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DayVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MonthVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MonthVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MonthVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MonthVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_YearVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().YearVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_YearVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().YearVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DayFormat(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DayFormat()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DayFormat(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DayFormat(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MonthFormat(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MonthFormat()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MonthFormat(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MonthFormat(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_YearFormat(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().YearFormat()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_YearFormat(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().YearFormat(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinYear(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinYear()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MinYear(int64_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MinYear(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxYear(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxYear()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxYear(int64_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxYear(*reinterpret_cast(&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_LightDismissOverlayMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LightDismissOverlayMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LightDismissOverlayMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LightDismissOverlayMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedDate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().SelectedDate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SelectedDate(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectedDate(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_DateChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().DateChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_DateChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().DateChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_SelectedDateChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().SelectedDateChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_SelectedDateChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().SelectedDateChanged(*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_CalendarIdentifier(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CalendarIdentifier()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CalendarIdentifier(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CalendarIdentifier(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Date(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Date()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Date(int64_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Date(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DayVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DayVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DayVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DayVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MonthVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MonthVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MonthVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MonthVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_YearVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().YearVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_YearVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().YearVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinYear(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinYear()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MinYear(int64_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MinYear(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxYear(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxYear()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxYear(int64_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxYear(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DayFormat(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DayFormat()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DayFormat(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DayFormat(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MonthFormat(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MonthFormat()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MonthFormat(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MonthFormat(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_YearFormat(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().YearFormat()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_YearFormat(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().YearFormat(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_DatePicked(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().DatePicked(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_DatePicked(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().DatePicked(*reinterpret_cast(&token)); return 0; } int32_t __stdcall ShowAtAsync(void* target, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>>(this->shim().ShowAtAsync(*reinterpret_cast(&target))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_PrimaryText(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PrimaryText()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PrimaryText(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PrimaryText(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SecondaryText(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SecondaryText()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SecondaryText(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SecondaryText(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_PrimaryTextProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PrimaryTextProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SecondaryTextProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SecondaryTextProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsDefaultShadowEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsDefaultShadowEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsDefaultShadowEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsDefaultShadowEnabled(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsDefaultShadowEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsDefaultShadowEnabledProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CalendarIdentifierProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CalendarIdentifierProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DateProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DayVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DayVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MonthVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MonthVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_YearVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().YearVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinYearProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinYearProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxYearProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxYearProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DayFormatProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DayFormatProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MonthFormatProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MonthFormatProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_YearFormatProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().YearFormatProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_OldDate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().OldDate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NewDate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().NewDate()); 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_CalendarIdentifierProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CalendarIdentifierProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DateProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DayVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DayVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MonthVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MonthVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_YearVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().YearVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DayFormatProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DayFormatProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MonthFormatProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MonthFormatProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_YearFormatProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().YearFormatProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinYearProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinYearProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxYearProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxYearProperty()); 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_LightDismissOverlayModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LightDismissOverlayModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedDateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedDateProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_OldDate(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OldDate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NewDate(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NewDate()); 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(); } 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(); } }; #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_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_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(); } }; #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 { int32_t __stdcall get_Action(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Action()); 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_UseTouchAnimationsForAllNavigation(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().UseTouchAnimationsForAllNavigation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_UseTouchAnimationsForAllNavigation(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().UseTouchAnimationsForAllNavigation(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 { }; #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_UseTouchAnimationsForAllNavigationProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().UseTouchAnimationsForAllNavigationProperty()); 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_FlyoutPresenterStyle(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FlyoutPresenterStyle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FlyoutPresenterStyle(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FlyoutPresenterStyle(*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_IsDefaultShadowEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsDefaultShadowEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsDefaultShadowEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsDefaultShadowEnabled(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_IsDefaultShadowEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsDefaultShadowEnabledProperty()); 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_FlyoutPresenterStyleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FlyoutPresenterStyleProperty()); 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_Handled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Handled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Handled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Handled(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_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_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 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 get_CacheSize(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CacheSize()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CacheSize(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CacheSize(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 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 get_CurrentSourcePageType(struct struct_Windows_UI_Xaml_Interop_TypeName* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CurrentSourcePageType()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SourcePageType(struct struct_Windows_UI_Xaml_Interop_TypeName* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SourcePageType()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SourcePageType(struct struct_Windows_UI_Xaml_Interop_TypeName value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SourcePageType(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BackStackDepth(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BackStackDepth()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BackStack(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().BackStack()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ForwardStack(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().ForwardStack()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsNavigationStackEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsNavigationStackEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsNavigationStackEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsNavigationStackEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_Navigated(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Navigated(*reinterpret_cast(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Navigated(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Navigated(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_Navigating(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Navigating(*reinterpret_cast(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Navigating(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Navigating(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_NavigationFailed(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().NavigationFailed(*reinterpret_cast(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_NavigationFailed(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().NavigationFailed(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_NavigationStopped(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().NavigationStopped(*reinterpret_cast(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_NavigationStopped(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().NavigationStopped(*reinterpret_cast(&token)); return 0; } 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 GoBackWithTransitionInfo(void* transitionInfoOverride) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().GoBack(*reinterpret_cast(&transitionInfoOverride)); 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 Navigate(struct struct_Windows_UI_Xaml_Interop_TypeName sourcePageType, void* parameter, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Navigate(*reinterpret_cast(&sourcePageType), *reinterpret_cast(¶meter))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall NavigateWithTransitionInfo(struct struct_Windows_UI_Xaml_Interop_TypeName sourcePageType, void* parameter, void* infoOverride, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Navigate(*reinterpret_cast(&sourcePageType), *reinterpret_cast(¶meter), *reinterpret_cast(&infoOverride))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall NavigateToType(struct struct_Windows_UI_Xaml_Interop_TypeName sourcePageType, void* parameter, void* navigationOptions, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().NavigateToType(*reinterpret_cast(&sourcePageType), *reinterpret_cast(¶meter), *reinterpret_cast(&navigationOptions))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetNavigationState(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetNavigationState()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetNavigationState(void* navigationState) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetNavigationState(*reinterpret_cast(&navigationState)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetNavigationStateWithNavigationControl(void* navigationState, bool suppressNavigate) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetNavigationState(*reinterpret_cast(&navigationState), suppressNavigate); 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_CacheSizeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CacheSizeProperty()); 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(); } 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_CurrentSourcePageTypeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CurrentSourcePageTypeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SourcePageTypeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SourcePageTypeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BackStackDepthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BackStackDepthProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BackStackProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BackStackProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ForwardStackProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ForwardStackProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsNavigationStackEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsNavigationStackEnabledProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_RowDefinitions(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RowDefinitions()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ColumnDefinitions(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ColumnDefinitions()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BackgroundSizing(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BackgroundSizing()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BackgroundSizing(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BackgroundSizing(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BorderBrush(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BorderBrush()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BorderBrush(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BorderBrush(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BorderThickness(struct struct_Microsoft_UI_Xaml_Thickness* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BorderThickness()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BorderThickness(struct struct_Microsoft_UI_Xaml_Thickness value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BorderThickness(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CornerRadius(struct struct_Microsoft_UI_Xaml_CornerRadius* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CornerRadius()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CornerRadius(struct struct_Microsoft_UI_Xaml_CornerRadius value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CornerRadius(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Padding(struct struct_Microsoft_UI_Xaml_Thickness* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Padding()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Padding(struct struct_Microsoft_UI_Xaml_Thickness value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Padding(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RowSpacing(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RowSpacing()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_RowSpacing(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RowSpacing(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ColumnSpacing(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ColumnSpacing()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ColumnSpacing(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ColumnSpacing(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_BackgroundSizingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BackgroundSizingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BorderBrushProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BorderBrushProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BorderThicknessProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BorderThicknessProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CornerRadiusProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CornerRadiusProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PaddingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PaddingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RowSpacingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RowSpacingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ColumnSpacingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ColumnSpacingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RowProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RowProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetRow(void* element, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetRow(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetRow(void* element, int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetRow(*reinterpret_cast(&element), value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ColumnProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ColumnProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetColumn(void* element, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetColumn(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetColumn(void* element, int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetColumn(*reinterpret_cast(&element), value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RowSpanProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RowSpanProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetRowSpan(void* element, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetRowSpan(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetRowSpan(void* element, int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetRowSpan(*reinterpret_cast(&element), value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ColumnSpanProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ColumnSpanProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetColumnSpan(void* element, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetColumnSpan(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetColumnSpan(void* element, int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetColumnSpan(*reinterpret_cast(&element), value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { 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_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 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_Panel(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Panel()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Panel(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Panel(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContainerStyle(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContainerStyle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ContainerStyle(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ContainerStyle(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HeaderContainerStyle(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HeaderContainerStyle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HeaderContainerStyle(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HeaderContainerStyle(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContainerStyleSelector(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContainerStyleSelector()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ContainerStyleSelector(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ContainerStyleSelector(*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_HidesIfEmpty(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HidesIfEmpty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HidesIfEmpty(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HidesIfEmpty(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 SelectGroupStyle(void* group, uint32_t level, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().SelectGroupStyle(*reinterpret_cast(&group), level)); 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 SelectGroupStyleCore(void* group, uint32_t level, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().SelectGroupStyleCore(*reinterpret_cast(&group), level)); return 0; } catch (...) { return to_hresult(); } }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_NewValue(bool* 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_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_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_DefaultSectionIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DefaultSectionIndex()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DefaultSectionIndex(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DefaultSectionIndex(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Sections(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Sections()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SectionsInView(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().SectionsInView()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SectionHeaders(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().SectionHeaders()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_SectionHeaderClick(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().SectionHeaderClick(*reinterpret_cast(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_SectionHeaderClick(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().SectionHeaderClick(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_SectionsInViewChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().SectionsInViewChanged(*reinterpret_cast(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_SectionsInViewChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().SectionsInViewChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall ScrollToSection(void* section) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ScrollToSection(*reinterpret_cast(§ion)); 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_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_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_IsHeaderInteractive(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsHeaderInteractive()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsHeaderInteractive(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsHeaderInteractive(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_Section(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Section()); 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_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_IsHeaderInteractiveProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsHeaderInteractiveProperty()); 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_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_DefaultSectionIndexProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DefaultSectionIndexProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SemanticZoomOwnerProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SemanticZoomOwnerProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsActiveViewProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsActiveViewProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsZoomedInViewProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsZoomedInViewProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_NavigateUri(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NavigateUri()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_NavigateUri(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().NavigateUri(*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_NavigateUriProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NavigateUriProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { 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_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 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(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { 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(); } }; #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_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(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif template struct produce : produce_base { int32_t __stdcall CreateIconElementCore(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateIconElementCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetIconElementPropertyCore(void* iconSourceProperty, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetIconElementPropertyCore(*reinterpret_cast(&iconSourceProperty))); return 0; } catch (...) { return to_hresult(); } }; #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(); } 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 get_NineGrid(struct struct_Microsoft_UI_Xaml_Thickness* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NineGrid()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_NineGrid(struct struct_Microsoft_UI_Xaml_Thickness value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().NineGrid(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_ImageFailed(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ImageFailed(*reinterpret_cast(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ImageFailed(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ImageFailed(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_ImageOpened(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ImageOpened(*reinterpret_cast(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ImageOpened(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ImageOpened(*reinterpret_cast(&token)); return 0; } int32_t __stdcall GetAsCastingSource(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetAsCastingSource()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetAlphaMask(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetAlphaMask()); 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_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(); } int32_t __stdcall get_NineGridProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NineGridProperty()); 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_Microsoft_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_Microsoft_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 template struct produce : produce_base { int32_t __stdcall GetInsertionIndexes(winrt::Windows::Foundation::Point position, int32_t* first, int32_t* second) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().GetInsertionIndexes(*reinterpret_cast(&position), *first, *second); return 0; } catch (...) { return to_hresult(); } }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ClickedItem(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ClickedItem()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Operation(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Operation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Triggers(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Triggers()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OldBounds(winrt::Windows::Foundation::Rect* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OldBounds()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NewBounds(winrt::Windows::Foundation::Rect* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NewBounds()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HasStarted(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HasStarted()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Start(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Start()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Transition(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Transition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Element(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Element()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Transition(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Transition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Element(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Element()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Complete() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Complete(); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall ShouldAnimate(void* transition, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().ShouldAnimate(*reinterpret_cast(&transition))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall QueueTransition(void* transition) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().QueueTransition(*reinterpret_cast(&transition)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_TransitionCompleted(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().TransitionCompleted(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_TransitionCompleted(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().TransitionCompleted(*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 template struct produce : produce_base { int32_t __stdcall ShouldAnimateCore(void* transition, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().ShouldAnimateCore(*reinterpret_cast(&transition))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall StartTransitions(void* transitions) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StartTransitions(*reinterpret_cast const*>(&transitions)); return 0; } catch (...) { return to_hresult(); } }; #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_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 { 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 add_ItemsChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ItemsChanged(*reinterpret_cast(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ItemsChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ItemsChanged(*reinterpret_cast(&token)); return 0; } 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 IndexFromContainer(void* container, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IndexFromContainer(*reinterpret_cast(&container))); 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 GetItemContainerGeneratorForPanel(void* panel, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetItemContainerGeneratorForPanel(*reinterpret_cast(&panel))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall StartAt(struct struct_Microsoft_UI_Xaml_Controls_Primitives_GeneratorPosition position, int32_t direction, bool allowStartAtRealizedItem) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StartAt(*reinterpret_cast(&position), *reinterpret_cast(&direction), allowStartAtRealizedItem); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Stop() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Stop(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GenerateNext(bool* isNewlyRealized, void** returnValue) noexcept final try { clear_abi(returnValue); typename D::abi_guard guard(this->shim()); *returnValue = detach_from(this->shim().GenerateNext(*isNewlyRealized)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall PrepareItemContainer(void* container) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PrepareItemContainer(*reinterpret_cast(&container)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RemoveAll() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RemoveAll(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Remove(struct struct_Microsoft_UI_Xaml_Controls_Primitives_GeneratorPosition position, int32_t count) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Remove(*reinterpret_cast(&position), count); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GeneratorPositionFromIndex(int32_t itemIndex, struct struct_Microsoft_UI_Xaml_Controls_Primitives_GeneratorPosition* result) noexcept final try { zero_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GeneratorPositionFromIndex(itemIndex)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IndexFromGeneratorPosition(struct struct_Microsoft_UI_Xaml_Controls_Primitives_GeneratorPosition position, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IndexFromGeneratorPosition(*reinterpret_cast(&position))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Recycle(struct struct_Microsoft_UI_Xaml_Controls_Primitives_GeneratorPosition position, int32_t count) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Recycle(*reinterpret_cast(&position), count); return 0; } catch (...) { return to_hresult(); } }; #endif template struct produce : produce_base { 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 IndexFromContainer(void* container, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IndexFromContainer(*reinterpret_cast(&container))); 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(); } }; #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_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_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 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_ItemsPanel(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemsPanel()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ItemsPanel(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ItemsPanel(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DisplayMemberPath(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DisplayMemberPath()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DisplayMemberPath(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DisplayMemberPath(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemsPanelRoot(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemsPanelRoot()); 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_ItemContainerGenerator(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemContainerGenerator()); 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_GroupStyle(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().GroupStyle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_GroupStyleSelector(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GroupStyleSelector()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_GroupStyleSelector(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().GroupStyleSelector(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsGrouping(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsGrouping()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GroupHeaderContainerFromItemContainer(void* itemContainer, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GroupHeaderContainerFromItemContainer(*reinterpret_cast(&itemContainer))); 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 IsItemItsOwnContainerOverride(void* item, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IsItemItsOwnContainerOverride(*reinterpret_cast(&item))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetContainerForItemOverride(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetContainerForItemOverride()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ClearContainerForItemOverride(void* element, void* item) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ClearContainerForItemOverride(*reinterpret_cast(&element), *reinterpret_cast(&item)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall PrepareContainerForItemOverride(void* element, void* item) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PrepareContainerForItemOverride(*reinterpret_cast(&element), *reinterpret_cast(&item)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnItemsChanged(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnItemsChanged(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnItemContainerStyleChanged(void* oldItemContainerStyle, void* newItemContainerStyle) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnItemContainerStyleChanged(*reinterpret_cast(&oldItemContainerStyle), *reinterpret_cast(&newItemContainerStyle)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnItemContainerStyleSelectorChanged(void* oldItemContainerStyleSelector, void* newItemContainerStyleSelector) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnItemContainerStyleSelectorChanged(*reinterpret_cast(&oldItemContainerStyleSelector), *reinterpret_cast(&newItemContainerStyleSelector)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnItemTemplateChanged(void* oldItemTemplate, void* newItemTemplate) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnItemTemplateChanged(*reinterpret_cast(&oldItemTemplate), *reinterpret_cast(&newItemTemplate)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnItemTemplateSelectorChanged(void* oldItemTemplateSelector, void* newItemTemplateSelector) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnItemTemplateSelectorChanged(*reinterpret_cast(&oldItemTemplateSelector), *reinterpret_cast(&newItemTemplateSelector)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnGroupStyleSelectorChanged(void* oldGroupStyleSelector, void* newGroupStyleSelector) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnGroupStyleSelectorChanged(*reinterpret_cast(&oldGroupStyleSelector), *reinterpret_cast(&newGroupStyleSelector)); return 0; } catch (...) { return to_hresult(); } }; #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_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_ItemsPanelProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemsPanelProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DisplayMemberPathProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DisplayMemberPathProperty()); 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_GroupStyleSelectorProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GroupStyleSelectorProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsGroupingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsGroupingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetItemsOwner(void* element, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetItemsOwner(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ItemsControlFromItemContainer(void* container, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().ItemsControlFromItemContainer(*reinterpret_cast(&container))); 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_AddedItems(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().AddedItems()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RemovedItems(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().RemovedItems()); 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_HeaderTransitions(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HeaderTransitions()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HeaderTransitions(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HeaderTransitions(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Footer(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Footer()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Footer(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Footer(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FooterTemplate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FooterTemplate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FooterTemplate(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FooterTemplate(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FooterTransitions(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FooterTransitions()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FooterTransitions(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FooterTransitions(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Padding(struct struct_Microsoft_UI_Xaml_Thickness* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Padding()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Padding(struct struct_Microsoft_UI_Xaml_Thickness value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Padding(*reinterpret_cast(&value)); 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_HeaderTransitionsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HeaderTransitionsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FooterProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FooterProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FooterTemplateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FooterTemplateProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FooterTransitionsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FooterTransitionsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PaddingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PaddingProperty()); 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_ItemTransitionProvider(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemTransitionProvider()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ItemTransitionProvider(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ItemTransitionProvider(*reinterpret_cast(&value)); 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(); } }; #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_ItemTransitionProviderProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemTransitionProviderProperty()); 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 #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_GroupPadding(struct struct_Microsoft_UI_Xaml_Thickness* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GroupPadding()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_GroupPadding(struct struct_Microsoft_UI_Xaml_Thickness value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().GroupPadding(*reinterpret_cast(&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_FirstCacheIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FirstCacheIndex()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FirstVisibleIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FirstVisibleIndex()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LastVisibleIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LastVisibleIndex()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LastCacheIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LastCacheIndex()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ScrollingDirection(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScrollingDirection()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_GroupHeaderPlacement(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GroupHeaderPlacement()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_GroupHeaderPlacement(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().GroupHeaderPlacement(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemsUpdatingScrollMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemsUpdatingScrollMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ItemsUpdatingScrollMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ItemsUpdatingScrollMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CacheLength(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CacheLength()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CacheLength(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CacheLength(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AreStickyGroupHeadersEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AreStickyGroupHeadersEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AreStickyGroupHeadersEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AreStickyGroupHeadersEnabled(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_GroupPaddingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GroupPaddingProperty()); 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_GroupHeaderPlacementProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GroupHeaderPlacementProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CacheLengthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CacheLengthProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AreStickyGroupHeadersEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AreStickyGroupHeadersEnabledProperty()); 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_ScrollView(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScrollView()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalScrollController(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalScrollController()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_VerticalScrollController(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().VerticalScrollController(*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 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_IsItemInvokedEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsItemInvokedEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsItemInvokedEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsItemInvokedEnabled(value); 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_ItemTransitionProvider(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemTransitionProvider()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ItemTransitionProvider(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ItemTransitionProvider(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CurrentItemIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CurrentItemIndex()); 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 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(); } int32_t __stdcall TryGetItemIndex(double horizontalViewportRatio, double verticalViewportRatio, int32_t* index, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().TryGetItemIndex(horizontalViewportRatio, verticalViewportRatio, *index)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall StartBringItemIntoView(int32_t index, void* options) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StartBringItemIntoView(index, *reinterpret_cast(&options)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Select(int32_t itemIndex) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Select(itemIndex); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Deselect(int32_t itemIndex) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Deselect(itemIndex); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IsSelected(int32_t itemIndex, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IsSelected(itemIndex)); 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 DeselectAll() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DeselectAll(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall InvertSelection() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InvertSelection(); 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_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; } }; #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(); } }; #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_IsItemInvokedEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsItemInvokedEnabledProperty()); 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(); } 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_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(); } int32_t __stdcall get_ItemTransitionProviderProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemTransitionProviderProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CurrentItemIndexProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CurrentItemIndexProperty()); 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_ScrollViewProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScrollViewProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalScrollControllerProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalScrollControllerProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_GroupPadding(struct struct_Microsoft_UI_Xaml_Thickness* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GroupPadding()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_GroupPadding(struct struct_Microsoft_UI_Xaml_Thickness value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().GroupPadding(*reinterpret_cast(&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_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(); } int32_t __stdcall get_ItemWidth(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemWidth()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ItemWidth(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ItemWidth(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemHeight(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemHeight()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ItemHeight(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ItemHeight(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FirstCacheIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FirstCacheIndex()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FirstVisibleIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FirstVisibleIndex()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LastVisibleIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LastVisibleIndex()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LastCacheIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LastCacheIndex()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ScrollingDirection(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScrollingDirection()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_GroupHeaderPlacement(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GroupHeaderPlacement()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_GroupHeaderPlacement(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().GroupHeaderPlacement(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CacheLength(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CacheLength()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CacheLength(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CacheLength(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AreStickyGroupHeadersEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AreStickyGroupHeadersEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AreStickyGroupHeadersEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AreStickyGroupHeadersEnabled(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_GroupPaddingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GroupPaddingProperty()); 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_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(); } int32_t __stdcall get_ItemWidthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemWidthProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemHeightProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemHeightProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_GroupHeaderPlacementProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GroupHeaderPlacementProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CacheLengthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CacheLengthProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AreStickyGroupHeadersEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AreStickyGroupHeadersEnabledProperty()); 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_IndexBasedLayoutOrientation(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IndexBasedLayoutOrientation()); return 0; } catch (...) { return to_hresult(); } }; #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 template struct produce : produce_base { int32_t __stdcall CreateDefaultItemTransitionProvider(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateDefaultItemTransitionProvider()); return 0; } catch (...) { return to_hresult(); } }; #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 SetIndexBasedLayoutOrientation(int32_t orientation) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetIndexBasedLayoutOrientation(*reinterpret_cast(&orientation)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall add_ItemsInfoRequested(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ItemsInfoRequested(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ItemsInfoRequested(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ItemsInfoRequested(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_ItemsUnlocked(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ItemsUnlocked(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ItemsUnlocked(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ItemsUnlocked(*reinterpret_cast(&token)); return 0; } 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_MinItemSpacing(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinItemSpacing()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MinItemSpacing(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MinItemSpacing(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LineSpacing(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LineSpacing()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LineSpacing(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LineSpacing(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LineHeight(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LineHeight()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LineHeight(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LineHeight(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ActualLineHeight(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ActualLineHeight()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RequestedRangeStartIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RequestedRangeStartIndex()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RequestedRangeLength(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RequestedRangeLength()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall InvalidateItemsInfo() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InvalidateItemsInfo(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall LockItemToLine(int32_t itemIndex, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().LockItemToLine(itemIndex)); 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_ItemsRangeStartIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemsRangeStartIndex()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ItemsRangeStartIndex(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ItemsRangeStartIndex(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemsRangeRequestedLength(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemsRangeRequestedLength()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinWidth(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinWidth()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MinWidth(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MinWidth(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxWidth(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxWidth()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxWidth(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxWidth(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetDesiredAspectRatios(uint32_t __valuesSize, double* values) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetDesiredAspectRatios(array_view(reinterpret_cast(values), reinterpret_cast(values) + __valuesSize)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetMinWidths(uint32_t __valuesSize, double* values) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetMinWidths(array_view(reinterpret_cast(values), reinterpret_cast(values) + __valuesSize)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetMaxWidths(uint32_t __valuesSize, double* values) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetMaxWidths(array_view(reinterpret_cast(values), reinterpret_cast(values) + __valuesSize)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { 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_MinItemSpacingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinItemSpacingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LineSpacingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LineSpacingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LineHeightProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LineHeightProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ActualLineHeightProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ActualLineHeightProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { 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(); } 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_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 put_SingleSelectionFollowsFocus(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SingleSelectionFollowsFocus(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ScrollIntoView(void* item) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ScrollIntoView(*reinterpret_cast(&item)); 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(); } }; #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_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(); } 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(); } }; #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 get_DisplayMemberPath(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DisplayMemberPath()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DisplayMemberPath(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DisplayMemberPath(*reinterpret_cast(&value)); 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_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 get_SelectedValue(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedValue()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SelectedValue(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectedValue(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedValuePath(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedValuePath()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SelectedValuePath(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectedValuePath(*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(); } int32_t __stdcall add_ItemsPicked(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ItemsPicked(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ItemsPicked(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ItemsPicked(*reinterpret_cast(&token)); return 0; } int32_t __stdcall ShowAtAsync(void* target, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>>(this->shim().ShowAtAsync(*reinterpret_cast(&target))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : 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_DisplayMemberPathProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DisplayMemberPathProperty()); 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(); } 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_SelectedValueProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedValueProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedValuePathProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedValuePathProperty()); 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_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(); } 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_IsSwipeEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSwipeEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsSwipeEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsSwipeEnabled(value); 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_IsItemClickEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsItemClickEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsItemClickEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsItemClickEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DataFetchSize(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DataFetchSize()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DataFetchSize(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DataFetchSize(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IncrementalLoadingThreshold(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IncrementalLoadingThreshold()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IncrementalLoadingThreshold(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IncrementalLoadingThreshold(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IncrementalLoadingTrigger(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IncrementalLoadingTrigger()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IncrementalLoadingTrigger(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IncrementalLoadingTrigger(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ShowsScrollingPlaceholders(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ShowsScrollingPlaceholders()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ShowsScrollingPlaceholders(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ShowsScrollingPlaceholders(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ReorderMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ReorderMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ReorderMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ReorderMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedRanges(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().SelectedRanges()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsMultiSelectCheckBoxEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsMultiSelectCheckBoxEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsMultiSelectCheckBoxEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsMultiSelectCheckBoxEnabled(value); 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 put_SingleSelectionFollowsFocus(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SingleSelectionFollowsFocus(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_ItemClick(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ItemClick(*reinterpret_cast(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ItemClick(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ItemClick(*reinterpret_cast(&token)); return 0; } 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(&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 add_ContainerContentChanging(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ContainerContentChanging(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ContainerContentChanging(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ContainerContentChanging(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_ChoosingItemContainer(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ChoosingItemContainer(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ChoosingItemContainer(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ChoosingItemContainer(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_ChoosingGroupHeaderContainer(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ChoosingGroupHeaderContainer(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ChoosingGroupHeaderContainer(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ChoosingGroupHeaderContainer(*reinterpret_cast(&token)); return 0; } int32_t __stdcall ScrollIntoView(void* item) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ScrollIntoView(*reinterpret_cast(&item)); 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 LoadMoreItemsAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().LoadMoreItemsAsync()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ScrollIntoViewWithAlignment(void* item, int32_t alignment) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ScrollIntoView(*reinterpret_cast(&item), *reinterpret_cast(&alignment)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetDesiredContainerUpdateDuration(int64_t duration) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetDesiredContainerUpdateDuration(*reinterpret_cast(&duration)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SelectRange(void* itemIndexRange) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectRange(*reinterpret_cast(&itemIndexRange)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall DeselectRange(void* itemIndexRange) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DeselectRange(*reinterpret_cast(&itemIndexRange)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IsDragSource(bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IsDragSource()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryStartConnectedAnimationAsync(void* animation, void* item, void* elementName, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().TryStartConnectedAnimationAsync(*reinterpret_cast(&animation), *reinterpret_cast(&item), *reinterpret_cast(&elementName))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall PrepareConnectedAnimation(void* key, void* item, void* elementName, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().PrepareConnectedAnimation(*reinterpret_cast(&key), *reinterpret_cast(&item), *reinterpret_cast(&elementName))); 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_HeaderTransitions(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HeaderTransitions()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HeaderTransitions(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HeaderTransitions(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Footer(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Footer()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Footer(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Footer(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FooterTemplate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FooterTemplate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FooterTemplate(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FooterTemplate(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FooterTransitions(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FooterTransitions()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FooterTransitions(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FooterTransitions(*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 { }; #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_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(); } int32_t __stdcall get_IsSwipeEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSwipeEnabledProperty()); return 0; } catch (...) { return to_hresult(); } 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_IsItemClickEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsItemClickEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DataFetchSizeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DataFetchSizeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IncrementalLoadingThresholdProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IncrementalLoadingThresholdProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IncrementalLoadingTriggerProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IncrementalLoadingTriggerProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ShowsScrollingPlaceholdersProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ShowsScrollingPlaceholdersProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ReorderModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ReorderModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsMultiSelectCheckBoxEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsMultiSelectCheckBoxEnabledProperty()); 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_SemanticZoomOwnerProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SemanticZoomOwnerProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsActiveViewProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsActiveViewProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsZoomedInViewProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsZoomedInViewProperty()); 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_HeaderTransitionsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HeaderTransitionsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FooterProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FooterProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FooterTemplateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FooterTemplateProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FooterTransitionsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FooterTransitionsProperty()); 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_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 GetRelativeScrollPosition(void* listViewBase, void* itemToKeyHandler, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetRelativeScrollPosition(*reinterpret_cast(&listViewBase), *reinterpret_cast(&itemToKeyHandler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetRelativeScrollPositionAsync(void* listViewBase, void* relativeScrollPosition, void* keyToItemHandler, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from(this->shim().SetRelativeScrollPositionAsync(*reinterpret_cast(&listViewBase), *reinterpret_cast(&relativeScrollPosition), *reinterpret_cast(&keyToItemHandler))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_MapServiceToken(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MapServiceToken()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MapServiceToken(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MapServiceToken(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Center(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Center()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Center(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Center(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Layers(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Layers()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Layers(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Layers(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ZoomLevel(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZoomLevel()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ZoomLevel(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ZoomLevel(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_InteractiveControlsVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InteractiveControlsVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_InteractiveControlsVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InteractiveControlsVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_MapElementClick(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().MapElementClick(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_MapElementClick(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().MapElementClick(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_MapServiceErrorOccurred(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().MapServiceErrorOccurred(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_MapServiceErrorOccurred(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().MapServiceErrorOccurred(*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_DiagnosticMessage(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DiagnosticMessage()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_LayersProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LayersProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MapServiceTokenProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MapServiceTokenProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CenterProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CenterProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ZoomLevelProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZoomLevelProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_InteractiveControlsVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InteractiveControlsVisibleProperty()); 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_Location(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Location()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Element(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Element()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_MapElements(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().MapElements()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MapElements(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MapElements(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_MapElementClick(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().MapElementClick(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_MapElementClick(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().MapElementClick(*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_MapElementsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MapElementsProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Location(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Location()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Location(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Location(*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_LocationProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LocationProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_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_TransportControls(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TransportControls()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TransportControls(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TransportControls(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AreTransportControlsEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AreTransportControlsEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AreTransportControlsEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AreTransportControlsEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PosterSource(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PosterSource()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PosterSource(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PosterSource(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Stretch(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Stretch()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Stretch(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Stretch(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } 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_IsFullWindow(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsFullWindow()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsFullWindow(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsFullWindow(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MediaPlayer(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MediaPlayer()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetMediaPlayer(void* mediaPlayer) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetMediaPlayer(*reinterpret_cast(&mediaPlayer)); 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_AreTransportControlsEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AreTransportControlsEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PosterSourceProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PosterSourceProperty()); 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(); } 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_IsFullWindowProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsFullWindowProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MediaPlayerProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MediaPlayerProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_MediaPlayer(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MediaPlayer()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MediaPlayer(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MediaPlayer(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Stretch(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Stretch()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Stretch(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Stretch(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsFullWindow(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsFullWindow()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsFullWindow(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsFullWindow(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_MediaPlayerProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MediaPlayerProperty()); 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(); } int32_t __stdcall get_IsFullWindowProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsFullWindowProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsZoomButtonVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsZoomButtonVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsZoomButtonVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsZoomButtonVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsZoomEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsZoomEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsZoomEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsZoomEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsFastForwardButtonVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsFastForwardButtonVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsFastForwardButtonVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsFastForwardButtonVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsFastForwardEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsFastForwardEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsFastForwardEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsFastForwardEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsFastRewindButtonVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsFastRewindButtonVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsFastRewindButtonVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsFastRewindButtonVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsFastRewindEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsFastRewindEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsFastRewindEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsFastRewindEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsStopButtonVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsStopButtonVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsStopButtonVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsStopButtonVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsStopEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsStopEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsStopEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsStopEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsVolumeButtonVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsVolumeButtonVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsVolumeButtonVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsVolumeButtonVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsVolumeEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsVolumeEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsVolumeEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsVolumeEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsPlaybackRateButtonVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsPlaybackRateButtonVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsPlaybackRateButtonVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsPlaybackRateButtonVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsPlaybackRateEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsPlaybackRateEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsPlaybackRateEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsPlaybackRateEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsSeekBarVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSeekBarVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsSeekBarVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsSeekBarVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsSeekEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSeekEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsSeekEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsSeekEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsCompact(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsCompact()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsCompact(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsCompact(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsSkipForwardButtonVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSkipForwardButtonVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsSkipForwardButtonVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsSkipForwardButtonVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsSkipForwardEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSkipForwardEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsSkipForwardEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsSkipForwardEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsSkipBackwardButtonVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSkipBackwardButtonVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsSkipBackwardButtonVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsSkipBackwardButtonVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsSkipBackwardEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSkipBackwardEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsSkipBackwardEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsSkipBackwardEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsNextTrackButtonVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsNextTrackButtonVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsNextTrackButtonVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsNextTrackButtonVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsPreviousTrackButtonVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsPreviousTrackButtonVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsPreviousTrackButtonVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsPreviousTrackButtonVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FastPlayFallbackBehaviour(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FastPlayFallbackBehaviour()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FastPlayFallbackBehaviour(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FastPlayFallbackBehaviour(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ShowAndHideAutomatically(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ShowAndHideAutomatically()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ShowAndHideAutomatically(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ShowAndHideAutomatically(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsRepeatEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsRepeatEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsRepeatEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsRepeatEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsRepeatButtonVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsRepeatButtonVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsRepeatButtonVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsRepeatButtonVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_ThumbnailRequested(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ThumbnailRequested(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ThumbnailRequested(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ThumbnailRequested(*reinterpret_cast(&token)); return 0; } int32_t __stdcall Show() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Show(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Hide() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Hide(); 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_DropoutOrderProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DropoutOrderProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetDropoutOrder(void* element, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from>(this->shim().GetDropoutOrder(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetDropoutOrder(void* element, void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetDropoutOrder(*reinterpret_cast(&element), *reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsZoomButtonVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsZoomButtonVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsZoomEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsZoomEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsFastForwardButtonVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsFastForwardButtonVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsFastForwardEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsFastForwardEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsFastRewindButtonVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsFastRewindButtonVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsFastRewindEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsFastRewindEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsStopButtonVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsStopButtonVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsStopEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsStopEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsVolumeButtonVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsVolumeButtonVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsVolumeEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsVolumeEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsPlaybackRateButtonVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsPlaybackRateButtonVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsPlaybackRateEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsPlaybackRateEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsSeekBarVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSeekBarVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsSeekEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSeekEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsCompactProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsCompactProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsSkipForwardButtonVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSkipForwardButtonVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsSkipForwardEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSkipForwardEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsSkipBackwardButtonVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSkipBackwardButtonVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsSkipBackwardEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSkipBackwardEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsNextTrackButtonVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsNextTrackButtonVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsPreviousTrackButtonVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsPreviousTrackButtonVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FastPlayFallbackBehaviourProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FastPlayFallbackBehaviourProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ShowAndHideAutomaticallyProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ShowAndHideAutomaticallyProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsRepeatEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsRepeatEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsRepeatButtonVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsRepeatButtonVisibleProperty()); 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_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_MenuFlyoutPresenterStyle(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MenuFlyoutPresenterStyle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MenuFlyoutPresenterStyle(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MenuFlyoutPresenterStyle(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ShowAt(void* targetElement, winrt::Windows::Foundation::Point point) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ShowAt(*reinterpret_cast(&targetElement), *reinterpret_cast(&point)); 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_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_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_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_KeyboardAcceleratorTextOverride(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().KeyboardAcceleratorTextOverride()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_KeyboardAcceleratorTextOverride(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().KeyboardAcceleratorTextOverride(*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_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(&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 { }; #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_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_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_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_KeyboardAcceleratorTextOverrideProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().KeyboardAcceleratorTextOverrideProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { 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_IsDefaultShadowEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsDefaultShadowEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsDefaultShadowEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsDefaultShadowEnabled(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_SystemBackdrop(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SystemBackdrop()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SystemBackdrop(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SystemBackdrop(*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_IsDefaultShadowEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsDefaultShadowEnabledProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_SystemBackdropProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SystemBackdropProperty()); 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_MenuFlyoutPresenterStyleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MenuFlyoutPresenterStyleProperty()); 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(); } 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_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(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { 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_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(); } }; #endif template struct produce : produce_base { int32_t __stdcall Navigate(struct struct_Windows_UI_Xaml_Interop_TypeName sourcePageType, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Navigate(*reinterpret_cast(&sourcePageType))); return 0; } catch (...) { return to_hresult(); } }; #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_Frame(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Frame()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NavigationCacheMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NavigationCacheMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_NavigationCacheMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().NavigationCacheMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TopAppBar(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TopAppBar()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TopAppBar(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TopAppBar(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BottomAppBar(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BottomAppBar()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BottomAppBar(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BottomAppBar(*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 OnNavigatedFrom(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnNavigatedFrom(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnNavigatedTo(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnNavigatedTo(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnNavigatingFrom(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnNavigatingFrom(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_FrameProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FrameProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TopAppBarProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TopAppBarProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BottomAppBarProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BottomAppBarProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Children(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Children()); 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_IsItemsHost(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsItemsHost()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ChildrenTransitions(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ChildrenTransitions()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ChildrenTransitions(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ChildrenTransitions(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BackgroundTransition(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BackgroundTransition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BackgroundTransition(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BackgroundTransition(*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_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_IsItemsHostProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsItemsHostProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ChildrenTransitionsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ChildrenTransitionsProperty()); 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_Password(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Password()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Password(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Password(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PasswordChar(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PasswordChar()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PasswordChar(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PasswordChar(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsPasswordRevealButtonEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsPasswordRevealButtonEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsPasswordRevealButtonEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsPasswordRevealButtonEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxLength(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxLength()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxLength(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxLength(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_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_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_PasswordRevealMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PasswordRevealMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PasswordRevealMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PasswordRevealMode(*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_InputScope(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InputScope()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_InputScope(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InputScope(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanPasteClipboardContent(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanPasteClipboardContent()); 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_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 add_PasswordChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().PasswordChanged(*reinterpret_cast(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_PasswordChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().PasswordChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_ContextMenuOpening(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ContextMenuOpening(*reinterpret_cast(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ContextMenuOpening(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ContextMenuOpening(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_Paste(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Paste(*reinterpret_cast(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Paste(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Paste(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_PasswordChanging(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().PasswordChanging(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_PasswordChanging(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().PasswordChanging(*reinterpret_cast(&token)); return 0; } 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 PasteFromClipboard() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PasteFromClipboard(); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsContentChanging(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsContentChanging()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_PasswordProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PasswordProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PasswordCharProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PasswordCharProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsPasswordRevealButtonEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsPasswordRevealButtonEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxLengthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxLengthProperty()); 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_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_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_PasswordRevealModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PasswordRevealModeProperty()); 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_InputScopeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InputScopeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanPasteClipboardContentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanPasteClipboardContentProperty()); 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_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(); } }; #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_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_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 { }; #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_ConfirmationButtonsVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ConfirmationButtonsVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ConfirmationButtonsVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ConfirmationButtonsVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_Confirmed(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Confirmed(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Confirmed(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Confirmed(*reinterpret_cast(&token)); return 0; } int32_t __stdcall ShowAtAsync(void* target, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().ShowAtAsync(*reinterpret_cast(&target))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : 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_ConfirmationButtonsVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ConfirmationButtonsVisibleProperty()); 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 get_WrapMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().WrapMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_WrapMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().WrapMode(*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 { }; #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_WrapModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().WrapModeProperty()); 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_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_TitleTemplate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TitleTemplate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TitleTemplate(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TitleTemplate(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LeftHeader(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LeftHeader()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LeftHeader(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LeftHeader(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LeftHeaderTemplate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LeftHeaderTemplate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LeftHeaderTemplate(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LeftHeaderTemplate(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RightHeader(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RightHeader()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_RightHeader(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RightHeader(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RightHeaderTemplate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RightHeaderTemplate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_RightHeaderTemplate(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RightHeaderTemplate(*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_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 get_IsLocked(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsLocked()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsLocked(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsLocked(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HeaderFocusVisualPlacement(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HeaderFocusVisualPlacement()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HeaderFocusVisualPlacement(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HeaderFocusVisualPlacement(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsHeaderItemsCarouselEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsHeaderItemsCarouselEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsHeaderItemsCarouselEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsHeaderItemsCarouselEnabled(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 add_PivotItemLoading(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().PivotItemLoading(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_PivotItemLoading(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().PivotItemLoading(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_PivotItemLoaded(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().PivotItemLoaded(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_PivotItemLoaded(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().PivotItemLoaded(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_PivotItemUnloading(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().PivotItemUnloading(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_PivotItemUnloading(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().PivotItemUnloading(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_PivotItemUnloaded(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().PivotItemUnloaded(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_PivotItemUnloaded(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().PivotItemUnloaded(*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(); } }; #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 put_Item(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Item(*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_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(); } }; #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_TitleTemplateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TitleTemplateProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LeftHeaderProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LeftHeaderProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LeftHeaderTemplateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LeftHeaderTemplateProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RightHeaderProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RightHeaderProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RightHeaderTemplateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RightHeaderTemplateProperty()); 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_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_IsLockedProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsLockedProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HeaderFocusVisualPlacementProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HeaderFocusVisualPlacementProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsHeaderItemsCarouselEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsHeaderItemsCarouselEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SlideInAnimationGroupProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SlideInAnimationGroupProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetSlideInAnimationGroup(void* element, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetSlideInAnimationGroup(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetSlideInAnimationGroup(void* element, int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetSlideInAnimationGroup(*reinterpret_cast(&element), *reinterpret_cast(&value)); 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_Microsoft_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_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_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_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 { int32_t __stdcall get_BackgroundSizing(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BackgroundSizing()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BackgroundSizing(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BackgroundSizing(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BorderBrush(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BorderBrush()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BorderBrush(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BorderBrush(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BorderThickness(struct struct_Microsoft_UI_Xaml_Thickness* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BorderThickness()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BorderThickness(struct struct_Microsoft_UI_Xaml_Thickness value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BorderThickness(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CornerRadius(struct struct_Microsoft_UI_Xaml_CornerRadius* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CornerRadius()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CornerRadius(struct struct_Microsoft_UI_Xaml_CornerRadius value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CornerRadius(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Padding(struct struct_Microsoft_UI_Xaml_Thickness* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Padding()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Padding(struct struct_Microsoft_UI_Xaml_Thickness value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Padding(*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_BackgroundSizingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BackgroundSizingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LeftOfProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LeftOfProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetLeftOf(void* element, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetLeftOf(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetLeftOf(void* element, void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetLeftOf(*reinterpret_cast(&element), *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AboveProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AboveProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetAbove(void* element, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetAbove(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetAbove(void* element, void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetAbove(*reinterpret_cast(&element), *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RightOfProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RightOfProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetRightOf(void* element, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetRightOf(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetRightOf(void* element, void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetRightOf(*reinterpret_cast(&element), *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BelowProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BelowProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetBelow(void* element, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetBelow(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetBelow(void* element, void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetBelow(*reinterpret_cast(&element), *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AlignHorizontalCenterWithProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AlignHorizontalCenterWithProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetAlignHorizontalCenterWith(void* element, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetAlignHorizontalCenterWith(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetAlignHorizontalCenterWith(void* element, void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetAlignHorizontalCenterWith(*reinterpret_cast(&element), *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AlignVerticalCenterWithProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AlignVerticalCenterWithProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetAlignVerticalCenterWith(void* element, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetAlignVerticalCenterWith(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetAlignVerticalCenterWith(void* element, void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetAlignVerticalCenterWith(*reinterpret_cast(&element), *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AlignLeftWithProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AlignLeftWithProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetAlignLeftWith(void* element, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetAlignLeftWith(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetAlignLeftWith(void* element, void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetAlignLeftWith(*reinterpret_cast(&element), *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AlignTopWithProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AlignTopWithProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetAlignTopWith(void* element, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetAlignTopWith(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetAlignTopWith(void* element, void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetAlignTopWith(*reinterpret_cast(&element), *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AlignRightWithProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AlignRightWithProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetAlignRightWith(void* element, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetAlignRightWith(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetAlignRightWith(void* element, void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetAlignRightWith(*reinterpret_cast(&element), *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AlignBottomWithProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AlignBottomWithProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetAlignBottomWith(void* element, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetAlignBottomWith(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetAlignBottomWith(void* element, void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetAlignBottomWith(*reinterpret_cast(&element), *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AlignLeftWithPanelProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AlignLeftWithPanelProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetAlignLeftWithPanel(void* element, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetAlignLeftWithPanel(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetAlignLeftWithPanel(void* element, bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetAlignLeftWithPanel(*reinterpret_cast(&element), value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AlignTopWithPanelProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AlignTopWithPanelProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetAlignTopWithPanel(void* element, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetAlignTopWithPanel(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetAlignTopWithPanel(void* element, bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetAlignTopWithPanel(*reinterpret_cast(&element), value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AlignRightWithPanelProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AlignRightWithPanelProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetAlignRightWithPanel(void* element, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetAlignRightWithPanel(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetAlignRightWithPanel(void* element, bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetAlignRightWithPanel(*reinterpret_cast(&element), value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AlignBottomWithPanelProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AlignBottomWithPanelProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetAlignBottomWithPanel(void* element, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetAlignBottomWithPanel(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetAlignBottomWithPanel(void* element, bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetAlignBottomWithPanel(*reinterpret_cast(&element), value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AlignHorizontalCenterWithPanelProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AlignHorizontalCenterWithPanelProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetAlignHorizontalCenterWithPanel(void* element, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetAlignHorizontalCenterWithPanel(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetAlignHorizontalCenterWithPanel(void* element, bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetAlignHorizontalCenterWithPanel(*reinterpret_cast(&element), value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AlignVerticalCenterWithPanelProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AlignVerticalCenterWithPanelProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetAlignVerticalCenterWithPanel(void* element, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetAlignVerticalCenterWithPanel(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetAlignVerticalCenterWithPanel(void* element, bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetAlignVerticalCenterWithPanel(*reinterpret_cast(&element), value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BorderBrushProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BorderBrushProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BorderThicknessProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BorderThicknessProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CornerRadiusProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CornerRadiusProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PaddingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PaddingProperty()); 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_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_AcceptsReturn(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AcceptsReturn()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AcceptsReturn(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AcceptsReturn(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextAlignment(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextAlignment()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TextAlignment(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TextAlignment(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextWrapping(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextWrapping()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TextWrapping(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TextWrapping(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsSpellCheckEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSpellCheckEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsSpellCheckEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsSpellCheckEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsTextPredictionEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsTextPredictionEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsTextPredictionEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsTextPredictionEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Document(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Document()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_InputScope(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InputScope()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_InputScope(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InputScope(*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_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_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_IsColorFontEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsColorFontEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsColorFontEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsColorFontEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectionHighlightColorWhenNotFocused(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectionHighlightColorWhenNotFocused()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SelectionHighlightColorWhenNotFocused(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectionHighlightColorWhenNotFocused(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxLength(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxLength()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxLength(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxLength(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalTextAlignment(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalTextAlignment()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HorizontalTextAlignment(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HorizontalTextAlignment(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CharacterCasing(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CharacterCasing()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CharacterCasing(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CharacterCasing(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DisabledFormattingAccelerators(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DisabledFormattingAccelerators()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DisabledFormattingAccelerators(uint32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DisabledFormattingAccelerators(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextDocument(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextDocument()); 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_ProofingMenuFlyout(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ProofingMenuFlyout()); 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 add_TextChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().TextChanged(*reinterpret_cast(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_TextChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().TextChanged(*reinterpret_cast(&token)); return 0; } 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_ContextMenuOpening(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ContextMenuOpening(*reinterpret_cast(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ContextMenuOpening(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ContextMenuOpening(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_Paste(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Paste(*reinterpret_cast(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Paste(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Paste(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_TextCompositionStarted(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().TextCompositionStarted(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_TextCompositionStarted(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().TextCompositionStarted(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_TextCompositionChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().TextCompositionChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_TextCompositionChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().TextCompositionChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_TextCompositionEnded(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().TextCompositionEnded(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_TextCompositionEnded(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().TextCompositionEnded(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_CopyingToClipboard(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().CopyingToClipboard(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_CopyingToClipboard(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().CopyingToClipboard(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_CuttingToClipboard(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().CuttingToClipboard(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_CuttingToClipboard(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().CuttingToClipboard(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_SelectionChanging(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().SelectionChanging(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_SelectionChanging(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().SelectionChanging(*reinterpret_cast(&token)); return 0; } int32_t __stdcall GetLinguisticAlternativesAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>>(this->shim().GetLinguisticAlternativesAsync()); 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_ClipboardCopyFormat(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ClipboardCopyFormat()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ClipboardCopyFormat(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ClipboardCopyFormat(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DesiredCandidateWindowAlignment(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DesiredCandidateWindowAlignment()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DesiredCandidateWindowAlignment(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DesiredCandidateWindowAlignment(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_CandidateWindowBoundsChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().CandidateWindowBoundsChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_CandidateWindowBoundsChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().CandidateWindowBoundsChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_TextChanging(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().TextChanging(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_TextChanging(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().TextChanging(*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_SelectionStart(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectionStart()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectionLength(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectionLength()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Cancel(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Cancel()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Cancel(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Cancel(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall 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_AcceptsReturnProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AcceptsReturnProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextAlignmentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextAlignmentProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextWrappingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextWrappingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsSpellCheckEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSpellCheckEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsTextPredictionEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsTextPredictionEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_InputScopeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InputScopeProperty()); 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_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_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_IsColorFontEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsColorFontEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectionHighlightColorWhenNotFocusedProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectionHighlightColorWhenNotFocusedProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxLengthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxLengthProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalTextAlignmentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalTextAlignmentProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CharacterCasingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CharacterCasingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DisabledFormattingAcceleratorsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DisabledFormattingAcceleratorsProperty()); 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_ProofingMenuFlyoutProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ProofingMenuFlyoutProperty()); 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_DesiredCandidateWindowAlignmentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DesiredCandidateWindowAlignmentProperty()); 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_ClipboardCopyFormatProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ClipboardCopyFormatProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsContentChanging(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsContentChanging()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { 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_FontStretch(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FontStretch()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FontStretch(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FontStretch(*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_TextWrapping(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextWrapping()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TextWrapping(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TextWrapping(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextTrimming(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextTrimming()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TextTrimming(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TextTrimming(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextAlignment(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextAlignment()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TextAlignment(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TextAlignment(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Blocks(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Blocks()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Padding(struct struct_Microsoft_UI_Xaml_Thickness* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Padding()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Padding(struct struct_Microsoft_UI_Xaml_Thickness value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Padding(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LineHeight(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LineHeight()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LineHeight(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LineHeight(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LineStackingStrategy(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LineStackingStrategy()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LineStackingStrategy(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LineStackingStrategy(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CharacterSpacing(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CharacterSpacing()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CharacterSpacing(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CharacterSpacing(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OverflowContentTarget(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OverflowContentTarget()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_OverflowContentTarget(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OverflowContentTarget(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsTextSelectionEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsTextSelectionEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsTextSelectionEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsTextSelectionEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HasOverflowContent(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HasOverflowContent()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedText(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedText()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentStart(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentStart()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentEnd(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentEnd()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectionStart(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectionStart()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectionEnd(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectionEnd()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BaselineOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BaselineOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxLines(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxLines()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxLines(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxLines(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextLineBounds(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextLineBounds()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TextLineBounds(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TextLineBounds(*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_OpticalMarginAlignment(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OpticalMarginAlignment()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_OpticalMarginAlignment(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OpticalMarginAlignment(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsColorFontEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsColorFontEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsColorFontEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsColorFontEnabled(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_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_TextDecorations(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextDecorations()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TextDecorations(uint32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TextDecorations(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsTextTrimmed(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsTextTrimmed()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalTextAlignment(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalTextAlignment()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HorizontalTextAlignment(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HorizontalTextAlignment(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextHighlighters(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().TextHighlighters()); 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 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_ContextMenuOpening(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ContextMenuOpening(*reinterpret_cast(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ContextMenuOpening(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ContextMenuOpening(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_IsTextTrimmedChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().IsTextTrimmedChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_IsTextTrimmedChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().IsTextTrimmedChanged(*reinterpret_cast(&token)); return 0; } 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 Select(void* start, void* end) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Select(*reinterpret_cast(&start), *reinterpret_cast(&end)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetPositionFromPoint(winrt::Windows::Foundation::Point point, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetPositionFromPoint(*reinterpret_cast(&point))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CopySelectionToClipboard() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CopySelectionToClipboard(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextIndent(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextIndent()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TextIndent(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TextIndent(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_OverflowContentTarget(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OverflowContentTarget()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_OverflowContentTarget(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OverflowContentTarget(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Padding(struct struct_Microsoft_UI_Xaml_Thickness* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Padding()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Padding(struct struct_Microsoft_UI_Xaml_Thickness value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Padding(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentSource(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentSource()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HasOverflowContent(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HasOverflowContent()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentStart(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentStart()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentEnd(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentEnd()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BaselineOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BaselineOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxLines(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxLines()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxLines(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxLines(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsTextTrimmed(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsTextTrimmed()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_IsTextTrimmedChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().IsTextTrimmedChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_IsTextTrimmedChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().IsTextTrimmedChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall GetPositionFromPoint(winrt::Windows::Foundation::Point point, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetPositionFromPoint(*reinterpret_cast(&point))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_OverflowContentTargetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OverflowContentTargetProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PaddingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PaddingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HasOverflowContentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HasOverflowContentProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxLinesProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxLinesProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsTextTrimmedProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsTextTrimmedProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { 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_FontStretchProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FontStretchProperty()); 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_TextWrappingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextWrappingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextTrimmingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextTrimmingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextAlignmentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextAlignmentProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PaddingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PaddingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LineHeightProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LineHeightProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LineStackingStrategyProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LineStackingStrategyProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CharacterSpacingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CharacterSpacingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OverflowContentTargetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OverflowContentTargetProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsTextSelectionEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsTextSelectionEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HasOverflowContentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HasOverflowContentProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedTextProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedTextProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxLinesProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxLinesProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextLineBoundsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextLineBoundsProperty()); 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_OpticalMarginAlignmentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OpticalMarginAlignmentProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsColorFontEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsColorFontEnabledProperty()); 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_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_TextDecorationsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextDecorationsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsTextTrimmedProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsTextTrimmedProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalTextAlignmentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalTextAlignmentProperty()); 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_TextIndentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextIndentProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Height(struct struct_Microsoft_UI_Xaml_GridLength* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Height()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Height(struct struct_Microsoft_UI_Xaml_GridLength value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Height(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxHeight(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxHeight()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxHeight(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxHeight(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinHeight(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinHeight()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MinHeight(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MinHeight(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ActualHeight(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ActualHeight()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_HeightProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HeightProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxHeightProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxHeightProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinHeightProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinHeightProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif template struct produce : produce_base { 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 RegisterAnchorCandidate(void* element) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RegisterAnchorCandidate(*reinterpret_cast(&element)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall UnregisterAnchorCandidate(void* element) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().UnregisterAnchorCandidate(*reinterpret_cast(&element)); return 0; } catch (...) { return to_hresult(); } }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CanVerticallyScroll(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanVerticallyScroll()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CanVerticallyScroll(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CanVerticallyScroll(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanHorizontallyScroll(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanHorizontallyScroll()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CanHorizontallyScroll(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CanHorizontallyScroll(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExtentWidth(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExtentWidth()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExtentHeight(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExtentHeight()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ViewportWidth(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ViewportWidth()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ViewportHeight(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ViewportHeight()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ScrollOwner(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScrollOwner()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ScrollOwner(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ScrollOwner(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanContentRenderOutsideBounds(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanContentRenderOutsideBounds()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CanContentRenderOutsideBounds(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CanContentRenderOutsideBounds(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SizesContentToTemplatedParent(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SizesContentToTemplatedParent()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SizesContentToTemplatedParent(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SizesContentToTemplatedParent(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall LineUp() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LineUp(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall LineDown() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LineDown(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall LineLeft() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LineLeft(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall LineRight() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LineRight(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall PageUp() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PageUp(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall PageDown() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PageDown(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall PageLeft() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PageLeft(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall PageRight() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PageRight(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall MouseWheelUp() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MouseWheelUp(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall MouseWheelDown() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MouseWheelDown(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall MouseWheelLeft() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MouseWheelLeft(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall MouseWheelRight() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MouseWheelRight(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetHorizontalOffset(double offset) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetHorizontalOffset(offset); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetVerticalOffset(double offset) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetVerticalOffset(offset); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall MakeVisible(void* visual, winrt::Windows::Foundation::Rect rectangle, winrt::Windows::Foundation::Rect* result) noexcept final try { zero_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().MakeVisible(*reinterpret_cast(&visual), *reinterpret_cast(&rectangle))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CanContentRenderOutsideBoundsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanContentRenderOutsideBoundsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SizesContentToTemplatedParentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SizesContentToTemplatedParentProperty()); 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_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_ScrollPresenter(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScrollPresenter()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExpressionAnimationSources(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExpressionAnimationSources()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ZoomFactor(float* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZoomFactor()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExtentWidth(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExtentWidth()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExtentHeight(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExtentHeight()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ViewportWidth(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ViewportWidth()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ViewportHeight(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ViewportHeight()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ScrollableWidth(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScrollableWidth()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ScrollableHeight(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScrollableHeight()); 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 get_HorizontalScrollBarVisibility(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalScrollBarVisibility()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HorizontalScrollBarVisibility(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HorizontalScrollBarVisibility(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalScrollBarVisibility(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalScrollBarVisibility()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_VerticalScrollBarVisibility(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().VerticalScrollBarVisibility(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentOrientation(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentOrientation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ContentOrientation(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ContentOrientation(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalScrollChainMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalScrollChainMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HorizontalScrollChainMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HorizontalScrollChainMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalScrollChainMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalScrollChainMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_VerticalScrollChainMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().VerticalScrollChainMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalScrollRailMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalScrollRailMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HorizontalScrollRailMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HorizontalScrollRailMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalScrollRailMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalScrollRailMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_VerticalScrollRailMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().VerticalScrollRailMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalScrollMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalScrollMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HorizontalScrollMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HorizontalScrollMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalScrollMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalScrollMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_VerticalScrollMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().VerticalScrollMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ComputedHorizontalScrollBarVisibility(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ComputedHorizontalScrollBarVisibility()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ComputedVerticalScrollBarVisibility(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ComputedVerticalScrollBarVisibility()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ComputedHorizontalScrollMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ComputedHorizontalScrollMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ComputedVerticalScrollMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ComputedVerticalScrollMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ZoomChainMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZoomChainMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ZoomChainMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ZoomChainMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ZoomMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZoomMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ZoomMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ZoomMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IgnoredInputKinds(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IgnoredInputKinds()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IgnoredInputKinds(uint32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IgnoredInputKinds(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinZoomFactor(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinZoomFactor()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MinZoomFactor(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MinZoomFactor(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxZoomFactor(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxZoomFactor()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxZoomFactor(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxZoomFactor(value); 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(); } int32_t __stdcall RegisterAnchorCandidate(void* element) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RegisterAnchorCandidate(*reinterpret_cast(&element)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall UnregisterAnchorCandidate(void* element) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().UnregisterAnchorCandidate(*reinterpret_cast(&element)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ScrollTo(double horizontalOffset, double verticalOffset, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().ScrollTo(horizontalOffset, verticalOffset)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ScrollToWithOptions(double horizontalOffset, double verticalOffset, void* options, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().ScrollTo(horizontalOffset, verticalOffset, *reinterpret_cast(&options))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ScrollBy(double horizontalOffsetDelta, double verticalOffsetDelta, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().ScrollBy(horizontalOffsetDelta, verticalOffsetDelta)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ScrollByWithOptions(double horizontalOffsetDelta, double verticalOffsetDelta, void* options, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().ScrollBy(horizontalOffsetDelta, verticalOffsetDelta, *reinterpret_cast(&options))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall AddScrollVelocity(winrt::Windows::Foundation::Numerics::float2 offsetsVelocity, void* inertiaDecayRate, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().AddScrollVelocity(*reinterpret_cast(&offsetsVelocity), *reinterpret_cast const*>(&inertiaDecayRate))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ZoomTo(float zoomFactor, void* centerPoint, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().ZoomTo(zoomFactor, *reinterpret_cast const*>(¢erPoint))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ZoomToWithOptions(float zoomFactor, void* centerPoint, void* options, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().ZoomTo(zoomFactor, *reinterpret_cast const*>(¢erPoint), *reinterpret_cast(&options))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ZoomBy(float zoomFactorDelta, void* centerPoint, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().ZoomBy(zoomFactorDelta, *reinterpret_cast const*>(¢erPoint))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ZoomByWithOptions(float zoomFactorDelta, void* centerPoint, void* options, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().ZoomBy(zoomFactorDelta, *reinterpret_cast const*>(¢erPoint), *reinterpret_cast(&options))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall AddZoomVelocity(float zoomFactorVelocity, void* centerPoint, void* inertiaDecayRate, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().AddZoomVelocity(zoomFactorVelocity, *reinterpret_cast const*>(¢erPoint), *reinterpret_cast const*>(&inertiaDecayRate))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_ExtentChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ExtentChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ExtentChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ExtentChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_StateChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().StateChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_StateChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().StateChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_ViewChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ViewChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ViewChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ViewChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_ScrollAnimationStarting(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ScrollAnimationStarting(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ScrollAnimationStarting(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ScrollAnimationStarting(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_ZoomAnimationStarting(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ZoomAnimationStarting(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ZoomAnimationStarting(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ZoomAnimationStarting(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_ScrollCompleted(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ScrollCompleted(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ScrollCompleted(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ScrollCompleted(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_ZoomCompleted(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ZoomCompleted(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ZoomCompleted(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ZoomCompleted(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_BringingIntoView(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().BringingIntoView(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_BringingIntoView(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().BringingIntoView(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_AnchorRequested(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().AnchorRequested(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_AnchorRequested(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().AnchorRequested(*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_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_ScrollPresenterProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScrollPresenterProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalScrollBarVisibilityProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalScrollBarVisibilityProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalScrollBarVisibilityProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalScrollBarVisibilityProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentOrientationProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentOrientationProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalScrollChainModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalScrollChainModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalScrollChainModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalScrollChainModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalScrollRailModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalScrollRailModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalScrollRailModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalScrollRailModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalScrollModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalScrollModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalScrollModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalScrollModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ComputedHorizontalScrollBarVisibilityProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ComputedHorizontalScrollBarVisibilityProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ComputedVerticalScrollBarVisibilityProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ComputedVerticalScrollBarVisibilityProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ComputedHorizontalScrollModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ComputedHorizontalScrollModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ComputedVerticalScrollModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ComputedVerticalScrollModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ZoomChainModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZoomChainModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ZoomModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZoomModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IgnoredInputKindsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IgnoredInputKindsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinZoomFactorProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinZoomFactorProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxZoomFactorProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxZoomFactorProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalAnchorRatioProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalAnchorRatioProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalAnchorRatioProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalAnchorRatioProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_HorizontalScrollBarVisibility(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalScrollBarVisibility()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HorizontalScrollBarVisibility(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HorizontalScrollBarVisibility(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalScrollBarVisibility(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalScrollBarVisibility()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_VerticalScrollBarVisibility(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().VerticalScrollBarVisibility(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsHorizontalRailEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsHorizontalRailEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsHorizontalRailEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsHorizontalRailEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsVerticalRailEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsVerticalRailEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsVerticalRailEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsVerticalRailEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsHorizontalScrollChainingEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsHorizontalScrollChainingEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsHorizontalScrollChainingEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsHorizontalScrollChainingEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsVerticalScrollChainingEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsVerticalScrollChainingEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsVerticalScrollChainingEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsVerticalScrollChainingEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsZoomChainingEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsZoomChainingEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsZoomChainingEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsZoomChainingEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsScrollInertiaEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsScrollInertiaEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsScrollInertiaEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsScrollInertiaEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsZoomInertiaEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsZoomInertiaEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsZoomInertiaEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsZoomInertiaEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalScrollMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalScrollMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HorizontalScrollMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HorizontalScrollMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalScrollMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalScrollMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_VerticalScrollMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().VerticalScrollMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ZoomMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZoomMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ZoomMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ZoomMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalSnapPointsAlignment(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalSnapPointsAlignment()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HorizontalSnapPointsAlignment(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HorizontalSnapPointsAlignment(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalSnapPointsAlignment(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalSnapPointsAlignment()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_VerticalSnapPointsAlignment(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().VerticalSnapPointsAlignment(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalSnapPointsType(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalSnapPointsType()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HorizontalSnapPointsType(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HorizontalSnapPointsType(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalSnapPointsType(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalSnapPointsType()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_VerticalSnapPointsType(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().VerticalSnapPointsType(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ZoomSnapPointsType(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZoomSnapPointsType()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ZoomSnapPointsType(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ZoomSnapPointsType(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ViewportWidth(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ViewportWidth()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ScrollableWidth(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScrollableWidth()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ComputedHorizontalScrollBarVisibility(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ComputedHorizontalScrollBarVisibility()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExtentWidth(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExtentWidth()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ViewportHeight(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ViewportHeight()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ScrollableHeight(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScrollableHeight()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ComputedVerticalScrollBarVisibility(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ComputedVerticalScrollBarVisibility()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExtentHeight(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExtentHeight()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinZoomFactor(float* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinZoomFactor()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MinZoomFactor(float value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MinZoomFactor(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxZoomFactor(float* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxZoomFactor()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxZoomFactor(float value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxZoomFactor(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ZoomFactor(float* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZoomFactor()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ZoomSnapPoints(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().ZoomSnapPoints()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TopLeftHeader(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TopLeftHeader()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TopLeftHeader(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TopLeftHeader(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LeftHeader(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LeftHeader()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LeftHeader(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LeftHeader(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TopHeader(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TopHeader()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TopHeader(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TopHeader(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ReduceViewportForCoreInputViewOcclusions(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ReduceViewportForCoreInputViewOcclusions()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ReduceViewportForCoreInputViewOcclusions(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ReduceViewportForCoreInputViewOcclusions(value); 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(); } int32_t __stdcall get_CanContentRenderOutsideBounds(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanContentRenderOutsideBounds()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CanContentRenderOutsideBounds(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CanContentRenderOutsideBounds(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_AnchorRequested(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().AnchorRequested(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_AnchorRequested(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().AnchorRequested(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_ViewChanging(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ViewChanging(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ViewChanging(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ViewChanging(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_ViewChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ViewChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ViewChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ViewChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_DirectManipulationStarted(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().DirectManipulationStarted(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_DirectManipulationStarted(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().DirectManipulationStarted(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_DirectManipulationCompleted(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().DirectManipulationCompleted(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_DirectManipulationCompleted(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().DirectManipulationCompleted(*reinterpret_cast(&token)); return 0; } int32_t __stdcall ScrollToHorizontalOffset(double offset) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ScrollToHorizontalOffset(offset); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ScrollToVerticalOffset(double offset) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ScrollToVerticalOffset(offset); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ZoomToFactor(float factor) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ZoomToFactor(factor); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ChangeView(void* horizontalOffset, void* verticalOffset, void* zoomFactor, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().ChangeView(*reinterpret_cast const*>(&horizontalOffset), *reinterpret_cast const*>(&verticalOffset), *reinterpret_cast const*>(&zoomFactor))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ChangeViewWithOptionalAnimation(void* horizontalOffset, void* verticalOffset, void* zoomFactor, bool disableAnimation, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().ChangeView(*reinterpret_cast const*>(&horizontalOffset), *reinterpret_cast const*>(&verticalOffset), *reinterpret_cast const*>(&zoomFactor), disableAnimation)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall InvalidateScrollInfo() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InvalidateScrollInfo(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsDeferredScrollingEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsDeferredScrollingEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsDeferredScrollingEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsDeferredScrollingEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BringIntoViewOnFocusChange(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BringIntoViewOnFocusChange()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BringIntoViewOnFocusChange(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BringIntoViewOnFocusChange(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_HorizontalSnapPointsAlignmentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalSnapPointsAlignmentProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalSnapPointsAlignmentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalSnapPointsAlignmentProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalSnapPointsTypeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalSnapPointsTypeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalSnapPointsTypeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalSnapPointsTypeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ZoomSnapPointsTypeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZoomSnapPointsTypeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalOffsetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalOffsetProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ViewportWidthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ViewportWidthProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ScrollableWidthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScrollableWidthProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ComputedHorizontalScrollBarVisibilityProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ComputedHorizontalScrollBarVisibilityProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExtentWidthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExtentWidthProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalOffsetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalOffsetProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ViewportHeightProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ViewportHeightProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ScrollableHeightProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScrollableHeightProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ComputedVerticalScrollBarVisibilityProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ComputedVerticalScrollBarVisibilityProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExtentHeightProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExtentHeightProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinZoomFactorProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinZoomFactorProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxZoomFactorProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxZoomFactorProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ZoomFactorProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZoomFactorProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ZoomSnapPointsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZoomSnapPointsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TopLeftHeaderProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TopLeftHeaderProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LeftHeaderProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LeftHeaderProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TopHeaderProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TopHeaderProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ReduceViewportForCoreInputViewOcclusionsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ReduceViewportForCoreInputViewOcclusionsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalAnchorRatioProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalAnchorRatioProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalAnchorRatioProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalAnchorRatioProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalScrollBarVisibilityProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalScrollBarVisibilityProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetHorizontalScrollBarVisibility(void* element, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetHorizontalScrollBarVisibility(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetHorizontalScrollBarVisibility(void* element, int32_t horizontalScrollBarVisibility) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetHorizontalScrollBarVisibility(*reinterpret_cast(&element), *reinterpret_cast(&horizontalScrollBarVisibility)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalScrollBarVisibilityProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalScrollBarVisibilityProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetVerticalScrollBarVisibility(void* element, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetVerticalScrollBarVisibility(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetVerticalScrollBarVisibility(void* element, int32_t verticalScrollBarVisibility) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetVerticalScrollBarVisibility(*reinterpret_cast(&element), *reinterpret_cast(&verticalScrollBarVisibility)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsHorizontalRailEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsHorizontalRailEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetIsHorizontalRailEnabled(void* element, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetIsHorizontalRailEnabled(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetIsHorizontalRailEnabled(void* element, bool isHorizontalRailEnabled) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetIsHorizontalRailEnabled(*reinterpret_cast(&element), isHorizontalRailEnabled); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsVerticalRailEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsVerticalRailEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetIsVerticalRailEnabled(void* element, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetIsVerticalRailEnabled(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetIsVerticalRailEnabled(void* element, bool isVerticalRailEnabled) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetIsVerticalRailEnabled(*reinterpret_cast(&element), isVerticalRailEnabled); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsHorizontalScrollChainingEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsHorizontalScrollChainingEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetIsHorizontalScrollChainingEnabled(void* element, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetIsHorizontalScrollChainingEnabled(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetIsHorizontalScrollChainingEnabled(void* element, bool isHorizontalScrollChainingEnabled) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetIsHorizontalScrollChainingEnabled(*reinterpret_cast(&element), isHorizontalScrollChainingEnabled); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsVerticalScrollChainingEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsVerticalScrollChainingEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetIsVerticalScrollChainingEnabled(void* element, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetIsVerticalScrollChainingEnabled(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetIsVerticalScrollChainingEnabled(void* element, bool isVerticalScrollChainingEnabled) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetIsVerticalScrollChainingEnabled(*reinterpret_cast(&element), isVerticalScrollChainingEnabled); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsZoomChainingEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsZoomChainingEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetIsZoomChainingEnabled(void* element, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetIsZoomChainingEnabled(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetIsZoomChainingEnabled(void* element, bool isZoomChainingEnabled) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetIsZoomChainingEnabled(*reinterpret_cast(&element), isZoomChainingEnabled); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsScrollInertiaEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsScrollInertiaEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetIsScrollInertiaEnabled(void* element, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetIsScrollInertiaEnabled(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetIsScrollInertiaEnabled(void* element, bool isScrollInertiaEnabled) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetIsScrollInertiaEnabled(*reinterpret_cast(&element), isScrollInertiaEnabled); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsZoomInertiaEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsZoomInertiaEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetIsZoomInertiaEnabled(void* element, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetIsZoomInertiaEnabled(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetIsZoomInertiaEnabled(void* element, bool isZoomInertiaEnabled) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetIsZoomInertiaEnabled(*reinterpret_cast(&element), isZoomInertiaEnabled); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalScrollModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalScrollModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetHorizontalScrollMode(void* element, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetHorizontalScrollMode(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetHorizontalScrollMode(void* element, int32_t horizontalScrollMode) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetHorizontalScrollMode(*reinterpret_cast(&element), *reinterpret_cast(&horizontalScrollMode)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalScrollModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalScrollModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetVerticalScrollMode(void* element, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetVerticalScrollMode(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetVerticalScrollMode(void* element, int32_t verticalScrollMode) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetVerticalScrollMode(*reinterpret_cast(&element), *reinterpret_cast(&verticalScrollMode)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ZoomModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZoomModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetZoomMode(void* element, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetZoomMode(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetZoomMode(void* element, int32_t zoomMode) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetZoomMode(*reinterpret_cast(&element), *reinterpret_cast(&zoomMode)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanContentRenderOutsideBoundsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanContentRenderOutsideBoundsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetCanContentRenderOutsideBounds(void* element, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetCanContentRenderOutsideBounds(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetCanContentRenderOutsideBounds(void* element, bool canContentRenderOutsideBounds) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetCanContentRenderOutsideBounds(*reinterpret_cast(&element), canContentRenderOutsideBounds); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsDeferredScrollingEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsDeferredScrollingEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetIsDeferredScrollingEnabled(void* element, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetIsDeferredScrollingEnabled(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetIsDeferredScrollingEnabled(void* element, bool isDeferredScrollingEnabled) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetIsDeferredScrollingEnabled(*reinterpret_cast(&element), isDeferredScrollingEnabled); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BringIntoViewOnFocusChangeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BringIntoViewOnFocusChangeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetBringIntoViewOnFocusChange(void* element, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetBringIntoViewOnFocusChange(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetBringIntoViewOnFocusChange(void* element, bool bringIntoViewOnFocusChange) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetBringIntoViewOnFocusChange(*reinterpret_cast(&element), bringIntoViewOnFocusChange); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_HorizontalOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ZoomFactor(float* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZoomFactor()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsIntermediate(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsIntermediate()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_NextView(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NextView()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FinalView(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FinalView()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsInertial(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsInertial()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_AnchorCandidates(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().AnchorCandidates()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AnchorElement(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AnchorElement()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AnchorElement(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AnchorElement(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_SnapPointsMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SnapPointsMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SnapPointsMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SnapPointsMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RequestEventArgs(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RequestEventArgs()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TargetHorizontalOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TargetHorizontalOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TargetVerticalOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TargetVerticalOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CorrelationId(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CorrelationId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Cancel(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Cancel()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Cancel(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Cancel(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Animation(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Animation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Animation(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Animation(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_StartPosition(winrt::Windows::Foundation::Numerics::float2* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().StartPosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EndPosition(winrt::Windows::Foundation::Numerics::float2* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().EndPosition()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CorrelationId(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CorrelationId()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CorrelationId(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CorrelationId()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_AnimationMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AnimationMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AnimationMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AnimationMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SnapPointsMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SnapPointsMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SnapPointsMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SnapPointsMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(int32_t animationMode, 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(&animationMode), *reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateInstance2(int32_t animationMode, int32_t snapPointsMode, 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().CreateInstance2(*reinterpret_cast(&animationMode), *reinterpret_cast(&snapPointsMode), *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_CenterPoint(winrt::Windows::Foundation::Numerics::float2* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CenterPoint()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_StartZoomFactor(float* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().StartZoomFactor()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EndZoomFactor(float* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().EndZoomFactor()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Animation(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Animation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Animation(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Animation(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CorrelationId(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CorrelationId()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CorrelationId(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CorrelationId()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_AnimationMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AnimationMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AnimationMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AnimationMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SnapPointsMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SnapPointsMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SnapPointsMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SnapPointsMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(int32_t animationMode, 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(&animationMode), *reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateInstance2(int32_t animationMode, int32_t snapPointsMode, 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().CreateInstance2(*reinterpret_cast(&animationMode), *reinterpret_cast(&snapPointsMode), *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_AddedSections(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().AddedSections()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RemovedSections(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().RemovedSections()); 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_AddedItems(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().AddedItems()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RemovedItems(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().RemovedItems()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithRemovedItemsAndAddedItems(void* removedItems, void* addedItems, 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().CreateInstanceWithRemovedItemsAndAddedItems(*reinterpret_cast const*>(&removedItems), *reinterpret_cast const*>(&addedItems), *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_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_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 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; } }; #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_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_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(); } }; #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_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_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(); } }; #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_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_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_ZoomedInView(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZoomedInView()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ZoomedInView(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ZoomedInView(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ZoomedOutView(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZoomedOutView()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ZoomedOutView(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ZoomedOutView(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsZoomedInViewActive(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsZoomedInViewActive()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsZoomedInViewActive(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsZoomedInViewActive(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanChangeViews(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanChangeViews()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CanChangeViews(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CanChangeViews(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_ViewChangeStarted(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ViewChangeStarted(*reinterpret_cast(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ViewChangeStarted(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ViewChangeStarted(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_ViewChangeCompleted(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ViewChangeCompleted(*reinterpret_cast(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ViewChangeCompleted(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ViewChangeCompleted(*reinterpret_cast(&token)); return 0; } int32_t __stdcall ToggleActiveView() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ToggleActiveView(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsZoomOutButtonEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsZoomOutButtonEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsZoomOutButtonEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsZoomOutButtonEnabled(value); return 0; } catch (...) { return to_hresult(); } }; #endif template struct produce : produce_base { int32_t __stdcall get_SemanticZoomOwner(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SemanticZoomOwner()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SemanticZoomOwner(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SemanticZoomOwner(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsActiveView(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsActiveView()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsActiveView(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsActiveView(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsZoomedInView(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsZoomedInView()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsZoomedInView(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsZoomedInView(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall InitializeViewChange() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InitializeViewChange(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CompleteViewChange() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CompleteViewChange(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall MakeVisible(void* item) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MakeVisible(*reinterpret_cast(&item)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall StartViewChangeFrom(void* source, void* destination) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StartViewChangeFrom(*reinterpret_cast(&source), *reinterpret_cast(&destination)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall StartViewChangeTo(void* source, void* destination) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StartViewChangeTo(*reinterpret_cast(&source), *reinterpret_cast(&destination)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CompleteViewChangeFrom(void* source, void* destination) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CompleteViewChangeFrom(*reinterpret_cast(&source), *reinterpret_cast(&destination)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CompleteViewChangeTo(void* source, void* destination) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CompleteViewChangeTo(*reinterpret_cast(&source), *reinterpret_cast(&destination)); return 0; } catch (...) { return to_hresult(); } }; #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 put_Item(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Item(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Bounds(winrt::Windows::Foundation::Rect* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Bounds()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Bounds(winrt::Windows::Foundation::Rect value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Bounds(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ZoomedInViewProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZoomedInViewProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ZoomedOutViewProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZoomedOutViewProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsZoomedInViewActiveProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsZoomedInViewActiveProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanChangeViewsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanChangeViewsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsZoomOutButtonEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsZoomOutButtonEnabledProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsSourceZoomedInView(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSourceZoomedInView()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsSourceZoomedInView(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsSourceZoomedInView(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SourceItem(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SourceItem()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SourceItem(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SourceItem(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DestinationItem(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DestinationItem()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DestinationItem(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DestinationItem(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IntermediateValue(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IntermediateValue()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IntermediateValue(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IntermediateValue(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_StepFrequency(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().StepFrequency()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_StepFrequency(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StepFrequency(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SnapsTo(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SnapsTo()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SnapsTo(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SnapsTo(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TickFrequency(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TickFrequency()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TickFrequency(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TickFrequency(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TickPlacement(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TickPlacement()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TickPlacement(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TickPlacement(*reinterpret_cast(&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_IsDirectionReversed(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsDirectionReversed()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsDirectionReversed(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsDirectionReversed(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsThumbToolTipEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsThumbToolTipEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsThumbToolTipEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsThumbToolTipEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ThumbToolTipValueConverter(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ThumbToolTipValueConverter()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ThumbToolTipValueConverter(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ThumbToolTipValueConverter(*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(); } }; #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_IntermediateValueProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IntermediateValueProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_StepFrequencyProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().StepFrequencyProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SnapsToProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SnapsToProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TickFrequencyProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TickFrequencyProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TickPlacementProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TickPlacementProperty()); 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_IsDirectionReversedProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsDirectionReversedProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsThumbToolTipEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsThumbToolTipEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ThumbToolTipValueConverterProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ThumbToolTipValueConverterProperty()); 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_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_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_Pane(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Pane()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Pane(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Pane(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } 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_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_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_PanePlacement(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PanePlacement()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PanePlacement(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PanePlacement(*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 put_DisplayMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DisplayMode(*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_PaneBackground(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PaneBackground()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PaneBackground(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PaneBackground(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LightDismissOverlayMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LightDismissOverlayMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LightDismissOverlayMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LightDismissOverlayMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } 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_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_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 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; } }; #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_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_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_PaneProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PaneProperty()); return 0; } catch (...) { return to_hresult(); } 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_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_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_PanePlacementProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PanePlacementProperty()); 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_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_PaneBackgroundProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PaneBackgroundProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LightDismissOverlayModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LightDismissOverlayModeProperty()); 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_AreScrollSnapPointsRegular(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AreScrollSnapPointsRegular()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AreScrollSnapPointsRegular(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AreScrollSnapPointsRegular(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_BackgroundSizing(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BackgroundSizing()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BackgroundSizing(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BackgroundSizing(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BorderBrush(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BorderBrush()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BorderBrush(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BorderBrush(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BorderThickness(struct struct_Microsoft_UI_Xaml_Thickness* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BorderThickness()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BorderThickness(struct struct_Microsoft_UI_Xaml_Thickness value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BorderThickness(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CornerRadius(struct struct_Microsoft_UI_Xaml_CornerRadius* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CornerRadius()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CornerRadius(struct struct_Microsoft_UI_Xaml_CornerRadius value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CornerRadius(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Padding(struct struct_Microsoft_UI_Xaml_Thickness* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Padding()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Padding(struct struct_Microsoft_UI_Xaml_Thickness value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Padding(*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_AreScrollSnapPointsRegularProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AreScrollSnapPointsRegularProperty()); 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_BackgroundSizingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BackgroundSizingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BorderBrushProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BorderBrushProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BorderThicknessProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BorderThicknessProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CornerRadiusProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CornerRadiusProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PaddingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PaddingProperty()); 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 SelectStyle(void* item, void* container, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().SelectStyle(*reinterpret_cast(&item), *reinterpret_cast(&container))); 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 SelectStyleCore(void* item, void* container, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().SelectStyleCore(*reinterpret_cast(&item), *reinterpret_cast(&container))); 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 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_CompositionScaleX(float* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CompositionScaleX()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CompositionScaleY(float* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CompositionScaleY()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_CompositionScaleChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().CompositionScaleChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_CompositionScaleChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().CompositionScaleChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall CreateCoreIndependentInputSource(uint32_t deviceKinds, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateCoreIndependentInputSource(*reinterpret_cast(&deviceKinds))); 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_CompositionScaleXProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CompositionScaleXProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CompositionScaleYProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CompositionScaleYProperty()); 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 CreateInstanceWithSymbol(int32_t symbol, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstanceWithSymbol(*reinterpret_cast(&symbol))); 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_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 get_CanTearOutTabs(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanTearOutTabs()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CanTearOutTabs(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CanTearOutTabs(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_TabTearOutWindowRequested(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().TabTearOutWindowRequested(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_TabTearOutWindowRequested(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().TabTearOutWindowRequested(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_TabTearOutRequested(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().TabTearOutRequested(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_TabTearOutRequested(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().TabTearOutRequested(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_ExternalTornOutTabsDropping(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ExternalTornOutTabsDropping(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ExternalTornOutTabsDropping(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ExternalTornOutTabsDropping(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_ExternalTornOutTabsDropped(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ExternalTornOutTabsDropped(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ExternalTornOutTabsDropped(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ExternalTornOutTabsDropped(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Items(uint32_t* __valueSize, void*** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); std::tie(*__valueSize, *value) = detach_abi(this->shim().Items()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Tabs(uint32_t* __valueSize, void*** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); std::tie(*__valueSize, *value) = detach_abi(this->shim().Tabs()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DropIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DropIndex()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Items(uint32_t* __valueSize, void*** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); std::tie(*__valueSize, *value) = detach_abi(this->shim().Items()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Tabs(uint32_t* __valueSize, void*** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); std::tie(*__valueSize, *value) = detach_abi(this->shim().Tabs()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DropIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DropIndex()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AllowDrop(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AllowDrop()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AllowDrop(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AllowDrop(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_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_CanTearOutTabsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanTearOutTabsProperty()); 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_Items(uint32_t* __valueSize, void*** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); std::tie(*__valueSize, *value) = detach_abi(this->shim().Items()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Tabs(uint32_t* __valueSize, void*** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); std::tie(*__valueSize, *value) = detach_abi(this->shim().Tabs()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NewWindowId(struct struct_Microsoft_UI_WindowId* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NewWindowId()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Items(uint32_t* __valueSize, void*** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); std::tie(*__valueSize, *value) = detach_abi(this->shim().Items()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Tabs(uint32_t* __valueSize, void*** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); std::tie(*__valueSize, *value) = detach_abi(this->shim().Tabs()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NewWindowId(struct struct_Microsoft_UI_WindowId* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NewWindowId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_NewWindowId(struct struct_Microsoft_UI_WindowId value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().NewWindowId(*reinterpret_cast(&value)); 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_Microsoft_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_Microsoft_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_Microsoft_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_Microsoft_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_Microsoft_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_Microsoft_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 { 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_FontStretch(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FontStretch()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FontStretch(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FontStretch(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CharacterSpacing(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CharacterSpacing()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CharacterSpacing(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CharacterSpacing(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_TextWrapping(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextWrapping()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TextWrapping(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TextWrapping(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextTrimming(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextTrimming()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TextTrimming(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TextTrimming(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextAlignment(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextAlignment()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TextAlignment(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TextAlignment(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Text(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Text()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Text(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Text(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Inlines(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Inlines()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Padding(struct struct_Microsoft_UI_Xaml_Thickness* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Padding()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Padding(struct struct_Microsoft_UI_Xaml_Thickness value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Padding(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LineHeight(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LineHeight()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LineHeight(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LineHeight(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LineStackingStrategy(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LineStackingStrategy()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LineStackingStrategy(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LineStackingStrategy(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsTextSelectionEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsTextSelectionEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsTextSelectionEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsTextSelectionEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedText(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedText()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentStart(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentStart()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ContentEnd(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ContentEnd()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectionStart(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectionStart()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectionEnd(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectionEnd()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BaselineOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BaselineOffset()); 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_MaxLines(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxLines()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxLines(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxLines(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextLineBounds(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextLineBounds()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TextLineBounds(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TextLineBounds(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OpticalMarginAlignment(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OpticalMarginAlignment()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_OpticalMarginAlignment(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OpticalMarginAlignment(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsColorFontEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsColorFontEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsColorFontEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsColorFontEnabled(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_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_TextDecorations(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextDecorations()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TextDecorations(uint32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TextDecorations(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsTextTrimmed(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsTextTrimmed()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalTextAlignment(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalTextAlignment()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HorizontalTextAlignment(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HorizontalTextAlignment(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextHighlighters(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().TextHighlighters()); 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 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_ContextMenuOpening(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ContextMenuOpening(*reinterpret_cast(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ContextMenuOpening(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ContextMenuOpening(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_IsTextTrimmedChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().IsTextTrimmedChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_IsTextTrimmedChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().IsTextTrimmedChanged(*reinterpret_cast(&token)); return 0; } 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 Select(void* start, void* end) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Select(*reinterpret_cast(&start), *reinterpret_cast(&end)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetAlphaMask(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetAlphaMask()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CopySelectionToClipboard() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CopySelectionToClipboard(); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { 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_FontStretchProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FontStretchProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CharacterSpacingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CharacterSpacingProperty()); 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_TextWrappingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextWrappingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextTrimmingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextTrimmingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextAlignmentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextAlignmentProperty()); 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_PaddingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PaddingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LineHeightProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LineHeightProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LineStackingStrategyProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LineStackingStrategyProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsTextSelectionEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsTextSelectionEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedTextProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedTextProperty()); 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_MaxLinesProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxLinesProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextLineBoundsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextLineBoundsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OpticalMarginAlignmentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OpticalMarginAlignmentProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsColorFontEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsColorFontEnabledProperty()); 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_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_TextDecorationsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextDecorationsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsTextTrimmedProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsTextTrimmedProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalTextAlignmentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalTextAlignmentProperty()); 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(); } }; #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_SelectedText(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedText()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SelectedText(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectedText(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectionLength(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectionLength()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SelectionLength(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectionLength(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectionStart(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectionStart()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SelectionStart(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectionStart(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxLength(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxLength()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MaxLength(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MaxLength(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_AcceptsReturn(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AcceptsReturn()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AcceptsReturn(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AcceptsReturn(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextAlignment(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextAlignment()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TextAlignment(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TextAlignment(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextWrapping(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextWrapping()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TextWrapping(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TextWrapping(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsSpellCheckEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSpellCheckEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsSpellCheckEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsSpellCheckEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsTextPredictionEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsTextPredictionEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsTextPredictionEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsTextPredictionEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_InputScope(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InputScope()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_InputScope(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InputScope(*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_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_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_IsColorFontEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsColorFontEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsColorFontEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsColorFontEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectionHighlightColorWhenNotFocused(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectionHighlightColorWhenNotFocused()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SelectionHighlightColorWhenNotFocused(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectionHighlightColorWhenNotFocused(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalTextAlignment(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalTextAlignment()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HorizontalTextAlignment(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HorizontalTextAlignment(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CharacterCasing(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CharacterCasing()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CharacterCasing(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CharacterCasing(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PlaceholderForeground(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PlaceholderForeground()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PlaceholderForeground(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PlaceholderForeground(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanPasteClipboardContent(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanPasteClipboardContent()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanUndo(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanUndo()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanRedo(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanRedo()); 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_ProofingMenuFlyout(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ProofingMenuFlyout()); 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 add_TextChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().TextChanged(*reinterpret_cast(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_TextChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().TextChanged(*reinterpret_cast(&token)); return 0; } 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_ContextMenuOpening(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ContextMenuOpening(*reinterpret_cast(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ContextMenuOpening(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ContextMenuOpening(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_Paste(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Paste(*reinterpret_cast(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Paste(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Paste(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_TextCompositionStarted(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().TextCompositionStarted(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_TextCompositionStarted(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().TextCompositionStarted(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_TextCompositionChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().TextCompositionChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_TextCompositionChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().TextCompositionChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_TextCompositionEnded(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().TextCompositionEnded(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_TextCompositionEnded(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().TextCompositionEnded(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_CopyingToClipboard(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().CopyingToClipboard(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_CopyingToClipboard(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().CopyingToClipboard(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_CuttingToClipboard(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().CuttingToClipboard(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_CuttingToClipboard(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().CuttingToClipboard(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_BeforeTextChanging(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().BeforeTextChanging(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_BeforeTextChanging(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().BeforeTextChanging(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_SelectionChanging(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().SelectionChanging(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_SelectionChanging(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().SelectionChanging(*reinterpret_cast(&token)); return 0; } int32_t __stdcall Select(int32_t start, int32_t length) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Select(start, length); 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 GetRectFromCharacterIndex(int32_t charIndex, bool trailingEdge, winrt::Windows::Foundation::Rect* result) noexcept final try { zero_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetRectFromCharacterIndex(charIndex, trailingEdge)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetLinguisticAlternativesAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>>(this->shim().GetLinguisticAlternativesAsync()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Undo() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Undo(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Redo() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Redo(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall PasteFromClipboard() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PasteFromClipboard(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CopySelectionToClipboard() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CopySelectionToClipboard(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CutSelectionToClipboard() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CutSelectionToClipboard(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ClearUndoRedoHistory() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ClearUndoRedoHistory(); 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_DesiredCandidateWindowAlignment(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DesiredCandidateWindowAlignment()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DesiredCandidateWindowAlignment(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DesiredCandidateWindowAlignment(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_CandidateWindowBoundsChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().CandidateWindowBoundsChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_CandidateWindowBoundsChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().CandidateWindowBoundsChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_TextChanging(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().TextChanging(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_TextChanging(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().TextChanging(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_NewText(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NewText()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Cancel(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Cancel()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Cancel(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Cancel(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall 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_SelectionStart(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectionStart()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectionLength(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectionLength()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Cancel(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Cancel()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Cancel(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Cancel(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall 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_MaxLengthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxLengthProperty()); 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_AcceptsReturnProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AcceptsReturnProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextAlignmentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextAlignmentProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TextWrappingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TextWrappingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsSpellCheckEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsSpellCheckEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsTextPredictionEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsTextPredictionEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_InputScopeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InputScopeProperty()); 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_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_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_IsColorFontEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsColorFontEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectionHighlightColorWhenNotFocusedProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectionHighlightColorWhenNotFocusedProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HorizontalTextAlignmentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalTextAlignmentProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CharacterCasingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CharacterCasingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PlaceholderForegroundProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PlaceholderForegroundProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanPasteClipboardContentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanPasteClipboardContentProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanUndoProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanUndoProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanRedoProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanRedoProperty()); 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_ProofingMenuFlyoutProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ProofingMenuFlyoutProperty()); 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_DesiredCandidateWindowAlignmentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DesiredCandidateWindowAlignmentProperty()); 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(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsContentChanging(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsContentChanging()); 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_StartIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().StartIndex()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Length(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Length()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_StartIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().StartIndex()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Length(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Length()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_StartIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().StartIndex()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Length(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Length()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Handled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Handled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Handled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Handled(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Handled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Handled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Handled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Handled(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Handled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Handled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Handled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Handled(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_OldTime(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OldTime()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NewTime(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NewTime()); 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_ClockIdentifier(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ClockIdentifier()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ClockIdentifier(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ClockIdentifier(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinuteIncrement(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinuteIncrement()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MinuteIncrement(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MinuteIncrement(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Time(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Time()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Time(int64_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Time(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LightDismissOverlayMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LightDismissOverlayMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LightDismissOverlayMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LightDismissOverlayMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedTime(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().SelectedTime()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SelectedTime(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SelectedTime(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_TimeChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().TimeChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_TimeChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().TimeChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_SelectedTimeChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().SelectedTimeChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_SelectedTimeChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().SelectedTimeChanged(*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_ClockIdentifier(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ClockIdentifier()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ClockIdentifier(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ClockIdentifier(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Time(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Time()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Time(int64_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Time(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinuteIncrement(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinuteIncrement()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MinuteIncrement(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MinuteIncrement(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_TimePicked(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().TimePicked(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_TimePicked(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().TimePicked(*reinterpret_cast(&token)); return 0; } int32_t __stdcall ShowAtAsync(void* target, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>>(this->shim().ShowAtAsync(*reinterpret_cast(&target))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsDefaultShadowEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsDefaultShadowEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsDefaultShadowEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsDefaultShadowEnabled(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsDefaultShadowEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsDefaultShadowEnabledProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ClockIdentifierProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ClockIdentifierProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TimeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TimeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinuteIncrementProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinuteIncrementProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_OldTime(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().OldTime()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NewTime(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().NewTime()); 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_ClockIdentifierProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ClockIdentifierProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinuteIncrementProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinuteIncrementProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TimeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TimeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LightDismissOverlayModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LightDismissOverlayModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SelectedTimeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SelectedTimeProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_OldTime(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OldTime()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NewTime(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NewTime()); 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_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_LeftHeader(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LeftHeader()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LeftHeader(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LeftHeader(*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_RightHeader(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RightHeader()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_RightHeader(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RightHeader(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsBackButtonVisible(bool* 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(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsBackButtonVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsBackButtonEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsBackButtonEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsBackButtonEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsBackButtonEnabled(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_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_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_PaneToggleRequested(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().PaneToggleRequested(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_PaneToggleRequested(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().PaneToggleRequested(*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* owner, 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(&owner), *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 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_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_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_LeftHeaderProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LeftHeaderProperty()); 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_RightHeaderProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RightHeaderProperty()); return 0; } catch (...) { return to_hresult(); } 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_IsBackButtonEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsBackButtonEnabledProperty()); 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_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_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(); } }; #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(); } }; #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_IsOn(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsOn()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsOn(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsOn(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_OnContent(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OnContent()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_OnContent(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnContent(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OnContentTemplate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OnContentTemplate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_OnContentTemplate(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnContentTemplate(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OffContent(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OffContent()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_OffContent(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OffContent(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OffContentTemplate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OffContentTemplate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_OffContentTemplate(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OffContentTemplate(*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_Toggled(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Toggled(*reinterpret_cast(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Toggled(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Toggled(*reinterpret_cast(&token)); return 0; } }; #endif template struct produce : produce_base { int32_t __stdcall OnToggled() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnToggled(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnOnContentChanged(void* oldContent, void* newContent) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnOnContentChanged(*reinterpret_cast(&oldContent), *reinterpret_cast(&newContent)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnOffContentChanged(void* oldContent, void* newContent) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnOffContentChanged(*reinterpret_cast(&oldContent), *reinterpret_cast(&newContent)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnHeaderChanged(void* oldContent, void* newContent) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnHeaderChanged(*reinterpret_cast(&oldContent), *reinterpret_cast(&newContent)); return 0; } catch (...) { return to_hresult(); } }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsOnProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsOnProperty()); 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_OnContentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OnContentProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OnContentTemplateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OnContentTemplateProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OffContentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OffContentProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OffContentTemplateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OffContentTemplateProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_HorizontalOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HorizontalOffset(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HorizontalOffset(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_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_Placement(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Placement()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Placement(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Placement(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PlacementTarget(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PlacementTarget()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PlacementTarget(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PlacementTarget(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PlacementRect(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().PlacementRect()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PlacementRect(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PlacementRect(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalOffset(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalOffset()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_VerticalOffset(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().VerticalOffset(value); return 0; } catch (...) { return to_hresult(); } 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_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(&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; } int32_t __stdcall add_Opened(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Opened(*reinterpret_cast(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Opened(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Opened(*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_PlacementProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PlacementProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetPlacement(void* element, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetPlacement(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetPlacement(void* element, int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetPlacement(*reinterpret_cast(&element), *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PlacementTargetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PlacementTargetProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetPlacementTarget(void* element, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetPlacementTarget(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetPlacementTarget(void* element, void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetPlacementTarget(*reinterpret_cast(&element), *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ToolTipProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ToolTipProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetToolTip(void* element, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetToolTip(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetToolTip(void* element, void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetToolTip(*reinterpret_cast(&element), *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_HorizontalOffsetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalOffsetProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_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_PlacementProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PlacementProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PlacementTargetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PlacementTargetProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PlacementRectProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PlacementRectProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalOffsetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalOffsetProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_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 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; } }; #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_Microsoft_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_AddedItems(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().AddedItems()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RemovedItems(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().RemovedItems()); 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_Microsoft_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_Microsoft_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_Microsoft_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_Microsoft_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 Move(uint32_t oldIndex, uint32_t newIndex) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Move(oldIndex, newIndex); 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 { 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(); } }; #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(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ItemHeight(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemHeight()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ItemHeight(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ItemHeight(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemWidth(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemWidth()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ItemWidth(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ItemWidth(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_HorizontalChildrenAlignment(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalChildrenAlignment()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HorizontalChildrenAlignment(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HorizontalChildrenAlignment(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalChildrenAlignment(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalChildrenAlignment()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_VerticalChildrenAlignment(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().VerticalChildrenAlignment(*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 get_ItemHeightProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemHeightProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemWidthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemWidthProperty()); 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_HorizontalChildrenAlignmentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalChildrenAlignmentProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalChildrenAlignmentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalChildrenAlignmentProperty()); 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(); } int32_t __stdcall get_RowSpanProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RowSpanProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetRowSpan(void* element, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetRowSpan(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetRowSpan(void* element, int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetRowSpan(*reinterpret_cast(&element), value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ColumnSpanProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ColumnSpanProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetColumnSpan(void* element, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetColumnSpan(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetColumnSpan(void* element, int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetColumnSpan(*reinterpret_cast(&element), value); 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_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 get_StretchDirection(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().StretchDirection()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_StretchDirection(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StretchDirection(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { 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(); } int32_t __stdcall get_StretchDirectionProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().StretchDirectionProperty()); 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 get_VisibleRect(winrt::Windows::Foundation::Rect* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VisibleRect()); 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(); } }; template struct produce : produce_base { int32_t __stdcall VisibleRectCore(winrt::Windows::Foundation::Rect* result) noexcept final try { zero_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().VisibleRectCore()); 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_ItemContainerGenerator(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemContainerGenerator()); 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 OnItemsChanged(void* sender, void* args) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnItemsChanged(*reinterpret_cast(&sender), *reinterpret_cast(&args)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall OnClearChildren() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnClearChildren(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall BringIndexIntoView(int32_t index) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BringIndexIntoView(index); return 0; } catch (...) { return to_hresult(); } }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall AddInternalChild(void* child) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AddInternalChild(*reinterpret_cast(&child)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall InsertInternalChild(int32_t index, void* child) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InsertInternalChild(index, *reinterpret_cast(&child)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RemoveInternalChildRange(int32_t index, int32_t range) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RemoveInternalChildRange(index, range); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_AreScrollSnapPointsRegular(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AreScrollSnapPointsRegular()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AreScrollSnapPointsRegular(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AreScrollSnapPointsRegular(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 add_CleanUpVirtualizedItemEvent(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().CleanUpVirtualizedItemEvent(*reinterpret_cast(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_CleanUpVirtualizedItemEvent(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().CleanUpVirtualizedItemEvent(*reinterpret_cast(&token)); return 0; } }; #endif template struct produce : produce_base { int32_t __stdcall OnCleanUpVirtualizedItem(void* e) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OnCleanUpVirtualizedItem(*reinterpret_cast(&e)); return 0; } catch (...) { return to_hresult(); } }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_AreScrollSnapPointsRegularProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AreScrollSnapPointsRegularProperty()); 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_VirtualizationModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VirtualizationModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetVirtualizationMode(void* element, int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetVirtualizationMode(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetVirtualizationMode(void* element, int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetVirtualizationMode(*reinterpret_cast(&element), *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsVirtualizingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsVirtualizingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetIsVirtualizing(void* o, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetIsVirtualizing(*reinterpret_cast(&o))); return 0; } catch (...) { return to_hresult(); } }; #endif #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 get_DefaultBackgroundColor(struct struct_Windows_UI_Color* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DefaultBackgroundColor()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DefaultBackgroundColor(struct struct_Windows_UI_Color value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DefaultBackgroundColor(*reinterpret_cast(&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 EnsureCoreWebView2WithEnvironmentAsync(void* environment, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from(this->shim().EnsureCoreWebView2Async(*reinterpret_cast(&environment))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall EnsureCoreWebView2WithEnvironmentAndOptionsAsync(void* environment, void* controllerOptions, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from(this->shim().EnsureCoreWebView2Async(*reinterpret_cast(&environment), *reinterpret_cast(&controllerOptions))); 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_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(); } int32_t __stdcall get_DefaultBackgroundColorProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DefaultBackgroundColorProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ItemWidth(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemWidth()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ItemWidth(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ItemWidth(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemHeight(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemHeight()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ItemHeight(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ItemHeight(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_HorizontalChildrenAlignment(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalChildrenAlignment()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_HorizontalChildrenAlignment(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().HorizontalChildrenAlignment(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalChildrenAlignment(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalChildrenAlignment()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_VerticalChildrenAlignment(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().VerticalChildrenAlignment(*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 get_ItemWidthProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemWidthProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemHeightProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemHeightProperty()); 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_HorizontalChildrenAlignmentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HorizontalChildrenAlignmentProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VerticalChildrenAlignmentProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VerticalChildrenAlignmentProperty()); 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 { int32_t __stdcall get_UseCompactResources(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().UseCompactResources()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_UseCompactResources(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().UseCompactResources(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(); } int32_t __stdcall get_UseCompactResourcesProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().UseCompactResourcesProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif template struct WINRT_IMPL_EMPTY_BASES produce_dispatch_to_overridable : produce_dispatch_to_overridable_base { auto OnClosed(winrt::Windows::Foundation::IInspectable const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnClosed(e); } return this->shim().OnClosed(e); } auto OnOpened(winrt::Windows::Foundation::IInspectable const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnOpened(e); } return this->shim().OnOpened(e); } auto OnClosing(winrt::Windows::Foundation::IInspectable const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnClosing(e); } return this->shim().OnClosing(e); } auto OnOpening(winrt::Windows::Foundation::IInspectable const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnOpening(e); } return this->shim().OnOpening(e); } }; template struct WINRT_IMPL_EMPTY_BASES produce_dispatch_to_overridable : produce_dispatch_to_overridable_base { auto OnDropDownClosed(winrt::Windows::Foundation::IInspectable const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnDropDownClosed(e); } return this->shim().OnDropDownClosed(e); } auto OnDropDownOpened(winrt::Windows::Foundation::IInspectable const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnDropDownOpened(e); } return this->shim().OnDropDownOpened(e); } }; template struct WINRT_IMPL_EMPTY_BASES produce_dispatch_to_overridable : produce_dispatch_to_overridable_base { auto OnContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) { if (auto overridable = this->shim_overridable()) { return overridable.OnContentChanged(oldContent, newContent); } return this->shim().OnContentChanged(oldContent, newContent); } auto OnContentTemplateChanged(winrt::Microsoft::UI::Xaml::DataTemplate const& oldContentTemplate, winrt::Microsoft::UI::Xaml::DataTemplate const& newContentTemplate) { if (auto overridable = this->shim_overridable()) { return overridable.OnContentTemplateChanged(oldContentTemplate, newContentTemplate); } return this->shim().OnContentTemplateChanged(oldContentTemplate, newContentTemplate); } auto OnContentTemplateSelectorChanged(winrt::Microsoft::UI::Xaml::Controls::DataTemplateSelector const& oldContentTemplateSelector, winrt::Microsoft::UI::Xaml::Controls::DataTemplateSelector const& newContentTemplateSelector) { if (auto overridable = this->shim_overridable()) { return overridable.OnContentTemplateSelectorChanged(oldContentTemplateSelector, newContentTemplateSelector); } return this->shim().OnContentTemplateSelectorChanged(oldContentTemplateSelector, newContentTemplateSelector); } }; template struct WINRT_IMPL_EMPTY_BASES produce_dispatch_to_overridable : produce_dispatch_to_overridable_base { auto OnContentTemplateChanged(winrt::Microsoft::UI::Xaml::DataTemplate const& oldContentTemplate, winrt::Microsoft::UI::Xaml::DataTemplate const& newContentTemplate) { if (auto overridable = this->shim_overridable()) { return overridable.OnContentTemplateChanged(oldContentTemplate, newContentTemplate); } return this->shim().OnContentTemplateChanged(oldContentTemplate, newContentTemplate); } auto OnContentTemplateSelectorChanged(winrt::Microsoft::UI::Xaml::Controls::DataTemplateSelector const& oldContentTemplateSelector, winrt::Microsoft::UI::Xaml::Controls::DataTemplateSelector const& newContentTemplateSelector) { if (auto overridable = this->shim_overridable()) { return overridable.OnContentTemplateSelectorChanged(oldContentTemplateSelector, newContentTemplateSelector); } return this->shim().OnContentTemplateSelectorChanged(oldContentTemplateSelector, newContentTemplateSelector); } }; template struct WINRT_IMPL_EMPTY_BASES produce_dispatch_to_overridable : produce_dispatch_to_overridable_base { auto OnPointerEntered(winrt::Microsoft::UI::Xaml::Input::PointerRoutedEventArgs const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnPointerEntered(e); } return this->shim().OnPointerEntered(e); } auto OnPointerPressed(winrt::Microsoft::UI::Xaml::Input::PointerRoutedEventArgs const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnPointerPressed(e); } return this->shim().OnPointerPressed(e); } auto OnPointerMoved(winrt::Microsoft::UI::Xaml::Input::PointerRoutedEventArgs const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnPointerMoved(e); } return this->shim().OnPointerMoved(e); } auto OnPointerReleased(winrt::Microsoft::UI::Xaml::Input::PointerRoutedEventArgs const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnPointerReleased(e); } return this->shim().OnPointerReleased(e); } auto OnPointerExited(winrt::Microsoft::UI::Xaml::Input::PointerRoutedEventArgs const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnPointerExited(e); } return this->shim().OnPointerExited(e); } auto OnPointerCaptureLost(winrt::Microsoft::UI::Xaml::Input::PointerRoutedEventArgs const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnPointerCaptureLost(e); } return this->shim().OnPointerCaptureLost(e); } auto OnPointerCanceled(winrt::Microsoft::UI::Xaml::Input::PointerRoutedEventArgs const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnPointerCanceled(e); } return this->shim().OnPointerCanceled(e); } auto OnPointerWheelChanged(winrt::Microsoft::UI::Xaml::Input::PointerRoutedEventArgs const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnPointerWheelChanged(e); } return this->shim().OnPointerWheelChanged(e); } auto OnTapped(winrt::Microsoft::UI::Xaml::Input::TappedRoutedEventArgs const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnTapped(e); } return this->shim().OnTapped(e); } auto OnDoubleTapped(winrt::Microsoft::UI::Xaml::Input::DoubleTappedRoutedEventArgs const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnDoubleTapped(e); } return this->shim().OnDoubleTapped(e); } auto OnHolding(winrt::Microsoft::UI::Xaml::Input::HoldingRoutedEventArgs const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnHolding(e); } return this->shim().OnHolding(e); } auto OnRightTapped(winrt::Microsoft::UI::Xaml::Input::RightTappedRoutedEventArgs const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnRightTapped(e); } return this->shim().OnRightTapped(e); } auto OnManipulationStarting(winrt::Microsoft::UI::Xaml::Input::ManipulationStartingRoutedEventArgs const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnManipulationStarting(e); } return this->shim().OnManipulationStarting(e); } auto OnManipulationInertiaStarting(winrt::Microsoft::UI::Xaml::Input::ManipulationInertiaStartingRoutedEventArgs const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnManipulationInertiaStarting(e); } return this->shim().OnManipulationInertiaStarting(e); } auto OnManipulationStarted(winrt::Microsoft::UI::Xaml::Input::ManipulationStartedRoutedEventArgs const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnManipulationStarted(e); } return this->shim().OnManipulationStarted(e); } auto OnManipulationDelta(winrt::Microsoft::UI::Xaml::Input::ManipulationDeltaRoutedEventArgs const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnManipulationDelta(e); } return this->shim().OnManipulationDelta(e); } auto OnManipulationCompleted(winrt::Microsoft::UI::Xaml::Input::ManipulationCompletedRoutedEventArgs const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnManipulationCompleted(e); } return this->shim().OnManipulationCompleted(e); } auto OnKeyUp(winrt::Microsoft::UI::Xaml::Input::KeyRoutedEventArgs const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnKeyUp(e); } return this->shim().OnKeyUp(e); } auto OnKeyDown(winrt::Microsoft::UI::Xaml::Input::KeyRoutedEventArgs const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnKeyDown(e); } return this->shim().OnKeyDown(e); } auto OnPreviewKeyDown(winrt::Microsoft::UI::Xaml::Input::KeyRoutedEventArgs const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnPreviewKeyDown(e); } return this->shim().OnPreviewKeyDown(e); } auto OnPreviewKeyUp(winrt::Microsoft::UI::Xaml::Input::KeyRoutedEventArgs const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnPreviewKeyUp(e); } return this->shim().OnPreviewKeyUp(e); } auto OnGotFocus(winrt::Microsoft::UI::Xaml::RoutedEventArgs const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnGotFocus(e); } return this->shim().OnGotFocus(e); } auto OnLostFocus(winrt::Microsoft::UI::Xaml::RoutedEventArgs const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnLostFocus(e); } return this->shim().OnLostFocus(e); } auto OnCharacterReceived(winrt::Microsoft::UI::Xaml::Input::CharacterReceivedRoutedEventArgs const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnCharacterReceived(e); } return this->shim().OnCharacterReceived(e); } auto OnDragEnter(winrt::Microsoft::UI::Xaml::DragEventArgs const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnDragEnter(e); } return this->shim().OnDragEnter(e); } auto OnDragLeave(winrt::Microsoft::UI::Xaml::DragEventArgs const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnDragLeave(e); } return this->shim().OnDragLeave(e); } auto OnDragOver(winrt::Microsoft::UI::Xaml::DragEventArgs const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnDragOver(e); } return this->shim().OnDragOver(e); } auto OnDrop(winrt::Microsoft::UI::Xaml::DragEventArgs const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnDrop(e); } return this->shim().OnDrop(e); } }; template struct WINRT_IMPL_EMPTY_BASES produce_dispatch_to_overridable : produce_dispatch_to_overridable_base { auto SelectTemplateCore(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::DependencyObject const& container) { if (auto overridable = this->shim_overridable()) { return overridable.SelectTemplateCore(item, container); } return this->shim().SelectTemplateCore(item, container); } auto SelectTemplateCore(winrt::Windows::Foundation::IInspectable const& item) { if (auto overridable = this->shim_overridable()) { return overridable.SelectTemplateCore(item); } return this->shim().SelectTemplateCore(item); } }; template struct WINRT_IMPL_EMPTY_BASES produce_dispatch_to_overridable : produce_dispatch_to_overridable_base { auto SelectGroupStyleCore(winrt::Windows::Foundation::IInspectable const& group, uint32_t level) { if (auto overridable = this->shim_overridable()) { return overridable.SelectGroupStyleCore(group, level); } return this->shim().SelectGroupStyleCore(group, level); } }; template struct WINRT_IMPL_EMPTY_BASES produce_dispatch_to_overridable : produce_dispatch_to_overridable_base { auto CreateIconElementCore() { if (auto overridable = this->shim_overridable()) { return overridable.CreateIconElementCore(); } return this->shim().CreateIconElementCore(); } auto GetIconElementPropertyCore(winrt::Microsoft::UI::Xaml::DependencyProperty const& iconSourceProperty) { if (auto overridable = this->shim_overridable()) { return overridable.GetIconElementPropertyCore(iconSourceProperty); } return this->shim().GetIconElementPropertyCore(iconSourceProperty); } }; template struct WINRT_IMPL_EMPTY_BASES produce_dispatch_to_overridable : produce_dispatch_to_overridable_base { auto ShouldAnimateCore(winrt::Microsoft::UI::Xaml::Controls::ItemCollectionTransition const& transition) { if (auto overridable = this->shim_overridable()) { return overridable.ShouldAnimateCore(transition); } return this->shim().ShouldAnimateCore(transition); } auto StartTransitions(winrt::Windows::Foundation::Collections::IVector const& transitions) { if (auto overridable = this->shim_overridable()) { return overridable.StartTransitions(transitions); } return this->shim().StartTransitions(transitions); } }; template struct WINRT_IMPL_EMPTY_BASES produce_dispatch_to_overridable : produce_dispatch_to_overridable_base { auto IsItemItsOwnContainerOverride(winrt::Windows::Foundation::IInspectable const& item) { if (auto overridable = this->shim_overridable()) { return overridable.IsItemItsOwnContainerOverride(item); } return this->shim().IsItemItsOwnContainerOverride(item); } auto GetContainerForItemOverride() { if (auto overridable = this->shim_overridable()) { return overridable.GetContainerForItemOverride(); } return this->shim().GetContainerForItemOverride(); } auto ClearContainerForItemOverride(winrt::Microsoft::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& item) { if (auto overridable = this->shim_overridable()) { return overridable.ClearContainerForItemOverride(element, item); } return this->shim().ClearContainerForItemOverride(element, item); } auto PrepareContainerForItemOverride(winrt::Microsoft::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& item) { if (auto overridable = this->shim_overridable()) { return overridable.PrepareContainerForItemOverride(element, item); } return this->shim().PrepareContainerForItemOverride(element, item); } auto OnItemsChanged(winrt::Windows::Foundation::IInspectable const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnItemsChanged(e); } return this->shim().OnItemsChanged(e); } auto OnItemContainerStyleChanged(winrt::Microsoft::UI::Xaml::Style const& oldItemContainerStyle, winrt::Microsoft::UI::Xaml::Style const& newItemContainerStyle) { if (auto overridable = this->shim_overridable()) { return overridable.OnItemContainerStyleChanged(oldItemContainerStyle, newItemContainerStyle); } return this->shim().OnItemContainerStyleChanged(oldItemContainerStyle, newItemContainerStyle); } auto OnItemContainerStyleSelectorChanged(winrt::Microsoft::UI::Xaml::Controls::StyleSelector const& oldItemContainerStyleSelector, winrt::Microsoft::UI::Xaml::Controls::StyleSelector const& newItemContainerStyleSelector) { if (auto overridable = this->shim_overridable()) { return overridable.OnItemContainerStyleSelectorChanged(oldItemContainerStyleSelector, newItemContainerStyleSelector); } return this->shim().OnItemContainerStyleSelectorChanged(oldItemContainerStyleSelector, newItemContainerStyleSelector); } auto OnItemTemplateChanged(winrt::Microsoft::UI::Xaml::DataTemplate const& oldItemTemplate, winrt::Microsoft::UI::Xaml::DataTemplate const& newItemTemplate) { if (auto overridable = this->shim_overridable()) { return overridable.OnItemTemplateChanged(oldItemTemplate, newItemTemplate); } return this->shim().OnItemTemplateChanged(oldItemTemplate, newItemTemplate); } auto OnItemTemplateSelectorChanged(winrt::Microsoft::UI::Xaml::Controls::DataTemplateSelector const& oldItemTemplateSelector, winrt::Microsoft::UI::Xaml::Controls::DataTemplateSelector const& newItemTemplateSelector) { if (auto overridable = this->shim_overridable()) { return overridable.OnItemTemplateSelectorChanged(oldItemTemplateSelector, newItemTemplateSelector); } return this->shim().OnItemTemplateSelectorChanged(oldItemTemplateSelector, newItemTemplateSelector); } auto OnGroupStyleSelectorChanged(winrt::Microsoft::UI::Xaml::Controls::GroupStyleSelector const& oldGroupStyleSelector, winrt::Microsoft::UI::Xaml::Controls::GroupStyleSelector const& newGroupStyleSelector) { if (auto overridable = this->shim_overridable()) { return overridable.OnGroupStyleSelectorChanged(oldGroupStyleSelector, newGroupStyleSelector); } return this->shim().OnGroupStyleSelectorChanged(oldGroupStyleSelector, newGroupStyleSelector); } }; template struct WINRT_IMPL_EMPTY_BASES produce_dispatch_to_overridable : produce_dispatch_to_overridable_base { auto CreateDefaultItemTransitionProvider() { if (auto overridable = this->shim_overridable()) { return overridable.CreateDefaultItemTransitionProvider(); } return this->shim().CreateDefaultItemTransitionProvider(); } }; 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 OnNavigatedFrom(winrt::Microsoft::UI::Xaml::Navigation::NavigationEventArgs const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnNavigatedFrom(e); } return this->shim().OnNavigatedFrom(e); } auto OnNavigatedTo(winrt::Microsoft::UI::Xaml::Navigation::NavigationEventArgs const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnNavigatedTo(e); } return this->shim().OnNavigatedTo(e); } auto OnNavigatingFrom(winrt::Microsoft::UI::Xaml::Navigation::NavigatingCancelEventArgs const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnNavigatingFrom(e); } return this->shim().OnNavigatingFrom(e); } }; template struct WINRT_IMPL_EMPTY_BASES produce_dispatch_to_overridable : produce_dispatch_to_overridable_base { auto SelectStyleCore(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::DependencyObject const& container) { if (auto overridable = this->shim_overridable()) { return overridable.SelectStyleCore(item, container); } return this->shim().SelectStyleCore(item, container); } }; template struct WINRT_IMPL_EMPTY_BASES produce_dispatch_to_overridable : produce_dispatch_to_overridable_base { auto OnToggled() { if (auto overridable = this->shim_overridable()) { return overridable.OnToggled(); } return this->shim().OnToggled(); } auto OnOnContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) { if (auto overridable = this->shim_overridable()) { return overridable.OnOnContentChanged(oldContent, newContent); } return this->shim().OnOnContentChanged(oldContent, newContent); } auto OnOffContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) { if (auto overridable = this->shim_overridable()) { return overridable.OnOffContentChanged(oldContent, newContent); } return this->shim().OnOffContentChanged(oldContent, newContent); } auto OnHeaderChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) { if (auto overridable = this->shim_overridable()) { return overridable.OnHeaderChanged(oldContent, newContent); } return this->shim().OnHeaderChanged(oldContent, newContent); } }; 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::Microsoft::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::Microsoft::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); } }; template struct WINRT_IMPL_EMPTY_BASES produce_dispatch_to_overridable : produce_dispatch_to_overridable_base { auto VisibleRectCore() { if (auto overridable = this->shim_overridable()) { return overridable.VisibleRectCore(); } return this->shim().VisibleRectCore(); } }; template struct WINRT_IMPL_EMPTY_BASES produce_dispatch_to_overridable : produce_dispatch_to_overridable_base { auto OnItemsChanged(winrt::Windows::Foundation::IInspectable const& sender, winrt::Microsoft::UI::Xaml::Controls::Primitives::ItemsChangedEventArgs const& args) { if (auto overridable = this->shim_overridable()) { return overridable.OnItemsChanged(sender, args); } return this->shim().OnItemsChanged(sender, args); } auto OnClearChildren() { if (auto overridable = this->shim_overridable()) { return overridable.OnClearChildren(); } return this->shim().OnClearChildren(); } auto BringIndexIntoView(int32_t index) { if (auto overridable = this->shim_overridable()) { return overridable.BringIndexIntoView(index); } return this->shim().BringIndexIntoView(index); } }; template struct WINRT_IMPL_EMPTY_BASES produce_dispatch_to_overridable : produce_dispatch_to_overridable_base { auto OnCleanUpVirtualizedItem(winrt::Microsoft::UI::Xaml::Controls::CleanUpVirtualizedItemEventArgs const& e) { if (auto overridable = this->shim_overridable()) { return overridable.OnCleanUpVirtualizedItem(e); } return this->shim().OnCleanUpVirtualizedItem(e); } }; } WINRT_EXPORT namespace winrt::Microsoft::UI::Xaml::Controls { constexpr auto operator|(DisabledFormattingAccelerators const left, DisabledFormattingAccelerators const right) noexcept { return static_cast(impl::to_underlying_type(left) | impl::to_underlying_type(right)); } constexpr auto operator|=(DisabledFormattingAccelerators& left, DisabledFormattingAccelerators const right) noexcept { left = left | right; return left; } constexpr auto operator&(DisabledFormattingAccelerators const left, DisabledFormattingAccelerators const right) noexcept { return static_cast(impl::to_underlying_type(left) & impl::to_underlying_type(right)); } constexpr auto operator&=(DisabledFormattingAccelerators& left, DisabledFormattingAccelerators const right) noexcept { left = left & right; return left; } constexpr auto operator~(DisabledFormattingAccelerators const value) noexcept { return static_cast(~impl::to_underlying_type(value)); } constexpr auto operator^(DisabledFormattingAccelerators const left, DisabledFormattingAccelerators const right) noexcept { return static_cast(impl::to_underlying_type(left) ^ impl::to_underlying_type(right)); } constexpr auto operator^=(DisabledFormattingAccelerators& left, DisabledFormattingAccelerators 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 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; } constexpr auto operator|(ItemCollectionTransitionTriggers const left, ItemCollectionTransitionTriggers const right) noexcept { return static_cast(impl::to_underlying_type(left) | impl::to_underlying_type(right)); } constexpr auto operator|=(ItemCollectionTransitionTriggers& left, ItemCollectionTransitionTriggers const right) noexcept { left = left | right; return left; } constexpr auto operator&(ItemCollectionTransitionTriggers const left, ItemCollectionTransitionTriggers const right) noexcept { return static_cast(impl::to_underlying_type(left) & impl::to_underlying_type(right)); } constexpr auto operator&=(ItemCollectionTransitionTriggers& left, ItemCollectionTransitionTriggers const right) noexcept { left = left & right; return left; } constexpr auto operator~(ItemCollectionTransitionTriggers const value) noexcept { return static_cast(~impl::to_underlying_type(value)); } constexpr auto operator^(ItemCollectionTransitionTriggers const left, ItemCollectionTransitionTriggers const right) noexcept { return static_cast(impl::to_underlying_type(left) ^ impl::to_underlying_type(right)); } constexpr auto operator^=(ItemCollectionTransitionTriggers& left, ItemCollectionTransitionTriggers const right) noexcept { left = left ^ right; return left; } constexpr auto operator|(ScrollingInputKinds const left, ScrollingInputKinds const right) noexcept { return static_cast(impl::to_underlying_type(left) | impl::to_underlying_type(right)); } constexpr auto operator|=(ScrollingInputKinds& left, ScrollingInputKinds const right) noexcept { left = left | right; return left; } constexpr auto operator&(ScrollingInputKinds const left, ScrollingInputKinds const right) noexcept { return static_cast(impl::to_underlying_type(left) & impl::to_underlying_type(right)); } constexpr auto operator&=(ScrollingInputKinds& left, ScrollingInputKinds const right) noexcept { left = left & right; return left; } constexpr auto operator~(ScrollingInputKinds const value) noexcept { return static_cast(~impl::to_underlying_type(value)); } constexpr auto operator^(ScrollingInputKinds const left, ScrollingInputKinds const right) noexcept { return static_cast(impl::to_underlying_type(left) ^ impl::to_underlying_type(right)); } constexpr auto operator^=(ScrollingInputKinds& left, ScrollingInputKinds 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::Microsoft::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::Microsoft::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 AnnotatedScrollBar::AnnotatedScrollBar() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IAnnotatedScrollBarFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto AnnotatedScrollBar::LabelsProperty() { return impl::call_factory_cast([](IAnnotatedScrollBarStatics const& f) { return f.LabelsProperty(); }); } inline auto AnnotatedScrollBar::LabelTemplateProperty() { return impl::call_factory_cast([](IAnnotatedScrollBarStatics const& f) { return f.LabelTemplateProperty(); }); } inline auto AnnotatedScrollBar::DetailLabelTemplateProperty() { return impl::call_factory_cast([](IAnnotatedScrollBarStatics const& f) { return f.DetailLabelTemplateProperty(); }); } inline auto AnnotatedScrollBar::SmallChangeProperty() { return impl::call_factory_cast([](IAnnotatedScrollBarStatics const& f) { return f.SmallChangeProperty(); }); } inline AnnotatedScrollBarLabel::AnnotatedScrollBarLabel(winrt::Windows::Foundation::IInspectable const& content, double scrollOffset) : AnnotatedScrollBarLabel(impl::call_factory([&](IAnnotatedScrollBarLabelFactory const& f) { return f.CreateInstance(content, scrollOffset); })) { } inline AppBar::AppBar() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IAppBarFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto AppBar::IsOpenProperty() { return impl::call_factory_cast([](IAppBarStatics const& f) { return f.IsOpenProperty(); }); } inline auto AppBar::IsStickyProperty() { return impl::call_factory_cast([](IAppBarStatics const& f) { return f.IsStickyProperty(); }); } inline auto AppBar::ClosedDisplayModeProperty() { return impl::call_factory_cast([](IAppBarStatics const& f) { return f.ClosedDisplayModeProperty(); }); } inline auto AppBar::LightDismissOverlayModeProperty() { return impl::call_factory_cast([](IAppBarStatics const& f) { return f.LightDismissOverlayModeProperty(); }); } inline AppBarButton::AppBarButton() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IAppBarButtonFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto AppBarButton::LabelProperty() { return impl::call_factory_cast([](IAppBarButtonStatics const& f) { return f.LabelProperty(); }); } inline auto AppBarButton::IconProperty() { return impl::call_factory_cast([](IAppBarButtonStatics const& f) { return f.IconProperty(); }); } inline auto AppBarButton::LabelPositionProperty() { return impl::call_factory_cast([](IAppBarButtonStatics const& f) { return f.LabelPositionProperty(); }); } inline auto AppBarButton::KeyboardAcceleratorTextOverrideProperty() { return impl::call_factory_cast([](IAppBarButtonStatics const& f) { return f.KeyboardAcceleratorTextOverrideProperty(); }); } inline auto AppBarButton::IsCompactProperty() { return impl::call_factory_cast([](IAppBarButtonStatics const& f) { return f.IsCompactProperty(); }); } inline auto AppBarButton::IsInOverflowProperty() { return impl::call_factory_cast([](IAppBarButtonStatics const& f) { return f.IsInOverflowProperty(); }); } inline auto AppBarButton::DynamicOverflowOrderProperty() { return impl::call_factory_cast([](IAppBarButtonStatics const& f) { return f.DynamicOverflowOrderProperty(); }); } inline AppBarElementContainer::AppBarElementContainer() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IAppBarElementContainerFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto AppBarElementContainer::IsCompactProperty() { return impl::call_factory_cast([](IAppBarElementContainerStatics const& f) { return f.IsCompactProperty(); }); } inline auto AppBarElementContainer::IsInOverflowProperty() { return impl::call_factory_cast([](IAppBarElementContainerStatics const& f) { return f.IsInOverflowProperty(); }); } inline auto AppBarElementContainer::DynamicOverflowOrderProperty() { return impl::call_factory_cast([](IAppBarElementContainerStatics const& f) { return f.DynamicOverflowOrderProperty(); }); } inline AppBarSeparator::AppBarSeparator() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IAppBarSeparatorFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto AppBarSeparator::IsCompactProperty() { return impl::call_factory_cast([](IAppBarSeparatorStatics const& f) { return f.IsCompactProperty(); }); } inline auto AppBarSeparator::IsInOverflowProperty() { return impl::call_factory_cast([](IAppBarSeparatorStatics const& f) { return f.IsInOverflowProperty(); }); } inline auto AppBarSeparator::DynamicOverflowOrderProperty() { return impl::call_factory_cast([](IAppBarSeparatorStatics const& f) { return f.DynamicOverflowOrderProperty(); }); } inline AppBarToggleButton::AppBarToggleButton() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IAppBarToggleButtonFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto AppBarToggleButton::LabelProperty() { return impl::call_factory_cast([](IAppBarToggleButtonStatics const& f) { return f.LabelProperty(); }); } inline auto AppBarToggleButton::IconProperty() { return impl::call_factory_cast([](IAppBarToggleButtonStatics const& f) { return f.IconProperty(); }); } inline auto AppBarToggleButton::LabelPositionProperty() { return impl::call_factory_cast([](IAppBarToggleButtonStatics const& f) { return f.LabelPositionProperty(); }); } inline auto AppBarToggleButton::KeyboardAcceleratorTextOverrideProperty() { return impl::call_factory_cast([](IAppBarToggleButtonStatics const& f) { return f.KeyboardAcceleratorTextOverrideProperty(); }); } inline auto AppBarToggleButton::IsCompactProperty() { return impl::call_factory_cast([](IAppBarToggleButtonStatics const& f) { return f.IsCompactProperty(); }); } inline auto AppBarToggleButton::IsInOverflowProperty() { return impl::call_factory_cast([](IAppBarToggleButtonStatics const& f) { return f.IsInOverflowProperty(); }); } inline auto AppBarToggleButton::DynamicOverflowOrderProperty() { return impl::call_factory_cast([](IAppBarToggleButtonStatics const& f) { return f.DynamicOverflowOrderProperty(); }); } inline AutoSuggestBox::AutoSuggestBox() : AutoSuggestBox(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto AutoSuggestBox::MaxSuggestionListHeightProperty() { return impl::call_factory_cast([](IAutoSuggestBoxStatics const& f) { return f.MaxSuggestionListHeightProperty(); }); } inline auto AutoSuggestBox::IsSuggestionListOpenProperty() { return impl::call_factory_cast([](IAutoSuggestBoxStatics const& f) { return f.IsSuggestionListOpenProperty(); }); } inline auto AutoSuggestBox::TextMemberPathProperty() { return impl::call_factory_cast([](IAutoSuggestBoxStatics const& f) { return f.TextMemberPathProperty(); }); } inline auto AutoSuggestBox::TextProperty() { return impl::call_factory_cast([](IAutoSuggestBoxStatics const& f) { return f.TextProperty(); }); } inline auto AutoSuggestBox::UpdateTextOnSelectProperty() { return impl::call_factory_cast([](IAutoSuggestBoxStatics const& f) { return f.UpdateTextOnSelectProperty(); }); } inline auto AutoSuggestBox::PlaceholderTextProperty() { return impl::call_factory_cast([](IAutoSuggestBoxStatics const& f) { return f.PlaceholderTextProperty(); }); } inline auto AutoSuggestBox::HeaderProperty() { return impl::call_factory_cast([](IAutoSuggestBoxStatics const& f) { return f.HeaderProperty(); }); } inline auto AutoSuggestBox::AutoMaximizeSuggestionAreaProperty() { return impl::call_factory_cast([](IAutoSuggestBoxStatics const& f) { return f.AutoMaximizeSuggestionAreaProperty(); }); } inline auto AutoSuggestBox::TextBoxStyleProperty() { return impl::call_factory_cast([](IAutoSuggestBoxStatics const& f) { return f.TextBoxStyleProperty(); }); } inline auto AutoSuggestBox::QueryIconProperty() { return impl::call_factory_cast([](IAutoSuggestBoxStatics const& f) { return f.QueryIconProperty(); }); } inline auto AutoSuggestBox::LightDismissOverlayModeProperty() { return impl::call_factory_cast([](IAutoSuggestBoxStatics const& f) { return f.LightDismissOverlayModeProperty(); }); } inline auto AutoSuggestBox::DescriptionProperty() { return impl::call_factory_cast([](IAutoSuggestBoxStatics const& f) { return f.DescriptionProperty(); }); } inline AutoSuggestBoxQuerySubmittedEventArgs::AutoSuggestBoxQuerySubmittedEventArgs() : AutoSuggestBoxQuerySubmittedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline AutoSuggestBoxSuggestionChosenEventArgs::AutoSuggestBoxSuggestionChosenEventArgs() : AutoSuggestBoxSuggestionChosenEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline AutoSuggestBoxTextChangedEventArgs::AutoSuggestBoxTextChangedEventArgs() : AutoSuggestBoxTextChangedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto AutoSuggestBoxTextChangedEventArgs::ReasonProperty() { return impl::call_factory_cast([](IAutoSuggestBoxTextChangedEventArgsStatics const& f) { return f.ReasonProperty(); }); } inline BitmapIcon::BitmapIcon() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IBitmapIconFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto BitmapIcon::UriSourceProperty() { return impl::call_factory_cast([](IBitmapIconStatics const& f) { return f.UriSourceProperty(); }); } inline auto BitmapIcon::ShowAsMonochromeProperty() { return impl::call_factory_cast([](IBitmapIconStatics const& f) { return f.ShowAsMonochromeProperty(); }); } 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 Border::Border() : Border(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto Border::BorderBrushProperty() { return impl::call_factory_cast([](IBorderStatics const& f) { return f.BorderBrushProperty(); }); } inline auto Border::BorderThicknessProperty() { return impl::call_factory_cast([](IBorderStatics const& f) { return f.BorderThicknessProperty(); }); } inline auto Border::BackgroundProperty() { return impl::call_factory_cast([](IBorderStatics const& f) { return f.BackgroundProperty(); }); } inline auto Border::BackgroundSizingProperty() { return impl::call_factory_cast([](IBorderStatics const& f) { return f.BackgroundSizingProperty(); }); } inline auto Border::CornerRadiusProperty() { return impl::call_factory_cast([](IBorderStatics const& f) { return f.CornerRadiusProperty(); }); } inline auto Border::PaddingProperty() { return impl::call_factory_cast([](IBorderStatics const& f) { return f.PaddingProperty(); }); } inline auto Border::ChildTransitionsProperty() { return impl::call_factory_cast([](IBorderStatics const& f) { return f.ChildTransitionsProperty(); }); } 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 Button::Button() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IButtonFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto Button::FlyoutProperty() { return impl::call_factory_cast([](IButtonStatics const& f) { return f.FlyoutProperty(); }); } inline CalendarDatePicker::CalendarDatePicker() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ICalendarDatePickerFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto CalendarDatePicker::DateProperty() { return impl::call_factory_cast([](ICalendarDatePickerStatics const& f) { return f.DateProperty(); }); } inline auto CalendarDatePicker::IsCalendarOpenProperty() { return impl::call_factory_cast([](ICalendarDatePickerStatics const& f) { return f.IsCalendarOpenProperty(); }); } inline auto CalendarDatePicker::DateFormatProperty() { return impl::call_factory_cast([](ICalendarDatePickerStatics const& f) { return f.DateFormatProperty(); }); } inline auto CalendarDatePicker::PlaceholderTextProperty() { return impl::call_factory_cast([](ICalendarDatePickerStatics const& f) { return f.PlaceholderTextProperty(); }); } inline auto CalendarDatePicker::HeaderProperty() { return impl::call_factory_cast([](ICalendarDatePickerStatics const& f) { return f.HeaderProperty(); }); } inline auto CalendarDatePicker::HeaderTemplateProperty() { return impl::call_factory_cast([](ICalendarDatePickerStatics const& f) { return f.HeaderTemplateProperty(); }); } inline auto CalendarDatePicker::CalendarViewStyleProperty() { return impl::call_factory_cast([](ICalendarDatePickerStatics const& f) { return f.CalendarViewStyleProperty(); }); } inline auto CalendarDatePicker::LightDismissOverlayModeProperty() { return impl::call_factory_cast([](ICalendarDatePickerStatics const& f) { return f.LightDismissOverlayModeProperty(); }); } inline auto CalendarDatePicker::DescriptionProperty() { return impl::call_factory_cast([](ICalendarDatePickerStatics const& f) { return f.DescriptionProperty(); }); } inline auto CalendarDatePicker::MinDateProperty() { return impl::call_factory_cast([](ICalendarDatePickerStatics const& f) { return f.MinDateProperty(); }); } inline auto CalendarDatePicker::MaxDateProperty() { return impl::call_factory_cast([](ICalendarDatePickerStatics const& f) { return f.MaxDateProperty(); }); } inline auto CalendarDatePicker::IsTodayHighlightedProperty() { return impl::call_factory_cast([](ICalendarDatePickerStatics const& f) { return f.IsTodayHighlightedProperty(); }); } inline auto CalendarDatePicker::DisplayModeProperty() { return impl::call_factory_cast([](ICalendarDatePickerStatics const& f) { return f.DisplayModeProperty(); }); } inline auto CalendarDatePicker::FirstDayOfWeekProperty() { return impl::call_factory_cast([](ICalendarDatePickerStatics const& f) { return f.FirstDayOfWeekProperty(); }); } inline auto CalendarDatePicker::DayOfWeekFormatProperty() { return impl::call_factory_cast([](ICalendarDatePickerStatics const& f) { return f.DayOfWeekFormatProperty(); }); } inline auto CalendarDatePicker::CalendarIdentifierProperty() { return impl::call_factory_cast([](ICalendarDatePickerStatics const& f) { return f.CalendarIdentifierProperty(); }); } inline auto CalendarDatePicker::IsOutOfScopeEnabledProperty() { return impl::call_factory_cast([](ICalendarDatePickerStatics const& f) { return f.IsOutOfScopeEnabledProperty(); }); } inline auto CalendarDatePicker::IsGroupLabelVisibleProperty() { return impl::call_factory_cast([](ICalendarDatePickerStatics const& f) { return f.IsGroupLabelVisibleProperty(); }); } inline CalendarView::CalendarView() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ICalendarViewFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto CalendarView::CalendarIdentifierProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.CalendarIdentifierProperty(); }); } inline auto CalendarView::DayOfWeekFormatProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.DayOfWeekFormatProperty(); }); } inline auto CalendarView::IsGroupLabelVisibleProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.IsGroupLabelVisibleProperty(); }); } inline auto CalendarView::DisplayModeProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.DisplayModeProperty(); }); } inline auto CalendarView::FirstDayOfWeekProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.FirstDayOfWeekProperty(); }); } inline auto CalendarView::IsOutOfScopeEnabledProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.IsOutOfScopeEnabledProperty(); }); } inline auto CalendarView::IsTodayHighlightedProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.IsTodayHighlightedProperty(); }); } inline auto CalendarView::MaxDateProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.MaxDateProperty(); }); } inline auto CalendarView::MinDateProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.MinDateProperty(); }); } inline auto CalendarView::NumberOfWeeksInViewProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.NumberOfWeeksInViewProperty(); }); } inline auto CalendarView::SelectedDatesProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.SelectedDatesProperty(); }); } inline auto CalendarView::SelectionModeProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.SelectionModeProperty(); }); } inline auto CalendarView::TemplateSettingsProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.TemplateSettingsProperty(); }); } inline auto CalendarView::FocusBorderBrushProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.FocusBorderBrushProperty(); }); } inline auto CalendarView::SelectedHoverBorderBrushProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.SelectedHoverBorderBrushProperty(); }); } inline auto CalendarView::SelectedPressedBorderBrushProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.SelectedPressedBorderBrushProperty(); }); } inline auto CalendarView::SelectedDisabledBorderBrushProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.SelectedDisabledBorderBrushProperty(); }); } inline auto CalendarView::SelectedBorderBrushProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.SelectedBorderBrushProperty(); }); } inline auto CalendarView::HoverBorderBrushProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.HoverBorderBrushProperty(); }); } inline auto CalendarView::PressedBorderBrushProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.PressedBorderBrushProperty(); }); } inline auto CalendarView::TodaySelectedInnerBorderBrushProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.TodaySelectedInnerBorderBrushProperty(); }); } inline auto CalendarView::BlackoutStrikethroughBrushProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.BlackoutStrikethroughBrushProperty(); }); } inline auto CalendarView::CalendarItemBorderBrushProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.CalendarItemBorderBrushProperty(); }); } inline auto CalendarView::BlackoutBackgroundProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.BlackoutBackgroundProperty(); }); } inline auto CalendarView::OutOfScopeBackgroundProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.OutOfScopeBackgroundProperty(); }); } inline auto CalendarView::CalendarItemBackgroundProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.CalendarItemBackgroundProperty(); }); } inline auto CalendarView::CalendarItemHoverBackgroundProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.CalendarItemHoverBackgroundProperty(); }); } inline auto CalendarView::CalendarItemPressedBackgroundProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.CalendarItemPressedBackgroundProperty(); }); } inline auto CalendarView::CalendarItemDisabledBackgroundProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.CalendarItemDisabledBackgroundProperty(); }); } inline auto CalendarView::TodayBackgroundProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.TodayBackgroundProperty(); }); } inline auto CalendarView::TodayBlackoutBackgroundProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.TodayBlackoutBackgroundProperty(); }); } inline auto CalendarView::TodayHoverBackgroundProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.TodayHoverBackgroundProperty(); }); } inline auto CalendarView::TodayPressedBackgroundProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.TodayPressedBackgroundProperty(); }); } inline auto CalendarView::TodayDisabledBackgroundProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.TodayDisabledBackgroundProperty(); }); } inline auto CalendarView::PressedForegroundProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.PressedForegroundProperty(); }); } inline auto CalendarView::TodayForegroundProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.TodayForegroundProperty(); }); } inline auto CalendarView::BlackoutForegroundProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.BlackoutForegroundProperty(); }); } inline auto CalendarView::TodayBlackoutForegroundProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.TodayBlackoutForegroundProperty(); }); } inline auto CalendarView::SelectedForegroundProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.SelectedForegroundProperty(); }); } inline auto CalendarView::SelectedHoverForegroundProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.SelectedHoverForegroundProperty(); }); } inline auto CalendarView::SelectedPressedForegroundProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.SelectedPressedForegroundProperty(); }); } inline auto CalendarView::SelectedDisabledForegroundProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.SelectedDisabledForegroundProperty(); }); } inline auto CalendarView::OutOfScopeForegroundProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.OutOfScopeForegroundProperty(); }); } inline auto CalendarView::OutOfScopeHoverForegroundProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.OutOfScopeHoverForegroundProperty(); }); } inline auto CalendarView::OutOfScopePressedForegroundProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.OutOfScopePressedForegroundProperty(); }); } inline auto CalendarView::CalendarItemForegroundProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.CalendarItemForegroundProperty(); }); } inline auto CalendarView::DisabledForegroundProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.DisabledForegroundProperty(); }); } inline auto CalendarView::DayItemFontFamilyProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.DayItemFontFamilyProperty(); }); } inline auto CalendarView::DayItemFontSizeProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.DayItemFontSizeProperty(); }); } inline auto CalendarView::DayItemFontStyleProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.DayItemFontStyleProperty(); }); } inline auto CalendarView::DayItemFontWeightProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.DayItemFontWeightProperty(); }); } inline auto CalendarView::TodayFontWeightProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.TodayFontWeightProperty(); }); } inline auto CalendarView::FirstOfMonthLabelFontFamilyProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.FirstOfMonthLabelFontFamilyProperty(); }); } inline auto CalendarView::FirstOfMonthLabelFontSizeProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.FirstOfMonthLabelFontSizeProperty(); }); } inline auto CalendarView::FirstOfMonthLabelFontStyleProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.FirstOfMonthLabelFontStyleProperty(); }); } inline auto CalendarView::FirstOfMonthLabelFontWeightProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.FirstOfMonthLabelFontWeightProperty(); }); } inline auto CalendarView::MonthYearItemFontFamilyProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.MonthYearItemFontFamilyProperty(); }); } inline auto CalendarView::MonthYearItemFontSizeProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.MonthYearItemFontSizeProperty(); }); } inline auto CalendarView::MonthYearItemFontStyleProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.MonthYearItemFontStyleProperty(); }); } inline auto CalendarView::MonthYearItemFontWeightProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.MonthYearItemFontWeightProperty(); }); } inline auto CalendarView::FirstOfYearDecadeLabelFontFamilyProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.FirstOfYearDecadeLabelFontFamilyProperty(); }); } inline auto CalendarView::FirstOfYearDecadeLabelFontSizeProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.FirstOfYearDecadeLabelFontSizeProperty(); }); } inline auto CalendarView::FirstOfYearDecadeLabelFontStyleProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.FirstOfYearDecadeLabelFontStyleProperty(); }); } inline auto CalendarView::FirstOfYearDecadeLabelFontWeightProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.FirstOfYearDecadeLabelFontWeightProperty(); }); } inline auto CalendarView::DayItemMarginProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.DayItemMarginProperty(); }); } inline auto CalendarView::MonthYearItemMarginProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.MonthYearItemMarginProperty(); }); } inline auto CalendarView::FirstOfMonthLabelMarginProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.FirstOfMonthLabelMarginProperty(); }); } inline auto CalendarView::FirstOfYearDecadeLabelMarginProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.FirstOfYearDecadeLabelMarginProperty(); }); } inline auto CalendarView::HorizontalDayItemAlignmentProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.HorizontalDayItemAlignmentProperty(); }); } inline auto CalendarView::VerticalDayItemAlignmentProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.VerticalDayItemAlignmentProperty(); }); } inline auto CalendarView::HorizontalFirstOfMonthLabelAlignmentProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.HorizontalFirstOfMonthLabelAlignmentProperty(); }); } inline auto CalendarView::VerticalFirstOfMonthLabelAlignmentProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.VerticalFirstOfMonthLabelAlignmentProperty(); }); } inline auto CalendarView::CalendarItemBorderThicknessProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.CalendarItemBorderThicknessProperty(); }); } inline auto CalendarView::CalendarViewDayItemStyleProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.CalendarViewDayItemStyleProperty(); }); } inline auto CalendarView::CalendarItemCornerRadiusProperty() { return impl::call_factory_cast([](ICalendarViewStatics const& f) { return f.CalendarItemCornerRadiusProperty(); }); } inline CalendarViewDayItem::CalendarViewDayItem() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ICalendarViewDayItemFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto CalendarViewDayItem::IsBlackoutProperty() { return impl::call_factory_cast([](ICalendarViewDayItemStatics const& f) { return f.IsBlackoutProperty(); }); } inline auto CalendarViewDayItem::DateProperty() { return impl::call_factory_cast([](ICalendarViewDayItemStatics const& f) { return f.DateProperty(); }); } inline Canvas::Canvas() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ICanvasFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto Canvas::LeftProperty() { return impl::call_factory_cast([](ICanvasStatics const& f) { return f.LeftProperty(); }); } inline auto Canvas::GetLeft(winrt::Microsoft::UI::Xaml::UIElement const& element) { return impl::call_factory([&](ICanvasStatics const& f) { return f.GetLeft(element); }); } inline auto Canvas::SetLeft(winrt::Microsoft::UI::Xaml::UIElement const& element, double length) { impl::call_factory([&](ICanvasStatics const& f) { return f.SetLeft(element, length); }); } inline auto Canvas::TopProperty() { return impl::call_factory_cast([](ICanvasStatics const& f) { return f.TopProperty(); }); } inline auto Canvas::GetTop(winrt::Microsoft::UI::Xaml::UIElement const& element) { return impl::call_factory([&](ICanvasStatics const& f) { return f.GetTop(element); }); } inline auto Canvas::SetTop(winrt::Microsoft::UI::Xaml::UIElement const& element, double length) { impl::call_factory([&](ICanvasStatics const& f) { return f.SetTop(element, length); }); } inline auto Canvas::ZIndexProperty() { return impl::call_factory_cast([](ICanvasStatics const& f) { return f.ZIndexProperty(); }); } inline auto Canvas::GetZIndex(winrt::Microsoft::UI::Xaml::UIElement const& element) { return impl::call_factory([&](ICanvasStatics const& f) { return f.GetZIndex(element); }); } inline auto Canvas::SetZIndex(winrt::Microsoft::UI::Xaml::UIElement const& element, int32_t value) { impl::call_factory([&](ICanvasStatics const& f) { return f.SetZIndex(element, value); }); } inline CheckBox::CheckBox() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ICheckBoxFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline ChoosingGroupHeaderContainerEventArgs::ChoosingGroupHeaderContainerEventArgs() : ChoosingGroupHeaderContainerEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline ChoosingItemContainerEventArgs::ChoosingItemContainerEventArgs() : ChoosingItemContainerEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } 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 ColumnDefinition::ColumnDefinition() : ColumnDefinition(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto ColumnDefinition::WidthProperty() { return impl::call_factory_cast([](IColumnDefinitionStatics const& f) { return f.WidthProperty(); }); } inline auto ColumnDefinition::MaxWidthProperty() { return impl::call_factory_cast([](IColumnDefinitionStatics const& f) { return f.MaxWidthProperty(); }); } inline auto ColumnDefinition::MinWidthProperty() { return impl::call_factory_cast([](IColumnDefinitionStatics const& f) { return f.MinWidthProperty(); }); } inline ComboBox::ComboBox() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IComboBoxFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto ComboBox::IsEditableProperty() { return impl::call_factory_cast([](IComboBoxStatics const& f) { return f.IsEditableProperty(); }); } inline auto ComboBox::IsDropDownOpenProperty() { return impl::call_factory_cast([](IComboBoxStatics const& f) { return f.IsDropDownOpenProperty(); }); } inline auto ComboBox::MaxDropDownHeightProperty() { return impl::call_factory_cast([](IComboBoxStatics const& f) { return f.MaxDropDownHeightProperty(); }); } inline auto ComboBox::HeaderProperty() { return impl::call_factory_cast([](IComboBoxStatics const& f) { return f.HeaderProperty(); }); } inline auto ComboBox::HeaderTemplateProperty() { return impl::call_factory_cast([](IComboBoxStatics const& f) { return f.HeaderTemplateProperty(); }); } inline auto ComboBox::PlaceholderTextProperty() { return impl::call_factory_cast([](IComboBoxStatics const& f) { return f.PlaceholderTextProperty(); }); } inline auto ComboBox::LightDismissOverlayModeProperty() { return impl::call_factory_cast([](IComboBoxStatics const& f) { return f.LightDismissOverlayModeProperty(); }); } inline auto ComboBox::IsTextSearchEnabledProperty() { return impl::call_factory_cast([](IComboBoxStatics const& f) { return f.IsTextSearchEnabledProperty(); }); } inline auto ComboBox::SelectionChangedTriggerProperty() { return impl::call_factory_cast([](IComboBoxStatics const& f) { return f.SelectionChangedTriggerProperty(); }); } inline auto ComboBox::PlaceholderForegroundProperty() { return impl::call_factory_cast([](IComboBoxStatics const& f) { return f.PlaceholderForegroundProperty(); }); } inline auto ComboBox::TextProperty() { return impl::call_factory_cast([](IComboBoxStatics const& f) { return f.TextProperty(); }); } inline auto ComboBox::TextBoxStyleProperty() { return impl::call_factory_cast([](IComboBoxStatics const& f) { return f.TextBoxStyleProperty(); }); } inline auto ComboBox::DescriptionProperty() { return impl::call_factory_cast([](IComboBoxStatics const& f) { return f.DescriptionProperty(); }); } inline ComboBoxItem::ComboBoxItem() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IComboBoxItemFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline CommandBar::CommandBar() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ICommandBarFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto CommandBar::PrimaryCommandsProperty() { return impl::call_factory_cast([](ICommandBarStatics const& f) { return f.PrimaryCommandsProperty(); }); } inline auto CommandBar::SecondaryCommandsProperty() { return impl::call_factory_cast([](ICommandBarStatics const& f) { return f.SecondaryCommandsProperty(); }); } inline auto CommandBar::CommandBarOverflowPresenterStyleProperty() { return impl::call_factory_cast([](ICommandBarStatics const& f) { return f.CommandBarOverflowPresenterStyleProperty(); }); } inline auto CommandBar::DefaultLabelPositionProperty() { return impl::call_factory_cast([](ICommandBarStatics const& f) { return f.DefaultLabelPositionProperty(); }); } inline auto CommandBar::OverflowButtonVisibilityProperty() { return impl::call_factory_cast([](ICommandBarStatics const& f) { return f.OverflowButtonVisibilityProperty(); }); } inline auto CommandBar::IsDynamicOverflowEnabledProperty() { return impl::call_factory_cast([](ICommandBarStatics const& f) { return f.IsDynamicOverflowEnabledProperty(); }); } inline CommandBarFlyout::CommandBarFlyout() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ICommandBarFlyoutFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline CommandBarOverflowPresenter::CommandBarOverflowPresenter() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ICommandBarOverflowPresenterFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline ContainerContentChangingEventArgs::ContainerContentChangingEventArgs() : ContainerContentChangingEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline ContentControl::ContentControl() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IContentControlFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto ContentControl::ContentProperty() { return impl::call_factory_cast([](IContentControlStatics const& f) { return f.ContentProperty(); }); } inline auto ContentControl::ContentTemplateProperty() { return impl::call_factory_cast([](IContentControlStatics const& f) { return f.ContentTemplateProperty(); }); } inline auto ContentControl::ContentTemplateSelectorProperty() { return impl::call_factory_cast([](IContentControlStatics const& f) { return f.ContentTemplateSelectorProperty(); }); } inline auto ContentControl::ContentTransitionsProperty() { return impl::call_factory_cast([](IContentControlStatics const& f) { return f.ContentTransitionsProperty(); }); } inline ContentDialog::ContentDialog() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IContentDialogFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto ContentDialog::TitleProperty() { return impl::call_factory_cast([](IContentDialogStatics const& f) { return f.TitleProperty(); }); } inline auto ContentDialog::TitleTemplateProperty() { return impl::call_factory_cast([](IContentDialogStatics const& f) { return f.TitleTemplateProperty(); }); } inline auto ContentDialog::FullSizeDesiredProperty() { return impl::call_factory_cast([](IContentDialogStatics const& f) { return f.FullSizeDesiredProperty(); }); } inline auto ContentDialog::PrimaryButtonTextProperty() { return impl::call_factory_cast([](IContentDialogStatics const& f) { return f.PrimaryButtonTextProperty(); }); } inline auto ContentDialog::SecondaryButtonTextProperty() { return impl::call_factory_cast([](IContentDialogStatics const& f) { return f.SecondaryButtonTextProperty(); }); } inline auto ContentDialog::CloseButtonTextProperty() { return impl::call_factory_cast([](IContentDialogStatics const& f) { return f.CloseButtonTextProperty(); }); } inline auto ContentDialog::PrimaryButtonCommandProperty() { return impl::call_factory_cast([](IContentDialogStatics const& f) { return f.PrimaryButtonCommandProperty(); }); } inline auto ContentDialog::SecondaryButtonCommandProperty() { return impl::call_factory_cast([](IContentDialogStatics const& f) { return f.SecondaryButtonCommandProperty(); }); } inline auto ContentDialog::CloseButtonCommandProperty() { return impl::call_factory_cast([](IContentDialogStatics const& f) { return f.CloseButtonCommandProperty(); }); } inline auto ContentDialog::PrimaryButtonCommandParameterProperty() { return impl::call_factory_cast([](IContentDialogStatics const& f) { return f.PrimaryButtonCommandParameterProperty(); }); } inline auto ContentDialog::SecondaryButtonCommandParameterProperty() { return impl::call_factory_cast([](IContentDialogStatics const& f) { return f.SecondaryButtonCommandParameterProperty(); }); } inline auto ContentDialog::CloseButtonCommandParameterProperty() { return impl::call_factory_cast([](IContentDialogStatics const& f) { return f.CloseButtonCommandParameterProperty(); }); } inline auto ContentDialog::IsPrimaryButtonEnabledProperty() { return impl::call_factory_cast([](IContentDialogStatics const& f) { return f.IsPrimaryButtonEnabledProperty(); }); } inline auto ContentDialog::IsSecondaryButtonEnabledProperty() { return impl::call_factory_cast([](IContentDialogStatics const& f) { return f.IsSecondaryButtonEnabledProperty(); }); } inline auto ContentDialog::PrimaryButtonStyleProperty() { return impl::call_factory_cast([](IContentDialogStatics const& f) { return f.PrimaryButtonStyleProperty(); }); } inline auto ContentDialog::SecondaryButtonStyleProperty() { return impl::call_factory_cast([](IContentDialogStatics const& f) { return f.SecondaryButtonStyleProperty(); }); } inline auto ContentDialog::CloseButtonStyleProperty() { return impl::call_factory_cast([](IContentDialogStatics const& f) { return f.CloseButtonStyleProperty(); }); } inline auto ContentDialog::DefaultButtonProperty() { return impl::call_factory_cast([](IContentDialogStatics const& f) { return f.DefaultButtonProperty(); }); } inline ContentPresenter::ContentPresenter() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IContentPresenterFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto ContentPresenter::ContentProperty() { return impl::call_factory_cast([](IContentPresenterStatics const& f) { return f.ContentProperty(); }); } inline auto ContentPresenter::ContentTemplateProperty() { return impl::call_factory_cast([](IContentPresenterStatics const& f) { return f.ContentTemplateProperty(); }); } inline auto ContentPresenter::ContentTemplateSelectorProperty() { return impl::call_factory_cast([](IContentPresenterStatics const& f) { return f.ContentTemplateSelectorProperty(); }); } inline auto ContentPresenter::ContentTransitionsProperty() { return impl::call_factory_cast([](IContentPresenterStatics const& f) { return f.ContentTransitionsProperty(); }); } inline auto ContentPresenter::FontSizeProperty() { return impl::call_factory_cast([](IContentPresenterStatics const& f) { return f.FontSizeProperty(); }); } inline auto ContentPresenter::FontFamilyProperty() { return impl::call_factory_cast([](IContentPresenterStatics const& f) { return f.FontFamilyProperty(); }); } inline auto ContentPresenter::FontWeightProperty() { return impl::call_factory_cast([](IContentPresenterStatics const& f) { return f.FontWeightProperty(); }); } inline auto ContentPresenter::FontStyleProperty() { return impl::call_factory_cast([](IContentPresenterStatics const& f) { return f.FontStyleProperty(); }); } inline auto ContentPresenter::FontStretchProperty() { return impl::call_factory_cast([](IContentPresenterStatics const& f) { return f.FontStretchProperty(); }); } inline auto ContentPresenter::CharacterSpacingProperty() { return impl::call_factory_cast([](IContentPresenterStatics const& f) { return f.CharacterSpacingProperty(); }); } inline auto ContentPresenter::ForegroundProperty() { return impl::call_factory_cast([](IContentPresenterStatics const& f) { return f.ForegroundProperty(); }); } inline auto ContentPresenter::OpticalMarginAlignmentProperty() { return impl::call_factory_cast([](IContentPresenterStatics const& f) { return f.OpticalMarginAlignmentProperty(); }); } inline auto ContentPresenter::TextLineBoundsProperty() { return impl::call_factory_cast([](IContentPresenterStatics const& f) { return f.TextLineBoundsProperty(); }); } inline auto ContentPresenter::IsTextScaleFactorEnabledProperty() { return impl::call_factory_cast([](IContentPresenterStatics const& f) { return f.IsTextScaleFactorEnabledProperty(); }); } inline auto ContentPresenter::TextWrappingProperty() { return impl::call_factory_cast([](IContentPresenterStatics const& f) { return f.TextWrappingProperty(); }); } inline auto ContentPresenter::MaxLinesProperty() { return impl::call_factory_cast([](IContentPresenterStatics const& f) { return f.MaxLinesProperty(); }); } inline auto ContentPresenter::LineStackingStrategyProperty() { return impl::call_factory_cast([](IContentPresenterStatics const& f) { return f.LineStackingStrategyProperty(); }); } inline auto ContentPresenter::LineHeightProperty() { return impl::call_factory_cast([](IContentPresenterStatics const& f) { return f.LineHeightProperty(); }); } inline auto ContentPresenter::BorderBrushProperty() { return impl::call_factory_cast([](IContentPresenterStatics const& f) { return f.BorderBrushProperty(); }); } inline auto ContentPresenter::BorderThicknessProperty() { return impl::call_factory_cast([](IContentPresenterStatics const& f) { return f.BorderThicknessProperty(); }); } inline auto ContentPresenter::CornerRadiusProperty() { return impl::call_factory_cast([](IContentPresenterStatics const& f) { return f.CornerRadiusProperty(); }); } inline auto ContentPresenter::PaddingProperty() { return impl::call_factory_cast([](IContentPresenterStatics const& f) { return f.PaddingProperty(); }); } inline auto ContentPresenter::BackgroundProperty() { return impl::call_factory_cast([](IContentPresenterStatics const& f) { return f.BackgroundProperty(); }); } inline auto ContentPresenter::BackgroundSizingProperty() { return impl::call_factory_cast([](IContentPresenterStatics const& f) { return f.BackgroundSizingProperty(); }); } inline auto ContentPresenter::HorizontalContentAlignmentProperty() { return impl::call_factory_cast([](IContentPresenterStatics const& f) { return f.HorizontalContentAlignmentProperty(); }); } inline auto ContentPresenter::VerticalContentAlignmentProperty() { return impl::call_factory_cast([](IContentPresenterStatics const& f) { return f.VerticalContentAlignmentProperty(); }); } inline auto Control::IsFocusEngagementEnabledProperty() { return impl::call_factory_cast([](IControlStatics const& f) { return f.IsFocusEngagementEnabledProperty(); }); } inline auto Control::IsFocusEngagedProperty() { return impl::call_factory_cast([](IControlStatics const& f) { return f.IsFocusEngagedProperty(); }); } inline auto Control::RequiresPointerProperty() { return impl::call_factory_cast([](IControlStatics const& f) { return f.RequiresPointerProperty(); }); } inline auto Control::FontSizeProperty() { return impl::call_factory_cast([](IControlStatics const& f) { return f.FontSizeProperty(); }); } inline auto Control::FontFamilyProperty() { return impl::call_factory_cast([](IControlStatics const& f) { return f.FontFamilyProperty(); }); } inline auto Control::FontWeightProperty() { return impl::call_factory_cast([](IControlStatics const& f) { return f.FontWeightProperty(); }); } inline auto Control::FontStyleProperty() { return impl::call_factory_cast([](IControlStatics const& f) { return f.FontStyleProperty(); }); } inline auto Control::FontStretchProperty() { return impl::call_factory_cast([](IControlStatics const& f) { return f.FontStretchProperty(); }); } inline auto Control::CharacterSpacingProperty() { return impl::call_factory_cast([](IControlStatics const& f) { return f.CharacterSpacingProperty(); }); } inline auto Control::ForegroundProperty() { return impl::call_factory_cast([](IControlStatics const& f) { return f.ForegroundProperty(); }); } inline auto Control::IsTextScaleFactorEnabledProperty() { return impl::call_factory_cast([](IControlStatics const& f) { return f.IsTextScaleFactorEnabledProperty(); }); } inline auto Control::IsEnabledProperty() { return impl::call_factory_cast([](IControlStatics const& f) { return f.IsEnabledProperty(); }); } inline auto Control::TabNavigationProperty() { return impl::call_factory_cast([](IControlStatics const& f) { return f.TabNavigationProperty(); }); } inline auto Control::TemplateProperty() { return impl::call_factory_cast([](IControlStatics const& f) { return f.TemplateProperty(); }); } inline auto Control::PaddingProperty() { return impl::call_factory_cast([](IControlStatics const& f) { return f.PaddingProperty(); }); } inline auto Control::HorizontalContentAlignmentProperty() { return impl::call_factory_cast([](IControlStatics const& f) { return f.HorizontalContentAlignmentProperty(); }); } inline auto Control::VerticalContentAlignmentProperty() { return impl::call_factory_cast([](IControlStatics const& f) { return f.VerticalContentAlignmentProperty(); }); } inline auto Control::BackgroundProperty() { return impl::call_factory_cast([](IControlStatics const& f) { return f.BackgroundProperty(); }); } inline auto Control::BackgroundSizingProperty() { return impl::call_factory_cast([](IControlStatics const& f) { return f.BackgroundSizingProperty(); }); } inline auto Control::BorderThicknessProperty() { return impl::call_factory_cast([](IControlStatics const& f) { return f.BorderThicknessProperty(); }); } inline auto Control::BorderBrushProperty() { return impl::call_factory_cast([](IControlStatics const& f) { return f.BorderBrushProperty(); }); } inline auto Control::DefaultStyleKeyProperty() { return impl::call_factory_cast([](IControlStatics const& f) { return f.DefaultStyleKeyProperty(); }); } inline auto Control::DefaultStyleResourceUriProperty() { return impl::call_factory_cast([](IControlStatics const& f) { return f.DefaultStyleResourceUriProperty(); }); } inline auto Control::ElementSoundModeProperty() { return impl::call_factory_cast([](IControlStatics const& f) { return f.ElementSoundModeProperty(); }); } inline auto Control::CornerRadiusProperty() { return impl::call_factory_cast([](IControlStatics const& f) { return f.CornerRadiusProperty(); }); } inline auto Control::IsTemplateFocusTargetProperty() { return impl::call_factory_cast([](IControlStatics const& f) { return f.IsTemplateFocusTargetProperty(); }); } inline auto Control::GetIsTemplateFocusTarget(winrt::Microsoft::UI::Xaml::FrameworkElement const& element) { return impl::call_factory([&](IControlStatics const& f) { return f.GetIsTemplateFocusTarget(element); }); } inline auto Control::SetIsTemplateFocusTarget(winrt::Microsoft::UI::Xaml::FrameworkElement const& element, bool value) { impl::call_factory([&](IControlStatics const& f) { return f.SetIsTemplateFocusTarget(element, value); }); } inline auto Control::IsTemplateKeyTipTargetProperty() { return impl::call_factory_cast([](IControlStatics const& f) { return f.IsTemplateKeyTipTargetProperty(); }); } inline auto Control::GetIsTemplateKeyTipTarget(winrt::Microsoft::UI::Xaml::DependencyObject const& element) { return impl::call_factory([&](IControlStatics const& f) { return f.GetIsTemplateKeyTipTarget(element); }); } inline auto Control::SetIsTemplateKeyTipTarget(winrt::Microsoft::UI::Xaml::DependencyObject const& element, bool value) { impl::call_factory([&](IControlStatics const& f) { return f.SetIsTemplateKeyTipTarget(element, value); }); } inline ControlTemplate::ControlTemplate() : ControlTemplate(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline DataTemplateSelector::DataTemplateSelector() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IDataTemplateSelectorFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline DatePickedEventArgs::DatePickedEventArgs() : DatePickedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline DatePicker::DatePicker() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IDatePickerFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto DatePicker::HeaderProperty() { return impl::call_factory_cast([](IDatePickerStatics const& f) { return f.HeaderProperty(); }); } inline auto DatePicker::HeaderTemplateProperty() { return impl::call_factory_cast([](IDatePickerStatics const& f) { return f.HeaderTemplateProperty(); }); } inline auto DatePicker::CalendarIdentifierProperty() { return impl::call_factory_cast([](IDatePickerStatics const& f) { return f.CalendarIdentifierProperty(); }); } inline auto DatePicker::DateProperty() { return impl::call_factory_cast([](IDatePickerStatics const& f) { return f.DateProperty(); }); } inline auto DatePicker::DayVisibleProperty() { return impl::call_factory_cast([](IDatePickerStatics const& f) { return f.DayVisibleProperty(); }); } inline auto DatePicker::MonthVisibleProperty() { return impl::call_factory_cast([](IDatePickerStatics const& f) { return f.MonthVisibleProperty(); }); } inline auto DatePicker::YearVisibleProperty() { return impl::call_factory_cast([](IDatePickerStatics const& f) { return f.YearVisibleProperty(); }); } inline auto DatePicker::DayFormatProperty() { return impl::call_factory_cast([](IDatePickerStatics const& f) { return f.DayFormatProperty(); }); } inline auto DatePicker::MonthFormatProperty() { return impl::call_factory_cast([](IDatePickerStatics const& f) { return f.MonthFormatProperty(); }); } inline auto DatePicker::YearFormatProperty() { return impl::call_factory_cast([](IDatePickerStatics const& f) { return f.YearFormatProperty(); }); } inline auto DatePicker::MinYearProperty() { return impl::call_factory_cast([](IDatePickerStatics const& f) { return f.MinYearProperty(); }); } inline auto DatePicker::MaxYearProperty() { return impl::call_factory_cast([](IDatePickerStatics const& f) { return f.MaxYearProperty(); }); } inline auto DatePicker::OrientationProperty() { return impl::call_factory_cast([](IDatePickerStatics const& f) { return f.OrientationProperty(); }); } inline auto DatePicker::LightDismissOverlayModeProperty() { return impl::call_factory_cast([](IDatePickerStatics const& f) { return f.LightDismissOverlayModeProperty(); }); } inline auto DatePicker::SelectedDateProperty() { return impl::call_factory_cast([](IDatePickerStatics const& f) { return f.SelectedDateProperty(); }); } inline DatePickerFlyout::DatePickerFlyout() : DatePickerFlyout(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto DatePickerFlyout::CalendarIdentifierProperty() { return impl::call_factory_cast([](IDatePickerFlyoutStatics const& f) { return f.CalendarIdentifierProperty(); }); } inline auto DatePickerFlyout::DateProperty() { return impl::call_factory_cast([](IDatePickerFlyoutStatics const& f) { return f.DateProperty(); }); } inline auto DatePickerFlyout::DayVisibleProperty() { return impl::call_factory_cast([](IDatePickerFlyoutStatics const& f) { return f.DayVisibleProperty(); }); } inline auto DatePickerFlyout::MonthVisibleProperty() { return impl::call_factory_cast([](IDatePickerFlyoutStatics const& f) { return f.MonthVisibleProperty(); }); } inline auto DatePickerFlyout::YearVisibleProperty() { return impl::call_factory_cast([](IDatePickerFlyoutStatics const& f) { return f.YearVisibleProperty(); }); } inline auto DatePickerFlyout::MinYearProperty() { return impl::call_factory_cast([](IDatePickerFlyoutStatics const& f) { return f.MinYearProperty(); }); } inline auto DatePickerFlyout::MaxYearProperty() { return impl::call_factory_cast([](IDatePickerFlyoutStatics const& f) { return f.MaxYearProperty(); }); } inline auto DatePickerFlyout::DayFormatProperty() { return impl::call_factory_cast([](IDatePickerFlyoutStatics const& f) { return f.DayFormatProperty(); }); } inline auto DatePickerFlyout::MonthFormatProperty() { return impl::call_factory_cast([](IDatePickerFlyoutStatics const& f) { return f.MonthFormatProperty(); }); } inline auto DatePickerFlyout::YearFormatProperty() { return impl::call_factory_cast([](IDatePickerFlyoutStatics const& f) { return f.YearFormatProperty(); }); } inline auto DatePickerFlyoutItem::PrimaryTextProperty() { return impl::call_factory_cast([](IDatePickerFlyoutItemStatics const& f) { return f.PrimaryTextProperty(); }); } inline auto DatePickerFlyoutItem::SecondaryTextProperty() { return impl::call_factory_cast([](IDatePickerFlyoutItemStatics const& f) { return f.SecondaryTextProperty(); }); } inline auto DatePickerFlyoutPresenter::IsDefaultShadowEnabledProperty() { return impl::call_factory_cast([](IDatePickerFlyoutPresenterStatics const& f) { return f.IsDefaultShadowEnabledProperty(); }); } inline DragItemsStartingEventArgs::DragItemsStartingEventArgs() : DragItemsStartingEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline DropDownButton::DropDownButton() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IDropDownButtonFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline DynamicOverflowItemsChangingEventArgs::DynamicOverflowItemsChangingEventArgs() : DynamicOverflowItemsChangingEventArgs(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 FlipView::FlipView() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IFlipViewFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto FlipView::UseTouchAnimationsForAllNavigationProperty() { return impl::call_factory_cast([](IFlipViewStatics const& f) { return f.UseTouchAnimationsForAllNavigationProperty(); }); } inline FlipViewItem::FlipViewItem() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IFlipViewItemFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline Flyout::Flyout() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IFlyoutFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto Flyout::ContentProperty() { return impl::call_factory_cast([](IFlyoutStatics const& f) { return f.ContentProperty(); }); } inline auto Flyout::FlyoutPresenterStyleProperty() { return impl::call_factory_cast([](IFlyoutStatics const& f) { return f.FlyoutPresenterStyleProperty(); }); } inline FlyoutPresenter::FlyoutPresenter() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IFlyoutPresenterFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto FlyoutPresenter::IsDefaultShadowEnabledProperty() { return impl::call_factory_cast([](IFlyoutPresenterStatics const& f) { return f.IsDefaultShadowEnabledProperty(); }); } inline FontIcon::FontIcon() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IFontIconFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto FontIcon::GlyphProperty() { return impl::call_factory_cast([](IFontIconStatics const& f) { return f.GlyphProperty(); }); } inline auto FontIcon::FontSizeProperty() { return impl::call_factory_cast([](IFontIconStatics const& f) { return f.FontSizeProperty(); }); } inline auto FontIcon::FontFamilyProperty() { return impl::call_factory_cast([](IFontIconStatics const& f) { return f.FontFamilyProperty(); }); } inline auto FontIcon::FontWeightProperty() { return impl::call_factory_cast([](IFontIconStatics const& f) { return f.FontWeightProperty(); }); } inline auto FontIcon::FontStyleProperty() { return impl::call_factory_cast([](IFontIconStatics const& f) { return f.FontStyleProperty(); }); } inline auto FontIcon::IsTextScaleFactorEnabledProperty() { return impl::call_factory_cast([](IFontIconStatics const& f) { return f.IsTextScaleFactorEnabledProperty(); }); } inline auto FontIcon::MirroredWhenRightToLeftProperty() { return impl::call_factory_cast([](IFontIconStatics const& f) { return f.MirroredWhenRightToLeftProperty(); }); } 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 Frame::Frame() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IFrameFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto Frame::CacheSizeProperty() { return impl::call_factory_cast([](IFrameStatics const& f) { return f.CacheSizeProperty(); }); } inline auto Frame::CanGoBackProperty() { return impl::call_factory_cast([](IFrameStatics const& f) { return f.CanGoBackProperty(); }); } inline auto Frame::CanGoForwardProperty() { return impl::call_factory_cast([](IFrameStatics const& f) { return f.CanGoForwardProperty(); }); } inline auto Frame::CurrentSourcePageTypeProperty() { return impl::call_factory_cast([](IFrameStatics const& f) { return f.CurrentSourcePageTypeProperty(); }); } inline auto Frame::SourcePageTypeProperty() { return impl::call_factory_cast([](IFrameStatics const& f) { return f.SourcePageTypeProperty(); }); } inline auto Frame::BackStackDepthProperty() { return impl::call_factory_cast([](IFrameStatics const& f) { return f.BackStackDepthProperty(); }); } inline auto Frame::BackStackProperty() { return impl::call_factory_cast([](IFrameStatics const& f) { return f.BackStackProperty(); }); } inline auto Frame::ForwardStackProperty() { return impl::call_factory_cast([](IFrameStatics const& f) { return f.ForwardStackProperty(); }); } inline auto Frame::IsNavigationStackEnabledProperty() { return impl::call_factory_cast([](IFrameStatics const& f) { return f.IsNavigationStackEnabledProperty(); }); } inline Grid::Grid() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IGridFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto Grid::BackgroundSizingProperty() { return impl::call_factory_cast([](IGridStatics const& f) { return f.BackgroundSizingProperty(); }); } inline auto Grid::BorderBrushProperty() { return impl::call_factory_cast([](IGridStatics const& f) { return f.BorderBrushProperty(); }); } inline auto Grid::BorderThicknessProperty() { return impl::call_factory_cast([](IGridStatics const& f) { return f.BorderThicknessProperty(); }); } inline auto Grid::CornerRadiusProperty() { return impl::call_factory_cast([](IGridStatics const& f) { return f.CornerRadiusProperty(); }); } inline auto Grid::PaddingProperty() { return impl::call_factory_cast([](IGridStatics const& f) { return f.PaddingProperty(); }); } inline auto Grid::RowSpacingProperty() { return impl::call_factory_cast([](IGridStatics const& f) { return f.RowSpacingProperty(); }); } inline auto Grid::ColumnSpacingProperty() { return impl::call_factory_cast([](IGridStatics const& f) { return f.ColumnSpacingProperty(); }); } inline auto Grid::RowProperty() { return impl::call_factory_cast([](IGridStatics const& f) { return f.RowProperty(); }); } inline auto Grid::GetRow(winrt::Microsoft::UI::Xaml::FrameworkElement const& element) { return impl::call_factory([&](IGridStatics const& f) { return f.GetRow(element); }); } inline auto Grid::SetRow(winrt::Microsoft::UI::Xaml::FrameworkElement const& element, int32_t value) { impl::call_factory([&](IGridStatics const& f) { return f.SetRow(element, value); }); } inline auto Grid::ColumnProperty() { return impl::call_factory_cast([](IGridStatics const& f) { return f.ColumnProperty(); }); } inline auto Grid::GetColumn(winrt::Microsoft::UI::Xaml::FrameworkElement const& element) { return impl::call_factory([&](IGridStatics const& f) { return f.GetColumn(element); }); } inline auto Grid::SetColumn(winrt::Microsoft::UI::Xaml::FrameworkElement const& element, int32_t value) { impl::call_factory([&](IGridStatics const& f) { return f.SetColumn(element, value); }); } inline auto Grid::RowSpanProperty() { return impl::call_factory_cast([](IGridStatics const& f) { return f.RowSpanProperty(); }); } inline auto Grid::GetRowSpan(winrt::Microsoft::UI::Xaml::FrameworkElement const& element) { return impl::call_factory([&](IGridStatics const& f) { return f.GetRowSpan(element); }); } inline auto Grid::SetRowSpan(winrt::Microsoft::UI::Xaml::FrameworkElement const& element, int32_t value) { impl::call_factory([&](IGridStatics const& f) { return f.SetRowSpan(element, value); }); } inline auto Grid::ColumnSpanProperty() { return impl::call_factory_cast([](IGridStatics const& f) { return f.ColumnSpanProperty(); }); } inline auto Grid::GetColumnSpan(winrt::Microsoft::UI::Xaml::FrameworkElement const& element) { return impl::call_factory([&](IGridStatics const& f) { return f.GetColumnSpan(element); }); } inline auto Grid::SetColumnSpan(winrt::Microsoft::UI::Xaml::FrameworkElement const& element, int32_t value) { impl::call_factory([&](IGridStatics const& f) { return f.SetColumnSpan(element, value); }); } inline GridView::GridView() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IGridViewFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline GridViewHeaderItem::GridViewHeaderItem() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IGridViewHeaderItemFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline GridViewItem::GridViewItem() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IGridViewItemFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline GroupItem::GroupItem() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IGroupItemFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline GroupStyle::GroupStyle() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IGroupStyleFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline GroupStyleSelector::GroupStyleSelector() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IGroupStyleSelectorFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline Hub::Hub() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IHubFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto Hub::HeaderProperty() { return impl::call_factory_cast([](IHubStatics const& f) { return f.HeaderProperty(); }); } inline auto Hub::HeaderTemplateProperty() { return impl::call_factory_cast([](IHubStatics const& f) { return f.HeaderTemplateProperty(); }); } inline auto Hub::OrientationProperty() { return impl::call_factory_cast([](IHubStatics const& f) { return f.OrientationProperty(); }); } inline auto Hub::DefaultSectionIndexProperty() { return impl::call_factory_cast([](IHubStatics const& f) { return f.DefaultSectionIndexProperty(); }); } inline auto Hub::SemanticZoomOwnerProperty() { return impl::call_factory_cast([](IHubStatics const& f) { return f.SemanticZoomOwnerProperty(); }); } inline auto Hub::IsActiveViewProperty() { return impl::call_factory_cast([](IHubStatics const& f) { return f.IsActiveViewProperty(); }); } inline auto Hub::IsZoomedInViewProperty() { return impl::call_factory_cast([](IHubStatics const& f) { return f.IsZoomedInViewProperty(); }); } inline HubSection::HubSection() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IHubSectionFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto HubSection::HeaderProperty() { return impl::call_factory_cast([](IHubSectionStatics const& f) { return f.HeaderProperty(); }); } inline auto HubSection::HeaderTemplateProperty() { return impl::call_factory_cast([](IHubSectionStatics const& f) { return f.HeaderTemplateProperty(); }); } inline auto HubSection::ContentTemplateProperty() { return impl::call_factory_cast([](IHubSectionStatics const& f) { return f.ContentTemplateProperty(); }); } inline auto HubSection::IsHeaderInteractiveProperty() { return impl::call_factory_cast([](IHubSectionStatics const& f) { return f.IsHeaderInteractiveProperty(); }); } inline HubSectionHeaderClickEventArgs::HubSectionHeaderClickEventArgs() : HubSectionHeaderClickEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline HyperlinkButton::HyperlinkButton() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IHyperlinkButtonFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto HyperlinkButton::NavigateUriProperty() { return impl::call_factory_cast([](IHyperlinkButtonStatics const& f) { return f.NavigateUriProperty(); }); } inline auto IconElement::ForegroundProperty() { return impl::call_factory_cast([](IIconElementStatics const& f) { return f.ForegroundProperty(); }); } inline auto IconSource::ForegroundProperty() { return impl::call_factory_cast([](IIconSourceStatics const& f) { return f.ForegroundProperty(); }); } inline IconSourceElement::IconSourceElement() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IIconSourceElementFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto IconSourceElement::IconSourceProperty() { return impl::call_factory_cast([](IIconSourceElementStatics const& f) { return f.IconSourceProperty(); }); } inline Image::Image() : Image(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto Image::SourceProperty() { return impl::call_factory_cast([](IImageStatics const& f) { return f.SourceProperty(); }); } inline auto Image::StretchProperty() { return impl::call_factory_cast([](IImageStatics const& f) { return f.StretchProperty(); }); } inline auto Image::NineGridProperty() { return impl::call_factory_cast([](IImageStatics const& f) { return f.NineGridProperty(); }); } 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 ItemClickEventArgs::ItemClickEventArgs() : ItemClickEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline ItemCollectionTransitionProvider::ItemCollectionTransitionProvider() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IItemCollectionTransitionProviderFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline ItemContainer::ItemContainer() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IItemContainerFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto ItemContainer::ChildProperty() { return impl::call_factory_cast([](IItemContainerStatics const& f) { return f.ChildProperty(); }); } inline auto ItemContainer::IsSelectedProperty() { return impl::call_factory_cast([](IItemContainerStatics const& f) { return f.IsSelectedProperty(); }); } inline ItemsControl::ItemsControl() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IItemsControlFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto ItemsControl::ItemsSourceProperty() { return impl::call_factory_cast([](IItemsControlStatics const& f) { return f.ItemsSourceProperty(); }); } inline auto ItemsControl::ItemTemplateProperty() { return impl::call_factory_cast([](IItemsControlStatics const& f) { return f.ItemTemplateProperty(); }); } inline auto ItemsControl::ItemTemplateSelectorProperty() { return impl::call_factory_cast([](IItemsControlStatics const& f) { return f.ItemTemplateSelectorProperty(); }); } inline auto ItemsControl::ItemsPanelProperty() { return impl::call_factory_cast([](IItemsControlStatics const& f) { return f.ItemsPanelProperty(); }); } inline auto ItemsControl::DisplayMemberPathProperty() { return impl::call_factory_cast([](IItemsControlStatics const& f) { return f.DisplayMemberPathProperty(); }); } inline auto ItemsControl::ItemContainerStyleProperty() { return impl::call_factory_cast([](IItemsControlStatics const& f) { return f.ItemContainerStyleProperty(); }); } inline auto ItemsControl::ItemContainerStyleSelectorProperty() { return impl::call_factory_cast([](IItemsControlStatics const& f) { return f.ItemContainerStyleSelectorProperty(); }); } inline auto ItemsControl::ItemContainerTransitionsProperty() { return impl::call_factory_cast([](IItemsControlStatics const& f) { return f.ItemContainerTransitionsProperty(); }); } inline auto ItemsControl::GroupStyleSelectorProperty() { return impl::call_factory_cast([](IItemsControlStatics const& f) { return f.GroupStyleSelectorProperty(); }); } inline auto ItemsControl::IsGroupingProperty() { return impl::call_factory_cast([](IItemsControlStatics const& f) { return f.IsGroupingProperty(); }); } inline auto ItemsControl::GetItemsOwner(winrt::Microsoft::UI::Xaml::DependencyObject const& element) { return impl::call_factory([&](IItemsControlStatics const& f) { return f.GetItemsOwner(element); }); } inline auto ItemsControl::ItemsControlFromItemContainer(winrt::Microsoft::UI::Xaml::DependencyObject const& container) { return impl::call_factory([&](IItemsControlStatics const& f) { return f.ItemsControlFromItemContainer(container); }); } inline ItemsPanelTemplate::ItemsPanelTemplate() : ItemsPanelTemplate(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline ItemsPickedEventArgs::ItemsPickedEventArgs() : ItemsPickedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline ItemsPresenter::ItemsPresenter() : ItemsPresenter(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto ItemsPresenter::HeaderProperty() { return impl::call_factory_cast([](IItemsPresenterStatics const& f) { return f.HeaderProperty(); }); } inline auto ItemsPresenter::HeaderTemplateProperty() { return impl::call_factory_cast([](IItemsPresenterStatics const& f) { return f.HeaderTemplateProperty(); }); } inline auto ItemsPresenter::HeaderTransitionsProperty() { return impl::call_factory_cast([](IItemsPresenterStatics const& f) { return f.HeaderTransitionsProperty(); }); } inline auto ItemsPresenter::FooterProperty() { return impl::call_factory_cast([](IItemsPresenterStatics const& f) { return f.FooterProperty(); }); } inline auto ItemsPresenter::FooterTemplateProperty() { return impl::call_factory_cast([](IItemsPresenterStatics const& f) { return f.FooterTemplateProperty(); }); } inline auto ItemsPresenter::FooterTransitionsProperty() { return impl::call_factory_cast([](IItemsPresenterStatics const& f) { return f.FooterTransitionsProperty(); }); } inline auto ItemsPresenter::PaddingProperty() { return impl::call_factory_cast([](IItemsPresenterStatics const& f) { return f.PaddingProperty(); }); } 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 auto ItemsRepeater::ItemTransitionProviderProperty() { return impl::call_factory_cast([](IItemsRepeaterStatics2 const& f) { return f.ItemTransitionProviderProperty(); }); } 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 ItemsStackPanel::ItemsStackPanel() : ItemsStackPanel(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto ItemsStackPanel::GroupPaddingProperty() { return impl::call_factory_cast([](IItemsStackPanelStatics const& f) { return f.GroupPaddingProperty(); }); } inline auto ItemsStackPanel::OrientationProperty() { return impl::call_factory_cast([](IItemsStackPanelStatics const& f) { return f.OrientationProperty(); }); } inline auto ItemsStackPanel::GroupHeaderPlacementProperty() { return impl::call_factory_cast([](IItemsStackPanelStatics const& f) { return f.GroupHeaderPlacementProperty(); }); } inline auto ItemsStackPanel::CacheLengthProperty() { return impl::call_factory_cast([](IItemsStackPanelStatics const& f) { return f.CacheLengthProperty(); }); } inline auto ItemsStackPanel::AreStickyGroupHeadersEnabledProperty() { return impl::call_factory_cast([](IItemsStackPanelStatics const& f) { return f.AreStickyGroupHeadersEnabledProperty(); }); } inline ItemsView::ItemsView() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IItemsViewFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto ItemsView::IsItemInvokedEnabledProperty() { return impl::call_factory_cast([](IItemsViewStatics const& f) { return f.IsItemInvokedEnabledProperty(); }); } inline auto ItemsView::ItemsSourceProperty() { return impl::call_factory_cast([](IItemsViewStatics const& f) { return f.ItemsSourceProperty(); }); } inline auto ItemsView::ItemTemplateProperty() { return impl::call_factory_cast([](IItemsViewStatics const& f) { return f.ItemTemplateProperty(); }); } inline auto ItemsView::LayoutProperty() { return impl::call_factory_cast([](IItemsViewStatics const& f) { return f.LayoutProperty(); }); } inline auto ItemsView::SelectionModeProperty() { return impl::call_factory_cast([](IItemsViewStatics const& f) { return f.SelectionModeProperty(); }); } inline auto ItemsView::ItemTransitionProviderProperty() { return impl::call_factory_cast([](IItemsViewStatics const& f) { return f.ItemTransitionProviderProperty(); }); } inline auto ItemsView::CurrentItemIndexProperty() { return impl::call_factory_cast([](IItemsViewStatics const& f) { return f.CurrentItemIndexProperty(); }); } inline auto ItemsView::SelectedItemProperty() { return impl::call_factory_cast([](IItemsViewStatics const& f) { return f.SelectedItemProperty(); }); } inline auto ItemsView::ScrollViewProperty() { return impl::call_factory_cast([](IItemsViewStatics const& f) { return f.ScrollViewProperty(); }); } inline auto ItemsView::VerticalScrollControllerProperty() { return impl::call_factory_cast([](IItemsViewStatics const& f) { return f.VerticalScrollControllerProperty(); }); } inline ItemsWrapGrid::ItemsWrapGrid() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IItemsWrapGridFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto ItemsWrapGrid::GroupPaddingProperty() { return impl::call_factory_cast([](IItemsWrapGridStatics const& f) { return f.GroupPaddingProperty(); }); } inline auto ItemsWrapGrid::OrientationProperty() { return impl::call_factory_cast([](IItemsWrapGridStatics const& f) { return f.OrientationProperty(); }); } inline auto ItemsWrapGrid::MaximumRowsOrColumnsProperty() { return impl::call_factory_cast([](IItemsWrapGridStatics const& f) { return f.MaximumRowsOrColumnsProperty(); }); } inline auto ItemsWrapGrid::ItemWidthProperty() { return impl::call_factory_cast([](IItemsWrapGridStatics const& f) { return f.ItemWidthProperty(); }); } inline auto ItemsWrapGrid::ItemHeightProperty() { return impl::call_factory_cast([](IItemsWrapGridStatics const& f) { return f.ItemHeightProperty(); }); } inline auto ItemsWrapGrid::GroupHeaderPlacementProperty() { return impl::call_factory_cast([](IItemsWrapGridStatics const& f) { return f.GroupHeaderPlacementProperty(); }); } inline auto ItemsWrapGrid::CacheLengthProperty() { return impl::call_factory_cast([](IItemsWrapGridStatics const& f) { return f.CacheLengthProperty(); }); } inline auto ItemsWrapGrid::AreStickyGroupHeadersEnabledProperty() { return impl::call_factory_cast([](IItemsWrapGridStatics const& f) { return f.AreStickyGroupHeadersEnabledProperty(); }); } inline LinedFlowLayout::LinedFlowLayout() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ILinedFlowLayoutFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto LinedFlowLayout::ItemsJustificationProperty() { return impl::call_factory_cast([](ILinedFlowLayoutStatics const& f) { return f.ItemsJustificationProperty(); }); } inline auto LinedFlowLayout::ItemsStretchProperty() { return impl::call_factory_cast([](ILinedFlowLayoutStatics const& f) { return f.ItemsStretchProperty(); }); } inline auto LinedFlowLayout::MinItemSpacingProperty() { return impl::call_factory_cast([](ILinedFlowLayoutStatics const& f) { return f.MinItemSpacingProperty(); }); } inline auto LinedFlowLayout::LineSpacingProperty() { return impl::call_factory_cast([](ILinedFlowLayoutStatics const& f) { return f.LineSpacingProperty(); }); } inline auto LinedFlowLayout::LineHeightProperty() { return impl::call_factory_cast([](ILinedFlowLayoutStatics const& f) { return f.LineHeightProperty(); }); } inline auto LinedFlowLayout::ActualLineHeightProperty() { return impl::call_factory_cast([](ILinedFlowLayoutStatics const& f) { return f.ActualLineHeightProperty(); }); } inline LinedFlowLayoutItemCollectionTransitionProvider::LinedFlowLayoutItemCollectionTransitionProvider() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ILinedFlowLayoutItemCollectionTransitionProviderFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline ListBox::ListBox() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IListBoxFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto ListBox::SelectionModeProperty() { return impl::call_factory_cast([](IListBoxStatics const& f) { return f.SelectionModeProperty(); }); } inline auto ListBox::SingleSelectionFollowsFocusProperty() { return impl::call_factory_cast([](IListBoxStatics const& f) { return f.SingleSelectionFollowsFocusProperty(); }); } inline ListBoxItem::ListBoxItem() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IListBoxItemFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline ListPickerFlyout::ListPickerFlyout() : ListPickerFlyout(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto ListPickerFlyout::ItemsSourceProperty() { return impl::call_factory_cast([](IListPickerFlyoutStatics const& f) { return f.ItemsSourceProperty(); }); } inline auto ListPickerFlyout::ItemTemplateProperty() { return impl::call_factory_cast([](IListPickerFlyoutStatics const& f) { return f.ItemTemplateProperty(); }); } inline auto ListPickerFlyout::DisplayMemberPathProperty() { return impl::call_factory_cast([](IListPickerFlyoutStatics const& f) { return f.DisplayMemberPathProperty(); }); } inline auto ListPickerFlyout::SelectionModeProperty() { return impl::call_factory_cast([](IListPickerFlyoutStatics const& f) { return f.SelectionModeProperty(); }); } inline auto ListPickerFlyout::SelectedIndexProperty() { return impl::call_factory_cast([](IListPickerFlyoutStatics const& f) { return f.SelectedIndexProperty(); }); } inline auto ListPickerFlyout::SelectedItemProperty() { return impl::call_factory_cast([](IListPickerFlyoutStatics const& f) { return f.SelectedItemProperty(); }); } inline auto ListPickerFlyout::SelectedValueProperty() { return impl::call_factory_cast([](IListPickerFlyoutStatics const& f) { return f.SelectedValueProperty(); }); } inline auto ListPickerFlyout::SelectedValuePathProperty() { return impl::call_factory_cast([](IListPickerFlyoutStatics const& f) { return f.SelectedValuePathProperty(); }); } inline ListView::ListView() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IListViewFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto ListViewBase::SelectionModeProperty() { return impl::call_factory_cast([](IListViewBaseStatics const& f) { return f.SelectionModeProperty(); }); } inline auto ListViewBase::IsSwipeEnabledProperty() { return impl::call_factory_cast([](IListViewBaseStatics const& f) { return f.IsSwipeEnabledProperty(); }); } inline auto ListViewBase::CanDragItemsProperty() { return impl::call_factory_cast([](IListViewBaseStatics const& f) { return f.CanDragItemsProperty(); }); } inline auto ListViewBase::CanReorderItemsProperty() { return impl::call_factory_cast([](IListViewBaseStatics const& f) { return f.CanReorderItemsProperty(); }); } inline auto ListViewBase::IsItemClickEnabledProperty() { return impl::call_factory_cast([](IListViewBaseStatics const& f) { return f.IsItemClickEnabledProperty(); }); } inline auto ListViewBase::DataFetchSizeProperty() { return impl::call_factory_cast([](IListViewBaseStatics const& f) { return f.DataFetchSizeProperty(); }); } inline auto ListViewBase::IncrementalLoadingThresholdProperty() { return impl::call_factory_cast([](IListViewBaseStatics const& f) { return f.IncrementalLoadingThresholdProperty(); }); } inline auto ListViewBase::IncrementalLoadingTriggerProperty() { return impl::call_factory_cast([](IListViewBaseStatics const& f) { return f.IncrementalLoadingTriggerProperty(); }); } inline auto ListViewBase::ShowsScrollingPlaceholdersProperty() { return impl::call_factory_cast([](IListViewBaseStatics const& f) { return f.ShowsScrollingPlaceholdersProperty(); }); } inline auto ListViewBase::ReorderModeProperty() { return impl::call_factory_cast([](IListViewBaseStatics const& f) { return f.ReorderModeProperty(); }); } inline auto ListViewBase::IsMultiSelectCheckBoxEnabledProperty() { return impl::call_factory_cast([](IListViewBaseStatics const& f) { return f.IsMultiSelectCheckBoxEnabledProperty(); }); } inline auto ListViewBase::SingleSelectionFollowsFocusProperty() { return impl::call_factory_cast([](IListViewBaseStatics const& f) { return f.SingleSelectionFollowsFocusProperty(); }); } inline auto ListViewBase::SemanticZoomOwnerProperty() { return impl::call_factory_cast([](IListViewBaseStatics const& f) { return f.SemanticZoomOwnerProperty(); }); } inline auto ListViewBase::IsActiveViewProperty() { return impl::call_factory_cast([](IListViewBaseStatics const& f) { return f.IsActiveViewProperty(); }); } inline auto ListViewBase::IsZoomedInViewProperty() { return impl::call_factory_cast([](IListViewBaseStatics const& f) { return f.IsZoomedInViewProperty(); }); } inline auto ListViewBase::HeaderProperty() { return impl::call_factory_cast([](IListViewBaseStatics const& f) { return f.HeaderProperty(); }); } inline auto ListViewBase::HeaderTemplateProperty() { return impl::call_factory_cast([](IListViewBaseStatics const& f) { return f.HeaderTemplateProperty(); }); } inline auto ListViewBase::HeaderTransitionsProperty() { return impl::call_factory_cast([](IListViewBaseStatics const& f) { return f.HeaderTransitionsProperty(); }); } inline auto ListViewBase::FooterProperty() { return impl::call_factory_cast([](IListViewBaseStatics const& f) { return f.FooterProperty(); }); } inline auto ListViewBase::FooterTemplateProperty() { return impl::call_factory_cast([](IListViewBaseStatics const& f) { return f.FooterTemplateProperty(); }); } inline auto ListViewBase::FooterTransitionsProperty() { return impl::call_factory_cast([](IListViewBaseStatics const& f) { return f.FooterTransitionsProperty(); }); } inline ListViewHeaderItem::ListViewHeaderItem() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IListViewHeaderItemFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline ListViewItem::ListViewItem() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IListViewItemFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto ListViewPersistenceHelper::GetRelativeScrollPosition(winrt::Microsoft::UI::Xaml::Controls::ListViewBase const& listViewBase, winrt::Microsoft::UI::Xaml::Controls::ListViewItemToKeyHandler const& itemToKeyHandler) { return impl::call_factory([&](IListViewPersistenceHelperStatics const& f) { return f.GetRelativeScrollPosition(listViewBase, itemToKeyHandler); }); } inline auto ListViewPersistenceHelper::SetRelativeScrollPositionAsync(winrt::Microsoft::UI::Xaml::Controls::ListViewBase const& listViewBase, param::hstring const& relativeScrollPosition, winrt::Microsoft::UI::Xaml::Controls::ListViewKeyToItemHandler const& keyToItemHandler) { return impl::call_factory([&](IListViewPersistenceHelperStatics const& f) { return f.SetRelativeScrollPositionAsync(listViewBase, relativeScrollPosition, keyToItemHandler); }); } inline MapControl::MapControl() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IMapControlFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto MapControl::LayersProperty() { return impl::call_factory_cast([](IMapControlStatics const& f) { return f.LayersProperty(); }); } inline auto MapControl::MapServiceTokenProperty() { return impl::call_factory_cast([](IMapControlStatics const& f) { return f.MapServiceTokenProperty(); }); } inline auto MapControl::CenterProperty() { return impl::call_factory_cast([](IMapControlStatics const& f) { return f.CenterProperty(); }); } inline auto MapControl::ZoomLevelProperty() { return impl::call_factory_cast([](IMapControlStatics const& f) { return f.ZoomLevelProperty(); }); } inline auto MapControl::InteractiveControlsVisibleProperty() { return impl::call_factory_cast([](IMapControlStatics const& f) { return f.InteractiveControlsVisibleProperty(); }); } inline MapElementsLayer::MapElementsLayer() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IMapElementsLayerFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto MapElementsLayer::MapElementsProperty() { return impl::call_factory_cast([](IMapElementsLayerStatics const& f) { return f.MapElementsProperty(); }); } inline MapIcon::MapIcon() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IMapIconFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto MapIcon::LocationProperty() { return impl::call_factory_cast([](IMapIconStatics const& f) { return f.LocationProperty(); }); } inline MediaPlayerElement::MediaPlayerElement() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IMediaPlayerElementFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto MediaPlayerElement::SourceProperty() { return impl::call_factory_cast([](IMediaPlayerElementStatics const& f) { return f.SourceProperty(); }); } inline auto MediaPlayerElement::AreTransportControlsEnabledProperty() { return impl::call_factory_cast([](IMediaPlayerElementStatics const& f) { return f.AreTransportControlsEnabledProperty(); }); } inline auto MediaPlayerElement::PosterSourceProperty() { return impl::call_factory_cast([](IMediaPlayerElementStatics const& f) { return f.PosterSourceProperty(); }); } inline auto MediaPlayerElement::StretchProperty() { return impl::call_factory_cast([](IMediaPlayerElementStatics const& f) { return f.StretchProperty(); }); } inline auto MediaPlayerElement::AutoPlayProperty() { return impl::call_factory_cast([](IMediaPlayerElementStatics const& f) { return f.AutoPlayProperty(); }); } inline auto MediaPlayerElement::IsFullWindowProperty() { return impl::call_factory_cast([](IMediaPlayerElementStatics const& f) { return f.IsFullWindowProperty(); }); } inline auto MediaPlayerElement::MediaPlayerProperty() { return impl::call_factory_cast([](IMediaPlayerElementStatics const& f) { return f.MediaPlayerProperty(); }); } inline MediaPlayerPresenter::MediaPlayerPresenter() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IMediaPlayerPresenterFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto MediaPlayerPresenter::MediaPlayerProperty() { return impl::call_factory_cast([](IMediaPlayerPresenterStatics const& f) { return f.MediaPlayerProperty(); }); } inline auto MediaPlayerPresenter::StretchProperty() { return impl::call_factory_cast([](IMediaPlayerPresenterStatics const& f) { return f.StretchProperty(); }); } inline auto MediaPlayerPresenter::IsFullWindowProperty() { return impl::call_factory_cast([](IMediaPlayerPresenterStatics const& f) { return f.IsFullWindowProperty(); }); } inline MediaTransportControls::MediaTransportControls() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IMediaTransportControlsFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto MediaTransportControls::IsZoomButtonVisibleProperty() { return impl::call_factory_cast([](IMediaTransportControlsStatics const& f) { return f.IsZoomButtonVisibleProperty(); }); } inline auto MediaTransportControls::IsZoomEnabledProperty() { return impl::call_factory_cast([](IMediaTransportControlsStatics const& f) { return f.IsZoomEnabledProperty(); }); } inline auto MediaTransportControls::IsFastForwardButtonVisibleProperty() { return impl::call_factory_cast([](IMediaTransportControlsStatics const& f) { return f.IsFastForwardButtonVisibleProperty(); }); } inline auto MediaTransportControls::IsFastForwardEnabledProperty() { return impl::call_factory_cast([](IMediaTransportControlsStatics const& f) { return f.IsFastForwardEnabledProperty(); }); } inline auto MediaTransportControls::IsFastRewindButtonVisibleProperty() { return impl::call_factory_cast([](IMediaTransportControlsStatics const& f) { return f.IsFastRewindButtonVisibleProperty(); }); } inline auto MediaTransportControls::IsFastRewindEnabledProperty() { return impl::call_factory_cast([](IMediaTransportControlsStatics const& f) { return f.IsFastRewindEnabledProperty(); }); } inline auto MediaTransportControls::IsStopButtonVisibleProperty() { return impl::call_factory_cast([](IMediaTransportControlsStatics const& f) { return f.IsStopButtonVisibleProperty(); }); } inline auto MediaTransportControls::IsStopEnabledProperty() { return impl::call_factory_cast([](IMediaTransportControlsStatics const& f) { return f.IsStopEnabledProperty(); }); } inline auto MediaTransportControls::IsVolumeButtonVisibleProperty() { return impl::call_factory_cast([](IMediaTransportControlsStatics const& f) { return f.IsVolumeButtonVisibleProperty(); }); } inline auto MediaTransportControls::IsVolumeEnabledProperty() { return impl::call_factory_cast([](IMediaTransportControlsStatics const& f) { return f.IsVolumeEnabledProperty(); }); } inline auto MediaTransportControls::IsPlaybackRateButtonVisibleProperty() { return impl::call_factory_cast([](IMediaTransportControlsStatics const& f) { return f.IsPlaybackRateButtonVisibleProperty(); }); } inline auto MediaTransportControls::IsPlaybackRateEnabledProperty() { return impl::call_factory_cast([](IMediaTransportControlsStatics const& f) { return f.IsPlaybackRateEnabledProperty(); }); } inline auto MediaTransportControls::IsSeekBarVisibleProperty() { return impl::call_factory_cast([](IMediaTransportControlsStatics const& f) { return f.IsSeekBarVisibleProperty(); }); } inline auto MediaTransportControls::IsSeekEnabledProperty() { return impl::call_factory_cast([](IMediaTransportControlsStatics const& f) { return f.IsSeekEnabledProperty(); }); } inline auto MediaTransportControls::IsCompactProperty() { return impl::call_factory_cast([](IMediaTransportControlsStatics const& f) { return f.IsCompactProperty(); }); } inline auto MediaTransportControls::IsSkipForwardButtonVisibleProperty() { return impl::call_factory_cast([](IMediaTransportControlsStatics const& f) { return f.IsSkipForwardButtonVisibleProperty(); }); } inline auto MediaTransportControls::IsSkipForwardEnabledProperty() { return impl::call_factory_cast([](IMediaTransportControlsStatics const& f) { return f.IsSkipForwardEnabledProperty(); }); } inline auto MediaTransportControls::IsSkipBackwardButtonVisibleProperty() { return impl::call_factory_cast([](IMediaTransportControlsStatics const& f) { return f.IsSkipBackwardButtonVisibleProperty(); }); } inline auto MediaTransportControls::IsSkipBackwardEnabledProperty() { return impl::call_factory_cast([](IMediaTransportControlsStatics const& f) { return f.IsSkipBackwardEnabledProperty(); }); } inline auto MediaTransportControls::IsNextTrackButtonVisibleProperty() { return impl::call_factory_cast([](IMediaTransportControlsStatics const& f) { return f.IsNextTrackButtonVisibleProperty(); }); } inline auto MediaTransportControls::IsPreviousTrackButtonVisibleProperty() { return impl::call_factory_cast([](IMediaTransportControlsStatics const& f) { return f.IsPreviousTrackButtonVisibleProperty(); }); } inline auto MediaTransportControls::FastPlayFallbackBehaviourProperty() { return impl::call_factory_cast([](IMediaTransportControlsStatics const& f) { return f.FastPlayFallbackBehaviourProperty(); }); } inline auto MediaTransportControls::ShowAndHideAutomaticallyProperty() { return impl::call_factory_cast([](IMediaTransportControlsStatics const& f) { return f.ShowAndHideAutomaticallyProperty(); }); } inline auto MediaTransportControls::IsRepeatEnabledProperty() { return impl::call_factory_cast([](IMediaTransportControlsStatics const& f) { return f.IsRepeatEnabledProperty(); }); } inline auto MediaTransportControls::IsRepeatButtonVisibleProperty() { return impl::call_factory_cast([](IMediaTransportControlsStatics const& f) { return f.IsRepeatButtonVisibleProperty(); }); } inline auto MediaTransportControlsHelper::DropoutOrderProperty() { return impl::call_factory_cast([](IMediaTransportControlsHelperStatics const& f) { return f.DropoutOrderProperty(); }); } inline auto MediaTransportControlsHelper::GetDropoutOrder(winrt::Microsoft::UI::Xaml::UIElement const& element) { return impl::call_factory([&](IMediaTransportControlsHelperStatics const& f) { return f.GetDropoutOrder(element); }); } inline auto MediaTransportControlsHelper::SetDropoutOrder(winrt::Microsoft::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IReference const& value) { impl::call_factory([&](IMediaTransportControlsHelperStatics const& f) { return f.SetDropoutOrder(element, value); }); } 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 MenuFlyout::MenuFlyout() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IMenuFlyoutFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto MenuFlyout::MenuFlyoutPresenterStyleProperty() { return impl::call_factory_cast([](IMenuFlyoutStatics const& f) { return f.MenuFlyoutPresenterStyleProperty(); }); } inline MenuFlyoutItem::MenuFlyoutItem() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IMenuFlyoutItemFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto MenuFlyoutItem::TextProperty() { return impl::call_factory_cast([](IMenuFlyoutItemStatics const& f) { return f.TextProperty(); }); } inline auto MenuFlyoutItem::CommandProperty() { return impl::call_factory_cast([](IMenuFlyoutItemStatics const& f) { return f.CommandProperty(); }); } inline auto MenuFlyoutItem::CommandParameterProperty() { return impl::call_factory_cast([](IMenuFlyoutItemStatics const& f) { return f.CommandParameterProperty(); }); } inline auto MenuFlyoutItem::IconProperty() { return impl::call_factory_cast([](IMenuFlyoutItemStatics const& f) { return f.IconProperty(); }); } inline auto MenuFlyoutItem::KeyboardAcceleratorTextOverrideProperty() { return impl::call_factory_cast([](IMenuFlyoutItemStatics const& f) { return f.KeyboardAcceleratorTextOverrideProperty(); }); } inline MenuFlyoutPresenter::MenuFlyoutPresenter() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IMenuFlyoutPresenterFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto MenuFlyoutPresenter::IsDefaultShadowEnabledProperty() { return impl::call_factory_cast([](IMenuFlyoutPresenterStatics const& f) { return f.IsDefaultShadowEnabledProperty(); }); } inline auto MenuFlyoutPresenter::SystemBackdropProperty() { return impl::call_factory_cast([](IMenuFlyoutPresenterStatics2 const& f) { return f.SystemBackdropProperty(); }); } inline MenuFlyoutSeparator::MenuFlyoutSeparator() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IMenuFlyoutSeparatorFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline MenuFlyoutSubItem::MenuFlyoutSubItem() : MenuFlyoutSubItem(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto MenuFlyoutSubItem::TextProperty() { return impl::call_factory_cast([](IMenuFlyoutSubItemStatics const& f) { return f.TextProperty(); }); } inline auto MenuFlyoutSubItem::IconProperty() { return impl::call_factory_cast([](IMenuFlyoutSubItemStatics const& f) { return f.IconProperty(); }); } 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 Page::Page() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IPageFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto Page::FrameProperty() { return impl::call_factory_cast([](IPageStatics const& f) { return f.FrameProperty(); }); } inline auto Page::TopAppBarProperty() { return impl::call_factory_cast([](IPageStatics const& f) { return f.TopAppBarProperty(); }); } inline auto Page::BottomAppBarProperty() { return impl::call_factory_cast([](IPageStatics const& f) { return f.BottomAppBarProperty(); }); } inline auto Panel::BackgroundProperty() { return impl::call_factory_cast([](IPanelStatics const& f) { return f.BackgroundProperty(); }); } inline auto Panel::IsItemsHostProperty() { return impl::call_factory_cast([](IPanelStatics const& f) { return f.IsItemsHostProperty(); }); } inline auto Panel::ChildrenTransitionsProperty() { return impl::call_factory_cast([](IPanelStatics const& f) { return f.ChildrenTransitionsProperty(); }); } 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 PasswordBox::PasswordBox() : PasswordBox(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto PasswordBox::PasswordProperty() { return impl::call_factory_cast([](IPasswordBoxStatics const& f) { return f.PasswordProperty(); }); } inline auto PasswordBox::PasswordCharProperty() { return impl::call_factory_cast([](IPasswordBoxStatics const& f) { return f.PasswordCharProperty(); }); } inline auto PasswordBox::IsPasswordRevealButtonEnabledProperty() { return impl::call_factory_cast([](IPasswordBoxStatics const& f) { return f.IsPasswordRevealButtonEnabledProperty(); }); } inline auto PasswordBox::MaxLengthProperty() { return impl::call_factory_cast([](IPasswordBoxStatics const& f) { return f.MaxLengthProperty(); }); } inline auto PasswordBox::HeaderProperty() { return impl::call_factory_cast([](IPasswordBoxStatics const& f) { return f.HeaderProperty(); }); } inline auto PasswordBox::HeaderTemplateProperty() { return impl::call_factory_cast([](IPasswordBoxStatics const& f) { return f.HeaderTemplateProperty(); }); } inline auto PasswordBox::PlaceholderTextProperty() { return impl::call_factory_cast([](IPasswordBoxStatics const& f) { return f.PlaceholderTextProperty(); }); } inline auto PasswordBox::SelectionHighlightColorProperty() { return impl::call_factory_cast([](IPasswordBoxStatics const& f) { return f.SelectionHighlightColorProperty(); }); } inline auto PasswordBox::PreventKeyboardDisplayOnProgrammaticFocusProperty() { return impl::call_factory_cast([](IPasswordBoxStatics const& f) { return f.PreventKeyboardDisplayOnProgrammaticFocusProperty(); }); } inline auto PasswordBox::PasswordRevealModeProperty() { return impl::call_factory_cast([](IPasswordBoxStatics const& f) { return f.PasswordRevealModeProperty(); }); } inline auto PasswordBox::TextReadingOrderProperty() { return impl::call_factory_cast([](IPasswordBoxStatics const& f) { return f.TextReadingOrderProperty(); }); } inline auto PasswordBox::InputScopeProperty() { return impl::call_factory_cast([](IPasswordBoxStatics const& f) { return f.InputScopeProperty(); }); } inline auto PasswordBox::CanPasteClipboardContentProperty() { return impl::call_factory_cast([](IPasswordBoxStatics const& f) { return f.CanPasteClipboardContentProperty(); }); } inline auto PasswordBox::SelectionFlyoutProperty() { return impl::call_factory_cast([](IPasswordBoxStatics const& f) { return f.SelectionFlyoutProperty(); }); } inline auto PasswordBox::DescriptionProperty() { return impl::call_factory_cast([](IPasswordBoxStatics const& f) { return f.DescriptionProperty(); }); } inline PathIcon::PathIcon() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IPathIconFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto PathIcon::DataProperty() { return impl::call_factory_cast([](IPathIconStatics const& f) { return f.DataProperty(); }); } 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 PickerConfirmedEventArgs::PickerConfirmedEventArgs() : PickerConfirmedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline PickerFlyout::PickerFlyout() : PickerFlyout(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto PickerFlyout::ContentProperty() { return impl::call_factory_cast([](IPickerFlyoutStatics const& f) { return f.ContentProperty(); }); } inline auto PickerFlyout::ConfirmationButtonsVisibleProperty() { return impl::call_factory_cast([](IPickerFlyoutStatics const& f) { return f.ConfirmationButtonsVisibleProperty(); }); } 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 auto PipsPager::WrapModeProperty() { return impl::call_factory_cast([](IPipsPagerStatics2 const& f) { return f.WrapModeProperty(); }); } inline Pivot::Pivot() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IPivotFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto Pivot::TitleProperty() { return impl::call_factory_cast([](IPivotStatics const& f) { return f.TitleProperty(); }); } inline auto Pivot::TitleTemplateProperty() { return impl::call_factory_cast([](IPivotStatics const& f) { return f.TitleTemplateProperty(); }); } inline auto Pivot::LeftHeaderProperty() { return impl::call_factory_cast([](IPivotStatics const& f) { return f.LeftHeaderProperty(); }); } inline auto Pivot::LeftHeaderTemplateProperty() { return impl::call_factory_cast([](IPivotStatics const& f) { return f.LeftHeaderTemplateProperty(); }); } inline auto Pivot::RightHeaderProperty() { return impl::call_factory_cast([](IPivotStatics const& f) { return f.RightHeaderProperty(); }); } inline auto Pivot::RightHeaderTemplateProperty() { return impl::call_factory_cast([](IPivotStatics const& f) { return f.RightHeaderTemplateProperty(); }); } inline auto Pivot::HeaderTemplateProperty() { return impl::call_factory_cast([](IPivotStatics const& f) { return f.HeaderTemplateProperty(); }); } inline auto Pivot::SelectedIndexProperty() { return impl::call_factory_cast([](IPivotStatics const& f) { return f.SelectedIndexProperty(); }); } inline auto Pivot::SelectedItemProperty() { return impl::call_factory_cast([](IPivotStatics const& f) { return f.SelectedItemProperty(); }); } inline auto Pivot::IsLockedProperty() { return impl::call_factory_cast([](IPivotStatics const& f) { return f.IsLockedProperty(); }); } inline auto Pivot::HeaderFocusVisualPlacementProperty() { return impl::call_factory_cast([](IPivotStatics const& f) { return f.HeaderFocusVisualPlacementProperty(); }); } inline auto Pivot::IsHeaderItemsCarouselEnabledProperty() { return impl::call_factory_cast([](IPivotStatics const& f) { return f.IsHeaderItemsCarouselEnabledProperty(); }); } inline auto Pivot::SlideInAnimationGroupProperty() { return impl::call_factory_cast([](IPivotStatics const& f) { return f.SlideInAnimationGroupProperty(); }); } inline auto Pivot::GetSlideInAnimationGroup(winrt::Microsoft::UI::Xaml::FrameworkElement const& element) { return impl::call_factory([&](IPivotStatics const& f) { return f.GetSlideInAnimationGroup(element); }); } inline auto Pivot::SetSlideInAnimationGroup(winrt::Microsoft::UI::Xaml::FrameworkElement const& element, winrt::Microsoft::UI::Xaml::Controls::PivotSlideInAnimationGroup const& value) { impl::call_factory([&](IPivotStatics const& f) { return f.SetSlideInAnimationGroup(element, value); }); } inline PivotItem::PivotItem() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IPivotItemFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto PivotItem::HeaderProperty() { return impl::call_factory_cast([](IPivotItemStatics const& f) { return f.HeaderProperty(); }); } inline PivotItemEventArgs::PivotItemEventArgs() : PivotItemEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } 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 RadioButton::RadioButton() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IRadioButtonFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto RadioButton::GroupNameProperty() { return impl::call_factory_cast([](IRadioButtonStatics const& f) { return f.GroupNameProperty(); }); } 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::Microsoft::UI::Xaml::Controls::MenuFlyoutSubItem const& object, bool value) { impl::call_factory([&](IRadioMenuFlyoutItemStatics2 const& f) { return f.SetAreCheckStatesEnabled(object, value); }); } inline auto RadioMenuFlyoutItem::GetAreCheckStatesEnabled(winrt::Microsoft::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 RelativePanel::RelativePanel() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IRelativePanelFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto RelativePanel::BackgroundSizingProperty() { return impl::call_factory_cast([](IRelativePanelStatics const& f) { return f.BackgroundSizingProperty(); }); } inline auto RelativePanel::LeftOfProperty() { return impl::call_factory_cast([](IRelativePanelStatics const& f) { return f.LeftOfProperty(); }); } inline auto RelativePanel::GetLeftOf(winrt::Microsoft::UI::Xaml::UIElement const& element) { return impl::call_factory([&](IRelativePanelStatics const& f) { return f.GetLeftOf(element); }); } inline auto RelativePanel::SetLeftOf(winrt::Microsoft::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) { impl::call_factory([&](IRelativePanelStatics const& f) { return f.SetLeftOf(element, value); }); } inline auto RelativePanel::AboveProperty() { return impl::call_factory_cast([](IRelativePanelStatics const& f) { return f.AboveProperty(); }); } inline auto RelativePanel::GetAbove(winrt::Microsoft::UI::Xaml::UIElement const& element) { return impl::call_factory([&](IRelativePanelStatics const& f) { return f.GetAbove(element); }); } inline auto RelativePanel::SetAbove(winrt::Microsoft::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) { impl::call_factory([&](IRelativePanelStatics const& f) { return f.SetAbove(element, value); }); } inline auto RelativePanel::RightOfProperty() { return impl::call_factory_cast([](IRelativePanelStatics const& f) { return f.RightOfProperty(); }); } inline auto RelativePanel::GetRightOf(winrt::Microsoft::UI::Xaml::UIElement const& element) { return impl::call_factory([&](IRelativePanelStatics const& f) { return f.GetRightOf(element); }); } inline auto RelativePanel::SetRightOf(winrt::Microsoft::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) { impl::call_factory([&](IRelativePanelStatics const& f) { return f.SetRightOf(element, value); }); } inline auto RelativePanel::BelowProperty() { return impl::call_factory_cast([](IRelativePanelStatics const& f) { return f.BelowProperty(); }); } inline auto RelativePanel::GetBelow(winrt::Microsoft::UI::Xaml::UIElement const& element) { return impl::call_factory([&](IRelativePanelStatics const& f) { return f.GetBelow(element); }); } inline auto RelativePanel::SetBelow(winrt::Microsoft::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) { impl::call_factory([&](IRelativePanelStatics const& f) { return f.SetBelow(element, value); }); } inline auto RelativePanel::AlignHorizontalCenterWithProperty() { return impl::call_factory_cast([](IRelativePanelStatics const& f) { return f.AlignHorizontalCenterWithProperty(); }); } inline auto RelativePanel::GetAlignHorizontalCenterWith(winrt::Microsoft::UI::Xaml::UIElement const& element) { return impl::call_factory([&](IRelativePanelStatics const& f) { return f.GetAlignHorizontalCenterWith(element); }); } inline auto RelativePanel::SetAlignHorizontalCenterWith(winrt::Microsoft::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) { impl::call_factory([&](IRelativePanelStatics const& f) { return f.SetAlignHorizontalCenterWith(element, value); }); } inline auto RelativePanel::AlignVerticalCenterWithProperty() { return impl::call_factory_cast([](IRelativePanelStatics const& f) { return f.AlignVerticalCenterWithProperty(); }); } inline auto RelativePanel::GetAlignVerticalCenterWith(winrt::Microsoft::UI::Xaml::UIElement const& element) { return impl::call_factory([&](IRelativePanelStatics const& f) { return f.GetAlignVerticalCenterWith(element); }); } inline auto RelativePanel::SetAlignVerticalCenterWith(winrt::Microsoft::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) { impl::call_factory([&](IRelativePanelStatics const& f) { return f.SetAlignVerticalCenterWith(element, value); }); } inline auto RelativePanel::AlignLeftWithProperty() { return impl::call_factory_cast([](IRelativePanelStatics const& f) { return f.AlignLeftWithProperty(); }); } inline auto RelativePanel::GetAlignLeftWith(winrt::Microsoft::UI::Xaml::UIElement const& element) { return impl::call_factory([&](IRelativePanelStatics const& f) { return f.GetAlignLeftWith(element); }); } inline auto RelativePanel::SetAlignLeftWith(winrt::Microsoft::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) { impl::call_factory([&](IRelativePanelStatics const& f) { return f.SetAlignLeftWith(element, value); }); } inline auto RelativePanel::AlignTopWithProperty() { return impl::call_factory_cast([](IRelativePanelStatics const& f) { return f.AlignTopWithProperty(); }); } inline auto RelativePanel::GetAlignTopWith(winrt::Microsoft::UI::Xaml::UIElement const& element) { return impl::call_factory([&](IRelativePanelStatics const& f) { return f.GetAlignTopWith(element); }); } inline auto RelativePanel::SetAlignTopWith(winrt::Microsoft::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) { impl::call_factory([&](IRelativePanelStatics const& f) { return f.SetAlignTopWith(element, value); }); } inline auto RelativePanel::AlignRightWithProperty() { return impl::call_factory_cast([](IRelativePanelStatics const& f) { return f.AlignRightWithProperty(); }); } inline auto RelativePanel::GetAlignRightWith(winrt::Microsoft::UI::Xaml::UIElement const& element) { return impl::call_factory([&](IRelativePanelStatics const& f) { return f.GetAlignRightWith(element); }); } inline auto RelativePanel::SetAlignRightWith(winrt::Microsoft::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) { impl::call_factory([&](IRelativePanelStatics const& f) { return f.SetAlignRightWith(element, value); }); } inline auto RelativePanel::AlignBottomWithProperty() { return impl::call_factory_cast([](IRelativePanelStatics const& f) { return f.AlignBottomWithProperty(); }); } inline auto RelativePanel::GetAlignBottomWith(winrt::Microsoft::UI::Xaml::UIElement const& element) { return impl::call_factory([&](IRelativePanelStatics const& f) { return f.GetAlignBottomWith(element); }); } inline auto RelativePanel::SetAlignBottomWith(winrt::Microsoft::UI::Xaml::UIElement const& element, winrt::Windows::Foundation::IInspectable const& value) { impl::call_factory([&](IRelativePanelStatics const& f) { return f.SetAlignBottomWith(element, value); }); } inline auto RelativePanel::AlignLeftWithPanelProperty() { return impl::call_factory_cast([](IRelativePanelStatics const& f) { return f.AlignLeftWithPanelProperty(); }); } inline auto RelativePanel::GetAlignLeftWithPanel(winrt::Microsoft::UI::Xaml::UIElement const& element) { return impl::call_factory([&](IRelativePanelStatics const& f) { return f.GetAlignLeftWithPanel(element); }); } inline auto RelativePanel::SetAlignLeftWithPanel(winrt::Microsoft::UI::Xaml::UIElement const& element, bool value) { impl::call_factory([&](IRelativePanelStatics const& f) { return f.SetAlignLeftWithPanel(element, value); }); } inline auto RelativePanel::AlignTopWithPanelProperty() { return impl::call_factory_cast([](IRelativePanelStatics const& f) { return f.AlignTopWithPanelProperty(); }); } inline auto RelativePanel::GetAlignTopWithPanel(winrt::Microsoft::UI::Xaml::UIElement const& element) { return impl::call_factory([&](IRelativePanelStatics const& f) { return f.GetAlignTopWithPanel(element); }); } inline auto RelativePanel::SetAlignTopWithPanel(winrt::Microsoft::UI::Xaml::UIElement const& element, bool value) { impl::call_factory([&](IRelativePanelStatics const& f) { return f.SetAlignTopWithPanel(element, value); }); } inline auto RelativePanel::AlignRightWithPanelProperty() { return impl::call_factory_cast([](IRelativePanelStatics const& f) { return f.AlignRightWithPanelProperty(); }); } inline auto RelativePanel::GetAlignRightWithPanel(winrt::Microsoft::UI::Xaml::UIElement const& element) { return impl::call_factory([&](IRelativePanelStatics const& f) { return f.GetAlignRightWithPanel(element); }); } inline auto RelativePanel::SetAlignRightWithPanel(winrt::Microsoft::UI::Xaml::UIElement const& element, bool value) { impl::call_factory([&](IRelativePanelStatics const& f) { return f.SetAlignRightWithPanel(element, value); }); } inline auto RelativePanel::AlignBottomWithPanelProperty() { return impl::call_factory_cast([](IRelativePanelStatics const& f) { return f.AlignBottomWithPanelProperty(); }); } inline auto RelativePanel::GetAlignBottomWithPanel(winrt::Microsoft::UI::Xaml::UIElement const& element) { return impl::call_factory([&](IRelativePanelStatics const& f) { return f.GetAlignBottomWithPanel(element); }); } inline auto RelativePanel::SetAlignBottomWithPanel(winrt::Microsoft::UI::Xaml::UIElement const& element, bool value) { impl::call_factory([&](IRelativePanelStatics const& f) { return f.SetAlignBottomWithPanel(element, value); }); } inline auto RelativePanel::AlignHorizontalCenterWithPanelProperty() { return impl::call_factory_cast([](IRelativePanelStatics const& f) { return f.AlignHorizontalCenterWithPanelProperty(); }); } inline auto RelativePanel::GetAlignHorizontalCenterWithPanel(winrt::Microsoft::UI::Xaml::UIElement const& element) { return impl::call_factory([&](IRelativePanelStatics const& f) { return f.GetAlignHorizontalCenterWithPanel(element); }); } inline auto RelativePanel::SetAlignHorizontalCenterWithPanel(winrt::Microsoft::UI::Xaml::UIElement const& element, bool value) { impl::call_factory([&](IRelativePanelStatics const& f) { return f.SetAlignHorizontalCenterWithPanel(element, value); }); } inline auto RelativePanel::AlignVerticalCenterWithPanelProperty() { return impl::call_factory_cast([](IRelativePanelStatics const& f) { return f.AlignVerticalCenterWithPanelProperty(); }); } inline auto RelativePanel::GetAlignVerticalCenterWithPanel(winrt::Microsoft::UI::Xaml::UIElement const& element) { return impl::call_factory([&](IRelativePanelStatics const& f) { return f.GetAlignVerticalCenterWithPanel(element); }); } inline auto RelativePanel::SetAlignVerticalCenterWithPanel(winrt::Microsoft::UI::Xaml::UIElement const& element, bool value) { impl::call_factory([&](IRelativePanelStatics const& f) { return f.SetAlignVerticalCenterWithPanel(element, value); }); } inline auto RelativePanel::BorderBrushProperty() { return impl::call_factory_cast([](IRelativePanelStatics const& f) { return f.BorderBrushProperty(); }); } inline auto RelativePanel::BorderThicknessProperty() { return impl::call_factory_cast([](IRelativePanelStatics const& f) { return f.BorderThicknessProperty(); }); } inline auto RelativePanel::CornerRadiusProperty() { return impl::call_factory_cast([](IRelativePanelStatics const& f) { return f.CornerRadiusProperty(); }); } inline auto RelativePanel::PaddingProperty() { return impl::call_factory_cast([](IRelativePanelStatics const& f) { return f.PaddingProperty(); }); } inline RevealListViewItemPresenter::RevealListViewItemPresenter() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IRevealListViewItemPresenterFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline RichEditBox::RichEditBox() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IRichEditBoxFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto RichEditBox::IsReadOnlyProperty() { return impl::call_factory_cast([](IRichEditBoxStatics const& f) { return f.IsReadOnlyProperty(); }); } inline auto RichEditBox::AcceptsReturnProperty() { return impl::call_factory_cast([](IRichEditBoxStatics const& f) { return f.AcceptsReturnProperty(); }); } inline auto RichEditBox::TextAlignmentProperty() { return impl::call_factory_cast([](IRichEditBoxStatics const& f) { return f.TextAlignmentProperty(); }); } inline auto RichEditBox::TextWrappingProperty() { return impl::call_factory_cast([](IRichEditBoxStatics const& f) { return f.TextWrappingProperty(); }); } inline auto RichEditBox::IsSpellCheckEnabledProperty() { return impl::call_factory_cast([](IRichEditBoxStatics const& f) { return f.IsSpellCheckEnabledProperty(); }); } inline auto RichEditBox::IsTextPredictionEnabledProperty() { return impl::call_factory_cast([](IRichEditBoxStatics const& f) { return f.IsTextPredictionEnabledProperty(); }); } inline auto RichEditBox::InputScopeProperty() { return impl::call_factory_cast([](IRichEditBoxStatics const& f) { return f.InputScopeProperty(); }); } inline auto RichEditBox::HeaderProperty() { return impl::call_factory_cast([](IRichEditBoxStatics const& f) { return f.HeaderProperty(); }); } inline auto RichEditBox::HeaderTemplateProperty() { return impl::call_factory_cast([](IRichEditBoxStatics const& f) { return f.HeaderTemplateProperty(); }); } inline auto RichEditBox::PlaceholderTextProperty() { return impl::call_factory_cast([](IRichEditBoxStatics const& f) { return f.PlaceholderTextProperty(); }); } inline auto RichEditBox::SelectionHighlightColorProperty() { return impl::call_factory_cast([](IRichEditBoxStatics const& f) { return f.SelectionHighlightColorProperty(); }); } inline auto RichEditBox::PreventKeyboardDisplayOnProgrammaticFocusProperty() { return impl::call_factory_cast([](IRichEditBoxStatics const& f) { return f.PreventKeyboardDisplayOnProgrammaticFocusProperty(); }); } inline auto RichEditBox::IsColorFontEnabledProperty() { return impl::call_factory_cast([](IRichEditBoxStatics const& f) { return f.IsColorFontEnabledProperty(); }); } inline auto RichEditBox::SelectionHighlightColorWhenNotFocusedProperty() { return impl::call_factory_cast([](IRichEditBoxStatics const& f) { return f.SelectionHighlightColorWhenNotFocusedProperty(); }); } inline auto RichEditBox::MaxLengthProperty() { return impl::call_factory_cast([](IRichEditBoxStatics const& f) { return f.MaxLengthProperty(); }); } inline auto RichEditBox::HorizontalTextAlignmentProperty() { return impl::call_factory_cast([](IRichEditBoxStatics const& f) { return f.HorizontalTextAlignmentProperty(); }); } inline auto RichEditBox::CharacterCasingProperty() { return impl::call_factory_cast([](IRichEditBoxStatics const& f) { return f.CharacterCasingProperty(); }); } inline auto RichEditBox::DisabledFormattingAcceleratorsProperty() { return impl::call_factory_cast([](IRichEditBoxStatics const& f) { return f.DisabledFormattingAcceleratorsProperty(); }); } inline auto RichEditBox::SelectionFlyoutProperty() { return impl::call_factory_cast([](IRichEditBoxStatics const& f) { return f.SelectionFlyoutProperty(); }); } inline auto RichEditBox::ProofingMenuFlyoutProperty() { return impl::call_factory_cast([](IRichEditBoxStatics const& f) { return f.ProofingMenuFlyoutProperty(); }); } inline auto RichEditBox::DescriptionProperty() { return impl::call_factory_cast([](IRichEditBoxStatics const& f) { return f.DescriptionProperty(); }); } inline auto RichEditBox::DesiredCandidateWindowAlignmentProperty() { return impl::call_factory_cast([](IRichEditBoxStatics const& f) { return f.DesiredCandidateWindowAlignmentProperty(); }); } inline auto RichEditBox::TextReadingOrderProperty() { return impl::call_factory_cast([](IRichEditBoxStatics const& f) { return f.TextReadingOrderProperty(); }); } inline auto RichEditBox::ClipboardCopyFormatProperty() { return impl::call_factory_cast([](IRichEditBoxStatics const& f) { return f.ClipboardCopyFormatProperty(); }); } inline RichTextBlock::RichTextBlock() : RichTextBlock(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto RichTextBlock::FontSizeProperty() { return impl::call_factory_cast([](IRichTextBlockStatics const& f) { return f.FontSizeProperty(); }); } inline auto RichTextBlock::FontFamilyProperty() { return impl::call_factory_cast([](IRichTextBlockStatics const& f) { return f.FontFamilyProperty(); }); } inline auto RichTextBlock::FontWeightProperty() { return impl::call_factory_cast([](IRichTextBlockStatics const& f) { return f.FontWeightProperty(); }); } inline auto RichTextBlock::FontStyleProperty() { return impl::call_factory_cast([](IRichTextBlockStatics const& f) { return f.FontStyleProperty(); }); } inline auto RichTextBlock::FontStretchProperty() { return impl::call_factory_cast([](IRichTextBlockStatics const& f) { return f.FontStretchProperty(); }); } inline auto RichTextBlock::ForegroundProperty() { return impl::call_factory_cast([](IRichTextBlockStatics const& f) { return f.ForegroundProperty(); }); } inline auto RichTextBlock::TextWrappingProperty() { return impl::call_factory_cast([](IRichTextBlockStatics const& f) { return f.TextWrappingProperty(); }); } inline auto RichTextBlock::TextTrimmingProperty() { return impl::call_factory_cast([](IRichTextBlockStatics const& f) { return f.TextTrimmingProperty(); }); } inline auto RichTextBlock::TextAlignmentProperty() { return impl::call_factory_cast([](IRichTextBlockStatics const& f) { return f.TextAlignmentProperty(); }); } inline auto RichTextBlock::PaddingProperty() { return impl::call_factory_cast([](IRichTextBlockStatics const& f) { return f.PaddingProperty(); }); } inline auto RichTextBlock::LineHeightProperty() { return impl::call_factory_cast([](IRichTextBlockStatics const& f) { return f.LineHeightProperty(); }); } inline auto RichTextBlock::LineStackingStrategyProperty() { return impl::call_factory_cast([](IRichTextBlockStatics const& f) { return f.LineStackingStrategyProperty(); }); } inline auto RichTextBlock::CharacterSpacingProperty() { return impl::call_factory_cast([](IRichTextBlockStatics const& f) { return f.CharacterSpacingProperty(); }); } inline auto RichTextBlock::OverflowContentTargetProperty() { return impl::call_factory_cast([](IRichTextBlockStatics const& f) { return f.OverflowContentTargetProperty(); }); } inline auto RichTextBlock::IsTextSelectionEnabledProperty() { return impl::call_factory_cast([](IRichTextBlockStatics const& f) { return f.IsTextSelectionEnabledProperty(); }); } inline auto RichTextBlock::HasOverflowContentProperty() { return impl::call_factory_cast([](IRichTextBlockStatics const& f) { return f.HasOverflowContentProperty(); }); } inline auto RichTextBlock::SelectedTextProperty() { return impl::call_factory_cast([](IRichTextBlockStatics const& f) { return f.SelectedTextProperty(); }); } inline auto RichTextBlock::MaxLinesProperty() { return impl::call_factory_cast([](IRichTextBlockStatics const& f) { return f.MaxLinesProperty(); }); } inline auto RichTextBlock::TextLineBoundsProperty() { return impl::call_factory_cast([](IRichTextBlockStatics const& f) { return f.TextLineBoundsProperty(); }); } inline auto RichTextBlock::SelectionHighlightColorProperty() { return impl::call_factory_cast([](IRichTextBlockStatics const& f) { return f.SelectionHighlightColorProperty(); }); } inline auto RichTextBlock::OpticalMarginAlignmentProperty() { return impl::call_factory_cast([](IRichTextBlockStatics const& f) { return f.OpticalMarginAlignmentProperty(); }); } inline auto RichTextBlock::IsColorFontEnabledProperty() { return impl::call_factory_cast([](IRichTextBlockStatics const& f) { return f.IsColorFontEnabledProperty(); }); } inline auto RichTextBlock::TextReadingOrderProperty() { return impl::call_factory_cast([](IRichTextBlockStatics const& f) { return f.TextReadingOrderProperty(); }); } inline auto RichTextBlock::IsTextScaleFactorEnabledProperty() { return impl::call_factory_cast([](IRichTextBlockStatics const& f) { return f.IsTextScaleFactorEnabledProperty(); }); } inline auto RichTextBlock::TextDecorationsProperty() { return impl::call_factory_cast([](IRichTextBlockStatics const& f) { return f.TextDecorationsProperty(); }); } inline auto RichTextBlock::IsTextTrimmedProperty() { return impl::call_factory_cast([](IRichTextBlockStatics const& f) { return f.IsTextTrimmedProperty(); }); } inline auto RichTextBlock::HorizontalTextAlignmentProperty() { return impl::call_factory_cast([](IRichTextBlockStatics const& f) { return f.HorizontalTextAlignmentProperty(); }); } inline auto RichTextBlock::SelectionFlyoutProperty() { return impl::call_factory_cast([](IRichTextBlockStatics const& f) { return f.SelectionFlyoutProperty(); }); } inline auto RichTextBlock::TextIndentProperty() { return impl::call_factory_cast([](IRichTextBlockStatics const& f) { return f.TextIndentProperty(); }); } inline RichTextBlockOverflow::RichTextBlockOverflow() : RichTextBlockOverflow(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto RichTextBlockOverflow::OverflowContentTargetProperty() { return impl::call_factory_cast([](IRichTextBlockOverflowStatics const& f) { return f.OverflowContentTargetProperty(); }); } inline auto RichTextBlockOverflow::PaddingProperty() { return impl::call_factory_cast([](IRichTextBlockOverflowStatics const& f) { return f.PaddingProperty(); }); } inline auto RichTextBlockOverflow::HasOverflowContentProperty() { return impl::call_factory_cast([](IRichTextBlockOverflowStatics const& f) { return f.HasOverflowContentProperty(); }); } inline auto RichTextBlockOverflow::MaxLinesProperty() { return impl::call_factory_cast([](IRichTextBlockOverflowStatics const& f) { return f.MaxLinesProperty(); }); } inline auto RichTextBlockOverflow::IsTextTrimmedProperty() { return impl::call_factory_cast([](IRichTextBlockOverflowStatics const& f) { return f.IsTextTrimmedProperty(); }); } inline RowDefinition::RowDefinition() : RowDefinition(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto RowDefinition::HeightProperty() { return impl::call_factory_cast([](IRowDefinitionStatics const& f) { return f.HeightProperty(); }); } inline auto RowDefinition::MaxHeightProperty() { return impl::call_factory_cast([](IRowDefinitionStatics const& f) { return f.MaxHeightProperty(); }); } inline auto RowDefinition::MinHeightProperty() { return impl::call_factory_cast([](IRowDefinitionStatics const& f) { return f.MinHeightProperty(); }); } inline ScrollContentPresenter::ScrollContentPresenter() : ScrollContentPresenter(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto ScrollContentPresenter::CanContentRenderOutsideBoundsProperty() { return impl::call_factory_cast([](IScrollContentPresenterStatics const& f) { return f.CanContentRenderOutsideBoundsProperty(); }); } inline auto ScrollContentPresenter::SizesContentToTemplatedParentProperty() { return impl::call_factory_cast([](IScrollContentPresenterStatics const& f) { return f.SizesContentToTemplatedParentProperty(); }); } inline ScrollView::ScrollView() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IScrollViewFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto ScrollView::ContentProperty() { return impl::call_factory_cast([](IScrollViewStatics const& f) { return f.ContentProperty(); }); } inline auto ScrollView::ScrollPresenterProperty() { return impl::call_factory_cast([](IScrollViewStatics const& f) { return f.ScrollPresenterProperty(); }); } inline auto ScrollView::HorizontalScrollBarVisibilityProperty() { return impl::call_factory_cast([](IScrollViewStatics const& f) { return f.HorizontalScrollBarVisibilityProperty(); }); } inline auto ScrollView::VerticalScrollBarVisibilityProperty() { return impl::call_factory_cast([](IScrollViewStatics const& f) { return f.VerticalScrollBarVisibilityProperty(); }); } inline auto ScrollView::ContentOrientationProperty() { return impl::call_factory_cast([](IScrollViewStatics const& f) { return f.ContentOrientationProperty(); }); } inline auto ScrollView::HorizontalScrollChainModeProperty() { return impl::call_factory_cast([](IScrollViewStatics const& f) { return f.HorizontalScrollChainModeProperty(); }); } inline auto ScrollView::VerticalScrollChainModeProperty() { return impl::call_factory_cast([](IScrollViewStatics const& f) { return f.VerticalScrollChainModeProperty(); }); } inline auto ScrollView::HorizontalScrollRailModeProperty() { return impl::call_factory_cast([](IScrollViewStatics const& f) { return f.HorizontalScrollRailModeProperty(); }); } inline auto ScrollView::VerticalScrollRailModeProperty() { return impl::call_factory_cast([](IScrollViewStatics const& f) { return f.VerticalScrollRailModeProperty(); }); } inline auto ScrollView::HorizontalScrollModeProperty() { return impl::call_factory_cast([](IScrollViewStatics const& f) { return f.HorizontalScrollModeProperty(); }); } inline auto ScrollView::VerticalScrollModeProperty() { return impl::call_factory_cast([](IScrollViewStatics const& f) { return f.VerticalScrollModeProperty(); }); } inline auto ScrollView::ComputedHorizontalScrollBarVisibilityProperty() { return impl::call_factory_cast([](IScrollViewStatics const& f) { return f.ComputedHorizontalScrollBarVisibilityProperty(); }); } inline auto ScrollView::ComputedVerticalScrollBarVisibilityProperty() { return impl::call_factory_cast([](IScrollViewStatics const& f) { return f.ComputedVerticalScrollBarVisibilityProperty(); }); } inline auto ScrollView::ComputedHorizontalScrollModeProperty() { return impl::call_factory_cast([](IScrollViewStatics const& f) { return f.ComputedHorizontalScrollModeProperty(); }); } inline auto ScrollView::ComputedVerticalScrollModeProperty() { return impl::call_factory_cast([](IScrollViewStatics const& f) { return f.ComputedVerticalScrollModeProperty(); }); } inline auto ScrollView::ZoomChainModeProperty() { return impl::call_factory_cast([](IScrollViewStatics const& f) { return f.ZoomChainModeProperty(); }); } inline auto ScrollView::ZoomModeProperty() { return impl::call_factory_cast([](IScrollViewStatics const& f) { return f.ZoomModeProperty(); }); } inline auto ScrollView::IgnoredInputKindsProperty() { return impl::call_factory_cast([](IScrollViewStatics const& f) { return f.IgnoredInputKindsProperty(); }); } inline auto ScrollView::MinZoomFactorProperty() { return impl::call_factory_cast([](IScrollViewStatics const& f) { return f.MinZoomFactorProperty(); }); } inline auto ScrollView::MaxZoomFactorProperty() { return impl::call_factory_cast([](IScrollViewStatics const& f) { return f.MaxZoomFactorProperty(); }); } inline auto ScrollView::HorizontalAnchorRatioProperty() { return impl::call_factory_cast([](IScrollViewStatics const& f) { return f.HorizontalAnchorRatioProperty(); }); } inline auto ScrollView::VerticalAnchorRatioProperty() { return impl::call_factory_cast([](IScrollViewStatics const& f) { return f.VerticalAnchorRatioProperty(); }); } inline ScrollViewer::ScrollViewer() : ScrollViewer(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto ScrollViewer::HorizontalSnapPointsAlignmentProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.HorizontalSnapPointsAlignmentProperty(); }); } inline auto ScrollViewer::VerticalSnapPointsAlignmentProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.VerticalSnapPointsAlignmentProperty(); }); } inline auto ScrollViewer::HorizontalSnapPointsTypeProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.HorizontalSnapPointsTypeProperty(); }); } inline auto ScrollViewer::VerticalSnapPointsTypeProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.VerticalSnapPointsTypeProperty(); }); } inline auto ScrollViewer::ZoomSnapPointsTypeProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.ZoomSnapPointsTypeProperty(); }); } inline auto ScrollViewer::HorizontalOffsetProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.HorizontalOffsetProperty(); }); } inline auto ScrollViewer::ViewportWidthProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.ViewportWidthProperty(); }); } inline auto ScrollViewer::ScrollableWidthProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.ScrollableWidthProperty(); }); } inline auto ScrollViewer::ComputedHorizontalScrollBarVisibilityProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.ComputedHorizontalScrollBarVisibilityProperty(); }); } inline auto ScrollViewer::ExtentWidthProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.ExtentWidthProperty(); }); } inline auto ScrollViewer::VerticalOffsetProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.VerticalOffsetProperty(); }); } inline auto ScrollViewer::ViewportHeightProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.ViewportHeightProperty(); }); } inline auto ScrollViewer::ScrollableHeightProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.ScrollableHeightProperty(); }); } inline auto ScrollViewer::ComputedVerticalScrollBarVisibilityProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.ComputedVerticalScrollBarVisibilityProperty(); }); } inline auto ScrollViewer::ExtentHeightProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.ExtentHeightProperty(); }); } inline auto ScrollViewer::MinZoomFactorProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.MinZoomFactorProperty(); }); } inline auto ScrollViewer::MaxZoomFactorProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.MaxZoomFactorProperty(); }); } inline auto ScrollViewer::ZoomFactorProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.ZoomFactorProperty(); }); } inline auto ScrollViewer::ZoomSnapPointsProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.ZoomSnapPointsProperty(); }); } inline auto ScrollViewer::TopLeftHeaderProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.TopLeftHeaderProperty(); }); } inline auto ScrollViewer::LeftHeaderProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.LeftHeaderProperty(); }); } inline auto ScrollViewer::TopHeaderProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.TopHeaderProperty(); }); } inline auto ScrollViewer::ReduceViewportForCoreInputViewOcclusionsProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.ReduceViewportForCoreInputViewOcclusionsProperty(); }); } inline auto ScrollViewer::HorizontalAnchorRatioProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.HorizontalAnchorRatioProperty(); }); } inline auto ScrollViewer::VerticalAnchorRatioProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.VerticalAnchorRatioProperty(); }); } inline auto ScrollViewer::HorizontalScrollBarVisibilityProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.HorizontalScrollBarVisibilityProperty(); }); } inline auto ScrollViewer::GetHorizontalScrollBarVisibility(winrt::Microsoft::UI::Xaml::DependencyObject const& element) { return impl::call_factory([&](IScrollViewerStatics const& f) { return f.GetHorizontalScrollBarVisibility(element); }); } inline auto ScrollViewer::SetHorizontalScrollBarVisibility(winrt::Microsoft::UI::Xaml::DependencyObject const& element, winrt::Microsoft::UI::Xaml::Controls::ScrollBarVisibility const& horizontalScrollBarVisibility) { impl::call_factory([&](IScrollViewerStatics const& f) { return f.SetHorizontalScrollBarVisibility(element, horizontalScrollBarVisibility); }); } inline auto ScrollViewer::VerticalScrollBarVisibilityProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.VerticalScrollBarVisibilityProperty(); }); } inline auto ScrollViewer::GetVerticalScrollBarVisibility(winrt::Microsoft::UI::Xaml::DependencyObject const& element) { return impl::call_factory([&](IScrollViewerStatics const& f) { return f.GetVerticalScrollBarVisibility(element); }); } inline auto ScrollViewer::SetVerticalScrollBarVisibility(winrt::Microsoft::UI::Xaml::DependencyObject const& element, winrt::Microsoft::UI::Xaml::Controls::ScrollBarVisibility const& verticalScrollBarVisibility) { impl::call_factory([&](IScrollViewerStatics const& f) { return f.SetVerticalScrollBarVisibility(element, verticalScrollBarVisibility); }); } inline auto ScrollViewer::IsHorizontalRailEnabledProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.IsHorizontalRailEnabledProperty(); }); } inline auto ScrollViewer::GetIsHorizontalRailEnabled(winrt::Microsoft::UI::Xaml::DependencyObject const& element) { return impl::call_factory([&](IScrollViewerStatics const& f) { return f.GetIsHorizontalRailEnabled(element); }); } inline auto ScrollViewer::SetIsHorizontalRailEnabled(winrt::Microsoft::UI::Xaml::DependencyObject const& element, bool isHorizontalRailEnabled) { impl::call_factory([&](IScrollViewerStatics const& f) { return f.SetIsHorizontalRailEnabled(element, isHorizontalRailEnabled); }); } inline auto ScrollViewer::IsVerticalRailEnabledProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.IsVerticalRailEnabledProperty(); }); } inline auto ScrollViewer::GetIsVerticalRailEnabled(winrt::Microsoft::UI::Xaml::DependencyObject const& element) { return impl::call_factory([&](IScrollViewerStatics const& f) { return f.GetIsVerticalRailEnabled(element); }); } inline auto ScrollViewer::SetIsVerticalRailEnabled(winrt::Microsoft::UI::Xaml::DependencyObject const& element, bool isVerticalRailEnabled) { impl::call_factory([&](IScrollViewerStatics const& f) { return f.SetIsVerticalRailEnabled(element, isVerticalRailEnabled); }); } inline auto ScrollViewer::IsHorizontalScrollChainingEnabledProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.IsHorizontalScrollChainingEnabledProperty(); }); } inline auto ScrollViewer::GetIsHorizontalScrollChainingEnabled(winrt::Microsoft::UI::Xaml::DependencyObject const& element) { return impl::call_factory([&](IScrollViewerStatics const& f) { return f.GetIsHorizontalScrollChainingEnabled(element); }); } inline auto ScrollViewer::SetIsHorizontalScrollChainingEnabled(winrt::Microsoft::UI::Xaml::DependencyObject const& element, bool isHorizontalScrollChainingEnabled) { impl::call_factory([&](IScrollViewerStatics const& f) { return f.SetIsHorizontalScrollChainingEnabled(element, isHorizontalScrollChainingEnabled); }); } inline auto ScrollViewer::IsVerticalScrollChainingEnabledProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.IsVerticalScrollChainingEnabledProperty(); }); } inline auto ScrollViewer::GetIsVerticalScrollChainingEnabled(winrt::Microsoft::UI::Xaml::DependencyObject const& element) { return impl::call_factory([&](IScrollViewerStatics const& f) { return f.GetIsVerticalScrollChainingEnabled(element); }); } inline auto ScrollViewer::SetIsVerticalScrollChainingEnabled(winrt::Microsoft::UI::Xaml::DependencyObject const& element, bool isVerticalScrollChainingEnabled) { impl::call_factory([&](IScrollViewerStatics const& f) { return f.SetIsVerticalScrollChainingEnabled(element, isVerticalScrollChainingEnabled); }); } inline auto ScrollViewer::IsZoomChainingEnabledProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.IsZoomChainingEnabledProperty(); }); } inline auto ScrollViewer::GetIsZoomChainingEnabled(winrt::Microsoft::UI::Xaml::DependencyObject const& element) { return impl::call_factory([&](IScrollViewerStatics const& f) { return f.GetIsZoomChainingEnabled(element); }); } inline auto ScrollViewer::SetIsZoomChainingEnabled(winrt::Microsoft::UI::Xaml::DependencyObject const& element, bool isZoomChainingEnabled) { impl::call_factory([&](IScrollViewerStatics const& f) { return f.SetIsZoomChainingEnabled(element, isZoomChainingEnabled); }); } inline auto ScrollViewer::IsScrollInertiaEnabledProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.IsScrollInertiaEnabledProperty(); }); } inline auto ScrollViewer::GetIsScrollInertiaEnabled(winrt::Microsoft::UI::Xaml::DependencyObject const& element) { return impl::call_factory([&](IScrollViewerStatics const& f) { return f.GetIsScrollInertiaEnabled(element); }); } inline auto ScrollViewer::SetIsScrollInertiaEnabled(winrt::Microsoft::UI::Xaml::DependencyObject const& element, bool isScrollInertiaEnabled) { impl::call_factory([&](IScrollViewerStatics const& f) { return f.SetIsScrollInertiaEnabled(element, isScrollInertiaEnabled); }); } inline auto ScrollViewer::IsZoomInertiaEnabledProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.IsZoomInertiaEnabledProperty(); }); } inline auto ScrollViewer::GetIsZoomInertiaEnabled(winrt::Microsoft::UI::Xaml::DependencyObject const& element) { return impl::call_factory([&](IScrollViewerStatics const& f) { return f.GetIsZoomInertiaEnabled(element); }); } inline auto ScrollViewer::SetIsZoomInertiaEnabled(winrt::Microsoft::UI::Xaml::DependencyObject const& element, bool isZoomInertiaEnabled) { impl::call_factory([&](IScrollViewerStatics const& f) { return f.SetIsZoomInertiaEnabled(element, isZoomInertiaEnabled); }); } inline auto ScrollViewer::HorizontalScrollModeProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.HorizontalScrollModeProperty(); }); } inline auto ScrollViewer::GetHorizontalScrollMode(winrt::Microsoft::UI::Xaml::DependencyObject const& element) { return impl::call_factory([&](IScrollViewerStatics const& f) { return f.GetHorizontalScrollMode(element); }); } inline auto ScrollViewer::SetHorizontalScrollMode(winrt::Microsoft::UI::Xaml::DependencyObject const& element, winrt::Microsoft::UI::Xaml::Controls::ScrollMode const& horizontalScrollMode) { impl::call_factory([&](IScrollViewerStatics const& f) { return f.SetHorizontalScrollMode(element, horizontalScrollMode); }); } inline auto ScrollViewer::VerticalScrollModeProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.VerticalScrollModeProperty(); }); } inline auto ScrollViewer::GetVerticalScrollMode(winrt::Microsoft::UI::Xaml::DependencyObject const& element) { return impl::call_factory([&](IScrollViewerStatics const& f) { return f.GetVerticalScrollMode(element); }); } inline auto ScrollViewer::SetVerticalScrollMode(winrt::Microsoft::UI::Xaml::DependencyObject const& element, winrt::Microsoft::UI::Xaml::Controls::ScrollMode const& verticalScrollMode) { impl::call_factory([&](IScrollViewerStatics const& f) { return f.SetVerticalScrollMode(element, verticalScrollMode); }); } inline auto ScrollViewer::ZoomModeProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.ZoomModeProperty(); }); } inline auto ScrollViewer::GetZoomMode(winrt::Microsoft::UI::Xaml::DependencyObject const& element) { return impl::call_factory([&](IScrollViewerStatics const& f) { return f.GetZoomMode(element); }); } inline auto ScrollViewer::SetZoomMode(winrt::Microsoft::UI::Xaml::DependencyObject const& element, winrt::Microsoft::UI::Xaml::Controls::ZoomMode const& zoomMode) { impl::call_factory([&](IScrollViewerStatics const& f) { return f.SetZoomMode(element, zoomMode); }); } inline auto ScrollViewer::CanContentRenderOutsideBoundsProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.CanContentRenderOutsideBoundsProperty(); }); } inline auto ScrollViewer::GetCanContentRenderOutsideBounds(winrt::Microsoft::UI::Xaml::DependencyObject const& element) { return impl::call_factory([&](IScrollViewerStatics const& f) { return f.GetCanContentRenderOutsideBounds(element); }); } inline auto ScrollViewer::SetCanContentRenderOutsideBounds(winrt::Microsoft::UI::Xaml::DependencyObject const& element, bool canContentRenderOutsideBounds) { impl::call_factory([&](IScrollViewerStatics const& f) { return f.SetCanContentRenderOutsideBounds(element, canContentRenderOutsideBounds); }); } inline auto ScrollViewer::IsDeferredScrollingEnabledProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.IsDeferredScrollingEnabledProperty(); }); } inline auto ScrollViewer::GetIsDeferredScrollingEnabled(winrt::Microsoft::UI::Xaml::DependencyObject const& element) { return impl::call_factory([&](IScrollViewerStatics const& f) { return f.GetIsDeferredScrollingEnabled(element); }); } inline auto ScrollViewer::SetIsDeferredScrollingEnabled(winrt::Microsoft::UI::Xaml::DependencyObject const& element, bool isDeferredScrollingEnabled) { impl::call_factory([&](IScrollViewerStatics const& f) { return f.SetIsDeferredScrollingEnabled(element, isDeferredScrollingEnabled); }); } inline auto ScrollViewer::BringIntoViewOnFocusChangeProperty() { return impl::call_factory_cast([](IScrollViewerStatics const& f) { return f.BringIntoViewOnFocusChangeProperty(); }); } inline auto ScrollViewer::GetBringIntoViewOnFocusChange(winrt::Microsoft::UI::Xaml::DependencyObject const& element) { return impl::call_factory([&](IScrollViewerStatics const& f) { return f.GetBringIntoViewOnFocusChange(element); }); } inline auto ScrollViewer::SetBringIntoViewOnFocusChange(winrt::Microsoft::UI::Xaml::DependencyObject const& element, bool bringIntoViewOnFocusChange) { impl::call_factory([&](IScrollViewerStatics const& f) { return f.SetBringIntoViewOnFocusChange(element, bringIntoViewOnFocusChange); }); } inline ScrollViewerViewChangedEventArgs::ScrollViewerViewChangedEventArgs() : ScrollViewerViewChangedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline ScrollingScrollOptions::ScrollingScrollOptions(winrt::Microsoft::UI::Xaml::Controls::ScrollingAnimationMode const& animationMode) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IScrollingScrollOptionsFactory const& f) { return f.CreateInstance(animationMode, baseInterface, innerInterface); }); } inline ScrollingScrollOptions::ScrollingScrollOptions(winrt::Microsoft::UI::Xaml::Controls::ScrollingAnimationMode const& animationMode, winrt::Microsoft::UI::Xaml::Controls::ScrollingSnapPointsMode const& snapPointsMode) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IScrollingScrollOptionsFactory const& f) { return f.CreateInstance2(animationMode, snapPointsMode, baseInterface, innerInterface); }); } inline ScrollingZoomOptions::ScrollingZoomOptions(winrt::Microsoft::UI::Xaml::Controls::ScrollingAnimationMode const& animationMode) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IScrollingZoomOptionsFactory const& f) { return f.CreateInstance(animationMode, baseInterface, innerInterface); }); } inline ScrollingZoomOptions::ScrollingZoomOptions(winrt::Microsoft::UI::Xaml::Controls::ScrollingAnimationMode const& animationMode, winrt::Microsoft::UI::Xaml::Controls::ScrollingSnapPointsMode const& snapPointsMode) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IScrollingZoomOptionsFactory const& f) { return f.CreateInstance2(animationMode, snapPointsMode, baseInterface, innerInterface); }); } inline SelectionChangedEventArgs::SelectionChangedEventArgs(param::vector const& removedItems, param::vector const& addedItems) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ISelectionChangedEventArgsFactory const& f) { return f.CreateInstanceWithRemovedItemsAndAddedItems(removedItems, addedItems, baseInterface, innerInterface); }); } inline SelectorBar::SelectorBar() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ISelectorBarFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto SelectorBar::ItemsProperty() { return impl::call_factory_cast([](ISelectorBarStatics const& f) { return f.ItemsProperty(); }); } inline auto SelectorBar::SelectedItemProperty() { return impl::call_factory_cast([](ISelectorBarStatics const& f) { return f.SelectedItemProperty(); }); } inline SelectorBarItem::SelectorBarItem() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ISelectorBarItemFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto SelectorBarItem::TextProperty() { return impl::call_factory_cast([](ISelectorBarItemStatics const& f) { return f.TextProperty(); }); } inline auto SelectorBarItem::IconProperty() { return impl::call_factory_cast([](ISelectorBarItemStatics const& f) { return f.IconProperty(); }); } inline SemanticZoom::SemanticZoom() : SemanticZoom(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto SemanticZoom::ZoomedInViewProperty() { return impl::call_factory_cast([](ISemanticZoomStatics const& f) { return f.ZoomedInViewProperty(); }); } inline auto SemanticZoom::ZoomedOutViewProperty() { return impl::call_factory_cast([](ISemanticZoomStatics const& f) { return f.ZoomedOutViewProperty(); }); } inline auto SemanticZoom::IsZoomedInViewActiveProperty() { return impl::call_factory_cast([](ISemanticZoomStatics const& f) { return f.IsZoomedInViewActiveProperty(); }); } inline auto SemanticZoom::CanChangeViewsProperty() { return impl::call_factory_cast([](ISemanticZoomStatics const& f) { return f.CanChangeViewsProperty(); }); } inline auto SemanticZoom::IsZoomOutButtonEnabledProperty() { return impl::call_factory_cast([](ISemanticZoomStatics const& f) { return f.IsZoomOutButtonEnabledProperty(); }); } inline SemanticZoomLocation::SemanticZoomLocation() : SemanticZoomLocation(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline SemanticZoomViewChangedEventArgs::SemanticZoomViewChangedEventArgs() : SemanticZoomViewChangedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline Slider::Slider() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ISliderFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto Slider::IntermediateValueProperty() { return impl::call_factory_cast([](ISliderStatics const& f) { return f.IntermediateValueProperty(); }); } inline auto Slider::StepFrequencyProperty() { return impl::call_factory_cast([](ISliderStatics const& f) { return f.StepFrequencyProperty(); }); } inline auto Slider::SnapsToProperty() { return impl::call_factory_cast([](ISliderStatics const& f) { return f.SnapsToProperty(); }); } inline auto Slider::TickFrequencyProperty() { return impl::call_factory_cast([](ISliderStatics const& f) { return f.TickFrequencyProperty(); }); } inline auto Slider::TickPlacementProperty() { return impl::call_factory_cast([](ISliderStatics const& f) { return f.TickPlacementProperty(); }); } inline auto Slider::OrientationProperty() { return impl::call_factory_cast([](ISliderStatics const& f) { return f.OrientationProperty(); }); } inline auto Slider::IsDirectionReversedProperty() { return impl::call_factory_cast([](ISliderStatics const& f) { return f.IsDirectionReversedProperty(); }); } inline auto Slider::IsThumbToolTipEnabledProperty() { return impl::call_factory_cast([](ISliderStatics const& f) { return f.IsThumbToolTipEnabledProperty(); }); } inline auto Slider::ThumbToolTipValueConverterProperty() { return impl::call_factory_cast([](ISliderStatics const& f) { return f.ThumbToolTipValueConverterProperty(); }); } inline auto Slider::HeaderProperty() { return impl::call_factory_cast([](ISliderStatics const& f) { return f.HeaderProperty(); }); } inline auto Slider::HeaderTemplateProperty() { return impl::call_factory_cast([](ISliderStatics const& f) { return f.HeaderTemplateProperty(); }); } 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 SplitView::SplitView() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ISplitViewFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto SplitView::ContentProperty() { return impl::call_factory_cast([](ISplitViewStatics const& f) { return f.ContentProperty(); }); } inline auto SplitView::PaneProperty() { return impl::call_factory_cast([](ISplitViewStatics const& f) { return f.PaneProperty(); }); } inline auto SplitView::IsPaneOpenProperty() { return impl::call_factory_cast([](ISplitViewStatics const& f) { return f.IsPaneOpenProperty(); }); } inline auto SplitView::OpenPaneLengthProperty() { return impl::call_factory_cast([](ISplitViewStatics const& f) { return f.OpenPaneLengthProperty(); }); } inline auto SplitView::CompactPaneLengthProperty() { return impl::call_factory_cast([](ISplitViewStatics const& f) { return f.CompactPaneLengthProperty(); }); } inline auto SplitView::PanePlacementProperty() { return impl::call_factory_cast([](ISplitViewStatics const& f) { return f.PanePlacementProperty(); }); } inline auto SplitView::DisplayModeProperty() { return impl::call_factory_cast([](ISplitViewStatics const& f) { return f.DisplayModeProperty(); }); } inline auto SplitView::TemplateSettingsProperty() { return impl::call_factory_cast([](ISplitViewStatics const& f) { return f.TemplateSettingsProperty(); }); } inline auto SplitView::PaneBackgroundProperty() { return impl::call_factory_cast([](ISplitViewStatics const& f) { return f.PaneBackgroundProperty(); }); } inline auto SplitView::LightDismissOverlayModeProperty() { return impl::call_factory_cast([](ISplitViewStatics const& f) { return f.LightDismissOverlayModeProperty(); }); } 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 StackPanel::StackPanel() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IStackPanelFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto StackPanel::AreScrollSnapPointsRegularProperty() { return impl::call_factory_cast([](IStackPanelStatics const& f) { return f.AreScrollSnapPointsRegularProperty(); }); } inline auto StackPanel::OrientationProperty() { return impl::call_factory_cast([](IStackPanelStatics const& f) { return f.OrientationProperty(); }); } inline auto StackPanel::BackgroundSizingProperty() { return impl::call_factory_cast([](IStackPanelStatics const& f) { return f.BackgroundSizingProperty(); }); } inline auto StackPanel::BorderBrushProperty() { return impl::call_factory_cast([](IStackPanelStatics const& f) { return f.BorderBrushProperty(); }); } inline auto StackPanel::BorderThicknessProperty() { return impl::call_factory_cast([](IStackPanelStatics const& f) { return f.BorderThicknessProperty(); }); } inline auto StackPanel::CornerRadiusProperty() { return impl::call_factory_cast([](IStackPanelStatics const& f) { return f.CornerRadiusProperty(); }); } inline auto StackPanel::PaddingProperty() { return impl::call_factory_cast([](IStackPanelStatics const& f) { return f.PaddingProperty(); }); } inline auto StackPanel::SpacingProperty() { return impl::call_factory_cast([](IStackPanelStatics const& f) { return f.SpacingProperty(); }); } inline StyleSelector::StyleSelector() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IStyleSelectorFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline SwapChainBackgroundPanel::SwapChainBackgroundPanel() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ISwapChainBackgroundPanelFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline SwapChainPanel::SwapChainPanel() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ISwapChainPanelFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto SwapChainPanel::CompositionScaleXProperty() { return impl::call_factory_cast([](ISwapChainPanelStatics const& f) { return f.CompositionScaleXProperty(); }); } inline auto SwapChainPanel::CompositionScaleYProperty() { return impl::call_factory_cast([](ISwapChainPanelStatics const& f) { return f.CompositionScaleYProperty(); }); } 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 SymbolIcon::SymbolIcon() : SymbolIcon(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline SymbolIcon::SymbolIcon(winrt::Microsoft::UI::Xaml::Controls::Symbol const& symbol) : SymbolIcon(impl::call_factory([&](ISymbolIconFactory const& f) { return f.CreateInstanceWithSymbol(symbol); })) { } inline auto SymbolIcon::SymbolProperty() { return impl::call_factory_cast([](ISymbolIconStatics const& f) { return f.SymbolProperty(); }); } 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 auto TabView::CanTearOutTabsProperty() { return impl::call_factory_cast([](ITabViewStatics2 const& f) { return f.CanTearOutTabsProperty(); }); } 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 TextBlock::TextBlock() : TextBlock(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto TextBlock::FontSizeProperty() { return impl::call_factory_cast([](ITextBlockStatics const& f) { return f.FontSizeProperty(); }); } inline auto TextBlock::FontFamilyProperty() { return impl::call_factory_cast([](ITextBlockStatics const& f) { return f.FontFamilyProperty(); }); } inline auto TextBlock::FontWeightProperty() { return impl::call_factory_cast([](ITextBlockStatics const& f) { return f.FontWeightProperty(); }); } inline auto TextBlock::FontStyleProperty() { return impl::call_factory_cast([](ITextBlockStatics const& f) { return f.FontStyleProperty(); }); } inline auto TextBlock::FontStretchProperty() { return impl::call_factory_cast([](ITextBlockStatics const& f) { return f.FontStretchProperty(); }); } inline auto TextBlock::CharacterSpacingProperty() { return impl::call_factory_cast([](ITextBlockStatics const& f) { return f.CharacterSpacingProperty(); }); } inline auto TextBlock::ForegroundProperty() { return impl::call_factory_cast([](ITextBlockStatics const& f) { return f.ForegroundProperty(); }); } inline auto TextBlock::TextWrappingProperty() { return impl::call_factory_cast([](ITextBlockStatics const& f) { return f.TextWrappingProperty(); }); } inline auto TextBlock::TextTrimmingProperty() { return impl::call_factory_cast([](ITextBlockStatics const& f) { return f.TextTrimmingProperty(); }); } inline auto TextBlock::TextAlignmentProperty() { return impl::call_factory_cast([](ITextBlockStatics const& f) { return f.TextAlignmentProperty(); }); } inline auto TextBlock::TextProperty() { return impl::call_factory_cast([](ITextBlockStatics const& f) { return f.TextProperty(); }); } inline auto TextBlock::PaddingProperty() { return impl::call_factory_cast([](ITextBlockStatics const& f) { return f.PaddingProperty(); }); } inline auto TextBlock::LineHeightProperty() { return impl::call_factory_cast([](ITextBlockStatics const& f) { return f.LineHeightProperty(); }); } inline auto TextBlock::LineStackingStrategyProperty() { return impl::call_factory_cast([](ITextBlockStatics const& f) { return f.LineStackingStrategyProperty(); }); } inline auto TextBlock::IsTextSelectionEnabledProperty() { return impl::call_factory_cast([](ITextBlockStatics const& f) { return f.IsTextSelectionEnabledProperty(); }); } inline auto TextBlock::SelectedTextProperty() { return impl::call_factory_cast([](ITextBlockStatics const& f) { return f.SelectedTextProperty(); }); } inline auto TextBlock::SelectionHighlightColorProperty() { return impl::call_factory_cast([](ITextBlockStatics const& f) { return f.SelectionHighlightColorProperty(); }); } inline auto TextBlock::MaxLinesProperty() { return impl::call_factory_cast([](ITextBlockStatics const& f) { return f.MaxLinesProperty(); }); } inline auto TextBlock::TextLineBoundsProperty() { return impl::call_factory_cast([](ITextBlockStatics const& f) { return f.TextLineBoundsProperty(); }); } inline auto TextBlock::OpticalMarginAlignmentProperty() { return impl::call_factory_cast([](ITextBlockStatics const& f) { return f.OpticalMarginAlignmentProperty(); }); } inline auto TextBlock::IsColorFontEnabledProperty() { return impl::call_factory_cast([](ITextBlockStatics const& f) { return f.IsColorFontEnabledProperty(); }); } inline auto TextBlock::TextReadingOrderProperty() { return impl::call_factory_cast([](ITextBlockStatics const& f) { return f.TextReadingOrderProperty(); }); } inline auto TextBlock::IsTextScaleFactorEnabledProperty() { return impl::call_factory_cast([](ITextBlockStatics const& f) { return f.IsTextScaleFactorEnabledProperty(); }); } inline auto TextBlock::TextDecorationsProperty() { return impl::call_factory_cast([](ITextBlockStatics const& f) { return f.TextDecorationsProperty(); }); } inline auto TextBlock::IsTextTrimmedProperty() { return impl::call_factory_cast([](ITextBlockStatics const& f) { return f.IsTextTrimmedProperty(); }); } inline auto TextBlock::HorizontalTextAlignmentProperty() { return impl::call_factory_cast([](ITextBlockStatics const& f) { return f.HorizontalTextAlignmentProperty(); }); } inline auto TextBlock::SelectionFlyoutProperty() { return impl::call_factory_cast([](ITextBlockStatics const& f) { return f.SelectionFlyoutProperty(); }); } inline TextBox::TextBox() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ITextBoxFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto TextBox::TextProperty() { return impl::call_factory_cast([](ITextBoxStatics const& f) { return f.TextProperty(); }); } inline auto TextBox::MaxLengthProperty() { return impl::call_factory_cast([](ITextBoxStatics const& f) { return f.MaxLengthProperty(); }); } inline auto TextBox::IsReadOnlyProperty() { return impl::call_factory_cast([](ITextBoxStatics const& f) { return f.IsReadOnlyProperty(); }); } inline auto TextBox::AcceptsReturnProperty() { return impl::call_factory_cast([](ITextBoxStatics const& f) { return f.AcceptsReturnProperty(); }); } inline auto TextBox::TextAlignmentProperty() { return impl::call_factory_cast([](ITextBoxStatics const& f) { return f.TextAlignmentProperty(); }); } inline auto TextBox::TextWrappingProperty() { return impl::call_factory_cast([](ITextBoxStatics const& f) { return f.TextWrappingProperty(); }); } inline auto TextBox::IsSpellCheckEnabledProperty() { return impl::call_factory_cast([](ITextBoxStatics const& f) { return f.IsSpellCheckEnabledProperty(); }); } inline auto TextBox::IsTextPredictionEnabledProperty() { return impl::call_factory_cast([](ITextBoxStatics const& f) { return f.IsTextPredictionEnabledProperty(); }); } inline auto TextBox::InputScopeProperty() { return impl::call_factory_cast([](ITextBoxStatics const& f) { return f.InputScopeProperty(); }); } inline auto TextBox::HeaderProperty() { return impl::call_factory_cast([](ITextBoxStatics const& f) { return f.HeaderProperty(); }); } inline auto TextBox::HeaderTemplateProperty() { return impl::call_factory_cast([](ITextBoxStatics const& f) { return f.HeaderTemplateProperty(); }); } inline auto TextBox::PlaceholderTextProperty() { return impl::call_factory_cast([](ITextBoxStatics const& f) { return f.PlaceholderTextProperty(); }); } inline auto TextBox::SelectionHighlightColorProperty() { return impl::call_factory_cast([](ITextBoxStatics const& f) { return f.SelectionHighlightColorProperty(); }); } inline auto TextBox::PreventKeyboardDisplayOnProgrammaticFocusProperty() { return impl::call_factory_cast([](ITextBoxStatics const& f) { return f.PreventKeyboardDisplayOnProgrammaticFocusProperty(); }); } inline auto TextBox::IsColorFontEnabledProperty() { return impl::call_factory_cast([](ITextBoxStatics const& f) { return f.IsColorFontEnabledProperty(); }); } inline auto TextBox::SelectionHighlightColorWhenNotFocusedProperty() { return impl::call_factory_cast([](ITextBoxStatics const& f) { return f.SelectionHighlightColorWhenNotFocusedProperty(); }); } inline auto TextBox::HorizontalTextAlignmentProperty() { return impl::call_factory_cast([](ITextBoxStatics const& f) { return f.HorizontalTextAlignmentProperty(); }); } inline auto TextBox::CharacterCasingProperty() { return impl::call_factory_cast([](ITextBoxStatics const& f) { return f.CharacterCasingProperty(); }); } inline auto TextBox::PlaceholderForegroundProperty() { return impl::call_factory_cast([](ITextBoxStatics const& f) { return f.PlaceholderForegroundProperty(); }); } inline auto TextBox::CanPasteClipboardContentProperty() { return impl::call_factory_cast([](ITextBoxStatics const& f) { return f.CanPasteClipboardContentProperty(); }); } inline auto TextBox::CanUndoProperty() { return impl::call_factory_cast([](ITextBoxStatics const& f) { return f.CanUndoProperty(); }); } inline auto TextBox::CanRedoProperty() { return impl::call_factory_cast([](ITextBoxStatics const& f) { return f.CanRedoProperty(); }); } inline auto TextBox::SelectionFlyoutProperty() { return impl::call_factory_cast([](ITextBoxStatics const& f) { return f.SelectionFlyoutProperty(); }); } inline auto TextBox::ProofingMenuFlyoutProperty() { return impl::call_factory_cast([](ITextBoxStatics const& f) { return f.ProofingMenuFlyoutProperty(); }); } inline auto TextBox::DescriptionProperty() { return impl::call_factory_cast([](ITextBoxStatics const& f) { return f.DescriptionProperty(); }); } inline auto TextBox::DesiredCandidateWindowAlignmentProperty() { return impl::call_factory_cast([](ITextBoxStatics const& f) { return f.DesiredCandidateWindowAlignmentProperty(); }); } inline auto TextBox::TextReadingOrderProperty() { return impl::call_factory_cast([](ITextBoxStatics const& f) { return f.TextReadingOrderProperty(); }); } inline TextCommandBarFlyout::TextCommandBarFlyout() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ITextCommandBarFlyoutFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline TimePickedEventArgs::TimePickedEventArgs() : TimePickedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline TimePicker::TimePicker() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ITimePickerFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto TimePicker::HeaderProperty() { return impl::call_factory_cast([](ITimePickerStatics const& f) { return f.HeaderProperty(); }); } inline auto TimePicker::HeaderTemplateProperty() { return impl::call_factory_cast([](ITimePickerStatics const& f) { return f.HeaderTemplateProperty(); }); } inline auto TimePicker::ClockIdentifierProperty() { return impl::call_factory_cast([](ITimePickerStatics const& f) { return f.ClockIdentifierProperty(); }); } inline auto TimePicker::MinuteIncrementProperty() { return impl::call_factory_cast([](ITimePickerStatics const& f) { return f.MinuteIncrementProperty(); }); } inline auto TimePicker::TimeProperty() { return impl::call_factory_cast([](ITimePickerStatics const& f) { return f.TimeProperty(); }); } inline auto TimePicker::LightDismissOverlayModeProperty() { return impl::call_factory_cast([](ITimePickerStatics const& f) { return f.LightDismissOverlayModeProperty(); }); } inline auto TimePicker::SelectedTimeProperty() { return impl::call_factory_cast([](ITimePickerStatics const& f) { return f.SelectedTimeProperty(); }); } inline TimePickerFlyout::TimePickerFlyout() : TimePickerFlyout(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto TimePickerFlyout::ClockIdentifierProperty() { return impl::call_factory_cast([](ITimePickerFlyoutStatics const& f) { return f.ClockIdentifierProperty(); }); } inline auto TimePickerFlyout::TimeProperty() { return impl::call_factory_cast([](ITimePickerFlyoutStatics const& f) { return f.TimeProperty(); }); } inline auto TimePickerFlyout::MinuteIncrementProperty() { return impl::call_factory_cast([](ITimePickerFlyoutStatics const& f) { return f.MinuteIncrementProperty(); }); } inline auto TimePickerFlyoutPresenter::IsDefaultShadowEnabledProperty() { return impl::call_factory_cast([](ITimePickerFlyoutPresenterStatics const& f) { return f.IsDefaultShadowEnabledProperty(); }); } inline TitleBar::TitleBar() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ITitleBarFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto TitleBar::TitleProperty() { return impl::call_factory_cast([](ITitleBarStatics const& f) { return f.TitleProperty(); }); } inline auto TitleBar::SubtitleProperty() { return impl::call_factory_cast([](ITitleBarStatics const& f) { return f.SubtitleProperty(); }); } inline auto TitleBar::IconSourceProperty() { return impl::call_factory_cast([](ITitleBarStatics const& f) { return f.IconSourceProperty(); }); } inline auto TitleBar::LeftHeaderProperty() { return impl::call_factory_cast([](ITitleBarStatics const& f) { return f.LeftHeaderProperty(); }); } inline auto TitleBar::ContentProperty() { return impl::call_factory_cast([](ITitleBarStatics const& f) { return f.ContentProperty(); }); } inline auto TitleBar::RightHeaderProperty() { return impl::call_factory_cast([](ITitleBarStatics const& f) { return f.RightHeaderProperty(); }); } inline auto TitleBar::IsBackButtonVisibleProperty() { return impl::call_factory_cast([](ITitleBarStatics const& f) { return f.IsBackButtonVisibleProperty(); }); } inline auto TitleBar::IsBackButtonEnabledProperty() { return impl::call_factory_cast([](ITitleBarStatics const& f) { return f.IsBackButtonEnabledProperty(); }); } inline auto TitleBar::IsPaneToggleButtonVisibleProperty() { return impl::call_factory_cast([](ITitleBarStatics const& f) { return f.IsPaneToggleButtonVisibleProperty(); }); } inline auto TitleBar::TemplateSettingsProperty() { return impl::call_factory_cast([](ITitleBarStatics const& f) { return f.TemplateSettingsProperty(); }); } inline TitleBarAutomationPeer::TitleBarAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::TitleBar const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ITitleBarAutomationPeerFactory const& f) { return f.CreateInstance(owner, baseInterface, innerInterface); }); } inline TitleBarTemplateSettings::TitleBarTemplateSettings() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ITitleBarTemplateSettingsFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto TitleBarTemplateSettings::IconElementProperty() { return impl::call_factory_cast([](ITitleBarTemplateSettingsStatics const& f) { return f.IconElementProperty(); }); } inline ToggleMenuFlyoutItem::ToggleMenuFlyoutItem() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IToggleMenuFlyoutItemFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto ToggleMenuFlyoutItem::IsCheckedProperty() { return impl::call_factory_cast([](IToggleMenuFlyoutItemStatics const& f) { return f.IsCheckedProperty(); }); } 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 ToggleSwitch::ToggleSwitch() : ToggleSwitch(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto ToggleSwitch::IsOnProperty() { return impl::call_factory_cast([](IToggleSwitchStatics const& f) { return f.IsOnProperty(); }); } inline auto ToggleSwitch::HeaderProperty() { return impl::call_factory_cast([](IToggleSwitchStatics const& f) { return f.HeaderProperty(); }); } inline auto ToggleSwitch::HeaderTemplateProperty() { return impl::call_factory_cast([](IToggleSwitchStatics const& f) { return f.HeaderTemplateProperty(); }); } inline auto ToggleSwitch::OnContentProperty() { return impl::call_factory_cast([](IToggleSwitchStatics const& f) { return f.OnContentProperty(); }); } inline auto ToggleSwitch::OnContentTemplateProperty() { return impl::call_factory_cast([](IToggleSwitchStatics const& f) { return f.OnContentTemplateProperty(); }); } inline auto ToggleSwitch::OffContentProperty() { return impl::call_factory_cast([](IToggleSwitchStatics const& f) { return f.OffContentProperty(); }); } inline auto ToggleSwitch::OffContentTemplateProperty() { return impl::call_factory_cast([](IToggleSwitchStatics const& f) { return f.OffContentTemplateProperty(); }); } inline ToolTip::ToolTip() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IToolTipFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto ToolTip::HorizontalOffsetProperty() { return impl::call_factory_cast([](IToolTipStatics const& f) { return f.HorizontalOffsetProperty(); }); } inline auto ToolTip::IsOpenProperty() { return impl::call_factory_cast([](IToolTipStatics const& f) { return f.IsOpenProperty(); }); } inline auto ToolTip::PlacementProperty() { return impl::call_factory_cast([](IToolTipStatics const& f) { return f.PlacementProperty(); }); } inline auto ToolTip::PlacementTargetProperty() { return impl::call_factory_cast([](IToolTipStatics const& f) { return f.PlacementTargetProperty(); }); } inline auto ToolTip::PlacementRectProperty() { return impl::call_factory_cast([](IToolTipStatics const& f) { return f.PlacementRectProperty(); }); } inline auto ToolTip::VerticalOffsetProperty() { return impl::call_factory_cast([](IToolTipStatics const& f) { return f.VerticalOffsetProperty(); }); } inline auto ToolTipService::PlacementProperty() { return impl::call_factory_cast([](IToolTipServiceStatics const& f) { return f.PlacementProperty(); }); } inline auto ToolTipService::GetPlacement(winrt::Microsoft::UI::Xaml::DependencyObject const& element) { return impl::call_factory([&](IToolTipServiceStatics const& f) { return f.GetPlacement(element); }); } inline auto ToolTipService::SetPlacement(winrt::Microsoft::UI::Xaml::DependencyObject const& element, winrt::Microsoft::UI::Xaml::Controls::Primitives::PlacementMode const& value) { impl::call_factory([&](IToolTipServiceStatics const& f) { return f.SetPlacement(element, value); }); } inline auto ToolTipService::PlacementTargetProperty() { return impl::call_factory_cast([](IToolTipServiceStatics const& f) { return f.PlacementTargetProperty(); }); } inline auto ToolTipService::GetPlacementTarget(winrt::Microsoft::UI::Xaml::DependencyObject const& element) { return impl::call_factory([&](IToolTipServiceStatics const& f) { return f.GetPlacementTarget(element); }); } inline auto ToolTipService::SetPlacementTarget(winrt::Microsoft::UI::Xaml::DependencyObject const& element, winrt::Microsoft::UI::Xaml::UIElement const& value) { impl::call_factory([&](IToolTipServiceStatics const& f) { return f.SetPlacementTarget(element, value); }); } inline auto ToolTipService::ToolTipProperty() { return impl::call_factory_cast([](IToolTipServiceStatics const& f) { return f.ToolTipProperty(); }); } inline auto ToolTipService::GetToolTip(winrt::Microsoft::UI::Xaml::DependencyObject const& element) { return impl::call_factory([&](IToolTipServiceStatics const& f) { return f.GetToolTip(element); }); } inline auto ToolTipService::SetToolTip(winrt::Microsoft::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& value) { impl::call_factory([&](IToolTipServiceStatics const& f) { return f.SetToolTip(element, value); }); } 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 UserControl::UserControl() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IUserControlFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto UserControl::ContentProperty() { return impl::call_factory_cast([](IUserControlStatics const& f) { return f.ContentProperty(); }); } inline VariableSizedWrapGrid::VariableSizedWrapGrid() : VariableSizedWrapGrid(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto VariableSizedWrapGrid::ItemHeightProperty() { return impl::call_factory_cast([](IVariableSizedWrapGridStatics const& f) { return f.ItemHeightProperty(); }); } inline auto VariableSizedWrapGrid::ItemWidthProperty() { return impl::call_factory_cast([](IVariableSizedWrapGridStatics const& f) { return f.ItemWidthProperty(); }); } inline auto VariableSizedWrapGrid::OrientationProperty() { return impl::call_factory_cast([](IVariableSizedWrapGridStatics const& f) { return f.OrientationProperty(); }); } inline auto VariableSizedWrapGrid::HorizontalChildrenAlignmentProperty() { return impl::call_factory_cast([](IVariableSizedWrapGridStatics const& f) { return f.HorizontalChildrenAlignmentProperty(); }); } inline auto VariableSizedWrapGrid::VerticalChildrenAlignmentProperty() { return impl::call_factory_cast([](IVariableSizedWrapGridStatics const& f) { return f.VerticalChildrenAlignmentProperty(); }); } inline auto VariableSizedWrapGrid::MaximumRowsOrColumnsProperty() { return impl::call_factory_cast([](IVariableSizedWrapGridStatics const& f) { return f.MaximumRowsOrColumnsProperty(); }); } inline auto VariableSizedWrapGrid::RowSpanProperty() { return impl::call_factory_cast([](IVariableSizedWrapGridStatics const& f) { return f.RowSpanProperty(); }); } inline auto VariableSizedWrapGrid::GetRowSpan(winrt::Microsoft::UI::Xaml::UIElement const& element) { return impl::call_factory([&](IVariableSizedWrapGridStatics const& f) { return f.GetRowSpan(element); }); } inline auto VariableSizedWrapGrid::SetRowSpan(winrt::Microsoft::UI::Xaml::UIElement const& element, int32_t value) { impl::call_factory([&](IVariableSizedWrapGridStatics const& f) { return f.SetRowSpan(element, value); }); } inline auto VariableSizedWrapGrid::ColumnSpanProperty() { return impl::call_factory_cast([](IVariableSizedWrapGridStatics const& f) { return f.ColumnSpanProperty(); }); } inline auto VariableSizedWrapGrid::GetColumnSpan(winrt::Microsoft::UI::Xaml::UIElement const& element) { return impl::call_factory([&](IVariableSizedWrapGridStatics const& f) { return f.GetColumnSpan(element); }); } inline auto VariableSizedWrapGrid::SetColumnSpan(winrt::Microsoft::UI::Xaml::UIElement const& element, int32_t value) { impl::call_factory([&](IVariableSizedWrapGridStatics const& f) { return f.SetColumnSpan(element, value); }); } inline Viewbox::Viewbox() : Viewbox(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto Viewbox::StretchProperty() { return impl::call_factory_cast([](IViewboxStatics const& f) { return f.StretchProperty(); }); } inline auto Viewbox::StretchDirectionProperty() { return impl::call_factory_cast([](IViewboxStatics const& f) { return f.StretchDirectionProperty(); }); } 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 VirtualizingStackPanel::VirtualizingStackPanel() : VirtualizingStackPanel(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto VirtualizingStackPanel::AreScrollSnapPointsRegularProperty() { return impl::call_factory_cast([](IVirtualizingStackPanelStatics const& f) { return f.AreScrollSnapPointsRegularProperty(); }); } inline auto VirtualizingStackPanel::OrientationProperty() { return impl::call_factory_cast([](IVirtualizingStackPanelStatics const& f) { return f.OrientationProperty(); }); } inline auto VirtualizingStackPanel::VirtualizationModeProperty() { return impl::call_factory_cast([](IVirtualizingStackPanelStatics const& f) { return f.VirtualizationModeProperty(); }); } inline auto VirtualizingStackPanel::GetVirtualizationMode(winrt::Microsoft::UI::Xaml::DependencyObject const& element) { return impl::call_factory([&](IVirtualizingStackPanelStatics const& f) { return f.GetVirtualizationMode(element); }); } inline auto VirtualizingStackPanel::SetVirtualizationMode(winrt::Microsoft::UI::Xaml::DependencyObject const& element, winrt::Microsoft::UI::Xaml::Controls::VirtualizationMode const& value) { impl::call_factory([&](IVirtualizingStackPanelStatics const& f) { return f.SetVirtualizationMode(element, value); }); } inline auto VirtualizingStackPanel::IsVirtualizingProperty() { return impl::call_factory_cast([](IVirtualizingStackPanelStatics const& f) { return f.IsVirtualizingProperty(); }); } inline auto VirtualizingStackPanel::GetIsVirtualizing(winrt::Microsoft::UI::Xaml::DependencyObject const& o) { return impl::call_factory([&](IVirtualizingStackPanelStatics const& f) { return f.GetIsVirtualizing(o); }); } 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 auto WebView2::DefaultBackgroundColorProperty() { return impl::call_factory_cast([](IWebView2Statics const& f) { return f.DefaultBackgroundColorProperty(); }); } inline WrapGrid::WrapGrid() : WrapGrid(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto WrapGrid::ItemWidthProperty() { return impl::call_factory_cast([](IWrapGridStatics const& f) { return f.ItemWidthProperty(); }); } inline auto WrapGrid::ItemHeightProperty() { return impl::call_factory_cast([](IWrapGridStatics const& f) { return f.ItemHeightProperty(); }); } inline auto WrapGrid::OrientationProperty() { return impl::call_factory_cast([](IWrapGridStatics const& f) { return f.OrientationProperty(); }); } inline auto WrapGrid::HorizontalChildrenAlignmentProperty() { return impl::call_factory_cast([](IWrapGridStatics const& f) { return f.HorizontalChildrenAlignmentProperty(); }); } inline auto WrapGrid::VerticalChildrenAlignmentProperty() { return impl::call_factory_cast([](IWrapGridStatics const& f) { return f.VerticalChildrenAlignmentProperty(); }); } inline auto WrapGrid::MaximumRowsOrColumnsProperty() { return impl::call_factory_cast([](IWrapGridStatics const& f) { return f.MaximumRowsOrColumnsProperty(); }); } inline XamlControlsResources::XamlControlsResources() : XamlControlsResources(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto XamlControlsResources::EnsureRevealLights(winrt::Microsoft::UI::Xaml::UIElement const& element) { impl::call_factory([&](IXamlControlsResourcesStatics const& f) { return f.EnsureRevealLights(element); }); } inline auto XamlControlsResources::UseCompactResourcesProperty() { return impl::call_factory_cast([](IXamlControlsResourcesStatics const& f) { return f.UseCompactResourcesProperty(); }); } template CalendarViewDayItemChangingEventHandler::CalendarViewDayItemChangingEventHandler(L handler) : CalendarViewDayItemChangingEventHandler(impl::make_delegate(std::forward(handler))) { } template CalendarViewDayItemChangingEventHandler::CalendarViewDayItemChangingEventHandler(F* handler) : CalendarViewDayItemChangingEventHandler([=](auto&&... args) { return handler(args...); }) { } template CalendarViewDayItemChangingEventHandler::CalendarViewDayItemChangingEventHandler(O* object, M method) : CalendarViewDayItemChangingEventHandler([=](auto&&... args) { return ((*object).*(method))(args...); }) { } template CalendarViewDayItemChangingEventHandler::CalendarViewDayItemChangingEventHandler(com_ptr&& object, M method) : CalendarViewDayItemChangingEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template CalendarViewDayItemChangingEventHandler::CalendarViewDayItemChangingEventHandler(weak_ref&& object, LM&& lambda_or_method) : CalendarViewDayItemChangingEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.get()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } template CalendarViewDayItemChangingEventHandler::CalendarViewDayItemChangingEventHandler(std::shared_ptr&& object, M method) : CalendarViewDayItemChangingEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template CalendarViewDayItemChangingEventHandler::CalendarViewDayItemChangingEventHandler(std::weak_ptr&& object, LM&& lambda_or_method) : CalendarViewDayItemChangingEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.lock()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } inline auto CalendarViewDayItemChangingEventHandler::operator()(winrt::Microsoft::UI::Xaml::Controls::CalendarView const& sender, winrt::Microsoft::UI::Xaml::Controls::CalendarViewDayItemChangingEventArgs const& e) const { check_hresult((*(impl::abi_t**)this)->Invoke(*(void**)(&sender), *(void**)(&e))); } template CleanUpVirtualizedItemEventHandler::CleanUpVirtualizedItemEventHandler(L handler) : CleanUpVirtualizedItemEventHandler(impl::make_delegate(std::forward(handler))) { } template CleanUpVirtualizedItemEventHandler::CleanUpVirtualizedItemEventHandler(F* handler) : CleanUpVirtualizedItemEventHandler([=](auto&&... args) { return handler(args...); }) { } template CleanUpVirtualizedItemEventHandler::CleanUpVirtualizedItemEventHandler(O* object, M method) : CleanUpVirtualizedItemEventHandler([=](auto&&... args) { return ((*object).*(method))(args...); }) { } template CleanUpVirtualizedItemEventHandler::CleanUpVirtualizedItemEventHandler(com_ptr&& object, M method) : CleanUpVirtualizedItemEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template CleanUpVirtualizedItemEventHandler::CleanUpVirtualizedItemEventHandler(weak_ref&& object, LM&& lambda_or_method) : CleanUpVirtualizedItemEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.get()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } template CleanUpVirtualizedItemEventHandler::CleanUpVirtualizedItemEventHandler(std::shared_ptr&& object, M method) : CleanUpVirtualizedItemEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template CleanUpVirtualizedItemEventHandler::CleanUpVirtualizedItemEventHandler(std::weak_ptr&& object, LM&& lambda_or_method) : CleanUpVirtualizedItemEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.lock()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } inline auto CleanUpVirtualizedItemEventHandler::operator()(winrt::Windows::Foundation::IInspectable const& sender, winrt::Microsoft::UI::Xaml::Controls::CleanUpVirtualizedItemEventArgs const& e) const { check_hresult((*(impl::abi_t**)this)->Invoke(*(void**)(&sender), *(void**)(&e))); } template ContextMenuOpeningEventHandler::ContextMenuOpeningEventHandler(L handler) : ContextMenuOpeningEventHandler(impl::make_delegate(std::forward(handler))) { } template ContextMenuOpeningEventHandler::ContextMenuOpeningEventHandler(F* handler) : ContextMenuOpeningEventHandler([=](auto&&... args) { return handler(args...); }) { } template ContextMenuOpeningEventHandler::ContextMenuOpeningEventHandler(O* object, M method) : ContextMenuOpeningEventHandler([=](auto&&... args) { return ((*object).*(method))(args...); }) { } template ContextMenuOpeningEventHandler::ContextMenuOpeningEventHandler(com_ptr&& object, M method) : ContextMenuOpeningEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template ContextMenuOpeningEventHandler::ContextMenuOpeningEventHandler(weak_ref&& object, LM&& lambda_or_method) : ContextMenuOpeningEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.get()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } template ContextMenuOpeningEventHandler::ContextMenuOpeningEventHandler(std::shared_ptr&& object, M method) : ContextMenuOpeningEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template ContextMenuOpeningEventHandler::ContextMenuOpeningEventHandler(std::weak_ptr&& object, LM&& lambda_or_method) : ContextMenuOpeningEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.lock()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } inline auto ContextMenuOpeningEventHandler::operator()(winrt::Windows::Foundation::IInspectable const& sender, winrt::Microsoft::UI::Xaml::Controls::ContextMenuEventArgs const& e) const { check_hresult((*(impl::abi_t**)this)->Invoke(*(void**)(&sender), *(void**)(&e))); } template DragItemsStartingEventHandler::DragItemsStartingEventHandler(L handler) : DragItemsStartingEventHandler(impl::make_delegate(std::forward(handler))) { } template DragItemsStartingEventHandler::DragItemsStartingEventHandler(F* handler) : DragItemsStartingEventHandler([=](auto&&... args) { return handler(args...); }) { } template DragItemsStartingEventHandler::DragItemsStartingEventHandler(O* object, M method) : DragItemsStartingEventHandler([=](auto&&... args) { return ((*object).*(method))(args...); }) { } template DragItemsStartingEventHandler::DragItemsStartingEventHandler(com_ptr&& object, M method) : DragItemsStartingEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template DragItemsStartingEventHandler::DragItemsStartingEventHandler(weak_ref&& object, LM&& lambda_or_method) : DragItemsStartingEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.get()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } template DragItemsStartingEventHandler::DragItemsStartingEventHandler(std::shared_ptr&& object, M method) : DragItemsStartingEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template DragItemsStartingEventHandler::DragItemsStartingEventHandler(std::weak_ptr&& object, LM&& lambda_or_method) : DragItemsStartingEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.lock()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } inline auto DragItemsStartingEventHandler::operator()(winrt::Windows::Foundation::IInspectable const& sender, winrt::Microsoft::UI::Xaml::Controls::DragItemsStartingEventArgs const& e) const { check_hresult((*(impl::abi_t**)this)->Invoke(*(void**)(&sender), *(void**)(&e))); } template HubSectionHeaderClickEventHandler::HubSectionHeaderClickEventHandler(L handler) : HubSectionHeaderClickEventHandler(impl::make_delegate(std::forward(handler))) { } template HubSectionHeaderClickEventHandler::HubSectionHeaderClickEventHandler(F* handler) : HubSectionHeaderClickEventHandler([=](auto&&... args) { return handler(args...); }) { } template HubSectionHeaderClickEventHandler::HubSectionHeaderClickEventHandler(O* object, M method) : HubSectionHeaderClickEventHandler([=](auto&&... args) { return ((*object).*(method))(args...); }) { } template HubSectionHeaderClickEventHandler::HubSectionHeaderClickEventHandler(com_ptr&& object, M method) : HubSectionHeaderClickEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template HubSectionHeaderClickEventHandler::HubSectionHeaderClickEventHandler(weak_ref&& object, LM&& lambda_or_method) : HubSectionHeaderClickEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.get()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } template HubSectionHeaderClickEventHandler::HubSectionHeaderClickEventHandler(std::shared_ptr&& object, M method) : HubSectionHeaderClickEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template HubSectionHeaderClickEventHandler::HubSectionHeaderClickEventHandler(std::weak_ptr&& object, LM&& lambda_or_method) : HubSectionHeaderClickEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.lock()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } inline auto HubSectionHeaderClickEventHandler::operator()(winrt::Windows::Foundation::IInspectable const& sender, winrt::Microsoft::UI::Xaml::Controls::HubSectionHeaderClickEventArgs const& e) const { check_hresult((*(impl::abi_t**)this)->Invoke(*(void**)(&sender), *(void**)(&e))); } template ItemClickEventHandler::ItemClickEventHandler(L handler) : ItemClickEventHandler(impl::make_delegate(std::forward(handler))) { } template ItemClickEventHandler::ItemClickEventHandler(F* handler) : ItemClickEventHandler([=](auto&&... args) { return handler(args...); }) { } template ItemClickEventHandler::ItemClickEventHandler(O* object, M method) : ItemClickEventHandler([=](auto&&... args) { return ((*object).*(method))(args...); }) { } template ItemClickEventHandler::ItemClickEventHandler(com_ptr&& object, M method) : ItemClickEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template ItemClickEventHandler::ItemClickEventHandler(weak_ref&& object, LM&& lambda_or_method) : ItemClickEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.get()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } template ItemClickEventHandler::ItemClickEventHandler(std::shared_ptr&& object, M method) : ItemClickEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template ItemClickEventHandler::ItemClickEventHandler(std::weak_ptr&& object, LM&& lambda_or_method) : ItemClickEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.lock()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } inline auto ItemClickEventHandler::operator()(winrt::Windows::Foundation::IInspectable const& sender, winrt::Microsoft::UI::Xaml::Controls::ItemClickEventArgs const& e) const { check_hresult((*(impl::abi_t**)this)->Invoke(*(void**)(&sender), *(void**)(&e))); } template ListViewItemToKeyHandler::ListViewItemToKeyHandler(L handler) : ListViewItemToKeyHandler(impl::make_delegate(std::forward(handler))) { } template ListViewItemToKeyHandler::ListViewItemToKeyHandler(F* handler) : ListViewItemToKeyHandler([=](auto&&... args) { return handler(args...); }) { } template ListViewItemToKeyHandler::ListViewItemToKeyHandler(O* object, M method) : ListViewItemToKeyHandler([=](auto&&... args) { return ((*object).*(method))(args...); }) { } template ListViewItemToKeyHandler::ListViewItemToKeyHandler(com_ptr&& object, M method) : ListViewItemToKeyHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template ListViewItemToKeyHandler::ListViewItemToKeyHandler(weak_ref&& object, LM&& lambda_or_method) : ListViewItemToKeyHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.get()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } template ListViewItemToKeyHandler::ListViewItemToKeyHandler(std::shared_ptr&& object, M method) : ListViewItemToKeyHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template ListViewItemToKeyHandler::ListViewItemToKeyHandler(std::weak_ptr&& object, LM&& lambda_or_method) : ListViewItemToKeyHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.lock()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } inline auto ListViewItemToKeyHandler::operator()(winrt::Windows::Foundation::IInspectable const& item) const { void* result{}; check_hresult((*(impl::abi_t**)this)->Invoke(*(void**)(&item), &result)); return hstring{ result, take_ownership_from_abi }; } template ListViewKeyToItemHandler::ListViewKeyToItemHandler(L handler) : ListViewKeyToItemHandler(impl::make_delegate(std::forward(handler))) { } template ListViewKeyToItemHandler::ListViewKeyToItemHandler(F* handler) : ListViewKeyToItemHandler([=](auto&&... args) { return handler(args...); }) { } template ListViewKeyToItemHandler::ListViewKeyToItemHandler(O* object, M method) : ListViewKeyToItemHandler([=](auto&&... args) { return ((*object).*(method))(args...); }) { } template ListViewKeyToItemHandler::ListViewKeyToItemHandler(com_ptr&& object, M method) : ListViewKeyToItemHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template ListViewKeyToItemHandler::ListViewKeyToItemHandler(weak_ref&& object, LM&& lambda_or_method) : ListViewKeyToItemHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.get()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } template ListViewKeyToItemHandler::ListViewKeyToItemHandler(std::shared_ptr&& object, M method) : ListViewKeyToItemHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template ListViewKeyToItemHandler::ListViewKeyToItemHandler(std::weak_ptr&& object, LM&& lambda_or_method) : ListViewKeyToItemHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.lock()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } inline auto ListViewKeyToItemHandler::operator()(param::hstring const& key) const { void* operation{}; check_hresult((*(impl::abi_t**)this)->Invoke(*(void**)(&key), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template SectionsInViewChangedEventHandler::SectionsInViewChangedEventHandler(L handler) : SectionsInViewChangedEventHandler(impl::make_delegate(std::forward(handler))) { } template SectionsInViewChangedEventHandler::SectionsInViewChangedEventHandler(F* handler) : SectionsInViewChangedEventHandler([=](auto&&... args) { return handler(args...); }) { } template SectionsInViewChangedEventHandler::SectionsInViewChangedEventHandler(O* object, M method) : SectionsInViewChangedEventHandler([=](auto&&... args) { return ((*object).*(method))(args...); }) { } template SectionsInViewChangedEventHandler::SectionsInViewChangedEventHandler(com_ptr&& object, M method) : SectionsInViewChangedEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template SectionsInViewChangedEventHandler::SectionsInViewChangedEventHandler(weak_ref&& object, LM&& lambda_or_method) : SectionsInViewChangedEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.get()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } template SectionsInViewChangedEventHandler::SectionsInViewChangedEventHandler(std::shared_ptr&& object, M method) : SectionsInViewChangedEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template SectionsInViewChangedEventHandler::SectionsInViewChangedEventHandler(std::weak_ptr&& object, LM&& lambda_or_method) : SectionsInViewChangedEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.lock()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } inline auto SectionsInViewChangedEventHandler::operator()(winrt::Windows::Foundation::IInspectable const& sender, winrt::Microsoft::UI::Xaml::Controls::SectionsInViewChangedEventArgs const& e) const { check_hresult((*(impl::abi_t**)this)->Invoke(*(void**)(&sender), *(void**)(&e))); } template SelectionChangedEventHandler::SelectionChangedEventHandler(L handler) : SelectionChangedEventHandler(impl::make_delegate(std::forward(handler))) { } template SelectionChangedEventHandler::SelectionChangedEventHandler(F* handler) : SelectionChangedEventHandler([=](auto&&... args) { return handler(args...); }) { } template SelectionChangedEventHandler::SelectionChangedEventHandler(O* object, M method) : SelectionChangedEventHandler([=](auto&&... args) { return ((*object).*(method))(args...); }) { } template SelectionChangedEventHandler::SelectionChangedEventHandler(com_ptr&& object, M method) : SelectionChangedEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template SelectionChangedEventHandler::SelectionChangedEventHandler(weak_ref&& object, LM&& lambda_or_method) : SelectionChangedEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.get()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } template SelectionChangedEventHandler::SelectionChangedEventHandler(std::shared_ptr&& object, M method) : SelectionChangedEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template SelectionChangedEventHandler::SelectionChangedEventHandler(std::weak_ptr&& object, LM&& lambda_or_method) : SelectionChangedEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.lock()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } inline auto SelectionChangedEventHandler::operator()(winrt::Windows::Foundation::IInspectable const& sender, winrt::Microsoft::UI::Xaml::Controls::SelectionChangedEventArgs const& e) const { check_hresult((*(impl::abi_t**)this)->Invoke(*(void**)(&sender), *(void**)(&e))); } template SemanticZoomViewChangedEventHandler::SemanticZoomViewChangedEventHandler(L handler) : SemanticZoomViewChangedEventHandler(impl::make_delegate(std::forward(handler))) { } template SemanticZoomViewChangedEventHandler::SemanticZoomViewChangedEventHandler(F* handler) : SemanticZoomViewChangedEventHandler([=](auto&&... args) { return handler(args...); }) { } template SemanticZoomViewChangedEventHandler::SemanticZoomViewChangedEventHandler(O* object, M method) : SemanticZoomViewChangedEventHandler([=](auto&&... args) { return ((*object).*(method))(args...); }) { } template SemanticZoomViewChangedEventHandler::SemanticZoomViewChangedEventHandler(com_ptr&& object, M method) : SemanticZoomViewChangedEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template SemanticZoomViewChangedEventHandler::SemanticZoomViewChangedEventHandler(weak_ref&& object, LM&& lambda_or_method) : SemanticZoomViewChangedEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.get()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } template SemanticZoomViewChangedEventHandler::SemanticZoomViewChangedEventHandler(std::shared_ptr&& object, M method) : SemanticZoomViewChangedEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template SemanticZoomViewChangedEventHandler::SemanticZoomViewChangedEventHandler(std::weak_ptr&& object, LM&& lambda_or_method) : SemanticZoomViewChangedEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.lock()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } inline auto SemanticZoomViewChangedEventHandler::operator()(winrt::Windows::Foundation::IInspectable const& sender, winrt::Microsoft::UI::Xaml::Controls::SemanticZoomViewChangedEventArgs const& e) const { check_hresult((*(impl::abi_t**)this)->Invoke(*(void**)(&sender), *(void**)(&e))); } template TextChangedEventHandler::TextChangedEventHandler(L handler) : TextChangedEventHandler(impl::make_delegate(std::forward(handler))) { } template TextChangedEventHandler::TextChangedEventHandler(F* handler) : TextChangedEventHandler([=](auto&&... args) { return handler(args...); }) { } template TextChangedEventHandler::TextChangedEventHandler(O* object, M method) : TextChangedEventHandler([=](auto&&... args) { return ((*object).*(method))(args...); }) { } template TextChangedEventHandler::TextChangedEventHandler(com_ptr&& object, M method) : TextChangedEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template TextChangedEventHandler::TextChangedEventHandler(weak_ref&& object, LM&& lambda_or_method) : TextChangedEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.get()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } template TextChangedEventHandler::TextChangedEventHandler(std::shared_ptr&& object, M method) : TextChangedEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template TextChangedEventHandler::TextChangedEventHandler(std::weak_ptr&& object, LM&& lambda_or_method) : TextChangedEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.lock()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } inline auto TextChangedEventHandler::operator()(winrt::Windows::Foundation::IInspectable const& sender, winrt::Microsoft::UI::Xaml::Controls::TextChangedEventArgs const& e) const { check_hresult((*(impl::abi_t**)this)->Invoke(*(void**)(&sender), *(void**)(&e))); } template TextControlPasteEventHandler::TextControlPasteEventHandler(L handler) : TextControlPasteEventHandler(impl::make_delegate(std::forward(handler))) { } template TextControlPasteEventHandler::TextControlPasteEventHandler(F* handler) : TextControlPasteEventHandler([=](auto&&... args) { return handler(args...); }) { } template TextControlPasteEventHandler::TextControlPasteEventHandler(O* object, M method) : TextControlPasteEventHandler([=](auto&&... args) { return ((*object).*(method))(args...); }) { } template TextControlPasteEventHandler::TextControlPasteEventHandler(com_ptr&& object, M method) : TextControlPasteEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template TextControlPasteEventHandler::TextControlPasteEventHandler(weak_ref&& object, LM&& lambda_or_method) : TextControlPasteEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.get()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } template TextControlPasteEventHandler::TextControlPasteEventHandler(std::shared_ptr&& object, M method) : TextControlPasteEventHandler([o = std::move(object), method](auto&&... args) { return ((*o).*(method))(args...); }) { } template TextControlPasteEventHandler::TextControlPasteEventHandler(std::weak_ptr&& object, LM&& lambda_or_method) : TextControlPasteEventHandler([o = std::move(object), lm = std::forward(lambda_or_method)](auto&&... args) { if (auto s = o.lock()) { if constexpr (std::is_member_function_pointer_v) ((*s).*(lm))(args...); else lm(args...); } }) { } inline auto TextControlPasteEventHandler::operator()(winrt::Windows::Foundation::IInspectable const& sender, winrt::Microsoft::UI::Xaml::Controls::TextControlPasteEventArgs const& e) const { check_hresult((*(impl::abi_t**)this)->Invoke(*(void**)(&sender), *(void**)(&e))); } template auto IAppBarOverridesT::OnClosed(winrt::Windows::Foundation::IInspectable const& e) const { return shim().template try_as().OnClosed(e); } template auto IAppBarOverridesT::OnOpened(winrt::Windows::Foundation::IInspectable const& e) const { return shim().template try_as().OnOpened(e); } template auto IAppBarOverridesT::OnClosing(winrt::Windows::Foundation::IInspectable const& e) const { return shim().template try_as().OnClosing(e); } template auto IAppBarOverridesT::OnOpening(winrt::Windows::Foundation::IInspectable const& e) const { return shim().template try_as().OnOpening(e); } template auto IComboBoxOverridesT::OnDropDownClosed(winrt::Windows::Foundation::IInspectable const& e) const { return shim().template try_as().OnDropDownClosed(e); } template auto IComboBoxOverridesT::OnDropDownOpened(winrt::Windows::Foundation::IInspectable const& e) const { return shim().template try_as().OnDropDownOpened(e); } template auto IContentControlOverridesT::OnContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const { return shim().template try_as().OnContentChanged(oldContent, newContent); } template auto IContentControlOverridesT::OnContentTemplateChanged(winrt::Microsoft::UI::Xaml::DataTemplate const& oldContentTemplate, winrt::Microsoft::UI::Xaml::DataTemplate const& newContentTemplate) const { return shim().template try_as().OnContentTemplateChanged(oldContentTemplate, newContentTemplate); } template auto IContentControlOverridesT::OnContentTemplateSelectorChanged(winrt::Microsoft::UI::Xaml::Controls::DataTemplateSelector const& oldContentTemplateSelector, winrt::Microsoft::UI::Xaml::Controls::DataTemplateSelector const& newContentTemplateSelector) const { return shim().template try_as().OnContentTemplateSelectorChanged(oldContentTemplateSelector, newContentTemplateSelector); } template auto IContentPresenterOverridesT::OnContentTemplateChanged(winrt::Microsoft::UI::Xaml::DataTemplate const& oldContentTemplate, winrt::Microsoft::UI::Xaml::DataTemplate const& newContentTemplate) const { return shim().template try_as().OnContentTemplateChanged(oldContentTemplate, newContentTemplate); } template auto IContentPresenterOverridesT::OnContentTemplateSelectorChanged(winrt::Microsoft::UI::Xaml::Controls::DataTemplateSelector const& oldContentTemplateSelector, winrt::Microsoft::UI::Xaml::Controls::DataTemplateSelector const& newContentTemplateSelector) const { return shim().template try_as().OnContentTemplateSelectorChanged(oldContentTemplateSelector, newContentTemplateSelector); } template auto IControlOverridesT::OnPointerEntered(winrt::Microsoft::UI::Xaml::Input::PointerRoutedEventArgs const& e) const { return shim().template try_as().OnPointerEntered(e); } template auto IControlOverridesT::OnPointerPressed(winrt::Microsoft::UI::Xaml::Input::PointerRoutedEventArgs const& e) const { return shim().template try_as().OnPointerPressed(e); } template auto IControlOverridesT::OnPointerMoved(winrt::Microsoft::UI::Xaml::Input::PointerRoutedEventArgs const& e) const { return shim().template try_as().OnPointerMoved(e); } template auto IControlOverridesT::OnPointerReleased(winrt::Microsoft::UI::Xaml::Input::PointerRoutedEventArgs const& e) const { return shim().template try_as().OnPointerReleased(e); } template auto IControlOverridesT::OnPointerExited(winrt::Microsoft::UI::Xaml::Input::PointerRoutedEventArgs const& e) const { return shim().template try_as().OnPointerExited(e); } template auto IControlOverridesT::OnPointerCaptureLost(winrt::Microsoft::UI::Xaml::Input::PointerRoutedEventArgs const& e) const { return shim().template try_as().OnPointerCaptureLost(e); } template auto IControlOverridesT::OnPointerCanceled(winrt::Microsoft::UI::Xaml::Input::PointerRoutedEventArgs const& e) const { return shim().template try_as().OnPointerCanceled(e); } template auto IControlOverridesT::OnPointerWheelChanged(winrt::Microsoft::UI::Xaml::Input::PointerRoutedEventArgs const& e) const { return shim().template try_as().OnPointerWheelChanged(e); } template auto IControlOverridesT::OnTapped(winrt::Microsoft::UI::Xaml::Input::TappedRoutedEventArgs const& e) const { return shim().template try_as().OnTapped(e); } template auto IControlOverridesT::OnDoubleTapped(winrt::Microsoft::UI::Xaml::Input::DoubleTappedRoutedEventArgs const& e) const { return shim().template try_as().OnDoubleTapped(e); } template auto IControlOverridesT::OnHolding(winrt::Microsoft::UI::Xaml::Input::HoldingRoutedEventArgs const& e) const { return shim().template try_as().OnHolding(e); } template auto IControlOverridesT::OnRightTapped(winrt::Microsoft::UI::Xaml::Input::RightTappedRoutedEventArgs const& e) const { return shim().template try_as().OnRightTapped(e); } template auto IControlOverridesT::OnManipulationStarting(winrt::Microsoft::UI::Xaml::Input::ManipulationStartingRoutedEventArgs const& e) const { return shim().template try_as().OnManipulationStarting(e); } template auto IControlOverridesT::OnManipulationInertiaStarting(winrt::Microsoft::UI::Xaml::Input::ManipulationInertiaStartingRoutedEventArgs const& e) const { return shim().template try_as().OnManipulationInertiaStarting(e); } template auto IControlOverridesT::OnManipulationStarted(winrt::Microsoft::UI::Xaml::Input::ManipulationStartedRoutedEventArgs const& e) const { return shim().template try_as().OnManipulationStarted(e); } template auto IControlOverridesT::OnManipulationDelta(winrt::Microsoft::UI::Xaml::Input::ManipulationDeltaRoutedEventArgs const& e) const { return shim().template try_as().OnManipulationDelta(e); } template auto IControlOverridesT::OnManipulationCompleted(winrt::Microsoft::UI::Xaml::Input::ManipulationCompletedRoutedEventArgs const& e) const { return shim().template try_as().OnManipulationCompleted(e); } template auto IControlOverridesT::OnKeyUp(winrt::Microsoft::UI::Xaml::Input::KeyRoutedEventArgs const& e) const { return shim().template try_as().OnKeyUp(e); } template auto IControlOverridesT::OnKeyDown(winrt::Microsoft::UI::Xaml::Input::KeyRoutedEventArgs const& e) const { return shim().template try_as().OnKeyDown(e); } template auto IControlOverridesT::OnPreviewKeyDown(winrt::Microsoft::UI::Xaml::Input::KeyRoutedEventArgs const& e) const { return shim().template try_as().OnPreviewKeyDown(e); } template auto IControlOverridesT::OnPreviewKeyUp(winrt::Microsoft::UI::Xaml::Input::KeyRoutedEventArgs const& e) const { return shim().template try_as().OnPreviewKeyUp(e); } template auto IControlOverridesT::OnGotFocus(winrt::Microsoft::UI::Xaml::RoutedEventArgs const& e) const { return shim().template try_as().OnGotFocus(e); } template auto IControlOverridesT::OnLostFocus(winrt::Microsoft::UI::Xaml::RoutedEventArgs const& e) const { return shim().template try_as().OnLostFocus(e); } template auto IControlOverridesT::OnCharacterReceived(winrt::Microsoft::UI::Xaml::Input::CharacterReceivedRoutedEventArgs const& e) const { return shim().template try_as().OnCharacterReceived(e); } template auto IControlOverridesT::OnDragEnter(winrt::Microsoft::UI::Xaml::DragEventArgs const& e) const { return shim().template try_as().OnDragEnter(e); } template auto IControlOverridesT::OnDragLeave(winrt::Microsoft::UI::Xaml::DragEventArgs const& e) const { return shim().template try_as().OnDragLeave(e); } template auto IControlOverridesT::OnDragOver(winrt::Microsoft::UI::Xaml::DragEventArgs const& e) const { return shim().template try_as().OnDragOver(e); } template auto IControlOverridesT::OnDrop(winrt::Microsoft::UI::Xaml::DragEventArgs const& e) const { return shim().template try_as().OnDrop(e); } template auto IDataTemplateSelectorOverridesT::SelectTemplateCore(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::DependencyObject const& container) const { return shim().template try_as().SelectTemplateCore(item, container); } template auto IDataTemplateSelectorOverridesT::SelectTemplateCore(winrt::Windows::Foundation::IInspectable const& item) const { return shim().template try_as().SelectTemplateCore(item); } template auto IGroupStyleSelectorOverridesT::SelectGroupStyleCore(winrt::Windows::Foundation::IInspectable const& group, uint32_t level) const { return shim().template try_as().SelectGroupStyleCore(group, level); } template auto IIconSourceOverridesT::CreateIconElementCore() const { return shim().template try_as().CreateIconElementCore(); } template auto IIconSourceOverridesT::GetIconElementPropertyCore(winrt::Microsoft::UI::Xaml::DependencyProperty const& iconSourceProperty) const { return shim().template try_as().GetIconElementPropertyCore(iconSourceProperty); } template auto IItemCollectionTransitionProviderOverridesT::ShouldAnimateCore(winrt::Microsoft::UI::Xaml::Controls::ItemCollectionTransition const& transition) const { return shim().template try_as().ShouldAnimateCore(transition); } template auto IItemCollectionTransitionProviderOverridesT::StartTransitions(param::vector const& transitions) const { return shim().template try_as().StartTransitions(transitions); } template auto IItemsControlOverridesT::IsItemItsOwnContainerOverride(winrt::Windows::Foundation::IInspectable const& item) const { return shim().template try_as().IsItemItsOwnContainerOverride(item); } template auto IItemsControlOverridesT::GetContainerForItemOverride() const { return shim().template try_as().GetContainerForItemOverride(); } template auto IItemsControlOverridesT::ClearContainerForItemOverride(winrt::Microsoft::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& item) const { return shim().template try_as().ClearContainerForItemOverride(element, item); } template auto IItemsControlOverridesT::PrepareContainerForItemOverride(winrt::Microsoft::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::IInspectable const& item) const { return shim().template try_as().PrepareContainerForItemOverride(element, item); } template auto IItemsControlOverridesT::OnItemsChanged(winrt::Windows::Foundation::IInspectable const& e) const { return shim().template try_as().OnItemsChanged(e); } template auto IItemsControlOverridesT::OnItemContainerStyleChanged(winrt::Microsoft::UI::Xaml::Style const& oldItemContainerStyle, winrt::Microsoft::UI::Xaml::Style const& newItemContainerStyle) const { return shim().template try_as().OnItemContainerStyleChanged(oldItemContainerStyle, newItemContainerStyle); } template auto IItemsControlOverridesT::OnItemContainerStyleSelectorChanged(winrt::Microsoft::UI::Xaml::Controls::StyleSelector const& oldItemContainerStyleSelector, winrt::Microsoft::UI::Xaml::Controls::StyleSelector const& newItemContainerStyleSelector) const { return shim().template try_as().OnItemContainerStyleSelectorChanged(oldItemContainerStyleSelector, newItemContainerStyleSelector); } template auto IItemsControlOverridesT::OnItemTemplateChanged(winrt::Microsoft::UI::Xaml::DataTemplate const& oldItemTemplate, winrt::Microsoft::UI::Xaml::DataTemplate const& newItemTemplate) const { return shim().template try_as().OnItemTemplateChanged(oldItemTemplate, newItemTemplate); } template auto IItemsControlOverridesT::OnItemTemplateSelectorChanged(winrt::Microsoft::UI::Xaml::Controls::DataTemplateSelector const& oldItemTemplateSelector, winrt::Microsoft::UI::Xaml::Controls::DataTemplateSelector const& newItemTemplateSelector) const { return shim().template try_as().OnItemTemplateSelectorChanged(oldItemTemplateSelector, newItemTemplateSelector); } template auto IItemsControlOverridesT::OnGroupStyleSelectorChanged(winrt::Microsoft::UI::Xaml::Controls::GroupStyleSelector const& oldGroupStyleSelector, winrt::Microsoft::UI::Xaml::Controls::GroupStyleSelector const& newGroupStyleSelector) const { return shim().template try_as().OnGroupStyleSelectorChanged(oldGroupStyleSelector, newGroupStyleSelector); } template auto ILayoutOverridesT::CreateDefaultItemTransitionProvider() const { return shim().template try_as().CreateDefaultItemTransitionProvider(); } 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 IPageOverridesT::OnNavigatedFrom(winrt::Microsoft::UI::Xaml::Navigation::NavigationEventArgs const& e) const { return shim().template try_as().OnNavigatedFrom(e); } template auto IPageOverridesT::OnNavigatedTo(winrt::Microsoft::UI::Xaml::Navigation::NavigationEventArgs const& e) const { return shim().template try_as().OnNavigatedTo(e); } template auto IPageOverridesT::OnNavigatingFrom(winrt::Microsoft::UI::Xaml::Navigation::NavigatingCancelEventArgs const& e) const { return shim().template try_as().OnNavigatingFrom(e); } template auto IStyleSelectorOverridesT::SelectStyleCore(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::DependencyObject const& container) const { return shim().template try_as().SelectStyleCore(item, container); } template auto IToggleSwitchOverridesT::OnToggled() const { return shim().template try_as().OnToggled(); } template auto IToggleSwitchOverridesT::OnOnContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const { return shim().template try_as().OnOnContentChanged(oldContent, newContent); } template auto IToggleSwitchOverridesT::OnOffContentChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const { return shim().template try_as().OnOffContentChanged(oldContent, newContent); } template auto IToggleSwitchOverridesT::OnHeaderChanged(winrt::Windows::Foundation::IInspectable const& oldContent, winrt::Windows::Foundation::IInspectable const& newContent) const { return shim().template try_as().OnHeaderChanged(oldContent, newContent); } 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::Microsoft::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::Microsoft::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 auto IVirtualizingLayoutContextOverrides2T::VisibleRectCore() const { return shim().template try_as().VisibleRectCore(); } template auto IVirtualizingPanelOverridesT::OnItemsChanged(winrt::Windows::Foundation::IInspectable const& sender, winrt::Microsoft::UI::Xaml::Controls::Primitives::ItemsChangedEventArgs const& args) const { return shim().template try_as().OnItemsChanged(sender, args); } template auto IVirtualizingPanelOverridesT::OnClearChildren() const { return shim().template try_as().OnClearChildren(); } template auto IVirtualizingPanelOverridesT::BringIndexIntoView(int32_t index) const { return shim().template try_as().BringIndexIntoView(index); } template auto IVirtualizingStackPanelOverridesT::OnCleanUpVirtualizedItem(winrt::Microsoft::UI::Xaml::Controls::CleanUpVirtualizedItemEventArgs const& e) const { return shim().template try_as().OnCleanUpVirtualizedItem(e); } template struct AnimatedIconT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = AnimatedIcon; friend impl::consume_t; friend impl::require_one; 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, winrt::Microsoft::UI::Xaml::Controls::IIconSourceOverridesT { 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::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = AnimatedVisualPlayer; friend impl::consume_t; friend impl::require_one; 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 AnnotatedScrollBarT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = AnnotatedScrollBar; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: AnnotatedScrollBarT() { impl::call_factory([&](IAnnotatedScrollBarFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct AppBarT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IAppBarOverridesT, winrt::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = AppBar; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: AppBarT() { impl::call_factory([&](IAppBarFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct AppBarButtonT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = AppBarButton; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: AppBarButtonT() { impl::call_factory([&](IAppBarButtonFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct AppBarElementContainerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = AppBarElementContainer; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: AppBarElementContainerT() { impl::call_factory([&](IAppBarElementContainerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct AppBarSeparatorT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = AppBarSeparator; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: AppBarSeparatorT() { impl::call_factory([&](IAppBarSeparatorFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct AppBarToggleButtonT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::Primitives::IToggleButtonOverridesT, winrt::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = AppBarToggleButton; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: AppBarToggleButtonT() { impl::call_factory([&](IAppBarToggleButtonFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct BitmapIconT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = BitmapIcon; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: BitmapIconT() { impl::call_factory([&](IBitmapIconFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct BitmapIconSourceT : implements, impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IIconSourceOverridesT { 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::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = BreadcrumbBar; friend impl::consume_t; friend impl::require_one; 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::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = BreadcrumbBarItem; friend impl::consume_t; friend impl::require_one; 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 ButtonT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = Button; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: ButtonT() { impl::call_factory([&](IButtonFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct CalendarDatePickerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = CalendarDatePicker; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: CalendarDatePickerT() { impl::call_factory([&](ICalendarDatePickerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct CalendarViewT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = CalendarView; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: CalendarViewT() { impl::call_factory([&](ICalendarViewFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct CalendarViewDayItemT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = CalendarViewDayItem; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: CalendarViewDayItemT() { impl::call_factory([&](ICalendarViewDayItemFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct CanvasT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = Canvas; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: CanvasT() { impl::call_factory([&](ICanvasFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct CheckBoxT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::Primitives::IToggleButtonOverridesT, winrt::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = CheckBox; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: CheckBoxT() { impl::call_factory([&](ICheckBoxFactory 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::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = ColorPicker; friend impl::consume_t; friend impl::require_one; 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 ComboBoxT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IComboBoxOverridesT, winrt::Microsoft::UI::Xaml::Controls::IItemsControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = ComboBox; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: ComboBoxT() { impl::call_factory([&](IComboBoxFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ComboBoxItemT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = ComboBoxItem; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: ComboBoxItemT() { impl::call_factory([&](IComboBoxItemFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct CommandBarT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IAppBarOverridesT, winrt::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = CommandBar; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: CommandBarT() { impl::call_factory([&](ICommandBarFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct CommandBarFlyoutT : implements, impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::Primitives::IFlyoutBaseOverridesT { using composable = CommandBarFlyout; protected: CommandBarFlyoutT() { impl::call_factory([&](ICommandBarFlyoutFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct CommandBarOverflowPresenterT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IItemsControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = CommandBarOverflowPresenter; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: CommandBarOverflowPresenterT() { impl::call_factory([&](ICommandBarOverflowPresenterFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ContentControlT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = ContentControl; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: ContentControlT() { impl::call_factory([&](IContentControlFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ContentDialogT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = ContentDialog; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: ContentDialogT() { impl::call_factory([&](IContentDialogFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ContentPresenterT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IContentPresenterOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = ContentPresenter; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: ContentPresenterT() { impl::call_factory([&](IContentPresenterFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ControlT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = Control; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: ControlT() { impl::call_factory([&](IControlFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct DataTemplateSelectorT : implements, impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IDataTemplateSelectorOverridesT { using composable = DataTemplateSelector; protected: DataTemplateSelectorT() { impl::call_factory([&](IDataTemplateSelectorFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct DatePickerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = DatePicker; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: DatePickerT() { impl::call_factory([&](IDatePickerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct DropDownButtonT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = DropDownButton; friend impl::consume_t; friend impl::require_one; 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 ExpanderT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = Expander; friend impl::consume_t; friend impl::require_one; 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 FlipViewT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IItemsControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = FlipView; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: FlipViewT() { impl::call_factory([&](IFlipViewFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct FlipViewItemT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = FlipViewItem; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: FlipViewItemT() { impl::call_factory([&](IFlipViewItemFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct FlyoutT : implements, impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::Primitives::IFlyoutBaseOverridesT { using composable = Flyout; protected: FlyoutT() { impl::call_factory([&](IFlyoutFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct FlyoutPresenterT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = FlyoutPresenter; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: FlyoutPresenterT() { impl::call_factory([&](IFlyoutPresenterFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct FontIconT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = FontIcon; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: FontIconT() { impl::call_factory([&](IFontIconFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct FontIconSourceT : implements, impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IIconSourceOverridesT { 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 FrameT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = Frame; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: FrameT() { impl::call_factory([&](IFrameFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } using impl::consume_t::Navigate; using impl::consume_t::Navigate; }; template struct GridT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = Grid; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: GridT() { impl::call_factory([&](IGridFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct GridViewT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IItemsControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = GridView; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: GridViewT() { impl::call_factory([&](IGridViewFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct GridViewHeaderItemT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = GridViewHeaderItem; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: GridViewHeaderItemT() { impl::call_factory([&](IGridViewHeaderItemFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct GridViewItemT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = GridViewItem; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: GridViewItemT() { impl::call_factory([&](IGridViewItemFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct GroupItemT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = GroupItem; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: GroupItemT() { impl::call_factory([&](IGroupItemFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct GroupStyleT : implements, impl::require, impl::base { using composable = GroupStyle; protected: GroupStyleT() { impl::call_factory([&](IGroupStyleFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct GroupStyleSelectorT : implements, impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IGroupStyleSelectorOverridesT { using composable = GroupStyleSelector; protected: GroupStyleSelectorT() { impl::call_factory([&](IGroupStyleSelectorFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct HubT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = Hub; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: HubT() { impl::call_factory([&](IHubFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct HubSectionT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = HubSection; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: HubSectionT() { impl::call_factory([&](IHubSectionFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct HyperlinkButtonT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = HyperlinkButton; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: HyperlinkButtonT() { impl::call_factory([&](IHyperlinkButtonFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct IconSourceElementT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = IconSourceElement; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: IconSourceElementT() { impl::call_factory([&](IIconSourceElementFactory 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::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = ImageIcon; friend impl::consume_t; friend impl::require_one; 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, winrt::Microsoft::UI::Xaml::Controls::IIconSourceOverridesT { 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::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = InfoBadge; friend impl::consume_t; friend impl::require_one; 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::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = InfoBar; friend impl::consume_t; friend impl::require_one; 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 ItemCollectionTransitionProviderT : implements, impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IItemCollectionTransitionProviderOverridesT { using composable = ItemCollectionTransitionProvider; protected: ItemCollectionTransitionProviderT() { impl::call_factory([&](IItemCollectionTransitionProviderFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ItemContainerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = ItemContainer; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: ItemContainerT() { impl::call_factory([&](IItemContainerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ItemsControlT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IItemsControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = ItemsControl; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: ItemsControlT() { impl::call_factory([&](IItemsControlFactory 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::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = ItemsRepeater; friend impl::consume_t; friend impl::require_one; 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 ItemsViewT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = ItemsView; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: ItemsViewT() { impl::call_factory([&](IItemsViewFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ItemsWrapGridT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = ItemsWrapGrid; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: ItemsWrapGridT() { impl::call_factory([&](IItemsWrapGridFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct LinedFlowLayoutT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IVirtualizingLayoutOverridesT, winrt::Microsoft::UI::Xaml::Controls::ILayoutOverridesT { using composable = LinedFlowLayout; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: LinedFlowLayoutT() { impl::call_factory([&](ILinedFlowLayoutFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct LinedFlowLayoutItemCollectionTransitionProviderT : implements, impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IItemCollectionTransitionProviderOverridesT { using composable = LinedFlowLayoutItemCollectionTransitionProvider; protected: LinedFlowLayoutItemCollectionTransitionProviderT() { impl::call_factory([&](ILinedFlowLayoutItemCollectionTransitionProviderFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ListBoxT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IItemsControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = ListBox; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: ListBoxT() { impl::call_factory([&](IListBoxFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ListBoxItemT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = ListBoxItem; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: ListBoxItemT() { impl::call_factory([&](IListBoxItemFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ListViewT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IItemsControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = ListView; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: ListViewT() { impl::call_factory([&](IListViewFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ListViewBaseT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IItemsControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = ListViewBase; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: ListViewBaseT() { impl::call_factory([&](IListViewBaseFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ListViewHeaderItemT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = ListViewHeaderItem; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: ListViewHeaderItemT() { impl::call_factory([&](IListViewHeaderItemFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ListViewItemT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = ListViewItem; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: ListViewItemT() { impl::call_factory([&](IListViewItemFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct MapControlT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = MapControl; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: MapControlT() { impl::call_factory([&](IMapControlFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct MapElementsLayerT : implements, impl::require, impl::base { using composable = MapElementsLayer; protected: MapElementsLayerT() { impl::call_factory([&](IMapElementsLayerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct MapIconT : implements, impl::require, impl::base { using composable = MapIcon; protected: MapIconT() { impl::call_factory([&](IMapIconFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct MediaPlayerElementT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = MediaPlayerElement; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: MediaPlayerElementT() { impl::call_factory([&](IMediaPlayerElementFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct MediaPlayerPresenterT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = MediaPlayerPresenter; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: MediaPlayerPresenterT() { impl::call_factory([&](IMediaPlayerPresenterFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct MediaTransportControlsT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = MediaTransportControls; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: MediaTransportControlsT() { impl::call_factory([&](IMediaTransportControlsFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct MenuBarT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = MenuBar; friend impl::consume_t; friend impl::require_one; 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::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = MenuBarItem; friend impl::consume_t; friend impl::require_one; 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::Microsoft::UI::Xaml::Controls::Primitives::IFlyoutBaseOverridesT { 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; }; template struct MenuFlyoutT : implements, impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::Primitives::IFlyoutBaseOverridesT { using composable = MenuFlyout; protected: MenuFlyoutT() { impl::call_factory([&](IMenuFlyoutFactory 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 MenuFlyoutItemT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = MenuFlyoutItem; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: MenuFlyoutItemT() { impl::call_factory([&](IMenuFlyoutItemFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct MenuFlyoutPresenterT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IItemsControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = MenuFlyoutPresenter; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: MenuFlyoutPresenterT() { impl::call_factory([&](IMenuFlyoutPresenterFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct MenuFlyoutSeparatorT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = MenuFlyoutSeparator; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: MenuFlyoutSeparatorT() { impl::call_factory([&](IMenuFlyoutSeparatorFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct NavigationViewT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = NavigationView; friend impl::consume_t; friend impl::require_one; 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::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = NavigationViewItem; friend impl::consume_t; friend impl::require_one; 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::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = NavigationViewItemHeader; friend impl::consume_t; friend impl::require_one; 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::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = NavigationViewItemSeparator; friend impl::consume_t; friend impl::require_one; 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, winrt::Microsoft::UI::Xaml::Controls::ILayoutOverridesT { using composable = NonVirtualizingLayout; friend impl::consume_t; friend impl::require_one; 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::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = NumberBox; friend impl::consume_t; friend impl::require_one; 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 PageT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IPageOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = Page; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: PageT() { impl::call_factory([&](IPageFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct PanelT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = Panel; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: PanelT() { impl::call_factory([&](IPanelFactory 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::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = ParallaxView; friend impl::consume_t; friend impl::require_one; 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 PathIconT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = PathIcon; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: PathIconT() { impl::call_factory([&](IPathIconFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct PathIconSourceT : implements, impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IIconSourceOverridesT { 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::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = PersonPicture; friend impl::consume_t; friend impl::require_one; 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::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = PipsPager; friend impl::consume_t; friend impl::require_one; 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 PivotT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IItemsControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = Pivot; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: PivotT() { impl::call_factory([&](IPivotFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct PivotItemT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = PivotItem; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: PivotItemT() { impl::call_factory([&](IPivotItemFactory 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::Microsoft::UI::Xaml::Controls::Primitives::IRangeBaseOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = ProgressBar; friend impl::consume_t; friend impl::require_one; 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::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = ProgressRing; friend impl::consume_t; friend impl::require_one; 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 RadioButtonT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::Primitives::IToggleButtonOverridesT, winrt::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = RadioButton; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: RadioButtonT() { impl::call_factory([&](IRadioButtonFactory 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::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = RadioButtons; friend impl::consume_t; friend impl::require_one; 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::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = RadioMenuFlyoutItem; friend impl::consume_t; friend impl::require_one; 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::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = RatingControl; friend impl::consume_t; friend impl::require_one; 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::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = RefreshContainer; friend impl::consume_t; friend impl::require_one; 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::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = RefreshVisualizer; friend impl::consume_t; friend impl::require_one; 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 RelativePanelT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = RelativePanel; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: RelativePanelT() { impl::call_factory([&](IRelativePanelFactory 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::Microsoft::UI::Xaml::Controls::IContentPresenterOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = RevealListViewItemPresenter; friend impl::consume_t; friend impl::require_one; 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 RichEditBoxT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = RichEditBox; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: RichEditBoxT() { impl::call_factory([&](IRichEditBoxFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ScrollViewT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = ScrollView; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: ScrollViewT() { impl::call_factory([&](IScrollViewFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ScrollingScrollOptionsT : implements, impl::require, impl::base { using composable = ScrollingScrollOptions; protected: ScrollingScrollOptionsT(winrt::Microsoft::UI::Xaml::Controls::ScrollingAnimationMode const& animationMode) { impl::call_factory([&](IScrollingScrollOptionsFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(animationMode, *this, this->m_inner); }); } ScrollingScrollOptionsT(winrt::Microsoft::UI::Xaml::Controls::ScrollingAnimationMode const& animationMode, winrt::Microsoft::UI::Xaml::Controls::ScrollingSnapPointsMode const& snapPointsMode) { impl::call_factory([&](IScrollingScrollOptionsFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance2(animationMode, snapPointsMode, *this, this->m_inner); }); } }; template struct ScrollingZoomOptionsT : implements, impl::require, impl::base { using composable = ScrollingZoomOptions; protected: ScrollingZoomOptionsT(winrt::Microsoft::UI::Xaml::Controls::ScrollingAnimationMode const& animationMode) { impl::call_factory([&](IScrollingZoomOptionsFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(animationMode, *this, this->m_inner); }); } ScrollingZoomOptionsT(winrt::Microsoft::UI::Xaml::Controls::ScrollingAnimationMode const& animationMode, winrt::Microsoft::UI::Xaml::Controls::ScrollingSnapPointsMode const& snapPointsMode) { impl::call_factory([&](IScrollingZoomOptionsFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance2(animationMode, snapPointsMode, *this, this->m_inner); }); } }; template struct SelectionChangedEventArgsT : implements, impl::require, impl::base { using composable = SelectionChangedEventArgs; protected: SelectionChangedEventArgsT(param::vector const& removedItems, param::vector const& addedItems) { impl::call_factory([&](ISelectionChangedEventArgsFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithRemovedItemsAndAddedItems(removedItems, addedItems, *this, this->m_inner); }); } }; template struct SelectorBarT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = SelectorBar; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: SelectorBarT() { impl::call_factory([&](ISelectorBarFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct SelectorBarItemT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = SelectorBarItem; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: SelectorBarItemT() { impl::call_factory([&](ISelectorBarItemFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct SliderT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::Primitives::IRangeBaseOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = Slider; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: SliderT() { impl::call_factory([&](ISliderFactory 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::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = SplitButton; friend impl::consume_t; friend impl::require_one; 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 SplitViewT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = SplitView; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: SplitViewT() { impl::call_factory([&](ISplitViewFactory 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, winrt::Microsoft::UI::Xaml::Controls::ILayoutOverridesT { using composable = StackLayout; friend impl::consume_t; friend impl::require_one; 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 StackPanelT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = StackPanel; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: StackPanelT() { impl::call_factory([&](IStackPanelFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct StyleSelectorT : implements, impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IStyleSelectorOverridesT { using composable = StyleSelector; protected: StyleSelectorT() { impl::call_factory([&](IStyleSelectorFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct SwapChainBackgroundPanelT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = SwapChainBackgroundPanel; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: SwapChainBackgroundPanelT() { impl::call_factory([&](ISwapChainBackgroundPanelFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct SwapChainPanelT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = SwapChainPanel; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: SwapChainPanelT() { impl::call_factory([&](ISwapChainPanelFactory 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::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = SwipeControl; friend impl::consume_t; friend impl::require_one; 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::Microsoft::UI::Xaml::IDependencyObject>, 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, winrt::Microsoft::UI::Xaml::Controls::IIconSourceOverridesT { 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::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = TabView; friend impl::consume_t; friend impl::require_one; 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::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = TabViewItem; friend impl::consume_t; friend impl::require_one; 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::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = TeachingTip; friend impl::consume_t; friend impl::require_one; 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 TextBoxT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = TextBox; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: TextBoxT() { impl::call_factory([&](ITextBoxFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct TextCommandBarFlyoutT : implements, impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::Primitives::IFlyoutBaseOverridesT { using composable = TextCommandBarFlyout; protected: TextCommandBarFlyoutT() { impl::call_factory([&](ITextCommandBarFlyoutFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct TimePickerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = TimePicker; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: TimePickerT() { impl::call_factory([&](ITimePickerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct TitleBarT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = TitleBar; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: TitleBarT() { impl::call_factory([&](ITitleBarFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct TitleBarAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = TitleBarAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: TitleBarAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::TitleBar const& owner) { impl::call_factory([&](ITitleBarAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(owner, *this, this->m_inner); }); } }; template struct TitleBarTemplateSettingsT : implements, impl::require, impl::base { using composable = TitleBarTemplateSettings; protected: TitleBarTemplateSettingsT() { impl::call_factory([&](ITitleBarTemplateSettingsFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ToggleMenuFlyoutItemT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = ToggleMenuFlyoutItem; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: ToggleMenuFlyoutItemT() { impl::call_factory([&](IToggleMenuFlyoutItemFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ToggleSplitButtonT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = ToggleSplitButton; friend impl::consume_t; friend impl::require_one; 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 ToolTipT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = ToolTip; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: ToolTipT() { impl::call_factory([&](IToolTipFactory 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::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = TreeView; friend impl::consume_t; friend impl::require_one; 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::Microsoft::UI::Xaml::Controls::IContentControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = TreeViewItem; friend impl::consume_t; friend impl::require_one; 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::Microsoft::UI::Xaml::Controls::IItemsControlOverridesT, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = TreeViewList; friend impl::consume_t; friend impl::require_one; 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::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = TwoPaneView; friend impl::consume_t; friend impl::require_one; 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, winrt::Microsoft::UI::Xaml::Controls::ILayoutOverridesT { using composable = UniformGridLayout; friend impl::consume_t; friend impl::require_one; 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 UserControlT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Controls::IControlOverridesT, winrt::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { using composable = UserControl; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; friend impl::consume_t; friend impl::require_one; protected: UserControlT() { impl::call_factory([&](IUserControlFactory 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, winrt::Microsoft::UI::Xaml::Controls::ILayoutOverridesT { using composable = VirtualizingLayout; friend impl::consume_t; friend impl::require_one; 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::IVirtualizingLayoutContextOverrides2T, 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::Microsoft::UI::Xaml::IFrameworkElementOverridesT, winrt::Microsoft::UI::Xaml::IUIElementOverridesT { 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); }); } using impl::consume_t::EnsureCoreWebView2Async; using impl::consume_t::EnsureCoreWebView2Async; }; } 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 {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::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