// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #pragma once #ifndef WINRT_Microsoft_UI_Xaml_Automation_Peers_H #define WINRT_Microsoft_UI_Xaml_Automation_Peers_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.Automation.h" #include "winrt/impl/Microsoft.UI.Xaml.2.h" #include "winrt/impl/Microsoft.UI.Xaml.Automation.2.h" #include "winrt/impl/Microsoft.UI.Xaml.Automation.Provider.2.h" #include "winrt/impl/Microsoft.UI.Xaml.Controls.2.h" #include "winrt/impl/Microsoft.UI.Xaml.Controls.Primitives.2.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Microsoft.UI.Xaml.Automation.Peers.2.h" namespace winrt::impl { template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAnimatedVisualPlayerAutomationPeerFactory::CreateInstance(winrt::Microsoft::UI::Xaml::Controls::AnimatedVisualPlayer 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::Automation::Peers::IAnimatedVisualPlayerAutomationPeerFactory)->CreateInstance(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::AnimatedVisualPlayerAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAppBarAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::AppBar 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::Automation::Peers::IAppBarAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::AppBarAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAppBarButtonAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::AppBarButton 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::Automation::Peers::IAppBarButtonAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::AppBarButtonAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAppBarToggleButtonAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::AppBarToggleButton 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::Automation::Peers::IAppBarToggleButtonAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::AppBarToggleButtonAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutoSuggestBoxAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::AutoSuggestBox const& owner) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutoSuggestBoxAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::AutoSuggestBoxAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::EventsSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->get_EventsSource(&value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::EventsSource(winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationPeer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->put_EventsSource(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::GetPattern(winrt::Microsoft::UI::Xaml::Automation::Peers::PatternInterface const& patternInterface) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->GetPattern(static_cast(patternInterface), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::RaiseAutomationEvent(winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationEvents const& eventId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->RaiseAutomationEvent(static_cast(eventId))); } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::RaisePropertyChangedEvent(winrt::Microsoft::UI::Xaml::Automation::AutomationProperty const& automationProperty, winrt::Windows::Foundation::IInspectable const& oldValue, winrt::Windows::Foundation::IInspectable const& newValue) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->RaisePropertyChangedEvent(*(void**)(&automationProperty), *(void**)(&oldValue), *(void**)(&newValue))); } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::GetAcceleratorKey() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->GetAcceleratorKey(&result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::GetAccessKey() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->GetAccessKey(&result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::GetAutomationControlType() const { winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationControlType result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->GetAutomationControlType(reinterpret_cast(&result))); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::GetAutomationId() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->GetAutomationId(&result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::GetBoundingRectangle() const { winrt::Windows::Foundation::Rect result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->GetBoundingRectangle(put_abi(result))); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::GetChildren() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->GetChildren(&result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::Navigate(winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationNavigationDirection const& direction) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->Navigate(static_cast(direction), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::GetClassName() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->GetClassName(&result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::GetClickablePoint() const { winrt::Windows::Foundation::Point result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->GetClickablePoint(put_abi(result))); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::GetHelpText() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->GetHelpText(&result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::GetItemStatus() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->GetItemStatus(&result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::GetItemType() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->GetItemType(&result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::GetLabeledBy() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->GetLabeledBy(&result)); return winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationPeer{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::GetLocalizedControlType() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->GetLocalizedControlType(&result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::GetName() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->GetName(&result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::GetOrientation() const { winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationOrientation result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->GetOrientation(reinterpret_cast(&result))); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::HasKeyboardFocus() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->HasKeyboardFocus(&result)); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::IsContentElement() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->IsContentElement(&result)); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::IsControlElement() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->IsControlElement(&result)); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::IsEnabled() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->IsEnabled(&result)); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::IsKeyboardFocusable() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->IsKeyboardFocusable(&result)); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::IsOffscreen() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->IsOffscreen(&result)); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::IsPassword() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->IsPassword(&result)); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::IsRequiredForForm() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->IsRequiredForForm(&result)); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::SetFocus() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->SetFocus()); } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::GetParent() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->GetParent(&result)); return winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationPeer{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::InvalidatePeer() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->InvalidatePeer()); } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::GetPeerFromPoint(winrt::Windows::Foundation::Point const& point) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->GetPeerFromPoint(impl::bind_in(point), &result)); return winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationPeer{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::GetElementFromPoint(winrt::Windows::Foundation::Point const& pointInWindowCoordinates) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->GetElementFromPoint(impl::bind_in(pointInWindowCoordinates), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::GetFocusedElement() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->GetFocusedElement(&result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::GetLiveSetting() const { winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationLiveSetting result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->GetLiveSetting(reinterpret_cast(&result))); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::ShowContextMenu() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->ShowContextMenu()); } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::GetControlledPeers() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->GetControlledPeers(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::GetAnnotations() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->GetAnnotations(&result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::SetParent(winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationPeer const& peer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->SetParent(*(void**)(&peer))); } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::RaiseTextEditTextChangedEvent(winrt::Microsoft::UI::Xaml::Automation::AutomationTextEditChangeType const& automationTextEditChangeType, param::vector_view const& changedData) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->RaiseTextEditTextChangedEvent(static_cast(automationTextEditChangeType), *(void**)(&changedData))); } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::GetPositionInSet() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->GetPositionInSet(&result)); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::GetSizeOfSet() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->GetSizeOfSet(&result)); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::GetLevel() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->GetLevel(&result)); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::RaiseStructureChangedEvent(winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationStructureChangeType const& structureChangeType, winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationPeer const& child) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->RaiseStructureChangedEvent(static_cast(structureChangeType), *(void**)(&child))); } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::GetLandmarkType() const { winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationLandmarkType result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->GetLandmarkType(reinterpret_cast(&result))); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::GetLocalizedLandmarkType() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->GetLocalizedLandmarkType(&result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::IsPeripheral() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->IsPeripheral(&result)); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::IsDataValidForForm() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->IsDataValidForForm(&result)); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::GetFullDescription() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->GetFullDescription(&result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::GetCulture() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->GetCulture(&result)); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::RaiseNotificationEvent(winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationNotificationKind const& notificationKind, winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationNotificationProcessing const& notificationProcessing, param::hstring const& displayString, param::hstring const& activityId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->RaiseNotificationEvent(static_cast(notificationKind), static_cast(notificationProcessing), *(void**)(&displayString), *(void**)(&activityId))); } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::GetHeadingLevel() const { winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationHeadingLevel result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->GetHeadingLevel(reinterpret_cast(&result))); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeer::IsDialog() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeer)->IsDialog(&result)); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerAnnotation::Type() const { winrt::Microsoft::UI::Xaml::Automation::AnnotationType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerAnnotation)->get_Type(reinterpret_cast(&value))); return value; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerAnnotation::Type(winrt::Microsoft::UI::Xaml::Automation::AnnotationType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerAnnotation)->put_Type(static_cast(value))); } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerAnnotation::Peer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerAnnotation)->get_Peer(&value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerAnnotation::Peer(winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationPeer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerAnnotation)->put_Peer(*(void**)(&value))); } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerAnnotationFactory::CreateInstance(winrt::Microsoft::UI::Xaml::Automation::AnnotationType const& type) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerAnnotationFactory)->CreateInstance(static_cast(type), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationPeerAnnotation{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerAnnotationFactory::CreateWithPeerParameter(winrt::Microsoft::UI::Xaml::Automation::AnnotationType const& type, winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationPeer const& peer) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerAnnotationFactory)->CreateWithPeerParameter(static_cast(type), *(void**)(&peer), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationPeerAnnotation{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerAnnotationStatics::TypeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerAnnotationStatics)->get_TypeProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerAnnotationStatics::PeerProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerAnnotationStatics)->get_PeerProperty(&value)); return winrt::Microsoft::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetPatternCore(winrt::Microsoft::UI::Xaml::Automation::Peers::PatternInterface const& patternInterface) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetPatternCore(static_cast(patternInterface), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetAcceleratorKeyCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetAcceleratorKeyCore(&result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetAccessKeyCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetAccessKeyCore(&result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetAutomationControlTypeCore() const { winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationControlType result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetAutomationControlTypeCore(reinterpret_cast(&result))); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetAutomationIdCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetAutomationIdCore(&result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetBoundingRectangleCore() const { winrt::Windows::Foundation::Rect result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetBoundingRectangleCore(put_abi(result))); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetChildrenCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetChildrenCore(&result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::NavigateCore(winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationNavigationDirection const& direction) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->NavigateCore(static_cast(direction), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetClassNameCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetClassNameCore(&result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetClickablePointCore() const { winrt::Windows::Foundation::Point result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetClickablePointCore(put_abi(result))); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetHelpTextCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetHelpTextCore(&result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetItemStatusCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetItemStatusCore(&result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetItemTypeCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetItemTypeCore(&result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetLabeledByCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetLabeledByCore(&result)); return winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationPeer{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetLocalizedControlTypeCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetLocalizedControlTypeCore(&result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetNameCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetNameCore(&result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetOrientationCore() const { winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationOrientation result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetOrientationCore(reinterpret_cast(&result))); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::HasKeyboardFocusCore() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->HasKeyboardFocusCore(&result)); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::IsContentElementCore() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->IsContentElementCore(&result)); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::IsControlElementCore() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->IsControlElementCore(&result)); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::IsEnabledCore() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->IsEnabledCore(&result)); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::IsKeyboardFocusableCore() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->IsKeyboardFocusableCore(&result)); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::IsOffscreenCore() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->IsOffscreenCore(&result)); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::IsPasswordCore() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->IsPasswordCore(&result)); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::IsRequiredForFormCore() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->IsRequiredForFormCore(&result)); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::SetFocusCore() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->SetFocusCore()); } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetPeerFromPointCore(winrt::Windows::Foundation::Point const& point) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetPeerFromPointCore(impl::bind_in(point), &result)); return winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationPeer{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetElementFromPointCore(winrt::Windows::Foundation::Point const& pointInWindowCoordinates) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetElementFromPointCore(impl::bind_in(pointInWindowCoordinates), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetFocusedElementCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetFocusedElementCore(&result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetLiveSettingCore() const { winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationLiveSetting result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetLiveSettingCore(reinterpret_cast(&result))); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::ShowContextMenuCore() const { check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->ShowContextMenuCore()); } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetControlledPeersCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetControlledPeersCore(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetAnnotationsCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetAnnotationsCore(&result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetPositionInSetCore() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetPositionInSetCore(&result)); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetSizeOfSetCore() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetSizeOfSetCore(&result)); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetLevelCore() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetLevelCore(&result)); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetLandmarkTypeCore() const { winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationLandmarkType result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetLandmarkTypeCore(reinterpret_cast(&result))); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetLocalizedLandmarkTypeCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetLocalizedLandmarkTypeCore(&result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::IsPeripheralCore() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->IsPeripheralCore(&result)); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::IsDataValidForFormCore() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->IsDataValidForFormCore(&result)); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetFullDescriptionCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetFullDescriptionCore(&result)); return hstring{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetDescribedByCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetDescribedByCore(&result)); return winrt::Windows::Foundation::Collections::IIterable{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetFlowsToCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetFlowsToCore(&result)); return winrt::Windows::Foundation::Collections::IIterable{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetFlowsFromCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetFlowsFromCore(&result)); return winrt::Windows::Foundation::Collections::IIterable{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetCultureCore() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetCultureCore(&result)); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetHeadingLevelCore() const { winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationHeadingLevel result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetHeadingLevelCore(reinterpret_cast(&result))); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::IsDialogCore() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->IsDialogCore(&result)); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerProtected::PeerFromProvider(winrt::Microsoft::UI::Xaml::Automation::Provider::IRawElementProviderSimple const& provider) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerProtected)->PeerFromProvider(*(void**)(&provider), &result)); return winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationPeer{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerProtected::ProviderFromPeer(winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationPeer const& peer) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerProtected)->ProviderFromPeer(*(void**)(&peer), &result)); return winrt::Microsoft::UI::Xaml::Automation::Provider::IRawElementProviderSimple{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerStatics::ListenerExists(winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationEvents const& eventId) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerStatics)->ListenerExists(static_cast(eventId), &result)); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IAutomationPeerStatics::GenerateRawElementProviderRuntimeId() const { winrt::Microsoft::UI::Xaml::Automation::Peers::RawElementProviderRuntimeId result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerStatics)->GenerateRawElementProviderRuntimeId(put_abi(result))); return result; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IBreadcrumbBarItemAutomationPeerFactory::CreateInstance(winrt::Microsoft::UI::Xaml::Controls::BreadcrumbBarItem 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::Automation::Peers::IBreadcrumbBarItemAutomationPeerFactory)->CreateInstance(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::BreadcrumbBarItemAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IButtonAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::Button 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::Automation::Peers::IButtonAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ButtonAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IButtonBaseAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::Primitives::ButtonBase 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::Automation::Peers::IButtonBaseAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ButtonBaseAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_ICalendarDatePickerAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::CalendarDatePicker 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::Automation::Peers::ICalendarDatePickerAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::CalendarDatePickerAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_ICheckBoxAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::CheckBox 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::Automation::Peers::ICheckBoxAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::CheckBoxAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IColorPickerSliderAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::Primitives::ColorPickerSlider 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::Automation::Peers::IColorPickerSliderAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ColorPickerSliderAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IColorSpectrumAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::Primitives::ColorSpectrum 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::Automation::Peers::IColorSpectrumAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ColorSpectrumAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IComboBoxAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::ComboBox 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::Automation::Peers::IComboBoxAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ComboBoxAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IComboBoxItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::ComboBoxItem 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::Automation::Peers::IComboBoxItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ComboBoxItemAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IComboBoxItemDataAutomationPeerFactory::CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::Automation::Peers::ComboBoxAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IComboBoxItemDataAutomationPeerFactory)->CreateInstanceWithParentAndItem(*(void**)(&item), *(void**)(&parent), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ComboBoxItemDataAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IDatePickerAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::DatePicker 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::Automation::Peers::IDatePickerAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::DatePickerAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IDropDownButtonAutomationPeerFactory::CreateInstance(winrt::Microsoft::UI::Xaml::Controls::DropDownButton 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::Automation::Peers::IDropDownButtonAutomationPeerFactory)->CreateInstance(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::DropDownButtonAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IExpanderAutomationPeerFactory::CreateInstance(winrt::Microsoft::UI::Xaml::Controls::Expander 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::Automation::Peers::IExpanderAutomationPeerFactory)->CreateInstance(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ExpanderAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IFlipViewAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::FlipView 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::Automation::Peers::IFlipViewAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::FlipViewAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IFlipViewItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::FlipViewItem 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::Automation::Peers::IFlipViewItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::FlipViewItemAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IFlipViewItemDataAutomationPeerFactory::CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::Automation::Peers::FlipViewAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IFlipViewItemDataAutomationPeerFactory)->CreateInstanceWithParentAndItem(*(void**)(&item), *(void**)(&parent), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::FlipViewItemDataAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IFlyoutPresenterAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::FlyoutPresenter 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::Automation::Peers::IFlyoutPresenterAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::FlyoutPresenterAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IFrameworkElementAutomationPeer::Owner() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IFrameworkElementAutomationPeer)->get_Owner(&value)); return winrt::Microsoft::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IFrameworkElementAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::FrameworkElement 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::Automation::Peers::IFrameworkElementAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::FrameworkElementAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IFrameworkElementAutomationPeerStatics::FromElement(winrt::Microsoft::UI::Xaml::UIElement const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IFrameworkElementAutomationPeerStatics)->FromElement(*(void**)(&element), &result)); return winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationPeer{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IFrameworkElementAutomationPeerStatics::CreatePeerForElement(winrt::Microsoft::UI::Xaml::UIElement const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IFrameworkElementAutomationPeerStatics)->CreatePeerForElement(*(void**)(&element), &result)); return winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationPeer{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IGridViewAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::GridView 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::Automation::Peers::IGridViewAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::GridViewAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IGridViewHeaderItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::GridViewHeaderItem 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::Automation::Peers::IGridViewHeaderItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::GridViewHeaderItemAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IGridViewItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::GridViewItem 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::Automation::Peers::IGridViewItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::GridViewItemAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IGridViewItemDataAutomationPeerFactory::CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::Automation::Peers::GridViewAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IGridViewItemDataAutomationPeerFactory)->CreateInstanceWithParentAndItem(*(void**)(&item), *(void**)(&parent), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::GridViewItemDataAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IGroupItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::GroupItem 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::Automation::Peers::IGroupItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::GroupItemAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IHubAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::Hub 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::Automation::Peers::IHubAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::HubAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IHubSectionAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::HubSection 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::Automation::Peers::IHubSectionAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::HubSectionAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IHyperlinkButtonAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::HyperlinkButton 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::Automation::Peers::IHyperlinkButtonAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::HyperlinkButtonAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IImageAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::Image 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::Automation::Peers::IImageAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ImageAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IInfoBarAutomationPeerFactory::CreateInstance(winrt::Microsoft::UI::Xaml::Controls::InfoBar 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::Automation::Peers::IInfoBarAutomationPeerFactory)->CreateInstance(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::InfoBarAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IItemAutomationPeer::Item() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IItemAutomationPeer)->get_Item(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IItemAutomationPeer::ItemsControlAutomationPeer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IItemAutomationPeer)->get_ItemsControlAutomationPeer(&value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ItemsControlAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IItemAutomationPeerFactory::CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::Automation::Peers::ItemsControlAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IItemAutomationPeerFactory)->CreateInstanceWithParentAndItem(*(void**)(&item), *(void**)(&parent), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ItemAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IItemContainerAutomationPeerFactory::CreateInstance(winrt::Microsoft::UI::Xaml::Controls::ItemContainer 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::Automation::Peers::IItemContainerAutomationPeerFactory)->CreateInstance(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ItemContainerAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IItemsControlAutomationPeer::CreateItemAutomationPeer(winrt::Windows::Foundation::IInspectable const& item) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IItemsControlAutomationPeer)->CreateItemAutomationPeer(*(void**)(&item), &result)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ItemAutomationPeer{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IItemsControlAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::ItemsControl 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::Automation::Peers::IItemsControlAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ItemsControlAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IItemsControlAutomationPeerOverrides::OnCreateItemAutomationPeer(winrt::Windows::Foundation::IInspectable const& item) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IItemsControlAutomationPeerOverrides)->OnCreateItemAutomationPeer(*(void**)(&item), &result)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ItemAutomationPeer{ result, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IItemsViewAutomationPeerFactory::CreateInstance(winrt::Microsoft::UI::Xaml::Controls::ItemsView 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::Automation::Peers::IItemsViewAutomationPeerFactory)->CreateInstance(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ItemsViewAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IListBoxAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::ListBox 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::Automation::Peers::IListBoxAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ListBoxAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IListBoxItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::ListBoxItem 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::Automation::Peers::IListBoxItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ListBoxItemAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IListBoxItemDataAutomationPeerFactory::CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::Automation::Peers::ListBoxAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IListBoxItemDataAutomationPeerFactory)->CreateInstanceWithParentAndItem(*(void**)(&item), *(void**)(&parent), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ListBoxItemDataAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IListViewAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::ListView 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::Automation::Peers::IListViewAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ListViewAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IListViewBaseAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::ListViewBase 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::Automation::Peers::IListViewBaseAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ListViewBaseAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IListViewBaseHeaderItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::ListViewBaseHeaderItem 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::Automation::Peers::IListViewBaseHeaderItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ListViewBaseHeaderItemAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IListViewHeaderItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::ListViewHeaderItem 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::Automation::Peers::IListViewHeaderItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ListViewHeaderItemAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IListViewItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::ListViewItem 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::Automation::Peers::IListViewItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ListViewItemAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IListViewItemDataAutomationPeerFactory::CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::Automation::Peers::ListViewBaseAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IListViewItemDataAutomationPeerFactory)->CreateInstanceWithParentAndItem(*(void**)(&item), *(void**)(&parent), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ListViewItemDataAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IMediaPlayerElementAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::MediaPlayerElement 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::Automation::Peers::IMediaPlayerElementAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::MediaPlayerElementAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IMediaTransportControlsAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::MediaTransportControls 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::Automation::Peers::IMediaTransportControlsAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::MediaTransportControlsAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IMenuBarAutomationPeerFactory::CreateInstance(winrt::Microsoft::UI::Xaml::Controls::MenuBar 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::Automation::Peers::IMenuBarAutomationPeerFactory)->CreateInstance(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::MenuBarAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IMenuBarItemAutomationPeerFactory::CreateInstance(winrt::Microsoft::UI::Xaml::Controls::MenuBarItem 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::Automation::Peers::IMenuBarItemAutomationPeerFactory)->CreateInstance(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::MenuBarItemAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IMenuFlyoutItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::MenuFlyoutItem 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::Automation::Peers::IMenuFlyoutItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::MenuFlyoutItemAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IMenuFlyoutPresenterAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::MenuFlyoutPresenter 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::Automation::Peers::IMenuFlyoutPresenterAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::MenuFlyoutPresenterAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_INavigationViewAutomationPeerFactory::CreateInstance(winrt::Microsoft::UI::Xaml::Controls::NavigationView 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::Automation::Peers::INavigationViewAutomationPeerFactory)->CreateInstance(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::NavigationViewAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_INavigationViewItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::NavigationViewItem 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::Automation::Peers::INavigationViewItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::NavigationViewItemAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_INumberBoxAutomationPeerFactory::CreateInstance(winrt::Microsoft::UI::Xaml::Controls::NumberBox 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::Automation::Peers::INumberBoxAutomationPeerFactory)->CreateInstance(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::NumberBoxAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IPasswordBoxAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::PasswordBox 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::Automation::Peers::IPasswordBoxAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::PasswordBoxAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IPersonPictureAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::PersonPicture 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::Automation::Peers::IPersonPictureAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::PersonPictureAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IPipsPagerAutomationPeerFactory::CreateInstance(winrt::Microsoft::UI::Xaml::Controls::PipsPager 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::Automation::Peers::IPipsPagerAutomationPeerFactory)->CreateInstance(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::PipsPagerAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IPivotAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::Pivot const& owner) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IPivotAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::PivotAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IPivotItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::PivotItem const& owner) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IPivotItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::PivotItemAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IPivotItemDataAutomationPeerFactory::CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::Automation::Peers::PivotAutomationPeer const& parent) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::IPivotItemDataAutomationPeerFactory)->CreateInstanceWithParentAndItem(*(void**)(&item), *(void**)(&parent), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::PivotItemDataAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IProgressBarAutomationPeerFactory::CreateInstance(winrt::Microsoft::UI::Xaml::Controls::ProgressBar 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::Automation::Peers::IProgressBarAutomationPeerFactory)->CreateInstance(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ProgressBarAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IProgressRingAutomationPeerFactory::CreateInstance(winrt::Microsoft::UI::Xaml::Controls::ProgressRing 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::Automation::Peers::IProgressRingAutomationPeerFactory)->CreateInstance(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ProgressRingAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IRadioButtonAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::RadioButton 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::Automation::Peers::IRadioButtonAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::RadioButtonAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IRadioButtonsAutomationPeerFactory::CreateInstance(winrt::Microsoft::UI::Xaml::Controls::RadioButtons 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::Automation::Peers::IRadioButtonsAutomationPeerFactory)->CreateInstance(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::RadioButtonsAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IRangeBaseAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::Primitives::RangeBase 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::Automation::Peers::IRangeBaseAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::RangeBaseAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IRatingControlAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::RatingControl 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::Automation::Peers::IRatingControlAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::RatingControlAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IRepeatButtonAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::Primitives::RepeatButton 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::Automation::Peers::IRepeatButtonAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::RepeatButtonAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IRepeaterAutomationPeerFactory::CreateInstance(winrt::Microsoft::UI::Xaml::Controls::ItemsRepeater 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::Automation::Peers::IRepeaterAutomationPeerFactory)->CreateInstance(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::RepeaterAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IRichEditBoxAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::RichEditBox 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::Automation::Peers::IRichEditBoxAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::RichEditBoxAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IRichTextBlockAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::RichTextBlock 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::Automation::Peers::IRichTextBlockAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::RichTextBlockAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IRichTextBlockOverflowAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::RichTextBlockOverflow 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::Automation::Peers::IRichTextBlockOverflowAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::RichTextBlockOverflowAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IScrollBarAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::Primitives::ScrollBar 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::Automation::Peers::IScrollBarAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ScrollBarAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IScrollPresenterAutomationPeerFactory::CreateInstance(winrt::Microsoft::UI::Xaml::Controls::Primitives::ScrollPresenter 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::Automation::Peers::IScrollPresenterAutomationPeerFactory)->CreateInstance(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ScrollPresenterAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IScrollViewerAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::ScrollViewer 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::Automation::Peers::IScrollViewerAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ScrollViewerAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_ISelectorAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::Primitives::Selector 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::Automation::Peers::ISelectorAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::SelectorAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_ISelectorBarItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::SelectorBarItem 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::Automation::Peers::ISelectorBarItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::SelectorBarItemAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_ISelectorItemAutomationPeerFactory::CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::Automation::Peers::SelectorAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::ISelectorItemAutomationPeerFactory)->CreateInstanceWithParentAndItem(*(void**)(&item), *(void**)(&parent), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::SelectorItemAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_ISemanticZoomAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::SemanticZoom 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::Automation::Peers::ISemanticZoomAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::SemanticZoomAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_ISliderAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::Slider 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::Automation::Peers::ISliderAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::SliderAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_ISplitButtonAutomationPeerFactory::CreateInstance(winrt::Microsoft::UI::Xaml::Controls::SplitButton 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::Automation::Peers::ISplitButtonAutomationPeerFactory)->CreateInstance(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::SplitButtonAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_ITabViewAutomationPeerFactory::CreateInstance(winrt::Microsoft::UI::Xaml::Controls::TabView 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::Automation::Peers::ITabViewAutomationPeerFactory)->CreateInstance(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::TabViewAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_ITabViewItemAutomationPeerFactory::CreateInstance(winrt::Microsoft::UI::Xaml::Controls::TabViewItem 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::Automation::Peers::ITabViewItemAutomationPeerFactory)->CreateInstance(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::TabViewItemAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_ITeachingTipAutomationPeerFactory::CreateInstance(winrt::Microsoft::UI::Xaml::Controls::TeachingTip 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::Automation::Peers::ITeachingTipAutomationPeerFactory)->CreateInstance(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::TeachingTipAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_ITextBlockAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::TextBlock 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::Automation::Peers::ITextBlockAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::TextBlockAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_ITextBoxAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::TextBox 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::Automation::Peers::ITextBoxAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::TextBoxAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IThumbAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::Primitives::Thumb 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::Automation::Peers::IThumbAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ThumbAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_ITimePickerAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::TimePicker 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::Automation::Peers::ITimePickerAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::TimePickerAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IToggleButtonAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::Primitives::ToggleButton 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::Automation::Peers::IToggleButtonAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ToggleButtonAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IToggleMenuFlyoutItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::ToggleMenuFlyoutItem 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::Automation::Peers::IToggleMenuFlyoutItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ToggleMenuFlyoutItemAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IToggleSplitButtonAutomationPeerFactory::CreateInstance(winrt::Microsoft::UI::Xaml::Controls::ToggleSplitButton 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::Automation::Peers::IToggleSplitButtonAutomationPeerFactory)->CreateInstance(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ToggleSplitButtonAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IToggleSwitchAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::ToggleSwitch 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::Automation::Peers::IToggleSwitchAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::ToggleSwitchAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_ITreeViewItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::TreeViewItem 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::Automation::Peers::ITreeViewItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::TreeViewItemAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_ITreeViewItemDataAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::Automation::Peers::TreeViewListAutomationPeer const& parent, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Microsoft::UI::Xaml::Automation::Peers::ITreeViewItemDataAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&item), *(void**)(&parent), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::TreeViewItemDataAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_ITreeViewListAutomationPeerFactory::CreateInstanceWithOwner(winrt::Microsoft::UI::Xaml::Controls::TreeViewList 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::Automation::Peers::ITreeViewListAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::TreeViewListAutomationPeer{ value, take_ownership_from_abi }; } template auto consume_Microsoft_UI_Xaml_Automation_Peers_IWebView2AutomationPeerFactory::CreateInstance(winrt::Microsoft::UI::Xaml::Controls::WebView2 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::Automation::Peers::IWebView2AutomationPeerFactory)->CreateInstance(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Microsoft::UI::Xaml::Automation::Peers::WebView2AutomationPeer{ value, take_ownership_from_abi }; } #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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(void* owner, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstanceWithOwner(*reinterpret_cast(&owner))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_EventsSource(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().EventsSource()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_EventsSource(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().EventsSource(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetPattern(int32_t patternInterface, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetPattern(*reinterpret_cast(&patternInterface))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RaiseAutomationEvent(int32_t eventId) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RaiseAutomationEvent(*reinterpret_cast(&eventId)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RaisePropertyChangedEvent(void* automationProperty, void* oldValue, void* newValue) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RaisePropertyChangedEvent(*reinterpret_cast(&automationProperty), *reinterpret_cast(&oldValue), *reinterpret_cast(&newValue)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetAcceleratorKey(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetAcceleratorKey()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetAccessKey(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetAccessKey()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetAutomationControlType(int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetAutomationControlType()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetAutomationId(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetAutomationId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetBoundingRectangle(winrt::Windows::Foundation::Rect* result) noexcept final try { zero_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetBoundingRectangle()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetChildren(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from>(this->shim().GetChildren()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Navigate(int32_t direction, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Navigate(*reinterpret_cast(&direction))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetClassName(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetClassName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetClickablePoint(winrt::Windows::Foundation::Point* result) noexcept final try { zero_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetClickablePoint()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetHelpText(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetHelpText()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetItemStatus(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetItemStatus()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetItemType(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetItemType()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetLabeledBy(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetLabeledBy()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetLocalizedControlType(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetLocalizedControlType()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetName(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetOrientation(int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetOrientation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall HasKeyboardFocus(bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().HasKeyboardFocus()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IsContentElement(bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IsContentElement()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IsControlElement(bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IsControlElement()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IsEnabled(bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IsEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IsKeyboardFocusable(bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IsKeyboardFocusable()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IsOffscreen(bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IsOffscreen()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IsPassword(bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IsPassword()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IsRequiredForForm(bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IsRequiredForForm()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetFocus() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetFocus(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetParent(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetParent()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall InvalidatePeer() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InvalidatePeer(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetPeerFromPoint(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().GetPeerFromPoint(*reinterpret_cast(&point))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetElementFromPoint(winrt::Windows::Foundation::Point pointInWindowCoordinates, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetElementFromPoint(*reinterpret_cast(&pointInWindowCoordinates))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetFocusedElement(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetFocusedElement()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetLiveSetting(int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetLiveSetting()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ShowContextMenu() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ShowContextMenu(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetControlledPeers(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from>(this->shim().GetControlledPeers()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetAnnotations(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from>(this->shim().GetAnnotations()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetParent(void* peer) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetParent(*reinterpret_cast(&peer)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RaiseTextEditTextChangedEvent(int32_t automationTextEditChangeType, void* changedData) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RaiseTextEditTextChangedEvent(*reinterpret_cast(&automationTextEditChangeType), *reinterpret_cast const*>(&changedData)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetPositionInSet(int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetPositionInSet()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetSizeOfSet(int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetSizeOfSet()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetLevel(int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetLevel()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RaiseStructureChangedEvent(int32_t structureChangeType, void* child) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RaiseStructureChangedEvent(*reinterpret_cast(&structureChangeType), *reinterpret_cast(&child)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetLandmarkType(int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetLandmarkType()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetLocalizedLandmarkType(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetLocalizedLandmarkType()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IsPeripheral(bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IsPeripheral()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IsDataValidForForm(bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IsDataValidForForm()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetFullDescription(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetFullDescription()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetCulture(int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetCulture()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RaiseNotificationEvent(int32_t notificationKind, int32_t notificationProcessing, void* displayString, void* activityId) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RaiseNotificationEvent(*reinterpret_cast(¬ificationKind), *reinterpret_cast(¬ificationProcessing), *reinterpret_cast(&displayString), *reinterpret_cast(&activityId)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetHeadingLevel(int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetHeadingLevel()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IsDialog(bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IsDialog()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Type(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Type()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Type(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Type(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Peer(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Peer()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Peer(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Peer(*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 type, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&type))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateWithPeerParameter(int32_t type, void* peer, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateWithPeerParameter(*reinterpret_cast(&type), *reinterpret_cast(&peer))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_TypeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TypeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PeerProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PeerProperty()); 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 GetPatternCore(int32_t patternInterface, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetPatternCore(*reinterpret_cast(&patternInterface))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetAcceleratorKeyCore(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetAcceleratorKeyCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetAccessKeyCore(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetAccessKeyCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetAutomationControlTypeCore(int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetAutomationControlTypeCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetAutomationIdCore(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetAutomationIdCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetBoundingRectangleCore(winrt::Windows::Foundation::Rect* result) noexcept final try { zero_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetBoundingRectangleCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetChildrenCore(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from>(this->shim().GetChildrenCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall NavigateCore(int32_t direction, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().NavigateCore(*reinterpret_cast(&direction))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetClassNameCore(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetClassNameCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetClickablePointCore(winrt::Windows::Foundation::Point* result) noexcept final try { zero_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetClickablePointCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetHelpTextCore(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetHelpTextCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetItemStatusCore(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetItemStatusCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetItemTypeCore(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetItemTypeCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetLabeledByCore(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetLabeledByCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetLocalizedControlTypeCore(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetLocalizedControlTypeCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetNameCore(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetNameCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetOrientationCore(int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetOrientationCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall HasKeyboardFocusCore(bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().HasKeyboardFocusCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IsContentElementCore(bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IsContentElementCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IsControlElementCore(bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IsControlElementCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IsEnabledCore(bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IsEnabledCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IsKeyboardFocusableCore(bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IsKeyboardFocusableCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IsOffscreenCore(bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IsOffscreenCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IsPasswordCore(bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IsPasswordCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IsRequiredForFormCore(bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IsRequiredForFormCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetFocusCore() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetFocusCore(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetPeerFromPointCore(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().GetPeerFromPointCore(*reinterpret_cast(&point))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetElementFromPointCore(winrt::Windows::Foundation::Point pointInWindowCoordinates, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetElementFromPointCore(*reinterpret_cast(&pointInWindowCoordinates))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetFocusedElementCore(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetFocusedElementCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetLiveSettingCore(int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetLiveSettingCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ShowContextMenuCore() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ShowContextMenuCore(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetControlledPeersCore(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from>(this->shim().GetControlledPeersCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetAnnotationsCore(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from>(this->shim().GetAnnotationsCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetPositionInSetCore(int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetPositionInSetCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetSizeOfSetCore(int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetSizeOfSetCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetLevelCore(int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetLevelCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetLandmarkTypeCore(int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetLandmarkTypeCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetLocalizedLandmarkTypeCore(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetLocalizedLandmarkTypeCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IsPeripheralCore(bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IsPeripheralCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IsDataValidForFormCore(bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IsDataValidForFormCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetFullDescriptionCore(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetFullDescriptionCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetDescribedByCore(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from>(this->shim().GetDescribedByCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetFlowsToCore(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from>(this->shim().GetFlowsToCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetFlowsFromCore(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from>(this->shim().GetFlowsFromCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetCultureCore(int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetCultureCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetHeadingLevelCore(int32_t* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetHeadingLevelCore()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IsDialogCore(bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IsDialogCore()); return 0; } catch (...) { return to_hresult(); } }; #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall PeerFromProvider(void* provider, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().PeerFromProvider(*reinterpret_cast(&provider))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ProviderFromPeer(void* peer, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().ProviderFromPeer(*reinterpret_cast(&peer))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall ListenerExists(int32_t eventId, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().ListenerExists(*reinterpret_cast(&eventId))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GenerateRawElementProviderRuntimeId(struct struct_Microsoft_UI_Xaml_Automation_Peers_RawElementProviderRuntimeId* result) noexcept final try { zero_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GenerateRawElementProviderRuntimeId()); 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* 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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithParentAndItem(void* item, void* parent, void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstanceWithParentAndItem(*reinterpret_cast(&item), *reinterpret_cast(&parent), *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 CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #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 { }; #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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithParentAndItem(void* item, void* parent, void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstanceWithParentAndItem(*reinterpret_cast(&item), *reinterpret_cast(&parent), *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 CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 get_Owner(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Owner()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 FromElement(void* element, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().FromElement(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreatePeerForElement(void* element, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreatePeerForElement(*reinterpret_cast(&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 CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithParentAndItem(void* item, void* parent, void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstanceWithParentAndItem(*reinterpret_cast(&item), *reinterpret_cast(&parent), *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 CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #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 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_ItemsControlAutomationPeer(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemsControlAutomationPeer()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithParentAndItem(void* item, void* parent, void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstanceWithParentAndItem(*reinterpret_cast(&item), *reinterpret_cast(&parent), *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* 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 CreateItemAutomationPeer(void* item, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateItemAutomationPeer(*reinterpret_cast(&item))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*reinterpret_cast(&owner), *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 OnCreateItemAutomationPeer(void* item, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().OnCreateItemAutomationPeer(*reinterpret_cast(&item))); 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* 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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithParentAndItem(void* item, void* parent, void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstanceWithParentAndItem(*reinterpret_cast(&item), *reinterpret_cast(&parent), *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 CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithParentAndItem(void* item, void* parent, void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstanceWithParentAndItem(*reinterpret_cast(&item), *reinterpret_cast(&parent), *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 { }; #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 CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #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 { }; #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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(void* owner, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstanceWithOwner(*reinterpret_cast(&owner))); 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 CreateInstanceWithOwner(void* owner, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstanceWithOwner(*reinterpret_cast(&owner))); 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 CreateInstanceWithParentAndItem(void* item, void* parent, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstanceWithParentAndItem(*reinterpret_cast(&item), *reinterpret_cast(&parent))); 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* 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 { }; #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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithParentAndItem(void* item, void* parent, void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstanceWithParentAndItem(*reinterpret_cast(&item), *reinterpret_cast(&parent), *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 CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #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 { }; #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 { }; #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 { }; #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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #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 CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithOwner(void* item, void* parent, void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstanceWithOwner(*reinterpret_cast(&item), *reinterpret_cast(&parent), *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 CreateInstanceWithOwner(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().CreateInstanceWithOwner(*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 { }; #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 template struct WINRT_IMPL_EMPTY_BASES produce_dispatch_to_overridable : produce_dispatch_to_overridable_base { auto GetPatternCore(winrt::Microsoft::UI::Xaml::Automation::Peers::PatternInterface const& patternInterface) { if (auto overridable = this->shim_overridable()) { return overridable.GetPatternCore(patternInterface); } return this->shim().GetPatternCore(patternInterface); } auto GetAcceleratorKeyCore() { if (auto overridable = this->shim_overridable()) { return overridable.GetAcceleratorKeyCore(); } return this->shim().GetAcceleratorKeyCore(); } auto GetAccessKeyCore() { if (auto overridable = this->shim_overridable()) { return overridable.GetAccessKeyCore(); } return this->shim().GetAccessKeyCore(); } auto GetAutomationControlTypeCore() { if (auto overridable = this->shim_overridable()) { return overridable.GetAutomationControlTypeCore(); } return this->shim().GetAutomationControlTypeCore(); } auto GetAutomationIdCore() { if (auto overridable = this->shim_overridable()) { return overridable.GetAutomationIdCore(); } return this->shim().GetAutomationIdCore(); } auto GetBoundingRectangleCore() { if (auto overridable = this->shim_overridable()) { return overridable.GetBoundingRectangleCore(); } return this->shim().GetBoundingRectangleCore(); } auto GetChildrenCore() { if (auto overridable = this->shim_overridable()) { return overridable.GetChildrenCore(); } return this->shim().GetChildrenCore(); } auto NavigateCore(winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationNavigationDirection const& direction) { if (auto overridable = this->shim_overridable()) { return overridable.NavigateCore(direction); } return this->shim().NavigateCore(direction); } auto GetClassNameCore() { if (auto overridable = this->shim_overridable()) { return overridable.GetClassNameCore(); } return this->shim().GetClassNameCore(); } auto GetClickablePointCore() { if (auto overridable = this->shim_overridable()) { return overridable.GetClickablePointCore(); } return this->shim().GetClickablePointCore(); } auto GetHelpTextCore() { if (auto overridable = this->shim_overridable()) { return overridable.GetHelpTextCore(); } return this->shim().GetHelpTextCore(); } auto GetItemStatusCore() { if (auto overridable = this->shim_overridable()) { return overridable.GetItemStatusCore(); } return this->shim().GetItemStatusCore(); } auto GetItemTypeCore() { if (auto overridable = this->shim_overridable()) { return overridable.GetItemTypeCore(); } return this->shim().GetItemTypeCore(); } auto GetLabeledByCore() { if (auto overridable = this->shim_overridable()) { return overridable.GetLabeledByCore(); } return this->shim().GetLabeledByCore(); } auto GetLocalizedControlTypeCore() { if (auto overridable = this->shim_overridable()) { return overridable.GetLocalizedControlTypeCore(); } return this->shim().GetLocalizedControlTypeCore(); } auto GetNameCore() { if (auto overridable = this->shim_overridable()) { return overridable.GetNameCore(); } return this->shim().GetNameCore(); } auto GetOrientationCore() { if (auto overridable = this->shim_overridable()) { return overridable.GetOrientationCore(); } return this->shim().GetOrientationCore(); } auto HasKeyboardFocusCore() { if (auto overridable = this->shim_overridable()) { return overridable.HasKeyboardFocusCore(); } return this->shim().HasKeyboardFocusCore(); } auto IsContentElementCore() { if (auto overridable = this->shim_overridable()) { return overridable.IsContentElementCore(); } return this->shim().IsContentElementCore(); } auto IsControlElementCore() { if (auto overridable = this->shim_overridable()) { return overridable.IsControlElementCore(); } return this->shim().IsControlElementCore(); } auto IsEnabledCore() { if (auto overridable = this->shim_overridable()) { return overridable.IsEnabledCore(); } return this->shim().IsEnabledCore(); } auto IsKeyboardFocusableCore() { if (auto overridable = this->shim_overridable()) { return overridable.IsKeyboardFocusableCore(); } return this->shim().IsKeyboardFocusableCore(); } auto IsOffscreenCore() { if (auto overridable = this->shim_overridable()) { return overridable.IsOffscreenCore(); } return this->shim().IsOffscreenCore(); } auto IsPasswordCore() { if (auto overridable = this->shim_overridable()) { return overridable.IsPasswordCore(); } return this->shim().IsPasswordCore(); } auto IsRequiredForFormCore() { if (auto overridable = this->shim_overridable()) { return overridable.IsRequiredForFormCore(); } return this->shim().IsRequiredForFormCore(); } auto SetFocusCore() { if (auto overridable = this->shim_overridable()) { return overridable.SetFocusCore(); } return this->shim().SetFocusCore(); } auto GetPeerFromPointCore(winrt::Windows::Foundation::Point const& point) { if (auto overridable = this->shim_overridable()) { return overridable.GetPeerFromPointCore(point); } return this->shim().GetPeerFromPointCore(point); } auto GetElementFromPointCore(winrt::Windows::Foundation::Point const& pointInWindowCoordinates) { if (auto overridable = this->shim_overridable()) { return overridable.GetElementFromPointCore(pointInWindowCoordinates); } return this->shim().GetElementFromPointCore(pointInWindowCoordinates); } auto GetFocusedElementCore() { if (auto overridable = this->shim_overridable()) { return overridable.GetFocusedElementCore(); } return this->shim().GetFocusedElementCore(); } auto GetLiveSettingCore() { if (auto overridable = this->shim_overridable()) { return overridable.GetLiveSettingCore(); } return this->shim().GetLiveSettingCore(); } auto ShowContextMenuCore() { if (auto overridable = this->shim_overridable()) { return overridable.ShowContextMenuCore(); } return this->shim().ShowContextMenuCore(); } auto GetControlledPeersCore() { if (auto overridable = this->shim_overridable()) { return overridable.GetControlledPeersCore(); } return this->shim().GetControlledPeersCore(); } auto GetAnnotationsCore() { if (auto overridable = this->shim_overridable()) { return overridable.GetAnnotationsCore(); } return this->shim().GetAnnotationsCore(); } auto GetPositionInSetCore() { if (auto overridable = this->shim_overridable()) { return overridable.GetPositionInSetCore(); } return this->shim().GetPositionInSetCore(); } auto GetSizeOfSetCore() { if (auto overridable = this->shim_overridable()) { return overridable.GetSizeOfSetCore(); } return this->shim().GetSizeOfSetCore(); } auto GetLevelCore() { if (auto overridable = this->shim_overridable()) { return overridable.GetLevelCore(); } return this->shim().GetLevelCore(); } auto GetLandmarkTypeCore() { if (auto overridable = this->shim_overridable()) { return overridable.GetLandmarkTypeCore(); } return this->shim().GetLandmarkTypeCore(); } auto GetLocalizedLandmarkTypeCore() { if (auto overridable = this->shim_overridable()) { return overridable.GetLocalizedLandmarkTypeCore(); } return this->shim().GetLocalizedLandmarkTypeCore(); } auto IsPeripheralCore() { if (auto overridable = this->shim_overridable()) { return overridable.IsPeripheralCore(); } return this->shim().IsPeripheralCore(); } auto IsDataValidForFormCore() { if (auto overridable = this->shim_overridable()) { return overridable.IsDataValidForFormCore(); } return this->shim().IsDataValidForFormCore(); } auto GetFullDescriptionCore() { if (auto overridable = this->shim_overridable()) { return overridable.GetFullDescriptionCore(); } return this->shim().GetFullDescriptionCore(); } auto GetDescribedByCore() { if (auto overridable = this->shim_overridable()) { return overridable.GetDescribedByCore(); } return this->shim().GetDescribedByCore(); } auto GetFlowsToCore() { if (auto overridable = this->shim_overridable()) { return overridable.GetFlowsToCore(); } return this->shim().GetFlowsToCore(); } auto GetFlowsFromCore() { if (auto overridable = this->shim_overridable()) { return overridable.GetFlowsFromCore(); } return this->shim().GetFlowsFromCore(); } auto GetCultureCore() { if (auto overridable = this->shim_overridable()) { return overridable.GetCultureCore(); } return this->shim().GetCultureCore(); } auto GetHeadingLevelCore() { if (auto overridable = this->shim_overridable()) { return overridable.GetHeadingLevelCore(); } return this->shim().GetHeadingLevelCore(); } auto IsDialogCore() { if (auto overridable = this->shim_overridable()) { return overridable.IsDialogCore(); } return this->shim().IsDialogCore(); } }; template struct WINRT_IMPL_EMPTY_BASES produce_dispatch_to_overridable : produce_dispatch_to_overridable_base { auto OnCreateItemAutomationPeer(winrt::Windows::Foundation::IInspectable const& item) { if (auto overridable = this->shim_overridable()) { return overridable.OnCreateItemAutomationPeer(item); } return this->shim().OnCreateItemAutomationPeer(item); } }; } WINRT_EXPORT namespace winrt::Microsoft::UI::Xaml::Automation::Peers { inline AnimatedVisualPlayerAutomationPeer::AnimatedVisualPlayerAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::AnimatedVisualPlayer const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IAnimatedVisualPlayerAutomationPeerFactory const& f) { return f.CreateInstance(owner, baseInterface, innerInterface); }); } inline AppBarAutomationPeer::AppBarAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::AppBar const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IAppBarAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline AppBarButtonAutomationPeer::AppBarButtonAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::AppBarButton const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IAppBarButtonAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline AppBarToggleButtonAutomationPeer::AppBarToggleButtonAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::AppBarToggleButton const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IAppBarToggleButtonAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline AutoSuggestBoxAutomationPeer::AutoSuggestBoxAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::AutoSuggestBox const& owner) : AutoSuggestBoxAutomationPeer(impl::call_factory([&](IAutoSuggestBoxAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner); })) { } inline auto AutomationPeer::ListenerExists(winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationEvents const& eventId) { return impl::call_factory([&](IAutomationPeerStatics const& f) { return f.ListenerExists(eventId); }); } inline auto AutomationPeer::GenerateRawElementProviderRuntimeId() { return impl::call_factory_cast([](IAutomationPeerStatics const& f) { return f.GenerateRawElementProviderRuntimeId(); }); } inline AutomationPeerAnnotation::AutomationPeerAnnotation() : AutomationPeerAnnotation(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline AutomationPeerAnnotation::AutomationPeerAnnotation(winrt::Microsoft::UI::Xaml::Automation::AnnotationType const& type) : AutomationPeerAnnotation(impl::call_factory([&](IAutomationPeerAnnotationFactory const& f) { return f.CreateInstance(type); })) { } inline AutomationPeerAnnotation::AutomationPeerAnnotation(winrt::Microsoft::UI::Xaml::Automation::AnnotationType const& type, winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationPeer const& peer) : AutomationPeerAnnotation(impl::call_factory([&](IAutomationPeerAnnotationFactory const& f) { return f.CreateWithPeerParameter(type, peer); })) { } inline auto AutomationPeerAnnotation::TypeProperty() { return impl::call_factory_cast([](IAutomationPeerAnnotationStatics const& f) { return f.TypeProperty(); }); } inline auto AutomationPeerAnnotation::PeerProperty() { return impl::call_factory_cast([](IAutomationPeerAnnotationStatics const& f) { return f.PeerProperty(); }); } inline BreadcrumbBarItemAutomationPeer::BreadcrumbBarItemAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::BreadcrumbBarItem const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IBreadcrumbBarItemAutomationPeerFactory const& f) { return f.CreateInstance(owner, baseInterface, innerInterface); }); } inline ButtonAutomationPeer::ButtonAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::Button const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IButtonAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline CalendarDatePickerAutomationPeer::CalendarDatePickerAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::CalendarDatePicker const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ICalendarDatePickerAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline CheckBoxAutomationPeer::CheckBoxAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::CheckBox const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ICheckBoxAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline ColorPickerSliderAutomationPeer::ColorPickerSliderAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::Primitives::ColorPickerSlider const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IColorPickerSliderAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline ColorSpectrumAutomationPeer::ColorSpectrumAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::Primitives::ColorSpectrum const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IColorSpectrumAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline ComboBoxAutomationPeer::ComboBoxAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::ComboBox const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IComboBoxAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline ComboBoxItemAutomationPeer::ComboBoxItemAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::ComboBoxItem const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IComboBoxItemAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline ComboBoxItemDataAutomationPeer::ComboBoxItemDataAutomationPeer(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::Automation::Peers::ComboBoxAutomationPeer const& parent) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IComboBoxItemDataAutomationPeerFactory const& f) { return f.CreateInstanceWithParentAndItem(item, parent, baseInterface, innerInterface); }); } inline DatePickerAutomationPeer::DatePickerAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::DatePicker const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IDatePickerAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline DropDownButtonAutomationPeer::DropDownButtonAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::DropDownButton const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IDropDownButtonAutomationPeerFactory const& f) { return f.CreateInstance(owner, baseInterface, innerInterface); }); } inline ExpanderAutomationPeer::ExpanderAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::Expander const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IExpanderAutomationPeerFactory const& f) { return f.CreateInstance(owner, baseInterface, innerInterface); }); } inline FlipViewAutomationPeer::FlipViewAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::FlipView const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IFlipViewAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline FlipViewItemAutomationPeer::FlipViewItemAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::FlipViewItem const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IFlipViewItemAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline FlipViewItemDataAutomationPeer::FlipViewItemDataAutomationPeer(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::Automation::Peers::FlipViewAutomationPeer const& parent) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IFlipViewItemDataAutomationPeerFactory const& f) { return f.CreateInstanceWithParentAndItem(item, parent, baseInterface, innerInterface); }); } inline FlyoutPresenterAutomationPeer::FlyoutPresenterAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::FlyoutPresenter const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IFlyoutPresenterAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline FrameworkElementAutomationPeer::FrameworkElementAutomationPeer(winrt::Microsoft::UI::Xaml::FrameworkElement const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IFrameworkElementAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline auto FrameworkElementAutomationPeer::FromElement(winrt::Microsoft::UI::Xaml::UIElement const& element) { return impl::call_factory([&](IFrameworkElementAutomationPeerStatics const& f) { return f.FromElement(element); }); } inline auto FrameworkElementAutomationPeer::CreatePeerForElement(winrt::Microsoft::UI::Xaml::UIElement const& element) { return impl::call_factory([&](IFrameworkElementAutomationPeerStatics const& f) { return f.CreatePeerForElement(element); }); } inline GridViewAutomationPeer::GridViewAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::GridView const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IGridViewAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline GridViewHeaderItemAutomationPeer::GridViewHeaderItemAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::GridViewHeaderItem const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IGridViewHeaderItemAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline GridViewItemAutomationPeer::GridViewItemAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::GridViewItem const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IGridViewItemAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline GridViewItemDataAutomationPeer::GridViewItemDataAutomationPeer(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::Automation::Peers::GridViewAutomationPeer const& parent) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IGridViewItemDataAutomationPeerFactory const& f) { return f.CreateInstanceWithParentAndItem(item, parent, baseInterface, innerInterface); }); } inline GroupItemAutomationPeer::GroupItemAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::GroupItem const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IGroupItemAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline HubAutomationPeer::HubAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::Hub const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IHubAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline HubSectionAutomationPeer::HubSectionAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::HubSection const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IHubSectionAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline HyperlinkButtonAutomationPeer::HyperlinkButtonAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::HyperlinkButton const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IHyperlinkButtonAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline ImageAutomationPeer::ImageAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::Image const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IImageAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline InfoBarAutomationPeer::InfoBarAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::InfoBar const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IInfoBarAutomationPeerFactory const& f) { return f.CreateInstance(owner, baseInterface, innerInterface); }); } inline ItemAutomationPeer::ItemAutomationPeer(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::Automation::Peers::ItemsControlAutomationPeer const& parent) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IItemAutomationPeerFactory const& f) { return f.CreateInstanceWithParentAndItem(item, parent, baseInterface, innerInterface); }); } inline ItemContainerAutomationPeer::ItemContainerAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::ItemContainer const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IItemContainerAutomationPeerFactory const& f) { return f.CreateInstance(owner, baseInterface, innerInterface); }); } inline ItemsControlAutomationPeer::ItemsControlAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::ItemsControl const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IItemsControlAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline ItemsViewAutomationPeer::ItemsViewAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::ItemsView const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IItemsViewAutomationPeerFactory const& f) { return f.CreateInstance(owner, baseInterface, innerInterface); }); } inline ListBoxAutomationPeer::ListBoxAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::ListBox const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IListBoxAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline ListBoxItemAutomationPeer::ListBoxItemAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::ListBoxItem const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IListBoxItemAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline ListBoxItemDataAutomationPeer::ListBoxItemDataAutomationPeer(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::Automation::Peers::ListBoxAutomationPeer const& parent) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IListBoxItemDataAutomationPeerFactory const& f) { return f.CreateInstanceWithParentAndItem(item, parent, baseInterface, innerInterface); }); } inline ListViewAutomationPeer::ListViewAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::ListView const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IListViewAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline ListViewBaseAutomationPeer::ListViewBaseAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::ListViewBase const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IListViewBaseAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline ListViewHeaderItemAutomationPeer::ListViewHeaderItemAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::ListViewHeaderItem const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IListViewHeaderItemAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline ListViewItemAutomationPeer::ListViewItemAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::ListViewItem const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IListViewItemAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline ListViewItemDataAutomationPeer::ListViewItemDataAutomationPeer(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::Automation::Peers::ListViewBaseAutomationPeer const& parent) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IListViewItemDataAutomationPeerFactory const& f) { return f.CreateInstanceWithParentAndItem(item, parent, baseInterface, innerInterface); }); } inline MediaPlayerElementAutomationPeer::MediaPlayerElementAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::MediaPlayerElement const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IMediaPlayerElementAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline MediaTransportControlsAutomationPeer::MediaTransportControlsAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::MediaTransportControls const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IMediaTransportControlsAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline MenuBarAutomationPeer::MenuBarAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::MenuBar const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IMenuBarAutomationPeerFactory const& f) { return f.CreateInstance(owner, baseInterface, innerInterface); }); } inline MenuBarItemAutomationPeer::MenuBarItemAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::MenuBarItem const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IMenuBarItemAutomationPeerFactory const& f) { return f.CreateInstance(owner, baseInterface, innerInterface); }); } inline MenuFlyoutItemAutomationPeer::MenuFlyoutItemAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::MenuFlyoutItem const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IMenuFlyoutItemAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline MenuFlyoutPresenterAutomationPeer::MenuFlyoutPresenterAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::MenuFlyoutPresenter const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IMenuFlyoutPresenterAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline NavigationViewAutomationPeer::NavigationViewAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::NavigationView const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](INavigationViewAutomationPeerFactory const& f) { return f.CreateInstance(owner, baseInterface, innerInterface); }); } inline NavigationViewItemAutomationPeer::NavigationViewItemAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::NavigationViewItem const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](INavigationViewItemAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline NumberBoxAutomationPeer::NumberBoxAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::NumberBox const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](INumberBoxAutomationPeerFactory const& f) { return f.CreateInstance(owner, baseInterface, innerInterface); }); } inline PasswordBoxAutomationPeer::PasswordBoxAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::PasswordBox const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IPasswordBoxAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline PersonPictureAutomationPeer::PersonPictureAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::PersonPicture const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IPersonPictureAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline PipsPagerAutomationPeer::PipsPagerAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::PipsPager const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IPipsPagerAutomationPeerFactory const& f) { return f.CreateInstance(owner, baseInterface, innerInterface); }); } inline PivotAutomationPeer::PivotAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::Pivot const& owner) : PivotAutomationPeer(impl::call_factory([&](IPivotAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner); })) { } inline PivotItemAutomationPeer::PivotItemAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::PivotItem const& owner) : PivotItemAutomationPeer(impl::call_factory([&](IPivotItemAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner); })) { } inline PivotItemDataAutomationPeer::PivotItemDataAutomationPeer(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::Automation::Peers::PivotAutomationPeer const& parent) : PivotItemDataAutomationPeer(impl::call_factory([&](IPivotItemDataAutomationPeerFactory const& f) { return f.CreateInstanceWithParentAndItem(item, parent); })) { } inline ProgressBarAutomationPeer::ProgressBarAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::ProgressBar const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IProgressBarAutomationPeerFactory const& f) { return f.CreateInstance(owner, baseInterface, innerInterface); }); } inline ProgressRingAutomationPeer::ProgressRingAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::ProgressRing const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IProgressRingAutomationPeerFactory const& f) { return f.CreateInstance(owner, baseInterface, innerInterface); }); } inline RadioButtonAutomationPeer::RadioButtonAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::RadioButton const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IRadioButtonAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline RadioButtonsAutomationPeer::RadioButtonsAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::RadioButtons const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IRadioButtonsAutomationPeerFactory const& f) { return f.CreateInstance(owner, baseInterface, innerInterface); }); } inline RangeBaseAutomationPeer::RangeBaseAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::Primitives::RangeBase const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IRangeBaseAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline RatingControlAutomationPeer::RatingControlAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::RatingControl const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IRatingControlAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline RepeatButtonAutomationPeer::RepeatButtonAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::Primitives::RepeatButton const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IRepeatButtonAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline RepeaterAutomationPeer::RepeaterAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::ItemsRepeater const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IRepeaterAutomationPeerFactory const& f) { return f.CreateInstance(owner, baseInterface, innerInterface); }); } inline RichEditBoxAutomationPeer::RichEditBoxAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::RichEditBox const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IRichEditBoxAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline RichTextBlockAutomationPeer::RichTextBlockAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::RichTextBlock const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IRichTextBlockAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline RichTextBlockOverflowAutomationPeer::RichTextBlockOverflowAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::RichTextBlockOverflow const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IRichTextBlockOverflowAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline ScrollBarAutomationPeer::ScrollBarAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::Primitives::ScrollBar const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IScrollBarAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline ScrollPresenterAutomationPeer::ScrollPresenterAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::Primitives::ScrollPresenter const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IScrollPresenterAutomationPeerFactory const& f) { return f.CreateInstance(owner, baseInterface, innerInterface); }); } inline ScrollViewerAutomationPeer::ScrollViewerAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::ScrollViewer const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IScrollViewerAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline SelectorAutomationPeer::SelectorAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::Primitives::Selector const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ISelectorAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline SelectorBarItemAutomationPeer::SelectorBarItemAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::SelectorBarItem const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ISelectorBarItemAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline SelectorItemAutomationPeer::SelectorItemAutomationPeer(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::Automation::Peers::SelectorAutomationPeer const& parent) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ISelectorItemAutomationPeerFactory const& f) { return f.CreateInstanceWithParentAndItem(item, parent, baseInterface, innerInterface); }); } inline SemanticZoomAutomationPeer::SemanticZoomAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::SemanticZoom const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ISemanticZoomAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline SliderAutomationPeer::SliderAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::Slider const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ISliderAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline SplitButtonAutomationPeer::SplitButtonAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::SplitButton const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ISplitButtonAutomationPeerFactory const& f) { return f.CreateInstance(owner, baseInterface, innerInterface); }); } inline TabViewAutomationPeer::TabViewAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::TabView const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ITabViewAutomationPeerFactory const& f) { return f.CreateInstance(owner, baseInterface, innerInterface); }); } inline TabViewItemAutomationPeer::TabViewItemAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::TabViewItem const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ITabViewItemAutomationPeerFactory const& f) { return f.CreateInstance(owner, baseInterface, innerInterface); }); } inline TeachingTipAutomationPeer::TeachingTipAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::TeachingTip const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ITeachingTipAutomationPeerFactory const& f) { return f.CreateInstance(owner, baseInterface, innerInterface); }); } inline TextBlockAutomationPeer::TextBlockAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::TextBlock const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ITextBlockAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline TextBoxAutomationPeer::TextBoxAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::TextBox const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ITextBoxAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline ThumbAutomationPeer::ThumbAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::Primitives::Thumb const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IThumbAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline TimePickerAutomationPeer::TimePickerAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::TimePicker const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ITimePickerAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline ToggleButtonAutomationPeer::ToggleButtonAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::Primitives::ToggleButton const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IToggleButtonAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline ToggleMenuFlyoutItemAutomationPeer::ToggleMenuFlyoutItemAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::ToggleMenuFlyoutItem const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IToggleMenuFlyoutItemAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline ToggleSplitButtonAutomationPeer::ToggleSplitButtonAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::ToggleSplitButton const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IToggleSplitButtonAutomationPeerFactory const& f) { return f.CreateInstance(owner, baseInterface, innerInterface); }); } inline ToggleSwitchAutomationPeer::ToggleSwitchAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::ToggleSwitch const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IToggleSwitchAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline TreeViewItemAutomationPeer::TreeViewItemAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::TreeViewItem const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ITreeViewItemAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline TreeViewItemDataAutomationPeer::TreeViewItemDataAutomationPeer(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::Automation::Peers::TreeViewListAutomationPeer const& parent) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ITreeViewItemDataAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(item, parent, baseInterface, innerInterface); }); } inline TreeViewListAutomationPeer::TreeViewListAutomationPeer(winrt::Microsoft::UI::Xaml::Controls::TreeViewList const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ITreeViewListAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline WebView2AutomationPeer::WebView2AutomationPeer(winrt::Microsoft::UI::Xaml::Controls::WebView2 const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IWebView2AutomationPeerFactory const& f) { return f.CreateInstance(owner, baseInterface, innerInterface); }); } template auto IAutomationPeerOverridesT::GetPatternCore(winrt::Microsoft::UI::Xaml::Automation::Peers::PatternInterface const& patternInterface) const { return shim().template try_as().GetPatternCore(patternInterface); } template auto IAutomationPeerOverridesT::GetAcceleratorKeyCore() const { return shim().template try_as().GetAcceleratorKeyCore(); } template auto IAutomationPeerOverridesT::GetAccessKeyCore() const { return shim().template try_as().GetAccessKeyCore(); } template auto IAutomationPeerOverridesT::GetAutomationControlTypeCore() const { return shim().template try_as().GetAutomationControlTypeCore(); } template auto IAutomationPeerOverridesT::GetAutomationIdCore() const { return shim().template try_as().GetAutomationIdCore(); } template auto IAutomationPeerOverridesT::GetBoundingRectangleCore() const { return shim().template try_as().GetBoundingRectangleCore(); } template auto IAutomationPeerOverridesT::GetChildrenCore() const { return shim().template try_as().GetChildrenCore(); } template auto IAutomationPeerOverridesT::NavigateCore(winrt::Microsoft::UI::Xaml::Automation::Peers::AutomationNavigationDirection const& direction) const { return shim().template try_as().NavigateCore(direction); } template auto IAutomationPeerOverridesT::GetClassNameCore() const { return shim().template try_as().GetClassNameCore(); } template auto IAutomationPeerOverridesT::GetClickablePointCore() const { return shim().template try_as().GetClickablePointCore(); } template auto IAutomationPeerOverridesT::GetHelpTextCore() const { return shim().template try_as().GetHelpTextCore(); } template auto IAutomationPeerOverridesT::GetItemStatusCore() const { return shim().template try_as().GetItemStatusCore(); } template auto IAutomationPeerOverridesT::GetItemTypeCore() const { return shim().template try_as().GetItemTypeCore(); } template auto IAutomationPeerOverridesT::GetLabeledByCore() const { return shim().template try_as().GetLabeledByCore(); } template auto IAutomationPeerOverridesT::GetLocalizedControlTypeCore() const { return shim().template try_as().GetLocalizedControlTypeCore(); } template auto IAutomationPeerOverridesT::GetNameCore() const { return shim().template try_as().GetNameCore(); } template auto IAutomationPeerOverridesT::GetOrientationCore() const { return shim().template try_as().GetOrientationCore(); } template auto IAutomationPeerOverridesT::HasKeyboardFocusCore() const { return shim().template try_as().HasKeyboardFocusCore(); } template auto IAutomationPeerOverridesT::IsContentElementCore() const { return shim().template try_as().IsContentElementCore(); } template auto IAutomationPeerOverridesT::IsControlElementCore() const { return shim().template try_as().IsControlElementCore(); } template auto IAutomationPeerOverridesT::IsEnabledCore() const { return shim().template try_as().IsEnabledCore(); } template auto IAutomationPeerOverridesT::IsKeyboardFocusableCore() const { return shim().template try_as().IsKeyboardFocusableCore(); } template auto IAutomationPeerOverridesT::IsOffscreenCore() const { return shim().template try_as().IsOffscreenCore(); } template auto IAutomationPeerOverridesT::IsPasswordCore() const { return shim().template try_as().IsPasswordCore(); } template auto IAutomationPeerOverridesT::IsRequiredForFormCore() const { return shim().template try_as().IsRequiredForFormCore(); } template auto IAutomationPeerOverridesT::SetFocusCore() const { return shim().template try_as().SetFocusCore(); } template auto IAutomationPeerOverridesT::GetPeerFromPointCore(winrt::Windows::Foundation::Point const& point) const { return shim().template try_as().GetPeerFromPointCore(point); } template auto IAutomationPeerOverridesT::GetElementFromPointCore(winrt::Windows::Foundation::Point const& pointInWindowCoordinates) const { return shim().template try_as().GetElementFromPointCore(pointInWindowCoordinates); } template auto IAutomationPeerOverridesT::GetFocusedElementCore() const { return shim().template try_as().GetFocusedElementCore(); } template auto IAutomationPeerOverridesT::GetLiveSettingCore() const { return shim().template try_as().GetLiveSettingCore(); } template auto IAutomationPeerOverridesT::ShowContextMenuCore() const { return shim().template try_as().ShowContextMenuCore(); } template auto IAutomationPeerOverridesT::GetControlledPeersCore() const { return shim().template try_as().GetControlledPeersCore(); } template auto IAutomationPeerOverridesT::GetAnnotationsCore() const { return shim().template try_as().GetAnnotationsCore(); } template auto IAutomationPeerOverridesT::GetPositionInSetCore() const { return shim().template try_as().GetPositionInSetCore(); } template auto IAutomationPeerOverridesT::GetSizeOfSetCore() const { return shim().template try_as().GetSizeOfSetCore(); } template auto IAutomationPeerOverridesT::GetLevelCore() const { return shim().template try_as().GetLevelCore(); } template auto IAutomationPeerOverridesT::GetLandmarkTypeCore() const { return shim().template try_as().GetLandmarkTypeCore(); } template auto IAutomationPeerOverridesT::GetLocalizedLandmarkTypeCore() const { return shim().template try_as().GetLocalizedLandmarkTypeCore(); } template auto IAutomationPeerOverridesT::IsPeripheralCore() const { return shim().template try_as().IsPeripheralCore(); } template auto IAutomationPeerOverridesT::IsDataValidForFormCore() const { return shim().template try_as().IsDataValidForFormCore(); } template auto IAutomationPeerOverridesT::GetFullDescriptionCore() const { return shim().template try_as().GetFullDescriptionCore(); } template auto IAutomationPeerOverridesT::GetDescribedByCore() const { return shim().template try_as().GetDescribedByCore(); } template auto IAutomationPeerOverridesT::GetFlowsToCore() const { return shim().template try_as().GetFlowsToCore(); } template auto IAutomationPeerOverridesT::GetFlowsFromCore() const { return shim().template try_as().GetFlowsFromCore(); } template auto IAutomationPeerOverridesT::GetCultureCore() const { return shim().template try_as().GetCultureCore(); } template auto IAutomationPeerOverridesT::GetHeadingLevelCore() const { return shim().template try_as().GetHeadingLevelCore(); } template auto IAutomationPeerOverridesT::IsDialogCore() const { return shim().template try_as().IsDialogCore(); } template auto IItemsControlAutomationPeerOverridesT::OnCreateItemAutomationPeer(winrt::Windows::Foundation::IInspectable const& item) const { return shim().template try_as().OnCreateItemAutomationPeer(item); } template struct AnimatedVisualPlayerAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = AnimatedVisualPlayerAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: AnimatedVisualPlayerAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::AnimatedVisualPlayer const& owner) { impl::call_factory([&](IAnimatedVisualPlayerAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(owner, *this, this->m_inner); }); } }; template struct AppBarAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = AppBarAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: AppBarAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::AppBar const& owner) { impl::call_factory([&](IAppBarAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct AppBarButtonAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = AppBarButtonAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: AppBarButtonAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::AppBarButton const& owner) { impl::call_factory([&](IAppBarButtonAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct AppBarToggleButtonAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = AppBarToggleButtonAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: AppBarToggleButtonAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::AppBarToggleButton const& owner) { impl::call_factory([&](IAppBarToggleButtonAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct AutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = AutomationPeer; friend impl::consume_t; friend impl::require_one; protected: AutomationPeerT() { impl::call_factory([&](IAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct BreadcrumbBarItemAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = BreadcrumbBarItemAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: BreadcrumbBarItemAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::BreadcrumbBarItem const& owner) { impl::call_factory([&](IBreadcrumbBarItemAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(owner, *this, this->m_inner); }); } }; template struct ButtonAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = ButtonAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: ButtonAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::Button const& owner) { impl::call_factory([&](IButtonAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct ButtonBaseAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = ButtonBaseAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: ButtonBaseAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::Primitives::ButtonBase const& owner) { impl::call_factory([&](IButtonBaseAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct CalendarDatePickerAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = CalendarDatePickerAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: CalendarDatePickerAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::CalendarDatePicker const& owner) { impl::call_factory([&](ICalendarDatePickerAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } using impl::consume_t::SetValue; using impl::consume_t::SetValue; }; template struct CheckBoxAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = CheckBoxAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: CheckBoxAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::CheckBox const& owner) { impl::call_factory([&](ICheckBoxAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct ColorPickerSliderAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = ColorPickerSliderAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: ColorPickerSliderAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::Primitives::ColorPickerSlider const& owner) { impl::call_factory([&](IColorPickerSliderAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } using impl::consume_t::SetValue; using impl::consume_t::SetValue; }; template struct ColorSpectrumAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = ColorSpectrumAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: ColorSpectrumAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::Primitives::ColorSpectrum const& owner) { impl::call_factory([&](IColorSpectrumAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct ComboBoxAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IItemsControlAutomationPeerOverridesT, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = ComboBoxAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: ComboBoxAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::ComboBox const& owner) { impl::call_factory([&](IComboBoxAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } using impl::consume_t::SetValue; using impl::consume_t::SetValue; }; template struct ComboBoxItemAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = ComboBoxItemAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: ComboBoxItemAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::ComboBoxItem const& owner) { impl::call_factory([&](IComboBoxItemAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct ComboBoxItemDataAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = ComboBoxItemDataAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: ComboBoxItemDataAutomationPeerT(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::Automation::Peers::ComboBoxAutomationPeer const& parent) { impl::call_factory([&](IComboBoxItemDataAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithParentAndItem(item, parent, *this, this->m_inner); }); } }; template struct DatePickerAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = DatePickerAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: DatePickerAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::DatePicker const& owner) { impl::call_factory([&](IDatePickerAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct DropDownButtonAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = DropDownButtonAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: DropDownButtonAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::DropDownButton const& owner) { impl::call_factory([&](IDropDownButtonAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(owner, *this, this->m_inner); }); } }; template struct ExpanderAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = ExpanderAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: ExpanderAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::Expander const& owner) { impl::call_factory([&](IExpanderAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(owner, *this, this->m_inner); }); } }; template struct FlipViewAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IItemsControlAutomationPeerOverridesT, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = FlipViewAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: FlipViewAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::FlipView const& owner) { impl::call_factory([&](IFlipViewAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct FlipViewItemAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = FlipViewItemAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: FlipViewItemAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::FlipViewItem const& owner) { impl::call_factory([&](IFlipViewItemAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct FlipViewItemDataAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = FlipViewItemDataAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: FlipViewItemDataAutomationPeerT(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::Automation::Peers::FlipViewAutomationPeer const& parent) { impl::call_factory([&](IFlipViewItemDataAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithParentAndItem(item, parent, *this, this->m_inner); }); } }; template struct FlyoutPresenterAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = FlyoutPresenterAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: FlyoutPresenterAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::FlyoutPresenter const& owner) { impl::call_factory([&](IFlyoutPresenterAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct FrameworkElementAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = FrameworkElementAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: FrameworkElementAutomationPeerT(winrt::Microsoft::UI::Xaml::FrameworkElement const& owner) { impl::call_factory([&](IFrameworkElementAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct GridViewAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IItemsControlAutomationPeerOverridesT, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = GridViewAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: GridViewAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::GridView const& owner) { impl::call_factory([&](IGridViewAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct GridViewHeaderItemAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = GridViewHeaderItemAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: GridViewHeaderItemAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::GridViewHeaderItem const& owner) { impl::call_factory([&](IGridViewHeaderItemAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct GridViewItemAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = GridViewItemAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: GridViewItemAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::GridViewItem const& owner) { impl::call_factory([&](IGridViewItemAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct GridViewItemDataAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = GridViewItemDataAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: GridViewItemDataAutomationPeerT(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::Automation::Peers::GridViewAutomationPeer const& parent) { impl::call_factory([&](IGridViewItemDataAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithParentAndItem(item, parent, *this, this->m_inner); }); } }; template struct GroupItemAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = GroupItemAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: GroupItemAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::GroupItem const& owner) { impl::call_factory([&](IGroupItemAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct HubAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = HubAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: HubAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::Hub const& owner) { impl::call_factory([&](IHubAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct HubSectionAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = HubSectionAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: HubSectionAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::HubSection const& owner) { impl::call_factory([&](IHubSectionAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct HyperlinkButtonAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = HyperlinkButtonAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: HyperlinkButtonAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::HyperlinkButton const& owner) { impl::call_factory([&](IHyperlinkButtonAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct ImageAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = ImageAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: ImageAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::Image const& owner) { impl::call_factory([&](IImageAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct InfoBarAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = InfoBarAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: InfoBarAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::InfoBar const& owner) { impl::call_factory([&](IInfoBarAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(owner, *this, this->m_inner); }); } }; template struct ItemAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = ItemAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: ItemAutomationPeerT(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::Automation::Peers::ItemsControlAutomationPeer const& parent) { impl::call_factory([&](IItemAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithParentAndItem(item, parent, *this, this->m_inner); }); } }; template struct ItemContainerAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = ItemContainerAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: ItemContainerAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::ItemContainer const& owner) { impl::call_factory([&](IItemContainerAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(owner, *this, this->m_inner); }); } }; template struct ItemsControlAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IItemsControlAutomationPeerOverridesT, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = ItemsControlAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: ItemsControlAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::ItemsControl const& owner) { impl::call_factory([&](IItemsControlAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct ItemsViewAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = ItemsViewAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: ItemsViewAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::ItemsView const& owner) { impl::call_factory([&](IItemsViewAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(owner, *this, this->m_inner); }); } }; template struct ListBoxAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IItemsControlAutomationPeerOverridesT, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = ListBoxAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: ListBoxAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::ListBox const& owner) { impl::call_factory([&](IListBoxAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct ListBoxItemAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = ListBoxItemAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: ListBoxItemAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::ListBoxItem const& owner) { impl::call_factory([&](IListBoxItemAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct ListBoxItemDataAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = ListBoxItemDataAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: ListBoxItemDataAutomationPeerT(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::Automation::Peers::ListBoxAutomationPeer const& parent) { impl::call_factory([&](IListBoxItemDataAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithParentAndItem(item, parent, *this, this->m_inner); }); } }; template struct ListViewAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IItemsControlAutomationPeerOverridesT, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = ListViewAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: ListViewAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::ListView const& owner) { impl::call_factory([&](IListViewAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct ListViewBaseAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IItemsControlAutomationPeerOverridesT, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = ListViewBaseAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: ListViewBaseAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::ListViewBase const& owner) { impl::call_factory([&](IListViewBaseAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct ListViewBaseHeaderItemAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = ListViewBaseHeaderItemAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: ListViewBaseHeaderItemAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::ListViewBaseHeaderItem const& owner) { impl::call_factory([&](IListViewBaseHeaderItemAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct ListViewHeaderItemAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = ListViewHeaderItemAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: ListViewHeaderItemAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::ListViewHeaderItem const& owner) { impl::call_factory([&](IListViewHeaderItemAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct ListViewItemAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = ListViewItemAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: ListViewItemAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::ListViewItem const& owner) { impl::call_factory([&](IListViewItemAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct ListViewItemDataAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = ListViewItemDataAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: ListViewItemDataAutomationPeerT(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::Automation::Peers::ListViewBaseAutomationPeer const& parent) { impl::call_factory([&](IListViewItemDataAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithParentAndItem(item, parent, *this, this->m_inner); }); } }; template struct MediaPlayerElementAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = MediaPlayerElementAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: MediaPlayerElementAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::MediaPlayerElement const& owner) { impl::call_factory([&](IMediaPlayerElementAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct MediaTransportControlsAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = MediaTransportControlsAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: MediaTransportControlsAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::MediaTransportControls const& owner) { impl::call_factory([&](IMediaTransportControlsAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct MenuBarAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = MenuBarAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: MenuBarAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::MenuBar const& owner) { impl::call_factory([&](IMenuBarAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(owner, *this, this->m_inner); }); } }; template struct MenuBarItemAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = MenuBarItemAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: MenuBarItemAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::MenuBarItem const& owner) { impl::call_factory([&](IMenuBarItemAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(owner, *this, this->m_inner); }); } }; template struct MenuFlyoutItemAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = MenuFlyoutItemAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: MenuFlyoutItemAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::MenuFlyoutItem const& owner) { impl::call_factory([&](IMenuFlyoutItemAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct MenuFlyoutPresenterAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IItemsControlAutomationPeerOverridesT, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = MenuFlyoutPresenterAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: MenuFlyoutPresenterAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::MenuFlyoutPresenter const& owner) { impl::call_factory([&](IMenuFlyoutPresenterAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct NavigationViewAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = NavigationViewAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: NavigationViewAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::NavigationView const& owner) { impl::call_factory([&](INavigationViewAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(owner, *this, this->m_inner); }); } }; template struct NavigationViewItemAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = NavigationViewItemAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: NavigationViewItemAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::NavigationViewItem const& owner) { impl::call_factory([&](INavigationViewItemAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct NumberBoxAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = NumberBoxAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: NumberBoxAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::NumberBox const& owner) { impl::call_factory([&](INumberBoxAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(owner, *this, this->m_inner); }); } }; template struct PasswordBoxAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = PasswordBoxAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: PasswordBoxAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::PasswordBox const& owner) { impl::call_factory([&](IPasswordBoxAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct PersonPictureAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = PersonPictureAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: PersonPictureAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::PersonPicture const& owner) { impl::call_factory([&](IPersonPictureAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct PipsPagerAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = PipsPagerAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: PipsPagerAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::PipsPager const& owner) { impl::call_factory([&](IPipsPagerAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(owner, *this, this->m_inner); }); } }; template struct ProgressBarAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = ProgressBarAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: ProgressBarAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::ProgressBar const& owner) { impl::call_factory([&](IProgressBarAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(owner, *this, this->m_inner); }); } using impl::consume_t::SetValue; using impl::consume_t::SetValue; }; template struct ProgressRingAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = ProgressRingAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: ProgressRingAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::ProgressRing const& owner) { impl::call_factory([&](IProgressRingAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(owner, *this, this->m_inner); }); } using impl::consume_t::SetValue; using impl::consume_t::SetValue; }; template struct RadioButtonAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = RadioButtonAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: RadioButtonAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::RadioButton const& owner) { impl::call_factory([&](IRadioButtonAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct RadioButtonsAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = RadioButtonsAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: RadioButtonsAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::RadioButtons const& owner) { impl::call_factory([&](IRadioButtonsAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(owner, *this, this->m_inner); }); } }; template struct RangeBaseAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = RangeBaseAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: RangeBaseAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::Primitives::RangeBase const& owner) { impl::call_factory([&](IRangeBaseAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } using impl::consume_t::SetValue; using impl::consume_t::SetValue; }; template struct RatingControlAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = RatingControlAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: RatingControlAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::RatingControl const& owner) { impl::call_factory([&](IRatingControlAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct RepeatButtonAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = RepeatButtonAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: RepeatButtonAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::Primitives::RepeatButton const& owner) { impl::call_factory([&](IRepeatButtonAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct RepeaterAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = RepeaterAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: RepeaterAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::ItemsRepeater const& owner) { impl::call_factory([&](IRepeaterAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(owner, *this, this->m_inner); }); } }; template struct RichEditBoxAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = RichEditBoxAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: RichEditBoxAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::RichEditBox const& owner) { impl::call_factory([&](IRichEditBoxAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct RichTextBlockAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = RichTextBlockAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: RichTextBlockAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::RichTextBlock const& owner) { impl::call_factory([&](IRichTextBlockAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct RichTextBlockOverflowAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = RichTextBlockOverflowAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: RichTextBlockOverflowAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::RichTextBlockOverflow const& owner) { impl::call_factory([&](IRichTextBlockOverflowAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct ScrollBarAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = ScrollBarAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: ScrollBarAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::Primitives::ScrollBar const& owner) { impl::call_factory([&](IScrollBarAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } using impl::consume_t::SetValue; using impl::consume_t::SetValue; }; template struct ScrollPresenterAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = ScrollPresenterAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: ScrollPresenterAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::Primitives::ScrollPresenter const& owner) { impl::call_factory([&](IScrollPresenterAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(owner, *this, this->m_inner); }); } }; template struct ScrollViewerAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = ScrollViewerAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: ScrollViewerAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::ScrollViewer const& owner) { impl::call_factory([&](IScrollViewerAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct SelectorAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IItemsControlAutomationPeerOverridesT, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = SelectorAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: SelectorAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::Primitives::Selector const& owner) { impl::call_factory([&](ISelectorAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct SelectorBarItemAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = SelectorBarItemAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: SelectorBarItemAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::SelectorBarItem const& owner) { impl::call_factory([&](ISelectorBarItemAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct SelectorItemAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = SelectorItemAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: SelectorItemAutomationPeerT(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::Automation::Peers::SelectorAutomationPeer const& parent) { impl::call_factory([&](ISelectorItemAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithParentAndItem(item, parent, *this, this->m_inner); }); } }; template struct SemanticZoomAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = SemanticZoomAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: SemanticZoomAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::SemanticZoom const& owner) { impl::call_factory([&](ISemanticZoomAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct SliderAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = SliderAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: SliderAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::Slider const& owner) { impl::call_factory([&](ISliderAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } using impl::consume_t::SetValue; using impl::consume_t::SetValue; }; template struct SplitButtonAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = SplitButtonAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: SplitButtonAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::SplitButton const& owner) { impl::call_factory([&](ISplitButtonAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(owner, *this, this->m_inner); }); } }; template struct TabViewAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = TabViewAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: TabViewAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::TabView const& owner) { impl::call_factory([&](ITabViewAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(owner, *this, this->m_inner); }); } }; template struct TabViewItemAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = TabViewItemAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: TabViewItemAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::TabViewItem const& owner) { impl::call_factory([&](ITabViewItemAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(owner, *this, this->m_inner); }); } }; template struct TeachingTipAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = TeachingTipAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: TeachingTipAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::TeachingTip const& owner) { impl::call_factory([&](ITeachingTipAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(owner, *this, this->m_inner); }); } }; template struct TextBlockAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = TextBlockAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: TextBlockAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::TextBlock const& owner) { impl::call_factory([&](ITextBlockAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct TextBoxAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = TextBoxAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: TextBoxAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::TextBox const& owner) { impl::call_factory([&](ITextBoxAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct ThumbAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = ThumbAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: ThumbAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::Primitives::Thumb const& owner) { impl::call_factory([&](IThumbAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct TimePickerAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = TimePickerAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: TimePickerAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::TimePicker const& owner) { impl::call_factory([&](ITimePickerAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct ToggleButtonAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = ToggleButtonAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: ToggleButtonAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::Primitives::ToggleButton const& owner) { impl::call_factory([&](IToggleButtonAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct ToggleMenuFlyoutItemAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = ToggleMenuFlyoutItemAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: ToggleMenuFlyoutItemAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::ToggleMenuFlyoutItem const& owner) { impl::call_factory([&](IToggleMenuFlyoutItemAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct ToggleSplitButtonAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = ToggleSplitButtonAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: ToggleSplitButtonAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::ToggleSplitButton const& owner) { impl::call_factory([&](IToggleSplitButtonAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(owner, *this, this->m_inner); }); } }; template struct ToggleSwitchAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = ToggleSwitchAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: ToggleSwitchAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::ToggleSwitch const& owner) { impl::call_factory([&](IToggleSwitchAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct TreeViewItemAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = TreeViewItemAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: TreeViewItemAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::TreeViewItem const& owner) { impl::call_factory([&](ITreeViewItemAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct TreeViewItemDataAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = TreeViewItemDataAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: TreeViewItemDataAutomationPeerT(winrt::Windows::Foundation::IInspectable const& item, winrt::Microsoft::UI::Xaml::Automation::Peers::TreeViewListAutomationPeer const& parent) { impl::call_factory([&](ITreeViewItemDataAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(item, parent, *this, this->m_inner); }); } }; template struct TreeViewListAutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IItemsControlAutomationPeerOverridesT, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = TreeViewListAutomationPeer; friend impl::consume_t; friend impl::require_one; protected: TreeViewListAutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::TreeViewList const& owner) { impl::call_factory([&](ITreeViewListAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct WebView2AutomationPeerT : implements, impl::require, protected impl::require, impl::base, winrt::Microsoft::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT { using composable = WebView2AutomationPeer; friend impl::consume_t; friend impl::require_one; protected: WebView2AutomationPeerT(winrt::Microsoft::UI::Xaml::Controls::WebView2 const& owner) { impl::call_factory([&](IWebView2AutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(owner, *this, this->m_inner); }); } }; } namespace std { #ifndef WINRT_LEAN_AND_MEAN template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; template<> struct hash : winrt::impl::hash_base {}; #endif #ifdef __cpp_lib_format #endif } #endif