// C++/WinRT v2.0.220110.5 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #ifndef WINRT_Windows_UI_Xaml_Automation_Peers_H #define WINRT_Windows_UI_Xaml_Automation_Peers_H #include "winrt/base.h" static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.220110.5"), "Mismatched C++/WinRT headers."); #define CPPWINRT_VERSION "2.0.220110.5" #include "winrt/Windows.UI.Xaml.Automation.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.UI.Xaml.2.h" #include "winrt/impl/Windows.UI.Xaml.Automation.2.h" #include "winrt/impl/Windows.UI.Xaml.Automation.Provider.2.h" #include "winrt/impl/Windows.UI.Xaml.Controls.2.h" #include "winrt/impl/Windows.UI.Xaml.Controls.Primitives.2.h" #include "winrt/impl/Windows.UI.Xaml.Automation.Peers.2.h" namespace winrt::impl { template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AppBarAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAppBarAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IAppBarAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::AppBarAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AppBarButtonAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAppBarButtonAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IAppBarButtonAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::AppBarButtonAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AppBarToggleButtonAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAppBarToggleButtonAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IAppBarToggleButtonAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::AppBarToggleButtonAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutoSuggestBoxAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAutoSuggestBoxAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::AutoSuggestBox const& owner) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutoSuggestBoxAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::AutoSuggestBoxAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::EventsSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->get_EventsSource(&value)); return winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::EventsSource(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->put_EventsSource(*(void**)(&value))); } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetPattern(winrt::Windows::UI::Xaml::Automation::Peers::PatternInterface const& patternInterface) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetPattern(static_cast(patternInterface), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::RaiseAutomationEvent(winrt::Windows::UI::Xaml::Automation::Peers::AutomationEvents const& eventId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->RaiseAutomationEvent(static_cast(eventId))); } template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::RaisePropertyChangedEvent(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->RaisePropertyChangedEvent(*(void**)(&automationProperty), *(void**)(&oldValue), *(void**)(&newValue))); } template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetAcceleratorKey() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetAcceleratorKey(&result)); return hstring{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetAccessKey() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetAccessKey(&result)); return hstring{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationControlType) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetAutomationControlType() const { winrt::Windows::UI::Xaml::Automation::Peers::AutomationControlType result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetAutomationControlType(reinterpret_cast(&result))); return result; } template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetAutomationId() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetAutomationId(&result)); return hstring{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetBoundingRectangle() const { winrt::Windows::Foundation::Rect result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetBoundingRectangle(put_abi(result))); return result; } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetChildren() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetChildren(&result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetClassName() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetClassName(&result)); return hstring{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetClickablePoint() const { winrt::Windows::Foundation::Point result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetClickablePoint(put_abi(result))); return result; } template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetHelpText() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetHelpText(&result)); return hstring{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetItemStatus() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetItemStatus(&result)); return hstring{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetItemType() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetItemType(&result)); return hstring{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetLabeledBy() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetLabeledBy(&result)); return winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetLocalizedControlType() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetLocalizedControlType(&result)); return hstring{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetName() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetName(&result)); return hstring{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationOrientation) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetOrientation() const { winrt::Windows::UI::Xaml::Automation::Peers::AutomationOrientation result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetOrientation(reinterpret_cast(&result))); return result; } template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::HasKeyboardFocus() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->HasKeyboardFocus(&result)); return result; } template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::IsContentElement() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->IsContentElement(&result)); return result; } template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::IsControlElement() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->IsControlElement(&result)); return result; } template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::IsEnabled() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->IsEnabled(&result)); return result; } template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::IsKeyboardFocusable() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->IsKeyboardFocusable(&result)); return result; } template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::IsOffscreen() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->IsOffscreen(&result)); return result; } template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::IsPassword() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->IsPassword(&result)); return result; } template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::IsRequiredForForm() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->IsRequiredForForm(&result)); return result; } template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::SetFocus() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->SetFocus()); } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetParent() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetParent(&result)); return winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::InvalidatePeer() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->InvalidatePeer()); } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetPeerFromPoint(winrt::Windows::Foundation::Point const& point) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetPeerFromPoint(impl::bind_in(point), &result)); return winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationLiveSetting) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer::GetLiveSetting() const { winrt::Windows::UI::Xaml::Automation::Peers::AutomationLiveSetting result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer)->GetLiveSetting(reinterpret_cast(&result))); return result; } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::Navigate(winrt::Windows::UI::Xaml::Automation::Peers::AutomationNavigationDirection const& direction) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer3)->Navigate(static_cast(direction), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::GetElementFromPoint(winrt::Windows::Foundation::Point const& pointInWindowCoordinates) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer3)->GetElementFromPoint(impl::bind_in(pointInWindowCoordinates), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::GetFocusedElement() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer3)->GetFocusedElement(&result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::ShowContextMenu() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer3)->ShowContextMenu()); } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::GetControlledPeers() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer3)->GetControlledPeers(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::GetAnnotations() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer3)->GetAnnotations(&result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::SetParent(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& peer) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer3)->SetParent(*(void**)(&peer))); } template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::RaiseTextEditTextChangedEvent(winrt::Windows::UI::Xaml::Automation::AutomationTextEditChangeType const& automationTextEditChangeType, param::vector_view const& changedData) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer3)->RaiseTextEditTextChangedEvent(static_cast(automationTextEditChangeType), *(void**)(&changedData))); } template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::GetPositionInSet() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer3)->GetPositionInSet(&result)); return result; } template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::GetSizeOfSet() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer3)->GetSizeOfSet(&result)); return result; } template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::GetLevel() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer3)->GetLevel(&result)); return result; } template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer3::RaiseStructureChangedEvent(winrt::Windows::UI::Xaml::Automation::Peers::AutomationStructureChangeType const& structureChangeType, winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& child) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer3)->RaiseStructureChangedEvent(static_cast(structureChangeType), *(void**)(&child))); } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationLandmarkType) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer4::GetLandmarkType() const { winrt::Windows::UI::Xaml::Automation::Peers::AutomationLandmarkType result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer4)->GetLandmarkType(reinterpret_cast(&result))); return result; } template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer4::GetLocalizedLandmarkType() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer4)->GetLocalizedLandmarkType(&result)); return hstring{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer5::IsPeripheral() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer5)->IsPeripheral(&result)); return result; } template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer5::IsDataValidForForm() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer5)->IsDataValidForForm(&result)); return result; } template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer5::GetFullDescription() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer5)->GetFullDescription(&result)); return hstring{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer6::GetCulture() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer6)->GetCulture(&result)); return result; } template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer7::RaiseNotificationEvent(winrt::Windows::UI::Xaml::Automation::Peers::AutomationNotificationKind const& notificationKind, winrt::Windows::UI::Xaml::Automation::Peers::AutomationNotificationProcessing const& notificationProcessing, param::hstring const& displayString, param::hstring const& activityId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer7)->RaiseNotificationEvent(static_cast(notificationKind), static_cast(notificationProcessing), *(void**)(&displayString), *(void**)(&activityId))); } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationHeadingLevel) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer8::GetHeadingLevel() const { winrt::Windows::UI::Xaml::Automation::Peers::AutomationHeadingLevel result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer8)->GetHeadingLevel(reinterpret_cast(&result))); return result; } template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeer9::IsDialog() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeer9)->IsDialog(&result)); return result; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::AnnotationType) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotation::Type() const { winrt::Windows::UI::Xaml::Automation::AnnotationType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerAnnotation)->get_Type(reinterpret_cast(&value))); return value; } template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotation::Type(winrt::Windows::UI::Xaml::Automation::AnnotationType const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerAnnotation)->put_Type(static_cast(value))); } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotation::Peer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerAnnotation)->get_Peer(&value)); return winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotation::Peer(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerAnnotation)->put_Peer(*(void**)(&value))); } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeerAnnotation) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotationFactory::CreateInstance(winrt::Windows::UI::Xaml::Automation::AnnotationType const& type) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerAnnotationFactory)->CreateInstance(static_cast(type), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeerAnnotation{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeerAnnotation) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotationFactory::CreateWithPeerParameter(winrt::Windows::UI::Xaml::Automation::AnnotationType const& type, winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& peer) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerAnnotationFactory)->CreateWithPeerParameter(static_cast(type), *(void**)(&peer), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeerAnnotation{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotationStatics::TypeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerAnnotationStatics)->get_TypeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::DependencyProperty) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerAnnotationStatics::PeerProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerAnnotationStatics)->get_PeerProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_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::Windows::UI::Xaml::Automation::Peers::IAutomationPeerFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetPatternCore(winrt::Windows::UI::Xaml::Automation::Peers::PatternInterface const& patternInterface) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetPatternCore(static_cast(patternInterface), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetAcceleratorKeyCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetAcceleratorKeyCore(&result)); return hstring{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetAccessKeyCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetAccessKeyCore(&result)); return hstring{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationControlType) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetAutomationControlTypeCore() const { winrt::Windows::UI::Xaml::Automation::Peers::AutomationControlType result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetAutomationControlTypeCore(reinterpret_cast(&result))); return result; } template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetAutomationIdCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetAutomationIdCore(&result)); return hstring{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetBoundingRectangleCore() const { winrt::Windows::Foundation::Rect result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetBoundingRectangleCore(put_abi(result))); return result; } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetChildrenCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetChildrenCore(&result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetClassNameCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetClassNameCore(&result)); return hstring{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetClickablePointCore() const { winrt::Windows::Foundation::Point result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetClickablePointCore(put_abi(result))); return result; } template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetHelpTextCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetHelpTextCore(&result)); return hstring{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetItemStatusCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetItemStatusCore(&result)); return hstring{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetItemTypeCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetItemTypeCore(&result)); return hstring{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetLabeledByCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetLabeledByCore(&result)); return winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetLocalizedControlTypeCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetLocalizedControlTypeCore(&result)); return hstring{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetNameCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetNameCore(&result)); return hstring{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationOrientation) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetOrientationCore() const { winrt::Windows::UI::Xaml::Automation::Peers::AutomationOrientation result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetOrientationCore(reinterpret_cast(&result))); return result; } template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::HasKeyboardFocusCore() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->HasKeyboardFocusCore(&result)); return result; } template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::IsContentElementCore() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->IsContentElementCore(&result)); return result; } template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::IsControlElementCore() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->IsControlElementCore(&result)); return result; } template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::IsEnabledCore() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->IsEnabledCore(&result)); return result; } template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::IsKeyboardFocusableCore() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->IsKeyboardFocusableCore(&result)); return result; } template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::IsOffscreenCore() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->IsOffscreenCore(&result)); return result; } template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::IsPasswordCore() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->IsPasswordCore(&result)); return result; } template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::IsRequiredForFormCore() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->IsRequiredForFormCore(&result)); return result; } template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::SetFocusCore() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->SetFocusCore()); } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetPeerFromPointCore(winrt::Windows::Foundation::Point const& point) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetPeerFromPointCore(impl::bind_in(point), &result)); return winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationLiveSetting) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides::GetLiveSettingCore() const { winrt::Windows::UI::Xaml::Automation::Peers::AutomationLiveSetting result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides)->GetLiveSettingCore(reinterpret_cast(&result))); return result; } template WINRT_IMPL_AUTO(void) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides2::ShowContextMenuCore() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2)->ShowContextMenuCore()); } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides2::GetControlledPeersCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2)->GetControlledPeersCore(&result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3::NavigateCore(winrt::Windows::UI::Xaml::Automation::Peers::AutomationNavigationDirection const& direction) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3)->NavigateCore(static_cast(direction), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3::GetElementFromPointCore(winrt::Windows::Foundation::Point const& pointInWindowCoordinates) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3)->GetElementFromPointCore(impl::bind_in(pointInWindowCoordinates), &result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3::GetFocusedElementCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3)->GetFocusedElementCore(&result)); return winrt::Windows::Foundation::IInspectable{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3::GetAnnotationsCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3)->GetAnnotationsCore(&result)); return winrt::Windows::Foundation::Collections::IVector{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3::GetPositionInSetCore() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3)->GetPositionInSetCore(&result)); return result; } template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3::GetSizeOfSetCore() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3)->GetSizeOfSetCore(&result)); return result; } template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides3::GetLevelCore() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3)->GetLevelCore(&result)); return result; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationLandmarkType) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides4::GetLandmarkTypeCore() const { winrt::Windows::UI::Xaml::Automation::Peers::AutomationLandmarkType result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4)->GetLandmarkTypeCore(reinterpret_cast(&result))); return result; } template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides4::GetLocalizedLandmarkTypeCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4)->GetLocalizedLandmarkTypeCore(&result)); return hstring{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides5::IsPeripheralCore() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5)->IsPeripheralCore(&result)); return result; } template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides5::IsDataValidForFormCore() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5)->IsDataValidForFormCore(&result)); return result; } template WINRT_IMPL_AUTO(hstring) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides5::GetFullDescriptionCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5)->GetFullDescriptionCore(&result)); return hstring{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides5::GetDescribedByCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5)->GetDescribedByCore(&result)); return winrt::Windows::Foundation::Collections::IIterable{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides5::GetFlowsToCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5)->GetFlowsToCore(&result)); return winrt::Windows::Foundation::Collections::IIterable{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides5::GetFlowsFromCore() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5)->GetFlowsFromCore(&result)); return winrt::Windows::Foundation::Collections::IIterable{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(int32_t) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides6::GetCultureCore() const { int32_t result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6)->GetCultureCore(&result)); return result; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationHeadingLevel) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides8::GetHeadingLevelCore() const { winrt::Windows::UI::Xaml::Automation::Peers::AutomationHeadingLevel result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8)->GetHeadingLevelCore(reinterpret_cast(&result))); return result; } template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerOverrides9::IsDialogCore() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9)->IsDialogCore(&result)); return result; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerProtected::PeerFromProvider(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple const& provider) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerProtected)->PeerFromProvider(*(void**)(&provider), &result)); return winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerProtected::ProviderFromPeer(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer const& peer) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerProtected)->ProviderFromPeer(*(void**)(&peer), &result)); return winrt::Windows::UI::Xaml::Automation::Provider::IRawElementProviderSimple{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(bool) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerStatics::ListenerExists(winrt::Windows::UI::Xaml::Automation::Peers::AutomationEvents const& eventId) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerStatics)->ListenerExists(static_cast(eventId), &result)); return result; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::RawElementProviderRuntimeId) consume_Windows_UI_Xaml_Automation_Peers_IAutomationPeerStatics3::GenerateRawElementProviderRuntimeId() const { winrt::Windows::UI::Xaml::Automation::Peers::RawElementProviderRuntimeId result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerStatics3)->GenerateRawElementProviderRuntimeId(put_abi(result))); return result; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ButtonAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IButtonAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IButtonAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ButtonAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ButtonBaseAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IButtonBaseAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IButtonBaseAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ButtonBaseAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::CalendarDatePickerAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ICalendarDatePickerAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::ICalendarDatePickerAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::CalendarDatePickerAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::CaptureElementAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ICaptureElementAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::CaptureElement const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::ICaptureElementAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::CaptureElementAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::CheckBoxAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ICheckBoxAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::ICheckBoxAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::CheckBoxAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ColorPickerSliderAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IColorPickerSliderAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IColorPickerSliderAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ColorPickerSliderAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ColorSpectrumAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IColorSpectrumAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IColorSpectrumAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ColorSpectrumAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ComboBoxAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IComboBoxAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IComboBoxAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ComboBoxAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ComboBoxItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IComboBoxItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IComboBoxItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ComboBoxItemAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ComboBoxItemDataAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IComboBoxItemDataAutomationPeerFactory::CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IComboBoxItemDataAutomationPeerFactory)->CreateInstanceWithParentAndItem(*(void**)(&item), *(void**)(&parent), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ComboBoxItemDataAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::DatePickerAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IDatePickerAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IDatePickerAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::DatePickerAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::FlipViewAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IFlipViewAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IFlipViewAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::FlipViewAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::FlipViewItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IFlipViewItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IFlipViewItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::FlipViewItemAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::FlipViewItemDataAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IFlipViewItemDataAutomationPeerFactory::CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IFlipViewItemDataAutomationPeerFactory)->CreateInstanceWithParentAndItem(*(void**)(&item), *(void**)(&parent), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::FlipViewItemDataAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::FlyoutPresenterAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IFlyoutPresenterAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IFlyoutPresenterAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::FlyoutPresenterAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::UIElement) consume_Windows_UI_Xaml_Automation_Peers_IFrameworkElementAutomationPeer::Owner() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IFrameworkElementAutomationPeer)->get_Owner(&value)); return winrt::Windows::UI::Xaml::UIElement{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::FrameworkElementAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IFrameworkElementAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IFrameworkElementAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::FrameworkElementAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IFrameworkElementAutomationPeerStatics::FromElement(winrt::Windows::UI::Xaml::UIElement const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IFrameworkElementAutomationPeerStatics)->FromElement(*(void**)(&element), &result)); return winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IFrameworkElementAutomationPeerStatics::CreatePeerForElement(winrt::Windows::UI::Xaml::UIElement const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IFrameworkElementAutomationPeerStatics)->CreatePeerForElement(*(void**)(&element), &result)); return winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::GridViewAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IGridViewAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IGridViewAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::GridViewAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::GridViewHeaderItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IGridViewHeaderItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IGridViewHeaderItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::GridViewHeaderItemAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::GridViewItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IGridViewItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IGridViewItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::GridViewItemAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::GridViewItemDataAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IGridViewItemDataAutomationPeerFactory::CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IGridViewItemDataAutomationPeerFactory)->CreateInstanceWithParentAndItem(*(void**)(&item), *(void**)(&parent), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::GridViewItemDataAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::GroupItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IGroupItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IGroupItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::GroupItemAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::HubAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IHubAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IHubAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::HubAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::HubSectionAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IHubSectionAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IHubSectionAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::HubSectionAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::HyperlinkButtonAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IHyperlinkButtonAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IHyperlinkButtonAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::HyperlinkButtonAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ImageAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IImageAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IImageAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ImageAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) consume_Windows_UI_Xaml_Automation_Peers_IItemAutomationPeer::Item() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IItemAutomationPeer)->get_Item(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ItemsControlAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IItemAutomationPeer::ItemsControlAutomationPeer() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IItemAutomationPeer)->get_ItemsControlAutomationPeer(&value)); return winrt::Windows::UI::Xaml::Automation::Peers::ItemsControlAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IItemAutomationPeerFactory::CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IItemAutomationPeerFactory)->CreateInstanceWithParentAndItem(*(void**)(&item), *(void**)(&parent), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ItemAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IItemsControlAutomationPeer2::CreateItemAutomationPeer(winrt::Windows::Foundation::IInspectable const& item) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IItemsControlAutomationPeer2)->CreateItemAutomationPeer(*(void**)(&item), &result)); return winrt::Windows::UI::Xaml::Automation::Peers::ItemAutomationPeer{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ItemsControlAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IItemsControlAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IItemsControlAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ItemsControlAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IItemsControlAutomationPeerOverrides2::OnCreateItemAutomationPeer(winrt::Windows::Foundation::IInspectable const& item) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IItemsControlAutomationPeerOverrides2)->OnCreateItemAutomationPeer(*(void**)(&item), &result)); return winrt::Windows::UI::Xaml::Automation::Peers::ItemAutomationPeer{ result, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListBoxAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IListBoxAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IListBoxAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ListBoxAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListBoxItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IListBoxItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IListBoxItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ListBoxItemAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListBoxItemDataAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IListBoxItemDataAutomationPeerFactory::CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IListBoxItemDataAutomationPeerFactory)->CreateInstanceWithParentAndItem(*(void**)(&item), *(void**)(&parent), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ListBoxItemDataAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListViewAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IListViewAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IListViewAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ListViewAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListViewBaseAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IListViewBaseAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IListViewBaseAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ListViewBaseAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListViewBaseHeaderItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IListViewBaseHeaderItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IListViewBaseHeaderItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ListViewBaseHeaderItemAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListViewHeaderItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IListViewHeaderItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IListViewHeaderItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ListViewHeaderItemAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListViewItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IListViewItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IListViewItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ListViewItemAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ListViewItemDataAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IListViewItemDataAutomationPeerFactory::CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IListViewItemDataAutomationPeerFactory)->CreateInstanceWithParentAndItem(*(void**)(&item), *(void**)(&parent), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ListViewItemDataAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::MediaElementAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IMediaElementAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::MediaElement const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IMediaElementAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::MediaElementAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::MediaPlayerElementAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IMediaPlayerElementAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IMediaPlayerElementAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::MediaPlayerElementAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::MediaTransportControlsAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IMediaTransportControlsAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IMediaTransportControlsAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::MediaTransportControlsAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::MenuBarAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IMenuBarAutomationPeerFactory::CreateInstance(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IMenuBarAutomationPeerFactory)->CreateInstance(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::MenuBarAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::MenuBarItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IMenuBarItemAutomationPeerFactory::CreateInstance(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IMenuBarItemAutomationPeerFactory)->CreateInstance(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::MenuBarItemAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::MenuFlyoutItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IMenuFlyoutItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IMenuFlyoutItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::MenuFlyoutItemAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::MenuFlyoutPresenterAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IMenuFlyoutPresenterAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IMenuFlyoutPresenterAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::MenuFlyoutPresenterAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::NavigationViewItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_INavigationViewItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::INavigationViewItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::NavigationViewItemAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::PasswordBoxAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IPasswordBoxAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IPasswordBoxAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::PasswordBoxAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::PersonPictureAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IPersonPictureAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IPersonPictureAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::PersonPictureAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::PivotAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IPivotAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::Pivot const& owner) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IPivotAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::PivotAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::PivotItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IPivotItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::PivotItem const& owner) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IPivotItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::PivotItemAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::PivotItemDataAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IPivotItemDataAutomationPeerFactory::CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::UI::Xaml::Automation::Peers::PivotAutomationPeer const& parent) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::IPivotItemDataAutomationPeerFactory)->CreateInstanceWithParentAndItem(*(void**)(&item), *(void**)(&parent), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::PivotItemDataAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ProgressBarAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IProgressBarAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IProgressBarAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ProgressBarAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ProgressRingAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IProgressRingAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IProgressRingAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ProgressRingAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::RadioButtonAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IRadioButtonAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IRadioButtonAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::RadioButtonAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::RangeBaseAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IRangeBaseAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IRangeBaseAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::RangeBaseAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::RatingControlAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IRatingControlAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IRatingControlAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::RatingControlAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::RepeatButtonAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IRepeatButtonAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IRepeatButtonAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::RepeatButtonAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::RichEditBoxAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IRichEditBoxAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IRichEditBoxAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::RichEditBoxAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::RichTextBlockAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IRichTextBlockAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IRichTextBlockAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::RichTextBlockAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::RichTextBlockOverflowAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IRichTextBlockOverflowAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IRichTextBlockOverflowAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::RichTextBlockOverflowAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ScrollBarAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IScrollBarAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IScrollBarAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ScrollBarAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ScrollViewerAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IScrollViewerAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IScrollViewerAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ScrollViewerAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::SearchBoxAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ISearchBoxAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::SearchBox const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::ISearchBoxAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::SearchBoxAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::SelectorAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ISelectorAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::ISelectorAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::SelectorAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::SelectorItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ISelectorItemAutomationPeerFactory::CreateInstanceWithParentAndItem(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::ISelectorItemAutomationPeerFactory)->CreateInstanceWithParentAndItem(*(void**)(&item), *(void**)(&parent), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::SelectorItemAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::SemanticZoomAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ISemanticZoomAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::ISemanticZoomAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::SemanticZoomAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::SettingsFlyoutAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ISettingsFlyoutAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::UI::Xaml::Controls::SettingsFlyout const& owner, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Automation::Peers::ISettingsFlyoutAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::SettingsFlyoutAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::SliderAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ISliderAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::ISliderAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::SliderAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::TextBlockAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ITextBlockAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::ITextBlockAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::TextBlockAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::TextBoxAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ITextBoxAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::ITextBoxAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::TextBoxAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ThumbAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IThumbAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IThumbAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ThumbAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::TimePickerAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ITimePickerAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::ITimePickerAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::TimePickerAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ToggleButtonAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IToggleButtonAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IToggleButtonAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ToggleButtonAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ToggleMenuFlyoutItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IToggleMenuFlyoutItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IToggleMenuFlyoutItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ToggleMenuFlyoutItemAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ToggleSwitchAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_IToggleSwitchAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::IToggleSwitchAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::ToggleSwitchAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::TreeViewItemAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ITreeViewItemAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::ITreeViewItemAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::TreeViewItemAutomationPeer{ value, take_ownership_from_abi }; } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::TreeViewListAutomationPeer) consume_Windows_UI_Xaml_Automation_Peers_ITreeViewListAutomationPeerFactory::CreateInstanceWithOwner(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::ITreeViewListAutomationPeerFactory)->CreateInstanceWithOwner(*(void**)(&owner), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Automation::Peers::TreeViewListAutomationPeer{ 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 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 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 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(); } }; #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 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 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 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(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { 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(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { 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(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { 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(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { 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(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { 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(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { 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 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 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(); } }; template struct produce : produce_base { 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(); } }; template struct produce : produce_base { 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 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 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(); } }; template struct produce : produce_base { 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(); } }; template struct produce : produce_base { 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(); } }; template struct produce : produce_base { 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(); } }; template struct produce : produce_base { 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(); } }; template struct produce : produce_base { 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(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall GenerateRawElementProviderRuntimeId(struct struct_Windows_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 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 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 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 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 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 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 { }; #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 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 { }; #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 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 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 { 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 { }; #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 template struct __declspec(empty_bases) produce_dispatch_to_overridable : produce_dispatch_to_overridable_base { auto GetPatternCore(winrt::Windows::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 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 GetLiveSettingCore() { if (auto overridable = this->shim_overridable()) { return overridable.GetLiveSettingCore(); } return this->shim().GetLiveSettingCore(); } }; template struct __declspec(empty_bases) produce_dispatch_to_overridable : produce_dispatch_to_overridable_base { 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(); } }; template struct __declspec(empty_bases) produce_dispatch_to_overridable : produce_dispatch_to_overridable_base { auto NavigateCore(winrt::Windows::UI::Xaml::Automation::Peers::AutomationNavigationDirection const& direction) { if (auto overridable = this->shim_overridable()) { return overridable.NavigateCore(direction); } return this->shim().NavigateCore(direction); } 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 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(); } }; template struct __declspec(empty_bases) produce_dispatch_to_overridable : produce_dispatch_to_overridable_base { 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(); } }; template struct __declspec(empty_bases) produce_dispatch_to_overridable : produce_dispatch_to_overridable_base { 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(); } }; template struct __declspec(empty_bases) produce_dispatch_to_overridable : produce_dispatch_to_overridable_base { auto GetCultureCore() { if (auto overridable = this->shim_overridable()) { return overridable.GetCultureCore(); } return this->shim().GetCultureCore(); } }; template struct __declspec(empty_bases) produce_dispatch_to_overridable : produce_dispatch_to_overridable_base { auto GetHeadingLevelCore() { if (auto overridable = this->shim_overridable()) { return overridable.GetHeadingLevelCore(); } return this->shim().GetHeadingLevelCore(); } }; template struct __declspec(empty_bases) produce_dispatch_to_overridable : produce_dispatch_to_overridable_base { auto IsDialogCore() { if (auto overridable = this->shim_overridable()) { return overridable.IsDialogCore(); } return this->shim().IsDialogCore(); } }; template struct __declspec(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::Windows::UI::Xaml::Automation::Peers { inline AppBarAutomationPeer::AppBarAutomationPeer(winrt::Windows::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::Windows::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::Windows::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::Windows::UI::Xaml::Controls::AutoSuggestBox const& owner) : AutoSuggestBoxAutomationPeer(impl::call_factory([&](IAutoSuggestBoxAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner); })) { } inline auto AutomationPeer::ListenerExists(winrt::Windows::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([](IAutomationPeerStatics3 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::Windows::UI::Xaml::Automation::AnnotationType const& type) : AutomationPeerAnnotation(impl::call_factory([&](IAutomationPeerAnnotationFactory const& f) { return f.CreateInstance(type); })) { } inline AutomationPeerAnnotation::AutomationPeerAnnotation(winrt::Windows::UI::Xaml::Automation::AnnotationType const& type, winrt::Windows::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 ButtonAutomationPeer::ButtonAutomationPeer(winrt::Windows::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::Windows::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 CaptureElementAutomationPeer::CaptureElementAutomationPeer(winrt::Windows::UI::Xaml::Controls::CaptureElement const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ICaptureElementAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline CheckBoxAutomationPeer::CheckBoxAutomationPeer(winrt::Windows::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::Windows::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::Windows::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::Windows::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::Windows::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::Windows::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::Windows::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 FlipViewAutomationPeer::FlipViewAutomationPeer(winrt::Windows::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::Windows::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::Windows::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::Windows::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::Windows::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::Windows::UI::Xaml::UIElement const& element) { return impl::call_factory([&](IFrameworkElementAutomationPeerStatics const& f) { return f.FromElement(element); }); } inline auto FrameworkElementAutomationPeer::CreatePeerForElement(winrt::Windows::UI::Xaml::UIElement const& element) { return impl::call_factory([&](IFrameworkElementAutomationPeerStatics const& f) { return f.CreatePeerForElement(element); }); } inline GridViewAutomationPeer::GridViewAutomationPeer(winrt::Windows::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::Windows::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::Windows::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::Windows::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::Windows::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::Windows::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::Windows::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::Windows::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::Windows::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 ItemAutomationPeer::ItemAutomationPeer(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::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 ItemsControlAutomationPeer::ItemsControlAutomationPeer(winrt::Windows::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 ListBoxAutomationPeer::ListBoxAutomationPeer(winrt::Windows::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::Windows::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::Windows::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::Windows::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::Windows::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::Windows::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::Windows::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::Windows::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 MediaElementAutomationPeer::MediaElementAutomationPeer(winrt::Windows::UI::Xaml::Controls::MediaElement const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IMediaElementAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline MediaPlayerElementAutomationPeer::MediaPlayerElementAutomationPeer(winrt::Windows::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::Windows::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::Windows::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::Windows::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::Windows::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::Windows::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 NavigationViewItemAutomationPeer::NavigationViewItemAutomationPeer(winrt::Windows::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 PasswordBoxAutomationPeer::PasswordBoxAutomationPeer(winrt::Windows::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::Windows::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 PivotAutomationPeer::PivotAutomationPeer(winrt::Windows::UI::Xaml::Controls::Pivot const& owner) : PivotAutomationPeer(impl::call_factory([&](IPivotAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner); })) { } inline PivotItemAutomationPeer::PivotItemAutomationPeer(winrt::Windows::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::Windows::UI::Xaml::Automation::Peers::PivotAutomationPeer const& parent) : PivotItemDataAutomationPeer(impl::call_factory([&](IPivotItemDataAutomationPeerFactory const& f) { return f.CreateInstanceWithParentAndItem(item, parent); })) { } inline ProgressBarAutomationPeer::ProgressBarAutomationPeer(winrt::Windows::UI::Xaml::Controls::ProgressBar const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IProgressBarAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline ProgressRingAutomationPeer::ProgressRingAutomationPeer(winrt::Windows::UI::Xaml::Controls::ProgressRing const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IProgressRingAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline RadioButtonAutomationPeer::RadioButtonAutomationPeer(winrt::Windows::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 RangeBaseAutomationPeer::RangeBaseAutomationPeer(winrt::Windows::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::Windows::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::Windows::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 RichEditBoxAutomationPeer::RichEditBoxAutomationPeer(winrt::Windows::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::Windows::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::Windows::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::Windows::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 ScrollViewerAutomationPeer::ScrollViewerAutomationPeer(winrt::Windows::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 SearchBoxAutomationPeer::SearchBoxAutomationPeer(winrt::Windows::UI::Xaml::Controls::SearchBox const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ISearchBoxAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline SelectorAutomationPeer::SelectorAutomationPeer(winrt::Windows::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 SelectorItemAutomationPeer::SelectorItemAutomationPeer(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::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::Windows::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 SettingsFlyoutAutomationPeer::SettingsFlyoutAutomationPeer(winrt::Windows::UI::Xaml::Controls::SettingsFlyout const& owner) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ISettingsFlyoutAutomationPeerFactory const& f) { return f.CreateInstanceWithOwner(owner, baseInterface, innerInterface); }); } inline SliderAutomationPeer::SliderAutomationPeer(winrt::Windows::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 TextBlockAutomationPeer::TextBlockAutomationPeer(winrt::Windows::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::Windows::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::Windows::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::Windows::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::Windows::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::Windows::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 ToggleSwitchAutomationPeer::ToggleSwitchAutomationPeer(winrt::Windows::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::Windows::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 TreeViewListAutomationPeer::TreeViewListAutomationPeer(winrt::Windows::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); }); } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) IAutomationPeerOverridesT::GetPatternCore(winrt::Windows::UI::Xaml::Automation::Peers::PatternInterface const& patternInterface) const { return shim().template try_as().GetPatternCore(patternInterface); } template WINRT_IMPL_AUTO(hstring) IAutomationPeerOverridesT::GetAcceleratorKeyCore() const { return shim().template try_as().GetAcceleratorKeyCore(); } template WINRT_IMPL_AUTO(hstring) IAutomationPeerOverridesT::GetAccessKeyCore() const { return shim().template try_as().GetAccessKeyCore(); } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationControlType) IAutomationPeerOverridesT::GetAutomationControlTypeCore() const { return shim().template try_as().GetAutomationControlTypeCore(); } template WINRT_IMPL_AUTO(hstring) IAutomationPeerOverridesT::GetAutomationIdCore() const { return shim().template try_as().GetAutomationIdCore(); } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Rect) IAutomationPeerOverridesT::GetBoundingRectangleCore() const { return shim().template try_as().GetBoundingRectangleCore(); } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) IAutomationPeerOverridesT::GetChildrenCore() const { return shim().template try_as().GetChildrenCore(); } template WINRT_IMPL_AUTO(hstring) IAutomationPeerOverridesT::GetClassNameCore() const { return shim().template try_as().GetClassNameCore(); } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Point) IAutomationPeerOverridesT::GetClickablePointCore() const { return shim().template try_as().GetClickablePointCore(); } template WINRT_IMPL_AUTO(hstring) IAutomationPeerOverridesT::GetHelpTextCore() const { return shim().template try_as().GetHelpTextCore(); } template WINRT_IMPL_AUTO(hstring) IAutomationPeerOverridesT::GetItemStatusCore() const { return shim().template try_as().GetItemStatusCore(); } template WINRT_IMPL_AUTO(hstring) IAutomationPeerOverridesT::GetItemTypeCore() const { return shim().template try_as().GetItemTypeCore(); } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) IAutomationPeerOverridesT::GetLabeledByCore() const { return shim().template try_as().GetLabeledByCore(); } template WINRT_IMPL_AUTO(hstring) IAutomationPeerOverridesT::GetLocalizedControlTypeCore() const { return shim().template try_as().GetLocalizedControlTypeCore(); } template WINRT_IMPL_AUTO(hstring) IAutomationPeerOverridesT::GetNameCore() const { return shim().template try_as().GetNameCore(); } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationOrientation) IAutomationPeerOverridesT::GetOrientationCore() const { return shim().template try_as().GetOrientationCore(); } template WINRT_IMPL_AUTO(bool) IAutomationPeerOverridesT::HasKeyboardFocusCore() const { return shim().template try_as().HasKeyboardFocusCore(); } template WINRT_IMPL_AUTO(bool) IAutomationPeerOverridesT::IsContentElementCore() const { return shim().template try_as().IsContentElementCore(); } template WINRT_IMPL_AUTO(bool) IAutomationPeerOverridesT::IsControlElementCore() const { return shim().template try_as().IsControlElementCore(); } template WINRT_IMPL_AUTO(bool) IAutomationPeerOverridesT::IsEnabledCore() const { return shim().template try_as().IsEnabledCore(); } template WINRT_IMPL_AUTO(bool) IAutomationPeerOverridesT::IsKeyboardFocusableCore() const { return shim().template try_as().IsKeyboardFocusableCore(); } template WINRT_IMPL_AUTO(bool) IAutomationPeerOverridesT::IsOffscreenCore() const { return shim().template try_as().IsOffscreenCore(); } template WINRT_IMPL_AUTO(bool) IAutomationPeerOverridesT::IsPasswordCore() const { return shim().template try_as().IsPasswordCore(); } template WINRT_IMPL_AUTO(bool) IAutomationPeerOverridesT::IsRequiredForFormCore() const { return shim().template try_as().IsRequiredForFormCore(); } template WINRT_IMPL_AUTO(void) IAutomationPeerOverridesT::SetFocusCore() const { return shim().template try_as().SetFocusCore(); } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationPeer) IAutomationPeerOverridesT::GetPeerFromPointCore(winrt::Windows::Foundation::Point const& point) const { return shim().template try_as().GetPeerFromPointCore(point); } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationLiveSetting) IAutomationPeerOverridesT::GetLiveSettingCore() const { return shim().template try_as().GetLiveSettingCore(); } template WINRT_IMPL_AUTO(void) IAutomationPeerOverrides2T::ShowContextMenuCore() const { return shim().template try_as().ShowContextMenuCore(); } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVectorView) IAutomationPeerOverrides2T::GetControlledPeersCore() const { return shim().template try_as().GetControlledPeersCore(); } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) IAutomationPeerOverrides3T::NavigateCore(winrt::Windows::UI::Xaml::Automation::Peers::AutomationNavigationDirection const& direction) const { return shim().template try_as().NavigateCore(direction); } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) IAutomationPeerOverrides3T::GetElementFromPointCore(winrt::Windows::Foundation::Point const& pointInWindowCoordinates) const { return shim().template try_as().GetElementFromPointCore(pointInWindowCoordinates); } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::IInspectable) IAutomationPeerOverrides3T::GetFocusedElementCore() const { return shim().template try_as().GetFocusedElementCore(); } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IVector) IAutomationPeerOverrides3T::GetAnnotationsCore() const { return shim().template try_as().GetAnnotationsCore(); } template WINRT_IMPL_AUTO(int32_t) IAutomationPeerOverrides3T::GetPositionInSetCore() const { return shim().template try_as().GetPositionInSetCore(); } template WINRT_IMPL_AUTO(int32_t) IAutomationPeerOverrides3T::GetSizeOfSetCore() const { return shim().template try_as().GetSizeOfSetCore(); } template WINRT_IMPL_AUTO(int32_t) IAutomationPeerOverrides3T::GetLevelCore() const { return shim().template try_as().GetLevelCore(); } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationLandmarkType) IAutomationPeerOverrides4T::GetLandmarkTypeCore() const { return shim().template try_as().GetLandmarkTypeCore(); } template WINRT_IMPL_AUTO(hstring) IAutomationPeerOverrides4T::GetLocalizedLandmarkTypeCore() const { return shim().template try_as().GetLocalizedLandmarkTypeCore(); } template WINRT_IMPL_AUTO(bool) IAutomationPeerOverrides5T::IsPeripheralCore() const { return shim().template try_as().IsPeripheralCore(); } template WINRT_IMPL_AUTO(bool) IAutomationPeerOverrides5T::IsDataValidForFormCore() const { return shim().template try_as().IsDataValidForFormCore(); } template WINRT_IMPL_AUTO(hstring) IAutomationPeerOverrides5T::GetFullDescriptionCore() const { return shim().template try_as().GetFullDescriptionCore(); } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) IAutomationPeerOverrides5T::GetDescribedByCore() const { return shim().template try_as().GetDescribedByCore(); } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) IAutomationPeerOverrides5T::GetFlowsToCore() const { return shim().template try_as().GetFlowsToCore(); } template WINRT_IMPL_AUTO(winrt::Windows::Foundation::Collections::IIterable) IAutomationPeerOverrides5T::GetFlowsFromCore() const { return shim().template try_as().GetFlowsFromCore(); } template WINRT_IMPL_AUTO(int32_t) IAutomationPeerOverrides6T::GetCultureCore() const { return shim().template try_as().GetCultureCore(); } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::AutomationHeadingLevel) IAutomationPeerOverrides8T::GetHeadingLevelCore() const { return shim().template try_as().GetHeadingLevelCore(); } template WINRT_IMPL_AUTO(bool) IAutomationPeerOverrides9T::IsDialogCore() const { return shim().template try_as().IsDialogCore(); } template WINRT_IMPL_AUTO(winrt::Windows::UI::Xaml::Automation::Peers::ItemAutomationPeer) IItemsControlAutomationPeerOverrides2T::OnCreateItemAutomationPeer(winrt::Windows::Foundation::IInspectable const& item) const { return shim().template try_as().OnCreateItemAutomationPeer(item); } template struct AppBarAutomationPeerT : implements, impl::require, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = AppBarAutomationPeer; protected: AppBarAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = AppBarButtonAutomationPeer; protected: AppBarButtonAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = AppBarToggleButtonAutomationPeer; protected: AppBarToggleButtonAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = AutomationPeer; protected: AutomationPeerT() { impl::call_factory([&](IAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct ButtonAutomationPeerT : implements, impl::require, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = ButtonAutomationPeer; protected: ButtonAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = ButtonBaseAutomationPeer; protected: ButtonBaseAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = CalendarDatePickerAutomationPeer; protected: CalendarDatePickerAutomationPeerT(winrt::Windows::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 CaptureElementAutomationPeerT : implements, impl::require, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = CaptureElementAutomationPeer; protected: CaptureElementAutomationPeerT(winrt::Windows::UI::Xaml::Controls::CaptureElement const& owner) { impl::call_factory([&](ICaptureElementAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct CheckBoxAutomationPeerT : implements, impl::require, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = CheckBoxAutomationPeer; protected: CheckBoxAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = ColorPickerSliderAutomationPeer; protected: ColorPickerSliderAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = ColorSpectrumAutomationPeer; protected: ColorSpectrumAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IItemsControlAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = ComboBoxAutomationPeer; protected: ComboBoxAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = ComboBoxItemAutomationPeer; protected: ComboBoxItemAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = ComboBoxItemDataAutomationPeer; protected: ComboBoxItemDataAutomationPeerT(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = DatePickerAutomationPeer; protected: DatePickerAutomationPeerT(winrt::Windows::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 FlipViewAutomationPeerT : implements, impl::require, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IItemsControlAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = FlipViewAutomationPeer; protected: FlipViewAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = FlipViewItemAutomationPeer; protected: FlipViewItemAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = FlipViewItemDataAutomationPeer; protected: FlipViewItemDataAutomationPeerT(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = FlyoutPresenterAutomationPeer; protected: FlyoutPresenterAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = FrameworkElementAutomationPeer; protected: FrameworkElementAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IItemsControlAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = GridViewAutomationPeer; protected: GridViewAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = GridViewHeaderItemAutomationPeer; protected: GridViewHeaderItemAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = GridViewItemAutomationPeer; protected: GridViewItemAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = GridViewItemDataAutomationPeer; protected: GridViewItemDataAutomationPeerT(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = GroupItemAutomationPeer; protected: GroupItemAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = HubAutomationPeer; protected: HubAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = HubSectionAutomationPeer; protected: HubSectionAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = HyperlinkButtonAutomationPeer; protected: HyperlinkButtonAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = ImageAutomationPeer; protected: ImageAutomationPeerT(winrt::Windows::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 ItemAutomationPeerT : implements, impl::require, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = ItemAutomationPeer; protected: ItemAutomationPeerT(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::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 ItemsControlAutomationPeerT : implements, impl::require, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IItemsControlAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = ItemsControlAutomationPeer; protected: ItemsControlAutomationPeerT(winrt::Windows::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 ListBoxAutomationPeerT : implements, impl::require, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IItemsControlAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = ListBoxAutomationPeer; protected: ListBoxAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = ListBoxItemAutomationPeer; protected: ListBoxItemAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = ListBoxItemDataAutomationPeer; protected: ListBoxItemDataAutomationPeerT(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IItemsControlAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = ListViewAutomationPeer; protected: ListViewAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IItemsControlAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = ListViewBaseAutomationPeer; protected: ListViewBaseAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = ListViewBaseHeaderItemAutomationPeer; protected: ListViewBaseHeaderItemAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = ListViewHeaderItemAutomationPeer; protected: ListViewHeaderItemAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = ListViewItemAutomationPeer; protected: ListViewItemAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = ListViewItemDataAutomationPeer; protected: ListViewItemDataAutomationPeerT(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::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 MediaElementAutomationPeerT : implements, impl::require, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = MediaElementAutomationPeer; protected: MediaElementAutomationPeerT(winrt::Windows::UI::Xaml::Controls::MediaElement const& owner) { impl::call_factory([&](IMediaElementAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct MediaPlayerElementAutomationPeerT : implements, impl::require, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = MediaPlayerElementAutomationPeer; protected: MediaPlayerElementAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = MediaTransportControlsAutomationPeer; protected: MediaTransportControlsAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = MenuBarAutomationPeer; protected: MenuBarAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = MenuBarItemAutomationPeer; protected: MenuBarItemAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = MenuFlyoutItemAutomationPeer; protected: MenuFlyoutItemAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IItemsControlAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = MenuFlyoutPresenterAutomationPeer; protected: MenuFlyoutPresenterAutomationPeerT(winrt::Windows::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 NavigationViewItemAutomationPeerT : implements, impl::require, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = NavigationViewItemAutomationPeer; protected: NavigationViewItemAutomationPeerT(winrt::Windows::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 PasswordBoxAutomationPeerT : implements, impl::require, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = PasswordBoxAutomationPeer; protected: PasswordBoxAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = PersonPictureAutomationPeer; protected: PersonPictureAutomationPeerT(winrt::Windows::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 ProgressBarAutomationPeerT : implements, impl::require, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = ProgressBarAutomationPeer; protected: ProgressBarAutomationPeerT(winrt::Windows::UI::Xaml::Controls::ProgressBar const& owner) { impl::call_factory([&](IProgressBarAutomationPeerFactory 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 ProgressRingAutomationPeerT : implements, impl::require, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = ProgressRingAutomationPeer; protected: ProgressRingAutomationPeerT(winrt::Windows::UI::Xaml::Controls::ProgressRing const& owner) { impl::call_factory([&](IProgressRingAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct RadioButtonAutomationPeerT : implements, impl::require, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = RadioButtonAutomationPeer; protected: RadioButtonAutomationPeerT(winrt::Windows::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 RangeBaseAutomationPeerT : implements, impl::require, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = RangeBaseAutomationPeer; protected: RangeBaseAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = RatingControlAutomationPeer; protected: RatingControlAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = RepeatButtonAutomationPeer; protected: RepeatButtonAutomationPeerT(winrt::Windows::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 RichEditBoxAutomationPeerT : implements, impl::require, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = RichEditBoxAutomationPeer; protected: RichEditBoxAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = RichTextBlockAutomationPeer; protected: RichTextBlockAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = RichTextBlockOverflowAutomationPeer; protected: RichTextBlockOverflowAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = ScrollBarAutomationPeer; protected: ScrollBarAutomationPeerT(winrt::Windows::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 ScrollViewerAutomationPeerT : implements, impl::require, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = ScrollViewerAutomationPeer; protected: ScrollViewerAutomationPeerT(winrt::Windows::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 SearchBoxAutomationPeerT : implements, impl::require, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = SearchBoxAutomationPeer; protected: SearchBoxAutomationPeerT(winrt::Windows::UI::Xaml::Controls::SearchBox const& owner) { impl::call_factory([&](ISearchBoxAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct SelectorAutomationPeerT : implements, impl::require, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IItemsControlAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = SelectorAutomationPeer; protected: SelectorAutomationPeerT(winrt::Windows::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 SelectorItemAutomationPeerT : implements, impl::require, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = SelectorItemAutomationPeer; protected: SelectorItemAutomationPeerT(winrt::Windows::Foundation::IInspectable const& item, winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = SemanticZoomAutomationPeer; protected: SemanticZoomAutomationPeerT(winrt::Windows::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 SettingsFlyoutAutomationPeerT : implements, impl::require, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = SettingsFlyoutAutomationPeer; protected: SettingsFlyoutAutomationPeerT(winrt::Windows::UI::Xaml::Controls::SettingsFlyout const& owner) { impl::call_factory([&](ISettingsFlyoutAutomationPeerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithOwner(owner, *this, this->m_inner); }); } }; template struct SliderAutomationPeerT : implements, impl::require, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = SliderAutomationPeer; protected: SliderAutomationPeerT(winrt::Windows::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 TextBlockAutomationPeerT : implements, impl::require, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = TextBlockAutomationPeer; protected: TextBlockAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = TextBoxAutomationPeer; protected: TextBoxAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = ThumbAutomationPeer; protected: ThumbAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = TimePickerAutomationPeer; protected: TimePickerAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = ToggleButtonAutomationPeer; protected: ToggleButtonAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = ToggleMenuFlyoutItemAutomationPeer; protected: ToggleMenuFlyoutItemAutomationPeerT(winrt::Windows::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 ToggleSwitchAutomationPeerT : implements, impl::require, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = ToggleSwitchAutomationPeer; protected: ToggleSwitchAutomationPeerT(winrt::Windows::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, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = TreeViewItemAutomationPeer; protected: TreeViewItemAutomationPeerT(winrt::Windows::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 TreeViewListAutomationPeerT : implements, impl::require, impl::base, winrt::Windows::UI::Xaml::Automation::Peers::IItemsControlAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverridesT, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides2T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides3T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides4T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides5T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides6T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides8T, winrt::Windows::UI::Xaml::Automation::Peers::IAutomationPeerOverrides9T { using composable = TreeViewListAutomationPeer; protected: TreeViewListAutomationPeerT(winrt::Windows::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); }); } }; } 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 {}; #endif #ifdef __cpp_lib_format #endif } #endif