// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #pragma once #ifndef WINRT_Windows_UI_Xaml_Controls_Maps_H #define WINRT_Windows_UI_Xaml_Controls_Maps_H #include "winrt/base.h" static_assert(winrt::check_version(CPPWINRT_VERSION, "2.0.240405.15"), "Mismatched C++/WinRT headers."); #define CPPWINRT_VERSION "2.0.240405.15" #include "winrt/Windows.UI.Xaml.Controls.h" #include "winrt/impl/Windows.Devices.Geolocation.2.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Foundation.Numerics.2.h" #include "winrt/impl/Windows.Services.Maps.2.h" #include "winrt/impl/Windows.Services.Maps.LocalSearch.2.h" #include "winrt/impl/Windows.Storage.Streams.2.h" #include "winrt/impl/Windows.UI.2.h" #include "winrt/impl/Windows.UI.Composition.2.h" #include "winrt/impl/Windows.UI.Xaml.2.h" #include "winrt/impl/Windows.UI.Xaml.Controls.2.h" #include "winrt/impl/Windows.UI.Xaml.Controls.Maps.2.h" namespace winrt::impl { template auto consume_Windows_UI_Xaml_Controls_Maps_ICustomMapTileDataSource::BitmapRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::ICustomMapTileDataSource)->add_BitmapRequested(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Controls_Maps_ICustomMapTileDataSource::BitmapRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, BitmapRequested(handler)); } template auto consume_Windows_UI_Xaml_Controls_Maps_ICustomMapTileDataSource::BitmapRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::ICustomMapTileDataSource)->remove_BitmapRequested(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Controls_Maps_ICustomMapTileDataSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::ICustomMapTileDataSourceFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::CustomMapTileDataSource{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource::UriFormatString() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IHttpMapTileDataSource)->get_UriFormatString(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource::UriFormatString(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IHttpMapTileDataSource)->put_UriFormatString(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource::AdditionalRequestHeaders() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IHttpMapTileDataSource)->get_AdditionalRequestHeaders(&value)); return winrt::Windows::Foundation::Collections::IMap{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource::AllowCaching() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IHttpMapTileDataSource)->get_AllowCaching(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource::AllowCaching(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IHttpMapTileDataSource)->put_AllowCaching(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource::UriRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IHttpMapTileDataSource)->add_UriRequested(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource::UriRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, UriRequested(handler)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSource::UriRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IHttpMapTileDataSource)->remove_UriRequested(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IHttpMapTileDataSourceFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::HttpMapTileDataSource{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IHttpMapTileDataSourceFactory::CreateInstanceWithUriFormatString(param::hstring const& uriFormatString, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IHttpMapTileDataSourceFactory)->CreateInstanceWithUriFormatString(*(void**)(&uriFormatString), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::HttpMapTileDataSource{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSource::UriFormatString() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::ILocalMapTileDataSource)->get_UriFormatString(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSource::UriFormatString(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::ILocalMapTileDataSource)->put_UriFormatString(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSource::UriRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::ILocalMapTileDataSource)->add_UriRequested(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSource::UriRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, UriRequested(handler)); } template auto consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSource::UriRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::ILocalMapTileDataSource)->remove_UriRequested(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::ILocalMapTileDataSourceFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::LocalMapTileDataSource{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_ILocalMapTileDataSourceFactory::CreateInstanceWithUriFormatString(param::hstring const& uriFormatString, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::ILocalMapTileDataSourceFactory)->CreateInstanceWithUriFormatString(*(void**)(&uriFormatString), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::LocalMapTileDataSource{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapActualCameraChangedEventArgs::Camera() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapActualCameraChangedEventArgs)->get_Camera(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapCamera{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapActualCameraChangedEventArgs2::ChangeReason() const { winrt::Windows::UI::Xaml::Controls::Maps::MapCameraChangeReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapActualCameraChangedEventArgs2)->get_ChangeReason(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapActualCameraChangingEventArgs::Camera() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapActualCameraChangingEventArgs)->get_Camera(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapCamera{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapActualCameraChangingEventArgs2::ChangeReason() const { winrt::Windows::UI::Xaml::Controls::Maps::MapCameraChangeReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapActualCameraChangingEventArgs2)->get_ChangeReason(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapBillboard)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard::Location(winrt::Windows::Devices::Geolocation::Geopoint const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapBillboard)->put_Location(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard::NormalizedAnchorPoint() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapBillboard)->get_NormalizedAnchorPoint(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard::NormalizedAnchorPoint(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapBillboard)->put_NormalizedAnchorPoint(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard::Image() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapBillboard)->get_Image(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard::Image(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapBillboard)->put_Image(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard::CollisionBehaviorDesired() const { winrt::Windows::UI::Xaml::Controls::Maps::MapElementCollisionBehavior value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapBillboard)->get_CollisionBehaviorDesired(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard::CollisionBehaviorDesired(winrt::Windows::UI::Xaml::Controls::Maps::MapElementCollisionBehavior const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapBillboard)->put_CollisionBehaviorDesired(static_cast(value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboard::ReferenceCamera() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapBillboard)->get_ReferenceCamera(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapCamera{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboardFactory::CreateInstanceFromCamera(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera const& camera) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapBillboardFactory)->CreateInstanceFromCamera(*(void**)(&camera), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapBillboard{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboardStatics::LocationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapBillboardStatics)->get_LocationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboardStatics::NormalizedAnchorPointProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapBillboardStatics)->get_NormalizedAnchorPointProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapBillboardStatics::CollisionBehaviorDesiredProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapBillboardStatics)->get_CollisionBehaviorDesiredProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapCamera::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCamera)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapCamera::Location(winrt::Windows::Devices::Geolocation::Geopoint const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCamera)->put_Location(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapCamera::Heading() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCamera)->get_Heading(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapCamera::Heading(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCamera)->put_Heading(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapCamera::Pitch() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCamera)->get_Pitch(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapCamera::Pitch(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCamera)->put_Pitch(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapCamera::Roll() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCamera)->get_Roll(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapCamera::Roll(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCamera)->put_Roll(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapCamera::FieldOfView() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCamera)->get_FieldOfView(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapCamera::FieldOfView(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCamera)->put_FieldOfView(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapCameraFactory::CreateInstanceWithLocation(winrt::Windows::Devices::Geolocation::Geopoint const& location) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCameraFactory)->CreateInstanceWithLocation(*(void**)(&location), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapCamera{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapCameraFactory::CreateInstanceWithLocationAndHeading(winrt::Windows::Devices::Geolocation::Geopoint const& location, double headingInDegrees) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCameraFactory)->CreateInstanceWithLocationAndHeading(*(void**)(&location), headingInDegrees, &value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapCamera{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapCameraFactory::CreateInstanceWithLocationHeadingAndPitch(winrt::Windows::Devices::Geolocation::Geopoint const& location, double headingInDegrees, double pitchInDegrees) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCameraFactory)->CreateInstanceWithLocationHeadingAndPitch(*(void**)(&location), headingInDegrees, pitchInDegrees, &value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapCamera{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapCameraFactory::CreateInstanceWithLocationHeadingPitchRollAndFieldOfView(winrt::Windows::Devices::Geolocation::Geopoint const& location, double headingInDegrees, double pitchInDegrees, double rollInDegrees, double fieldOfViewInDegrees) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCameraFactory)->CreateInstanceWithLocationHeadingPitchRollAndFieldOfView(*(void**)(&location), headingInDegrees, pitchInDegrees, rollInDegrees, fieldOfViewInDegrees, &value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapCamera{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapContextRequestedEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapContextRequestedEventArgs)->get_Position(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapContextRequestedEventArgs::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapContextRequestedEventArgs)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapContextRequestedEventArgs::MapElements() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapContextRequestedEventArgs)->get_MapElements(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::Center() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_Center(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::Center(winrt::Windows::Devices::Geolocation::Geopoint const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->put_Center(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::Children() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_Children(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::ColorScheme() const { winrt::Windows::UI::Xaml::Controls::Maps::MapColorScheme value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_ColorScheme(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::ColorScheme(winrt::Windows::UI::Xaml::Controls::Maps::MapColorScheme const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->put_ColorScheme(static_cast(value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::DesiredPitch() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_DesiredPitch(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::DesiredPitch(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->put_DesiredPitch(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::Heading() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_Heading(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::Heading(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->put_Heading(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::LandmarksVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_LandmarksVisible(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::LandmarksVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->put_LandmarksVisible(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::LoadingStatus() const { winrt::Windows::UI::Xaml::Controls::Maps::MapLoadingStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_LoadingStatus(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapServiceToken() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_MapServiceToken(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapServiceToken(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->put_MapServiceToken(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MaxZoomLevel() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_MaxZoomLevel(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MinZoomLevel() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_MinZoomLevel(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::PedestrianFeaturesVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_PedestrianFeaturesVisible(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::PedestrianFeaturesVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->put_PedestrianFeaturesVisible(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::Pitch() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_Pitch(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::Style() const { winrt::Windows::UI::Xaml::Controls::Maps::MapStyle value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_Style(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::Style(winrt::Windows::UI::Xaml::Controls::Maps::MapStyle const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->put_Style(static_cast(value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TrafficFlowVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_TrafficFlowVisible(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TrafficFlowVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->put_TrafficFlowVisible(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TransformOrigin() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_TransformOrigin(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TransformOrigin(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->put_TransformOrigin(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::WatermarkMode() const { winrt::Windows::UI::Xaml::Controls::Maps::MapWatermarkMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_WatermarkMode(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::WatermarkMode(winrt::Windows::UI::Xaml::Controls::Maps::MapWatermarkMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->put_WatermarkMode(static_cast(value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::ZoomLevel() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_ZoomLevel(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::ZoomLevel(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->put_ZoomLevel(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapElements() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_MapElements(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::Routes() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_Routes(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TileSources() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->get_TileSources(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::CenterChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->add_CenterChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::CenterChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CenterChanged(handler)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::CenterChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->remove_CenterChanged(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::HeadingChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->add_HeadingChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::HeadingChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, HeadingChanged(handler)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::HeadingChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->remove_HeadingChanged(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::LoadingStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->add_LoadingStatusChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::LoadingStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, LoadingStatusChanged(handler)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::LoadingStatusChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->remove_LoadingStatusChanged(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapDoubleTapped(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->add_MapDoubleTapped(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapDoubleTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MapDoubleTapped(handler)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapDoubleTapped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->remove_MapDoubleTapped(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapHolding(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->add_MapHolding(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapHolding(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MapHolding(handler)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapHolding(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->remove_MapHolding(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapTapped(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->add_MapTapped(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MapTapped(handler)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::MapTapped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->remove_MapTapped(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::PitchChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->add_PitchChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::PitchChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, PitchChanged(handler)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::PitchChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->remove_PitchChanged(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TransformOriginChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->add_TransformOriginChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TransformOriginChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TransformOriginChanged(handler)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TransformOriginChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->remove_TransformOriginChanged(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::ZoomLevelChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->add_ZoomLevelChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::ZoomLevelChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ZoomLevelChanged(handler)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::ZoomLevelChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->remove_ZoomLevelChanged(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::FindMapElementsAtOffset(winrt::Windows::Foundation::Point const& offset) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->FindMapElementsAtOffset(impl::bind_in(offset), &result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::GetLocationFromOffset(winrt::Windows::Foundation::Point const& offset, winrt::Windows::Devices::Geolocation::Geopoint& location) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->GetLocationFromOffset(impl::bind_in(offset), impl::bind_out(location))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::GetOffsetFromLocation(winrt::Windows::Devices::Geolocation::Geopoint const& location, winrt::Windows::Foundation::Point& offset) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->GetOffsetFromLocation(*(void**)(&location), impl::bind_out(offset))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::IsLocationInView(winrt::Windows::Devices::Geolocation::Geopoint const& location, bool& isInView) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->IsLocationInView(*(void**)(&location), &isInView)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TrySetViewBoundsAsync(winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds, winrt::Windows::Foundation::IReference const& margin, winrt::Windows::UI::Xaml::Controls::Maps::MapAnimationKind const& animation) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->TrySetViewBoundsAsync(*(void**)(&bounds), *(void**)(&margin), static_cast(animation), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TrySetViewAsync(winrt::Windows::Devices::Geolocation::Geopoint const& center) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->TrySetViewWithCenterAsync(*(void**)(¢er), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TrySetViewAsync(winrt::Windows::Devices::Geolocation::Geopoint const& center, winrt::Windows::Foundation::IReference const& zoomLevel) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->TrySetViewWithCenterAndZoomAsync(*(void**)(¢er), *(void**)(&zoomLevel), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TrySetViewAsync(winrt::Windows::Devices::Geolocation::Geopoint const& center, winrt::Windows::Foundation::IReference const& zoomLevel, winrt::Windows::Foundation::IReference const& heading, winrt::Windows::Foundation::IReference const& desiredPitch) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->TrySetViewWithCenterZoomHeadingAndPitchAsync(*(void**)(¢er), *(void**)(&zoomLevel), *(void**)(&heading), *(void**)(&desiredPitch), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl::TrySetViewAsync(winrt::Windows::Devices::Geolocation::Geopoint const& center, winrt::Windows::Foundation::IReference const& zoomLevel, winrt::Windows::Foundation::IReference const& heading, winrt::Windows::Foundation::IReference const& desiredPitch, winrt::Windows::UI::Xaml::Controls::Maps::MapAnimationKind const& animation) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl)->TrySetViewWithCenterZoomHeadingPitchAndAnimationAsync(*(void**)(¢er), *(void**)(&zoomLevel), *(void**)(&heading), *(void**)(&desiredPitch), static_cast(animation), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::BusinessLandmarksVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->get_BusinessLandmarksVisible(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::BusinessLandmarksVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->put_BusinessLandmarksVisible(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TransitFeaturesVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->get_TransitFeaturesVisible(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TransitFeaturesVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->put_TransitFeaturesVisible(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::PanInteractionMode() const { winrt::Windows::UI::Xaml::Controls::Maps::MapPanInteractionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->get_PanInteractionMode(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::PanInteractionMode(winrt::Windows::UI::Xaml::Controls::Maps::MapPanInteractionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->put_PanInteractionMode(static_cast(value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::RotateInteractionMode() const { winrt::Windows::UI::Xaml::Controls::Maps::MapInteractionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->get_RotateInteractionMode(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::RotateInteractionMode(winrt::Windows::UI::Xaml::Controls::Maps::MapInteractionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->put_RotateInteractionMode(static_cast(value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TiltInteractionMode() const { winrt::Windows::UI::Xaml::Controls::Maps::MapInteractionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->get_TiltInteractionMode(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TiltInteractionMode(winrt::Windows::UI::Xaml::Controls::Maps::MapInteractionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->put_TiltInteractionMode(static_cast(value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::ZoomInteractionMode() const { winrt::Windows::UI::Xaml::Controls::Maps::MapInteractionMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->get_ZoomInteractionMode(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::ZoomInteractionMode(winrt::Windows::UI::Xaml::Controls::Maps::MapInteractionMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->put_ZoomInteractionMode(static_cast(value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::Is3DSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->get_Is3DSupported(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::IsStreetsideSupported() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->get_IsStreetsideSupported(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::Scene() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->get_Scene(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapScene{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::Scene(winrt::Windows::UI::Xaml::Controls::Maps::MapScene const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->put_Scene(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::ActualCamera() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->get_ActualCamera(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapCamera{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TargetCamera() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->get_TargetCamera(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapCamera{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::CustomExperience() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->get_CustomExperience(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapCustomExperience{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::CustomExperience(winrt::Windows::UI::Xaml::Controls::Maps::MapCustomExperience const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->put_CustomExperience(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::MapElementClick(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->add_MapElementClick(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::MapElementClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MapElementClick(handler)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::MapElementClick(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->remove_MapElementClick(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::MapElementPointerEntered(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->add_MapElementPointerEntered(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::MapElementPointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MapElementPointerEntered(handler)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::MapElementPointerEntered(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->remove_MapElementPointerEntered(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::MapElementPointerExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->add_MapElementPointerExited(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::MapElementPointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MapElementPointerExited(handler)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::MapElementPointerExited(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->remove_MapElementPointerExited(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::ActualCameraChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->add_ActualCameraChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::ActualCameraChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ActualCameraChanged(handler)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::ActualCameraChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->remove_ActualCameraChanged(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::ActualCameraChanging(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->add_ActualCameraChanging(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::ActualCameraChanging(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ActualCameraChanging(handler)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::ActualCameraChanging(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->remove_ActualCameraChanging(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TargetCameraChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->add_TargetCameraChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TargetCameraChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TargetCameraChanged(handler)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TargetCameraChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->remove_TargetCameraChanged(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::CustomExperienceChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->add_CustomExperienceChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::CustomExperienceChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, CustomExperienceChanged(handler)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::CustomExperienceChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->remove_CustomExperienceChanged(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::StartContinuousRotate(double rateInDegreesPerSecond) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->StartContinuousRotate(rateInDegreesPerSecond)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::StopContinuousRotate() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->StopContinuousRotate()); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::StartContinuousTilt(double rateInDegreesPerSecond) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->StartContinuousTilt(rateInDegreesPerSecond)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::StopContinuousTilt() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->StopContinuousTilt()); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::StartContinuousZoom(double rateOfChangePerSecond) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->StartContinuousZoom(rateOfChangePerSecond)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::StopContinuousZoom() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->StopContinuousZoom()); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TryRotateAsync(double degrees) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->TryRotateAsync(degrees, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TryRotateToAsync(double angleInDegrees) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->TryRotateToAsync(angleInDegrees, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TryTiltAsync(double degrees) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->TryTiltAsync(degrees, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TryTiltToAsync(double angleInDegrees) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->TryTiltToAsync(angleInDegrees, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TryZoomInAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->TryZoomInAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TryZoomOutAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->TryZoomOutAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TryZoomToAsync(double zoomLevel) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->TryZoomToAsync(zoomLevel, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TrySetSceneAsync(winrt::Windows::UI::Xaml::Controls::Maps::MapScene const& scene) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->TrySetSceneAsync(*(void**)(&scene), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl2::TrySetSceneAsync(winrt::Windows::UI::Xaml::Controls::Maps::MapScene const& scene, winrt::Windows::UI::Xaml::Controls::Maps::MapAnimationKind const& animationKind) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl2)->TrySetSceneWithAnimationAsync(*(void**)(&scene), static_cast(animationKind), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl3::MapRightTapped(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl3)->add_MapRightTapped(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl3::MapRightTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MapRightTapped(handler)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl3::MapRightTapped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl3)->remove_MapRightTapped(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl4::BusinessLandmarksEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl4)->get_BusinessLandmarksEnabled(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl4::BusinessLandmarksEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl4)->put_BusinessLandmarksEnabled(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl4::TransitFeaturesEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl4)->get_TransitFeaturesEnabled(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl4::TransitFeaturesEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl4)->put_TransitFeaturesEnabled(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl4::GetVisibleRegion(winrt::Windows::UI::Xaml::Controls::Maps::MapVisibleRegionKind const& region) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl4)->GetVisibleRegion(static_cast(region), &result)); return winrt::Windows::Devices::Geolocation::Geopath{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::MapProjection() const { winrt::Windows::UI::Xaml::Controls::Maps::MapProjection value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl5)->get_MapProjection(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::MapProjection(winrt::Windows::UI::Xaml::Controls::Maps::MapProjection const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl5)->put_MapProjection(static_cast(value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::StyleSheet() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl5)->get_StyleSheet(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::StyleSheet(winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl5)->put_StyleSheet(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::ViewPadding() const { winrt::Windows::UI::Xaml::Thickness value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl5)->get_ViewPadding(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::ViewPadding(winrt::Windows::UI::Xaml::Thickness const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl5)->put_ViewPadding(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::MapContextRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl5)->add_MapContextRequested(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::MapContextRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MapContextRequested(handler)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::MapContextRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl5)->remove_MapContextRequested(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::FindMapElementsAtOffset(winrt::Windows::Foundation::Point const& offset, double radius) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl5)->FindMapElementsAtOffsetWithRadius(impl::bind_in(offset), radius, &result)); return winrt::Windows::Foundation::Collections::IVectorView{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::GetLocationFromOffset(winrt::Windows::Foundation::Point const& offset, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& desiredReferenceSystem, winrt::Windows::Devices::Geolocation::Geopoint& location) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl5)->GetLocationFromOffsetWithReferenceSystem(impl::bind_in(offset), static_cast(desiredReferenceSystem), impl::bind_out(location))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::StartContinuousPan(double horizontalPixelsPerSecond, double verticalPixelsPerSecond) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl5)->StartContinuousPan(horizontalPixelsPerSecond, verticalPixelsPerSecond)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::StopContinuousPan() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl5)->StopContinuousPan()); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::TryPanAsync(double horizontalPixels, double verticalPixels) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl5)->TryPanAsync(horizontalPixels, verticalPixels, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl5::TryPanToAsync(winrt::Windows::Devices::Geolocation::Geopoint const& location) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl5)->TryPanToAsync(*(void**)(&location), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl6::Layers() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl6)->get_Layers(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl6::Layers(param::vector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl6)->put_Layers(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl6::TryGetLocationFromOffset(winrt::Windows::Foundation::Point const& offset, winrt::Windows::Devices::Geolocation::Geopoint& location) const { bool returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl6)->TryGetLocationFromOffset(impl::bind_in(offset), impl::bind_out(location), &returnValue)); return returnValue; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl6::TryGetLocationFromOffset(winrt::Windows::Foundation::Point const& offset, winrt::Windows::Devices::Geolocation::AltitudeReferenceSystem const& desiredReferenceSystem, winrt::Windows::Devices::Geolocation::Geopoint& location) const { bool returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl6)->TryGetLocationFromOffsetWithReferenceSystem(impl::bind_in(offset), static_cast(desiredReferenceSystem), impl::bind_out(location), &returnValue)); return returnValue; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl7::Region() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl7)->get_Region(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl7::Region(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl7)->put_Region(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl8::CanTiltDown() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl8)->get_CanTiltDown(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl8::CanTiltUp() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl8)->get_CanTiltUp(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl8::CanZoomIn() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl8)->get_CanZoomIn(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControl8::CanZoomOut() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControl8)->get_CanZoomOut(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlBusinessLandmarkClickEventArgs::LocalLocations() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlBusinessLandmarkClickEventArgs)->get_LocalLocations(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlBusinessLandmarkPointerEnteredEventArgs::LocalLocations() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlBusinessLandmarkPointerEnteredEventArgs)->get_LocalLocations(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlBusinessLandmarkPointerExitedEventArgs::LocalLocations() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlBusinessLandmarkPointerExitedEventArgs)->get_LocalLocations(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlBusinessLandmarkRightTappedEventArgs::LocalLocations() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlBusinessLandmarkRightTappedEventArgs)->get_LocalLocations(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::BusinessLandmarkClick(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper)->add_BusinessLandmarkClick(*(void**)(&value), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::BusinessLandmarkClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, BusinessLandmarkClick(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::BusinessLandmarkClick(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper)->remove_BusinessLandmarkClick(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::TransitFeatureClick(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper)->add_TransitFeatureClick(*(void**)(&value), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::TransitFeatureClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, TransitFeatureClick(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::TransitFeatureClick(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper)->remove_TransitFeatureClick(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::BusinessLandmarkRightTapped(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper)->add_BusinessLandmarkRightTapped(*(void**)(&value), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::BusinessLandmarkRightTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, BusinessLandmarkRightTapped(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::BusinessLandmarkRightTapped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper)->remove_BusinessLandmarkRightTapped(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::TransitFeatureRightTapped(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper)->add_TransitFeatureRightTapped(*(void**)(&value), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::TransitFeatureRightTapped(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, TransitFeatureRightTapped(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper::TransitFeatureRightTapped(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper)->remove_TransitFeatureRightTapped(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::BusinessLandmarkPointerEntered(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper2)->add_BusinessLandmarkPointerEntered(*(void**)(&value), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::BusinessLandmarkPointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, BusinessLandmarkPointerEntered(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::BusinessLandmarkPointerEntered(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper2)->remove_BusinessLandmarkPointerEntered(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::TransitFeaturePointerEntered(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper2)->add_TransitFeaturePointerEntered(*(void**)(&value), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::TransitFeaturePointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, TransitFeaturePointerEntered(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::TransitFeaturePointerEntered(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper2)->remove_TransitFeaturePointerEntered(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::BusinessLandmarkPointerExited(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper2)->add_BusinessLandmarkPointerExited(*(void**)(&value), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::BusinessLandmarkPointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, BusinessLandmarkPointerExited(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::BusinessLandmarkPointerExited(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper2)->remove_BusinessLandmarkPointerExited(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::TransitFeaturePointerExited(winrt::Windows::Foundation::TypedEventHandler const& value) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper2)->add_TransitFeaturePointerExited(*(void**)(&value), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::TransitFeaturePointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& value) const { return impl::make_event_revoker(this, TransitFeaturePointerExited(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelper2::TransitFeaturePointerExited(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelper2)->remove_TransitFeaturePointerExited(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelperFactory::CreateInstance(winrt::Windows::UI::Xaml::Controls::Maps::MapControl const& map) const { void* instance{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelperFactory)->CreateInstance(*(void**)(&map), &instance)); return winrt::Windows::UI::Xaml::Controls::Maps::MapControlDataHelper{ instance, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlDataHelperStatics::CreateMapControl(bool rasterRenderMode) const { void* returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlDataHelperStatics)->CreateMapControl(rasterRenderMode, &returnValue)); return winrt::Windows::UI::Xaml::Controls::Maps::MapControl{ returnValue, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::CenterProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_CenterProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::ChildrenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_ChildrenProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::ColorSchemeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_ColorSchemeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::DesiredPitchProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_DesiredPitchProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::HeadingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_HeadingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::LandmarksVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_LandmarksVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::LoadingStatusProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_LoadingStatusProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::MapServiceTokenProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_MapServiceTokenProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::PedestrianFeaturesVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_PedestrianFeaturesVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::PitchProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_PitchProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::StyleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_StyleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::TrafficFlowVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_TrafficFlowVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::TransformOriginProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_TransformOriginProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::WatermarkModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_WatermarkModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::ZoomLevelProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_ZoomLevelProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::MapElementsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_MapElementsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::RoutesProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_RoutesProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::TileSourcesProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_TileSourcesProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::LocationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_LocationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::GetLocation(winrt::Windows::UI::Xaml::DependencyObject const& element) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->GetLocation(*(void**)(&element), &result)); return winrt::Windows::Devices::Geolocation::Geopoint{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::SetLocation(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Devices::Geolocation::Geopoint const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->SetLocation(*(void**)(&element), *(void**)(&value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::NormalizedAnchorPointProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->get_NormalizedAnchorPointProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::GetNormalizedAnchorPoint(winrt::Windows::UI::Xaml::DependencyObject const& element) const { winrt::Windows::Foundation::Point result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->GetNormalizedAnchorPoint(*(void**)(&element), put_abi(result))); return result; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics::SetNormalizedAnchorPoint(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics)->SetNormalizedAnchorPoint(*(void**)(&element), impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2::BusinessLandmarksVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics2)->get_BusinessLandmarksVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2::TransitFeaturesVisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics2)->get_TransitFeaturesVisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2::PanInteractionModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics2)->get_PanInteractionModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2::RotateInteractionModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics2)->get_RotateInteractionModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2::TiltInteractionModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics2)->get_TiltInteractionModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2::ZoomInteractionModeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics2)->get_ZoomInteractionModeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2::Is3DSupportedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics2)->get_Is3DSupportedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2::IsStreetsideSupportedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics2)->get_IsStreetsideSupportedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics2::SceneProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics2)->get_SceneProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics4::BusinessLandmarksEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics4)->get_BusinessLandmarksEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics4::TransitFeaturesEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics4)->get_TransitFeaturesEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics5::MapProjectionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics5)->get_MapProjectionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics5::StyleSheetProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics5)->get_StyleSheetProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics5::ViewPaddingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics5)->get_ViewPaddingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics6::LayersProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics6)->get_LayersProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics7::RegionProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics7)->get_RegionProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics8::CanTiltDownProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics8)->get_CanTiltDownProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics8::CanTiltUpProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics8)->get_CanTiltUpProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics8::CanZoomInProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics8)->get_CanZoomInProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlStatics8::CanZoomOutProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlStatics8)->get_CanZoomOutProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeatureClickEventArgs::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeatureClickEventArgs)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeatureClickEventArgs::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeatureClickEventArgs)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeatureClickEventArgs::TransitProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeatureClickEventArgs)->get_TransitProperties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeaturePointerEnteredEventArgs::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeaturePointerEnteredEventArgs)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeaturePointerEnteredEventArgs::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeaturePointerEnteredEventArgs)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeaturePointerEnteredEventArgs::TransitProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeaturePointerEnteredEventArgs)->get_TransitProperties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeaturePointerExitedEventArgs::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeaturePointerExitedEventArgs)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeaturePointerExitedEventArgs::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeaturePointerExitedEventArgs)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeaturePointerExitedEventArgs::TransitProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeaturePointerExitedEventArgs)->get_TransitProperties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeatureRightTappedEventArgs::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeatureRightTappedEventArgs)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeatureRightTappedEventArgs::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeatureRightTappedEventArgs)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapControlTransitFeatureRightTappedEventArgs::TransitProperties() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapControlTransitFeatureRightTappedEventArgs)->get_TransitProperties(&value)); return winrt::Windows::Foundation::Collections::IMapView{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapCustomExperienceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapCustomExperienceFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapCustomExperience{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement::ZIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement)->get_ZIndex(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement::ZIndex(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement)->put_ZIndex(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement::Visible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement)->get_Visible(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement::Visible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement)->put_Visible(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement2::MapTabIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement2)->get_MapTabIndex(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement2::MapTabIndex(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement2)->put_MapTabIndex(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3::MapStyleSheetEntry() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3)->get_MapStyleSheetEntry(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3::MapStyleSheetEntry(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3)->put_MapStyleSheetEntry(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3::MapStyleSheetEntryState() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3)->get_MapStyleSheetEntryState(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3::MapStyleSheetEntryState(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3)->put_MapStyleSheetEntryState(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3::Tag() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3)->get_Tag(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3::Tag(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3)->put_Tag(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3D)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Location(winrt::Windows::Devices::Geolocation::Geopoint const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3D)->put_Location(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Model() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3D)->get_Model(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapModel3D{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Model(winrt::Windows::UI::Xaml::Controls::Maps::MapModel3D const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3D)->put_Model(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Heading() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3D)->get_Heading(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Heading(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3D)->put_Heading(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Pitch() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3D)->get_Pitch(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Pitch(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3D)->put_Pitch(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Roll() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3D)->get_Roll(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Roll(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3D)->put_Roll(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Scale() const { winrt::Windows::Foundation::Numerics::float3 value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3D)->get_Scale(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3D::Scale(winrt::Windows::Foundation::Numerics::float3 const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3D)->put_Scale(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3DStatics::LocationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3DStatics)->get_LocationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3DStatics::HeadingProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3DStatics)->get_HeadingProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3DStatics::PitchProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3DStatics)->get_PitchProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3DStatics::RollProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3DStatics)->get_RollProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement3DStatics::ScaleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement3DStatics)->get_ScaleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement4::IsEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement4)->get_IsEnabled(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElement4::IsEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElement4)->put_IsEnabled(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementClickEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementClickEventArgs)->get_Position(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementClickEventArgs::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementClickEventArgs)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementClickEventArgs::MapElements() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementClickEventArgs)->get_MapElements(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapElement{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementPointerEnteredEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementPointerEnteredEventArgs)->get_Position(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementPointerEnteredEventArgs::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementPointerEnteredEventArgs)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementPointerEnteredEventArgs::MapElement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementPointerEnteredEventArgs)->get_MapElement(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapElement{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementPointerExitedEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementPointerExitedEventArgs)->get_Position(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementPointerExitedEventArgs::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementPointerExitedEventArgs)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementPointerExitedEventArgs::MapElement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementPointerExitedEventArgs)->get_MapElement(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapElement{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics::ZIndexProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementStatics)->get_ZIndexProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics::VisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementStatics)->get_VisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics2::MapTabIndexProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementStatics2)->get_MapTabIndexProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics3::MapStyleSheetEntryProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementStatics3)->get_MapStyleSheetEntryProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics3::MapStyleSheetEntryStateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementStatics3)->get_MapStyleSheetEntryStateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics3::TagProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementStatics3)->get_TagProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementStatics4::IsEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementStatics4)->get_IsEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElements() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayer)->get_MapElements(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElements(param::vector const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayer)->put_MapElements(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElementClick(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayer)->add_MapElementClick(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElementClick(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MapElementClick(handler)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElementClick(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayer)->remove_MapElementClick(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElementPointerEntered(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayer)->add_MapElementPointerEntered(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElementPointerEntered(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MapElementPointerEntered(handler)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElementPointerEntered(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayer)->remove_MapElementPointerEntered(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElementPointerExited(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayer)->add_MapElementPointerExited(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElementPointerExited(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MapElementPointerExited(handler)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapElementPointerExited(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayer)->remove_MapElementPointerExited(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapContextRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayer)->add_MapContextRequested(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapContextRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, MapContextRequested(handler)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayer::MapContextRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayer)->remove_MapContextRequested(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerClickEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerClickEventArgs)->get_Position(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerClickEventArgs::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerClickEventArgs)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerClickEventArgs::MapElements() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerClickEventArgs)->get_MapElements(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerContextRequestedEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerContextRequestedEventArgs)->get_Position(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerContextRequestedEventArgs::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerContextRequestedEventArgs)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerContextRequestedEventArgs::MapElements() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerContextRequestedEventArgs)->get_MapElements(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerPointerEnteredEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerPointerEnteredEventArgs)->get_Position(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerPointerEnteredEventArgs::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerPointerEnteredEventArgs)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerPointerEnteredEventArgs::MapElement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerPointerEnteredEventArgs)->get_MapElement(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapElement{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerPointerExitedEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerPointerExitedEventArgs)->get_Position(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerPointerExitedEventArgs::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerPointerExitedEventArgs)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerPointerExitedEventArgs::MapElement() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerPointerExitedEventArgs)->get_MapElement(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapElement{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapElementsLayerStatics::MapElementsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapElementsLayerStatics)->get_MapElementsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapIcon::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapIcon)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapIcon::Location(winrt::Windows::Devices::Geolocation::Geopoint const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapIcon)->put_Location(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapIcon::Title() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapIcon)->get_Title(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapIcon::Title(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapIcon)->put_Title(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapIcon::NormalizedAnchorPoint() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapIcon)->get_NormalizedAnchorPoint(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapIcon::NormalizedAnchorPoint(winrt::Windows::Foundation::Point const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapIcon)->put_NormalizedAnchorPoint(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapIcon::Image() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapIcon)->get_Image(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapIcon::Image(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapIcon)->put_Image(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapIcon2::CollisionBehaviorDesired() const { winrt::Windows::UI::Xaml::Controls::Maps::MapElementCollisionBehavior value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapIcon2)->get_CollisionBehaviorDesired(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapIcon2::CollisionBehaviorDesired(winrt::Windows::UI::Xaml::Controls::Maps::MapElementCollisionBehavior const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapIcon2)->put_CollisionBehaviorDesired(static_cast(value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapIconStatics::LocationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapIconStatics)->get_LocationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapIconStatics::TitleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapIconStatics)->get_TitleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapIconStatics::NormalizedAnchorPointProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapIconStatics)->get_NormalizedAnchorPointProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapIconStatics2::CollisionBehaviorDesiredProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapIconStatics2)->get_CollisionBehaviorDesiredProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapInputEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapInputEventArgs)->get_Position(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapInputEventArgs::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapInputEventArgs)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControl::ItemsSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapItemsControl)->get_ItemsSource(&value)); return winrt::Windows::Foundation::IInspectable{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControl::ItemsSource(winrt::Windows::Foundation::IInspectable const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapItemsControl)->put_ItemsSource(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControl::Items() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapItemsControl)->get_Items(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControl::ItemTemplate() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapItemsControl)->get_ItemTemplate(&value)); return winrt::Windows::UI::Xaml::DataTemplate{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControl::ItemTemplate(winrt::Windows::UI::Xaml::DataTemplate const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapItemsControl)->put_ItemTemplate(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControlStatics::ItemsSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapItemsControlStatics)->get_ItemsSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControlStatics::ItemsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapItemsControlStatics)->get_ItemsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapItemsControlStatics::ItemTemplateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapItemsControlStatics)->get_ItemTemplateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapLayer::MapTabIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapLayer)->get_MapTabIndex(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapLayer::MapTabIndex(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapLayer)->put_MapTabIndex(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapLayer::Visible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapLayer)->get_Visible(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapLayer::Visible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapLayer)->put_Visible(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapLayer::ZIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapLayer)->get_ZIndex(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapLayer::ZIndex(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapLayer)->put_ZIndex(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapLayerFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapLayerFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapLayer{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapLayerStatics::MapTabIndexProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapLayerStatics)->get_MapTabIndexProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapLayerStatics::VisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapLayerStatics)->get_VisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapLayerStatics::ZIndexProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapLayerStatics)->get_ZIndexProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapModel3DFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapModel3DFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapModel3D{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapModel3DStatics::CreateFrom3MFAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& source) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapModel3DStatics)->CreateFrom3MFAsync(*(void**)(&source), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapModel3DStatics::CreateFrom3MFAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& source, winrt::Windows::UI::Xaml::Controls::Maps::MapModel3DShadingOption const& shadingOption) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapModel3DStatics)->CreateFrom3MFWithShadingOptionAsync(*(void**)(&source), static_cast(shadingOption), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon::Path() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygon)->get_Path(&value)); return winrt::Windows::Devices::Geolocation::Geopath{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon::Path(winrt::Windows::Devices::Geolocation::Geopath const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygon)->put_Path(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon::StrokeColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygon)->get_StrokeColor(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon::StrokeColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygon)->put_StrokeColor(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon::StrokeThickness() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygon)->get_StrokeThickness(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon::StrokeThickness(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygon)->put_StrokeThickness(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon::StrokeDashed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygon)->get_StrokeDashed(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon::StrokeDashed(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygon)->put_StrokeDashed(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon::FillColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygon)->get_FillColor(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon::FillColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygon)->put_FillColor(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygon2::Paths() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygon2)->get_Paths(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygonStatics::PathProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygonStatics)->get_PathProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygonStatics::StrokeThicknessProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygonStatics)->get_StrokeThicknessProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolygonStatics::StrokeDashedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolygonStatics)->get_StrokeDashedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline::Path() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolyline)->get_Path(&value)); return winrt::Windows::Devices::Geolocation::Geopath{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline::Path(winrt::Windows::Devices::Geolocation::Geopath const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolyline)->put_Path(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline::StrokeColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolyline)->get_StrokeColor(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline::StrokeColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolyline)->put_StrokeColor(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline::StrokeThickness() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolyline)->get_StrokeThickness(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline::StrokeThickness(double value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolyline)->put_StrokeThickness(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline::StrokeDashed() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolyline)->get_StrokeDashed(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolyline::StrokeDashed(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolyline)->put_StrokeDashed(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolylineStatics::PathProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolylineStatics)->get_PathProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapPolylineStatics::StrokeDashedProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapPolylineStatics)->get_StrokeDashedProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapRightTappedEventArgs::Position() const { winrt::Windows::Foundation::Point value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapRightTappedEventArgs)->get_Position(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapRightTappedEventArgs::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapRightTappedEventArgs)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapRouteView::RouteColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapRouteView)->get_RouteColor(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapRouteView::RouteColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapRouteView)->put_RouteColor(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapRouteView::OutlineColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapRouteView)->get_OutlineColor(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapRouteView::OutlineColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapRouteView)->put_OutlineColor(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapRouteView::Route() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapRouteView)->get_Route(&value)); return winrt::Windows::Services::Maps::MapRoute{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapRouteViewFactory::CreateInstanceWithMapRoute(winrt::Windows::Services::Maps::MapRoute const& route, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapRouteViewFactory)->CreateInstanceWithMapRoute(*(void**)(&route), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapRouteView{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapScene::TargetCamera() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapScene)->get_TargetCamera(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapCamera{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapScene::TargetCameraChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapScene)->add_TargetCameraChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapScene::TargetCameraChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, TargetCameraChanged(handler)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapScene::TargetCameraChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapScene)->remove_TargetCameraChanged(impl::bind_in(token)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics::CreateFromBoundingBox(winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapSceneStatics)->CreateFromBoundingBox(*(void**)(&bounds), &result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapScene{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics::CreateFromBoundingBox(winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds, double headingInDegrees, double pitchInDegrees) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapSceneStatics)->CreateFromBoundingBoxWithHeadingAndPitch(*(void**)(&bounds), headingInDegrees, pitchInDegrees, &result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapScene{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics::CreateFromCamera(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera const& camera) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapSceneStatics)->CreateFromCamera(*(void**)(&camera), &result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapScene{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics::CreateFromLocation(winrt::Windows::Devices::Geolocation::Geopoint const& location) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapSceneStatics)->CreateFromLocation(*(void**)(&location), &result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapScene{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics::CreateFromLocation(winrt::Windows::Devices::Geolocation::Geopoint const& location, double headingInDegrees, double pitchInDegrees) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapSceneStatics)->CreateFromLocationWithHeadingAndPitch(*(void**)(&location), headingInDegrees, pitchInDegrees, &result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapScene{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics::CreateFromLocationAndRadius(winrt::Windows::Devices::Geolocation::Geopoint const& location, double radiusInMeters) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapSceneStatics)->CreateFromLocationAndRadius(*(void**)(&location), radiusInMeters, &result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapScene{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics::CreateFromLocationAndRadius(winrt::Windows::Devices::Geolocation::Geopoint const& location, double radiusInMeters, double headingInDegrees, double pitchInDegrees) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapSceneStatics)->CreateFromLocationAndRadiusWithHeadingAndPitch(*(void**)(&location), radiusInMeters, headingInDegrees, pitchInDegrees, &result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapScene{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics::CreateFromLocations(param::iterable const& locations) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapSceneStatics)->CreateFromLocations(*(void**)(&locations), &result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapScene{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapSceneStatics::CreateFromLocations(param::iterable const& locations, double headingInDegrees, double pitchInDegrees) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapSceneStatics)->CreateFromLocationsWithHeadingAndPitch(*(void**)(&locations), headingInDegrees, pitchInDegrees, &result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapScene{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Area() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Area(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Airport() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Airport(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Cemetery() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Cemetery(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Continent() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Continent(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Education() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Education(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::IndigenousPeoplesReserve() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_IndigenousPeoplesReserve(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Island() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Island(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Medical() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Medical(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Military() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Military(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Nautical() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Nautical(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Neighborhood() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Neighborhood(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Runway() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Runway(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Sand() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Sand(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::ShoppingCenter() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_ShoppingCenter(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Stadium() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Stadium(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Vegetation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Vegetation(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Forest() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Forest(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::GolfCourse() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_GolfCourse(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Park() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Park(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::PlayingField() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_PlayingField(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Reserve() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Reserve(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Point() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Point(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::NaturalPoint() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_NaturalPoint(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Peak() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Peak(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::VolcanicPeak() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_VolcanicPeak(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::WaterPoint() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_WaterPoint(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::PointOfInterest() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_PointOfInterest(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Business() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Business(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::FoodPoint() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_FoodPoint(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::PopulatedPlace() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_PopulatedPlace(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Capital() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Capital(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::AdminDistrictCapital() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_AdminDistrictCapital(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::CountryRegionCapital() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_CountryRegionCapital(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::RoadShield() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_RoadShield(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::RoadExit() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_RoadExit(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Transit() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Transit(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Political() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Political(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::CountryRegion() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_CountryRegion(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::AdminDistrict() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_AdminDistrict(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::District() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_District(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Structure() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Structure(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Building() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Building(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::EducationBuilding() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_EducationBuilding(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::MedicalBuilding() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_MedicalBuilding(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::TransitBuilding() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_TransitBuilding(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Transportation() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Transportation(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Road() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Road(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::ControlledAccessHighway() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_ControlledAccessHighway(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::HighSpeedRamp() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_HighSpeedRamp(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Highway() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Highway(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::MajorRoad() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_MajorRoad(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::ArterialRoad() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_ArterialRoad(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Street() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Street(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Ramp() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Ramp(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::UnpavedStreet() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_UnpavedStreet(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::TollRoad() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_TollRoad(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Railway() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Railway(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Trail() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Trail(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::WaterRoute() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_WaterRoute(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::Water() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_Water(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::River() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_River(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::RouteLine() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_RouteLine(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::WalkingRoute() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_WalkingRoute(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntriesStatics::DrivingRoute() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntriesStatics)->get_DrivingRoute(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntryStatesStatics::Disabled() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntryStatesStatics)->get_Disabled(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntryStatesStatics::Hover() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntryStatesStatics)->get_Hover(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetEntryStatesStatics::Selected() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetEntryStatesStatics)->get_Selected(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics::Aerial() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetStatics)->Aerial(&result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics::AerialWithOverlay() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetStatics)->AerialWithOverlay(&result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics::RoadLight() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetStatics)->RoadLight(&result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics::RoadDark() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetStatics)->RoadDark(&result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics::RoadHighContrastLight() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetStatics)->RoadHighContrastLight(&result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics::RoadHighContrastDark() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetStatics)->RoadHighContrastDark(&result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics::Combine(param::iterable const& styleSheets) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetStatics)->Combine(*(void**)(&styleSheets), &result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics::ParseFromJson(param::hstring const& styleAsJson) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetStatics)->ParseFromJson(*(void**)(&styleAsJson), &result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapStyleSheetStatics::TryParseFromJson(param::hstring const& styleAsJson, winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet& styleSheet) const { bool returnValue{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapStyleSheetStatics)->TryParseFromJson(*(void**)(&styleAsJson), impl::bind_out(styleSheet), &returnValue)); return returnValue; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTargetCameraChangedEventArgs::Camera() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTargetCameraChangedEventArgs)->get_Camera(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapCamera{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTargetCameraChangedEventArgs2::ChangeReason() const { winrt::Windows::UI::Xaml::Controls::Maps::MapCameraChangeReason value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTargetCameraChangedEventArgs2)->get_ChangeReason(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequest::PixelData() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileBitmapRequest)->get_PixelData(&value)); return winrt::Windows::Storage::Streams::IRandomAccessStreamReference{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequest::PixelData(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileBitmapRequest)->put_PixelData(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequest::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileBitmapRequest)->GetDeferral(&result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapTileBitmapRequestDeferral{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileBitmapRequestDeferral)->Complete()); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestedEventArgs::X() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileBitmapRequestedEventArgs)->get_X(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestedEventArgs::Y() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileBitmapRequestedEventArgs)->get_Y(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestedEventArgs::ZoomLevel() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileBitmapRequestedEventArgs)->get_ZoomLevel(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestedEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileBitmapRequestedEventArgs)->get_Request(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapTileBitmapRequest{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileBitmapRequestedEventArgs2::FrameIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileBitmapRequestedEventArgs2)->get_FrameIndex(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileDataSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileDataSourceFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::DataSource() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->get_DataSource(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::DataSource(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->put_DataSource(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::Layer() const { winrt::Windows::UI::Xaml::Controls::Maps::MapTileLayer value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->get_Layer(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::Layer(winrt::Windows::UI::Xaml::Controls::Maps::MapTileLayer const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->put_Layer(static_cast(value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::ZoomLevelRange() const { winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->get_ZoomLevelRange(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::ZoomLevelRange(winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->put_ZoomLevelRange(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::Bounds() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->get_Bounds(&value)); return winrt::Windows::Devices::Geolocation::GeoboundingBox{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::Bounds(winrt::Windows::Devices::Geolocation::GeoboundingBox const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->put_Bounds(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::AllowOverstretch() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->get_AllowOverstretch(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::AllowOverstretch(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->put_AllowOverstretch(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::IsFadingEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->get_IsFadingEnabled(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::IsFadingEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->put_IsFadingEnabled(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::IsTransparencyEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->get_IsTransparencyEnabled(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::IsTransparencyEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->put_IsTransparencyEnabled(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::IsRetryEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->get_IsRetryEnabled(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::IsRetryEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->put_IsRetryEnabled(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::ZIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->get_ZIndex(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::ZIndex(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->put_ZIndex(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::TilePixelSize() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->get_TilePixelSize(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::TilePixelSize(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->put_TilePixelSize(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::Visible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->get_Visible(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource::Visible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource)->put_Visible(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2::AnimationState() const { winrt::Windows::UI::Xaml::Controls::Maps::MapTileAnimationState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource2)->get_AnimationState(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2::AutoPlay() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource2)->get_AutoPlay(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2::AutoPlay(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource2)->put_AutoPlay(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2::FrameCount() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource2)->get_FrameCount(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2::FrameCount(int32_t value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource2)->put_FrameCount(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2::FrameDuration() const { winrt::Windows::Foundation::TimeSpan value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource2)->get_FrameDuration(put_abi(value))); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2::FrameDuration(winrt::Windows::Foundation::TimeSpan const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource2)->put_FrameDuration(impl::bind_in(value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2::Pause() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource2)->Pause()); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2::Play() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource2)->Play()); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSource2::Stop() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSource2)->Stop()); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceFactory::CreateInstance(winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceFactory)->CreateInstance(*(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapTileSource{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceFactory::CreateInstanceWithDataSource(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& dataSource, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceFactory)->CreateInstanceWithDataSource(*(void**)(&dataSource), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapTileSource{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceFactory::CreateInstanceWithDataSourceAndZoomRange(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& dataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange const& zoomLevelRange, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceFactory)->CreateInstanceWithDataSourceAndZoomRange(*(void**)(&dataSource), impl::bind_in(zoomLevelRange), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapTileSource{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceFactory::CreateInstanceWithDataSourceZoomRangeAndBounds(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& dataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange const& zoomLevelRange, winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceFactory)->CreateInstanceWithDataSourceZoomRangeAndBounds(*(void**)(&dataSource), impl::bind_in(zoomLevelRange), *(void**)(&bounds), *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapTileSource{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceFactory::CreateInstanceWithDataSourceZoomRangeBoundsAndTileSize(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& dataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange const& zoomLevelRange, winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds, int32_t tileSizeInPixels, winrt::Windows::Foundation::IInspectable const& baseInterface, winrt::Windows::Foundation::IInspectable& innerInterface) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceFactory)->CreateInstanceWithDataSourceZoomRangeBoundsAndTileSize(*(void**)(&dataSource), impl::bind_in(zoomLevelRange), *(void**)(&bounds), tileSizeInPixels, *(void**)(&baseInterface), impl::bind_out(innerInterface), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapTileSource{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics::DataSourceProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceStatics)->get_DataSourceProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics::LayerProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceStatics)->get_LayerProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics::ZoomLevelRangeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceStatics)->get_ZoomLevelRangeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics::BoundsProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceStatics)->get_BoundsProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics::AllowOverstretchProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceStatics)->get_AllowOverstretchProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics::IsFadingEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceStatics)->get_IsFadingEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics::IsTransparencyEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceStatics)->get_IsTransparencyEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics::IsRetryEnabledProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceStatics)->get_IsRetryEnabledProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics::ZIndexProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceStatics)->get_ZIndexProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics::TilePixelSizeProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceStatics)->get_TilePixelSizeProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics::VisibleProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceStatics)->get_VisibleProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics2::AnimationStateProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceStatics2)->get_AnimationStateProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics2::AutoPlayProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceStatics2)->get_AutoPlayProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics2::FrameCountProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceStatics2)->get_FrameCountProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileSourceStatics2::FrameDurationProperty() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileSourceStatics2)->get_FrameDurationProperty(&value)); return winrt::Windows::UI::Xaml::DependencyProperty{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequest::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileUriRequest)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequest::Uri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileUriRequest)->put_Uri(*(void**)(&value))); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequest::GetDeferral() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileUriRequest)->GetDeferral(&result)); return winrt::Windows::UI::Xaml::Controls::Maps::MapTileUriRequestDeferral{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileUriRequestDeferral)->Complete()); } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestedEventArgs::X() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileUriRequestedEventArgs)->get_X(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestedEventArgs::Y() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileUriRequestedEventArgs)->get_Y(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestedEventArgs::ZoomLevel() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileUriRequestedEventArgs)->get_ZoomLevel(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestedEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileUriRequestedEventArgs)->get_Request(&value)); return winrt::Windows::UI::Xaml::Controls::Maps::MapTileUriRequest{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IMapTileUriRequestedEventArgs2::FrameIndex() const { int32_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IMapTileUriRequestedEventArgs2)->get_FrameIndex(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::AddressTextVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->get_AddressTextVisible(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::AddressTextVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->put_AddressTextVisible(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::CursorVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->get_CursorVisible(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::CursorVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->put_CursorVisible(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::OverviewMapVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->get_OverviewMapVisible(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::OverviewMapVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->put_OverviewMapVisible(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::StreetLabelsVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->get_StreetLabelsVisible(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::StreetLabelsVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->put_StreetLabelsVisible(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::ExitButtonVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->get_ExitButtonVisible(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::ExitButtonVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->put_ExitButtonVisible(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::ZoomButtonsVisible() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->get_ZoomButtonsVisible(&value)); return value; } template auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperience::ZoomButtonsVisible(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperience)->put_ZoomButtonsVisible(value)); } template auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperienceFactory::CreateInstanceWithPanorama(winrt::Windows::UI::Xaml::Controls::Maps::StreetsidePanorama const& panorama) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperienceFactory)->CreateInstanceWithPanorama(*(void**)(&panorama), &value)); return winrt::Windows::UI::Xaml::Controls::Maps::StreetsideExperience{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsideExperienceFactory::CreateInstanceWithPanoramaHeadingPitchAndFieldOfView(winrt::Windows::UI::Xaml::Controls::Maps::StreetsidePanorama const& panorama, double headingInDegrees, double pitchInDegrees, double fieldOfViewInDegrees) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsideExperienceFactory)->CreateInstanceWithPanoramaHeadingPitchAndFieldOfView(*(void**)(&panorama), headingInDegrees, pitchInDegrees, fieldOfViewInDegrees, &value)); return winrt::Windows::UI::Xaml::Controls::Maps::StreetsideExperience{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsidePanorama::Location() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsidePanorama)->get_Location(&value)); return winrt::Windows::Devices::Geolocation::Geopoint{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsidePanoramaStatics::FindNearbyAsync(winrt::Windows::Devices::Geolocation::Geopoint const& location) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsidePanoramaStatics)->FindNearbyWithLocationAsync(*(void**)(&location), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_Xaml_Controls_Maps_IStreetsidePanoramaStatics::FindNearbyAsync(winrt::Windows::Devices::Geolocation::Geopoint const& location, double radiusInMeters) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::Xaml::Controls::Maps::IStreetsidePanoramaStatics)->FindNearbyWithLocationAndRadiusAsync(*(void**)(&location), radiusInMeters, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall add_BitmapRequested(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().BitmapRequested(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_BitmapRequested(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().BitmapRequested(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_UriFormatString(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().UriFormatString()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_UriFormatString(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().UriFormatString(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AdditionalRequestHeaders(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().AdditionalRequestHeaders()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AllowCaching(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AllowCaching()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AllowCaching(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AllowCaching(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_UriRequested(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().UriRequested(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_UriRequested(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().UriRequested(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateInstanceWithUriFormatString(void* uriFormatString, void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstanceWithUriFormatString(*reinterpret_cast(&uriFormatString), *reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (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_UriFormatString(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().UriFormatString()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_UriFormatString(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().UriFormatString(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_UriRequested(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().UriRequested(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_UriRequested(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().UriRequested(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateInstanceWithUriFormatString(void* uriFormatString, void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstanceWithUriFormatString(*reinterpret_cast(&uriFormatString), *reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (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_Camera(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Camera()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ChangeReason(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ChangeReason()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Camera(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Camera()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ChangeReason(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ChangeReason()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Location(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Location()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Location(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Location(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NormalizedAnchorPoint(winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NormalizedAnchorPoint()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_NormalizedAnchorPoint(winrt::Windows::Foundation::Point value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().NormalizedAnchorPoint(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Image(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Image()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Image(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Image(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CollisionBehaviorDesired(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CollisionBehaviorDesired()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CollisionBehaviorDesired(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CollisionBehaviorDesired(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ReferenceCamera(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ReferenceCamera()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceFromCamera(void* camera, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstanceFromCamera(*reinterpret_cast(&camera))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_LocationProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LocationProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NormalizedAnchorPointProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NormalizedAnchorPointProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CollisionBehaviorDesiredProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CollisionBehaviorDesiredProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Location(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Location()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Location(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Location(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Heading(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Heading()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Heading(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Heading(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Pitch(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Pitch()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Pitch(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Pitch(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Roll(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Roll()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Roll(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Roll(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FieldOfView(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FieldOfView()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FieldOfView(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FieldOfView(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithLocation(void* location, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstanceWithLocation(*reinterpret_cast(&location))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateInstanceWithLocationAndHeading(void* location, double headingInDegrees, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstanceWithLocationAndHeading(*reinterpret_cast(&location), headingInDegrees)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateInstanceWithLocationHeadingAndPitch(void* location, double headingInDegrees, double pitchInDegrees, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstanceWithLocationHeadingAndPitch(*reinterpret_cast(&location), headingInDegrees, pitchInDegrees)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateInstanceWithLocationHeadingPitchRollAndFieldOfView(void* location, double headingInDegrees, double pitchInDegrees, double rollInDegrees, double fieldOfViewInDegrees, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstanceWithLocationHeadingPitchRollAndFieldOfView(*reinterpret_cast(&location), headingInDegrees, pitchInDegrees, rollInDegrees, fieldOfViewInDegrees)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Position(winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Position()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Location(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Location()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MapElements(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().MapElements()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Center(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Center()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Center(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Center(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Children(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Children()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ColorScheme(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ColorScheme()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ColorScheme(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ColorScheme(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DesiredPitch(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DesiredPitch()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DesiredPitch(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DesiredPitch(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Heading(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Heading()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Heading(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Heading(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LandmarksVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LandmarksVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LandmarksVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LandmarksVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LoadingStatus(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LoadingStatus()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MapServiceToken(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MapServiceToken()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MapServiceToken(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MapServiceToken(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MaxZoomLevel(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MaxZoomLevel()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MinZoomLevel(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MinZoomLevel()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PedestrianFeaturesVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PedestrianFeaturesVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PedestrianFeaturesVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PedestrianFeaturesVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Pitch(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Pitch()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Style(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Style()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Style(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Style(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TrafficFlowVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TrafficFlowVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TrafficFlowVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TrafficFlowVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TransformOrigin(winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TransformOrigin()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TransformOrigin(winrt::Windows::Foundation::Point value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TransformOrigin(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_WatermarkMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().WatermarkMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_WatermarkMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().WatermarkMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ZoomLevel(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZoomLevel()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ZoomLevel(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ZoomLevel(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MapElements(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().MapElements()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Routes(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Routes()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TileSources(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().TileSources()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_CenterChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().CenterChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_CenterChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().CenterChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_HeadingChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().HeadingChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_HeadingChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().HeadingChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_LoadingStatusChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().LoadingStatusChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_LoadingStatusChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().LoadingStatusChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_MapDoubleTapped(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().MapDoubleTapped(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_MapDoubleTapped(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().MapDoubleTapped(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_MapHolding(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().MapHolding(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_MapHolding(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().MapHolding(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_MapTapped(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().MapTapped(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_MapTapped(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().MapTapped(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_PitchChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().PitchChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_PitchChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().PitchChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_TransformOriginChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().TransformOriginChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_TransformOriginChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().TransformOriginChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_ZoomLevelChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ZoomLevelChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ZoomLevelChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ZoomLevelChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall FindMapElementsAtOffset(winrt::Windows::Foundation::Point offset, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from>(this->shim().FindMapElementsAtOffset(*reinterpret_cast(&offset))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetLocationFromOffset(winrt::Windows::Foundation::Point offset, void** location) noexcept final try { clear_abi(location); typename D::abi_guard guard(this->shim()); this->shim().GetLocationFromOffset(*reinterpret_cast(&offset), *reinterpret_cast(location)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetOffsetFromLocation(void* location, winrt::Windows::Foundation::Point* offset) noexcept final try { zero_abi(offset); typename D::abi_guard guard(this->shim()); this->shim().GetOffsetFromLocation(*reinterpret_cast(&location), *reinterpret_cast(offset)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IsLocationInView(void* location, bool* isInView) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsLocationInView(*reinterpret_cast(&location), *isInView); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TrySetViewBoundsAsync(void* bounds, void* margin, int32_t animation, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().TrySetViewBoundsAsync(*reinterpret_cast(&bounds), *reinterpret_cast const*>(&margin), *reinterpret_cast(&animation))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TrySetViewWithCenterAsync(void* center, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().TrySetViewAsync(*reinterpret_cast(¢er))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TrySetViewWithCenterAndZoomAsync(void* center, void* zoomLevel, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().TrySetViewAsync(*reinterpret_cast(¢er), *reinterpret_cast const*>(&zoomLevel))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TrySetViewWithCenterZoomHeadingAndPitchAsync(void* center, void* zoomLevel, void* heading, void* desiredPitch, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().TrySetViewAsync(*reinterpret_cast(¢er), *reinterpret_cast const*>(&zoomLevel), *reinterpret_cast const*>(&heading), *reinterpret_cast const*>(&desiredPitch))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TrySetViewWithCenterZoomHeadingPitchAndAnimationAsync(void* center, void* zoomLevel, void* heading, void* desiredPitch, int32_t animation, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().TrySetViewAsync(*reinterpret_cast(¢er), *reinterpret_cast const*>(&zoomLevel), *reinterpret_cast const*>(&heading), *reinterpret_cast const*>(&desiredPitch), *reinterpret_cast(&animation))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_BusinessLandmarksVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BusinessLandmarksVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BusinessLandmarksVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BusinessLandmarksVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TransitFeaturesVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TransitFeaturesVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TransitFeaturesVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TransitFeaturesVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PanInteractionMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PanInteractionMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PanInteractionMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PanInteractionMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RotateInteractionMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RotateInteractionMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_RotateInteractionMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RotateInteractionMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TiltInteractionMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TiltInteractionMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TiltInteractionMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TiltInteractionMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ZoomInteractionMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZoomInteractionMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ZoomInteractionMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ZoomInteractionMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Is3DSupported(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Is3DSupported()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsStreetsideSupported(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsStreetsideSupported()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Scene(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Scene()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Scene(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Scene(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ActualCamera(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ActualCamera()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TargetCamera(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TargetCamera()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CustomExperience(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CustomExperience()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CustomExperience(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CustomExperience(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_MapElementClick(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().MapElementClick(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_MapElementClick(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().MapElementClick(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_MapElementPointerEntered(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().MapElementPointerEntered(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_MapElementPointerEntered(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().MapElementPointerEntered(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_MapElementPointerExited(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().MapElementPointerExited(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_MapElementPointerExited(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().MapElementPointerExited(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_ActualCameraChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ActualCameraChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ActualCameraChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ActualCameraChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_ActualCameraChanging(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ActualCameraChanging(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ActualCameraChanging(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ActualCameraChanging(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_TargetCameraChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().TargetCameraChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_TargetCameraChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().TargetCameraChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_CustomExperienceChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().CustomExperienceChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_CustomExperienceChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().CustomExperienceChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall StartContinuousRotate(double rateInDegreesPerSecond) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StartContinuousRotate(rateInDegreesPerSecond); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall StopContinuousRotate() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StopContinuousRotate(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall StartContinuousTilt(double rateInDegreesPerSecond) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StartContinuousTilt(rateInDegreesPerSecond); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall StopContinuousTilt() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StopContinuousTilt(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall StartContinuousZoom(double rateOfChangePerSecond) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StartContinuousZoom(rateOfChangePerSecond); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall StopContinuousZoom() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StopContinuousZoom(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryRotateAsync(double degrees, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().TryRotateAsync(degrees)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryRotateToAsync(double angleInDegrees, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().TryRotateToAsync(angleInDegrees)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryTiltAsync(double degrees, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().TryTiltAsync(degrees)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryTiltToAsync(double angleInDegrees, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().TryTiltToAsync(angleInDegrees)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryZoomInAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().TryZoomInAsync()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryZoomOutAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().TryZoomOutAsync()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryZoomToAsync(double zoomLevel, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().TryZoomToAsync(zoomLevel)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TrySetSceneAsync(void* scene, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().TrySetSceneAsync(*reinterpret_cast(&scene))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TrySetSceneWithAnimationAsync(void* scene, int32_t animationKind, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().TrySetSceneAsync(*reinterpret_cast(&scene), *reinterpret_cast(&animationKind))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall add_MapRightTapped(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().MapRightTapped(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_MapRightTapped(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().MapRightTapped(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_BusinessLandmarksEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BusinessLandmarksEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BusinessLandmarksEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BusinessLandmarksEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TransitFeaturesEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TransitFeaturesEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TransitFeaturesEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TransitFeaturesEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetVisibleRegion(int32_t region, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetVisibleRegion(*reinterpret_cast(®ion))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_MapProjection(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MapProjection()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MapProjection(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MapProjection(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_StyleSheet(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().StyleSheet()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_StyleSheet(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StyleSheet(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ViewPadding(struct struct_Windows_UI_Xaml_Thickness* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ViewPadding()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ViewPadding(struct struct_Windows_UI_Xaml_Thickness value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ViewPadding(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_MapContextRequested(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().MapContextRequested(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_MapContextRequested(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().MapContextRequested(*reinterpret_cast(&token)); return 0; } int32_t __stdcall FindMapElementsAtOffsetWithRadius(winrt::Windows::Foundation::Point offset, double radius, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from>(this->shim().FindMapElementsAtOffset(*reinterpret_cast(&offset), radius)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetLocationFromOffsetWithReferenceSystem(winrt::Windows::Foundation::Point offset, int32_t desiredReferenceSystem, void** location) noexcept final try { clear_abi(location); typename D::abi_guard guard(this->shim()); this->shim().GetLocationFromOffset(*reinterpret_cast(&offset), *reinterpret_cast(&desiredReferenceSystem), *reinterpret_cast(location)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall StartContinuousPan(double horizontalPixelsPerSecond, double verticalPixelsPerSecond) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StartContinuousPan(horizontalPixelsPerSecond, verticalPixelsPerSecond); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall StopContinuousPan() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StopContinuousPan(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryPanAsync(double horizontalPixels, double verticalPixels, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().TryPanAsync(horizontalPixels, verticalPixels)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryPanToAsync(void* location, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().TryPanToAsync(*reinterpret_cast(&location))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Layers(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Layers()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Layers(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Layers(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryGetLocationFromOffset(winrt::Windows::Foundation::Point offset, void** location, bool* returnValue) noexcept final try { clear_abi(location); typename D::abi_guard guard(this->shim()); *returnValue = detach_from(this->shim().TryGetLocationFromOffset(*reinterpret_cast(&offset), *reinterpret_cast(location))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryGetLocationFromOffsetWithReferenceSystem(winrt::Windows::Foundation::Point offset, int32_t desiredReferenceSystem, void** location, bool* returnValue) noexcept final try { clear_abi(location); typename D::abi_guard guard(this->shim()); *returnValue = detach_from(this->shim().TryGetLocationFromOffset(*reinterpret_cast(&offset), *reinterpret_cast(&desiredReferenceSystem), *reinterpret_cast(location))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Region(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Region()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Region(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Region(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CanTiltDown(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanTiltDown()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanTiltUp(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanTiltUp()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanZoomIn(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanZoomIn()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanZoomOut(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanZoomOut()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_LocalLocations(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().LocalLocations()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_LocalLocations(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().LocalLocations()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_LocalLocations(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().LocalLocations()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_LocalLocations(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().LocalLocations()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall add_BusinessLandmarkClick(void* value, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().BusinessLandmarkClick(*reinterpret_cast const*>(&value))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_BusinessLandmarkClick(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().BusinessLandmarkClick(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_TransitFeatureClick(void* value, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().TransitFeatureClick(*reinterpret_cast const*>(&value))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_TransitFeatureClick(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().TransitFeatureClick(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_BusinessLandmarkRightTapped(void* value, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().BusinessLandmarkRightTapped(*reinterpret_cast const*>(&value))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_BusinessLandmarkRightTapped(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().BusinessLandmarkRightTapped(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_TransitFeatureRightTapped(void* value, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().TransitFeatureRightTapped(*reinterpret_cast const*>(&value))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_TransitFeatureRightTapped(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().TransitFeatureRightTapped(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall add_BusinessLandmarkPointerEntered(void* value, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().BusinessLandmarkPointerEntered(*reinterpret_cast const*>(&value))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_BusinessLandmarkPointerEntered(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().BusinessLandmarkPointerEntered(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_TransitFeaturePointerEntered(void* value, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().TransitFeaturePointerEntered(*reinterpret_cast const*>(&value))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_TransitFeaturePointerEntered(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().TransitFeaturePointerEntered(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_BusinessLandmarkPointerExited(void* value, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().BusinessLandmarkPointerExited(*reinterpret_cast const*>(&value))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_BusinessLandmarkPointerExited(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().BusinessLandmarkPointerExited(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_TransitFeaturePointerExited(void* value, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().TransitFeaturePointerExited(*reinterpret_cast const*>(&value))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_TransitFeaturePointerExited(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().TransitFeaturePointerExited(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* map, void** instance) noexcept final try { clear_abi(instance); typename D::abi_guard guard(this->shim()); *instance = detach_from(this->shim().CreateInstance(*reinterpret_cast(&map))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateMapControl(bool rasterRenderMode, void** returnValue) noexcept final try { clear_abi(returnValue); typename D::abi_guard guard(this->shim()); *returnValue = detach_from(this->shim().CreateMapControl(rasterRenderMode)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CenterProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CenterProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ChildrenProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ChildrenProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ColorSchemeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ColorSchemeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DesiredPitchProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DesiredPitchProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HeadingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HeadingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LandmarksVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LandmarksVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LoadingStatusProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LoadingStatusProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MapServiceTokenProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MapServiceTokenProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PedestrianFeaturesVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PedestrianFeaturesVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PitchProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PitchProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_StyleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().StyleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TrafficFlowVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TrafficFlowVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TransformOriginProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TransformOriginProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_WatermarkModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().WatermarkModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ZoomLevelProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZoomLevelProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MapElementsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MapElementsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RoutesProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RoutesProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TileSourcesProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TileSourcesProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LocationProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LocationProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetLocation(void* element, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetLocation(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetLocation(void* element, void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetLocation(*reinterpret_cast(&element), *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NormalizedAnchorPointProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NormalizedAnchorPointProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetNormalizedAnchorPoint(void* element, winrt::Windows::Foundation::Point* result) noexcept final try { zero_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetNormalizedAnchorPoint(*reinterpret_cast(&element))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SetNormalizedAnchorPoint(void* element, winrt::Windows::Foundation::Point value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SetNormalizedAnchorPoint(*reinterpret_cast(&element), *reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_BusinessLandmarksVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BusinessLandmarksVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TransitFeaturesVisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TransitFeaturesVisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PanInteractionModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PanInteractionModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RotateInteractionModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RotateInteractionModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TiltInteractionModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TiltInteractionModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ZoomInteractionModeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZoomInteractionModeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Is3DSupportedProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Is3DSupportedProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsStreetsideSupportedProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsStreetsideSupportedProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SceneProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SceneProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_BusinessLandmarksEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BusinessLandmarksEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TransitFeaturesEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TransitFeaturesEnabledProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_MapProjectionProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MapProjectionProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_StyleSheetProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().StyleSheetProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ViewPaddingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ViewPaddingProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_LayersProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LayersProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_RegionProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RegionProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CanTiltDownProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanTiltDownProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanTiltUpProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanTiltUpProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanZoomInProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanZoomInProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CanZoomOutProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanZoomOutProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_DisplayName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DisplayName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Location(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Location()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TransitProperties(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().TransitProperties()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_DisplayName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DisplayName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Location(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Location()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TransitProperties(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().TransitProperties()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_DisplayName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DisplayName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Location(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Location()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TransitProperties(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().TransitProperties()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_DisplayName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DisplayName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Location(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Location()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TransitProperties(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().TransitProperties()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ZIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZIndex()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ZIndex(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ZIndex(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Visible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Visible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Visible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Visible(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_MapTabIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MapTabIndex()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MapTabIndex(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MapTabIndex(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_MapStyleSheetEntry(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MapStyleSheetEntry()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MapStyleSheetEntry(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MapStyleSheetEntry(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MapStyleSheetEntryState(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MapStyleSheetEntryState()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MapStyleSheetEntryState(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MapStyleSheetEntryState(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Tag(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Tag()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Tag(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Tag(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Location(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Location()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Location(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Location(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Model(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Model()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Model(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Model(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Heading(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Heading()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Heading(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Heading(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Pitch(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Pitch()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Pitch(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Pitch(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Roll(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Roll()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Roll(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Roll(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Scale(winrt::Windows::Foundation::Numerics::float3* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Scale()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Scale(winrt::Windows::Foundation::Numerics::float3 value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Scale(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_LocationProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LocationProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HeadingProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HeadingProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PitchProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PitchProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RollProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RollProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ScaleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ScaleProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsEnabled(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Position(winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Position()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Location(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Location()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MapElements(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().MapElements()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Position(winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Position()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Location(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Location()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MapElement(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MapElement()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Position(winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Position()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Location(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Location()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MapElement(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MapElement()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ZIndexProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZIndexProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VisibleProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_MapTabIndexProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MapTabIndexProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_MapStyleSheetEntryProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MapStyleSheetEntryProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MapStyleSheetEntryStateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MapStyleSheetEntryStateProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TagProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TagProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsEnabledProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_MapElements(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().MapElements()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MapElements(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MapElements(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_MapElementClick(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().MapElementClick(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_MapElementClick(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().MapElementClick(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_MapElementPointerEntered(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().MapElementPointerEntered(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_MapElementPointerEntered(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().MapElementPointerEntered(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_MapElementPointerExited(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().MapElementPointerExited(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_MapElementPointerExited(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().MapElementPointerExited(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_MapContextRequested(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().MapContextRequested(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_MapContextRequested(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().MapContextRequested(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Position(winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Position()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Location(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Location()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MapElements(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().MapElements()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Position(winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Position()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Location(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Location()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MapElements(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().MapElements()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Position(winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Position()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Location(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Location()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MapElement(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MapElement()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Position(winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Position()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Location(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Location()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MapElement(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MapElement()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_MapElementsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MapElementsProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Location(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Location()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Location(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Location(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Title(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Title()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Title(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Title(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NormalizedAnchorPoint(winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NormalizedAnchorPoint()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_NormalizedAnchorPoint(winrt::Windows::Foundation::Point value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().NormalizedAnchorPoint(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Image(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Image()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Image(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Image(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CollisionBehaviorDesired(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CollisionBehaviorDesired()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CollisionBehaviorDesired(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CollisionBehaviorDesired(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_LocationProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LocationProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TitleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TitleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NormalizedAnchorPointProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NormalizedAnchorPointProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CollisionBehaviorDesiredProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CollisionBehaviorDesiredProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Position(winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Position()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Location(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Location()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ItemsSource(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemsSource()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ItemsSource(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ItemsSource(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Items(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Items()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemTemplate(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemTemplate()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ItemTemplate(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ItemTemplate(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ItemsSourceProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemsSourceProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemTemplateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemTemplateProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_MapTabIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MapTabIndex()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_MapTabIndex(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MapTabIndex(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Visible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Visible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Visible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Visible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ZIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZIndex()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ZIndex(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ZIndex(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_MapTabIndexProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MapTabIndexProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VisibleProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ZIndexProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZIndexProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateFrom3MFAsync(void* source, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().CreateFrom3MFAsync(*reinterpret_cast(&source))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateFrom3MFWithShadingOptionAsync(void* source, int32_t shadingOption, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().CreateFrom3MFAsync(*reinterpret_cast(&source), *reinterpret_cast(&shadingOption))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Path(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Path()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Path(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Path(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_StrokeColor(struct struct_Windows_UI_Color* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().StrokeColor()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_StrokeColor(struct struct_Windows_UI_Color value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StrokeColor(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_StrokeThickness(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().StrokeThickness()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_StrokeThickness(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StrokeThickness(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_StrokeDashed(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().StrokeDashed()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_StrokeDashed(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StrokeDashed(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FillColor(struct struct_Windows_UI_Color* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FillColor()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FillColor(struct struct_Windows_UI_Color value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FillColor(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Paths(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Paths()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_PathProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PathProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_StrokeThicknessProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().StrokeThicknessProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_StrokeDashedProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().StrokeDashedProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Path(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Path()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Path(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Path(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_StrokeColor(struct struct_Windows_UI_Color* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().StrokeColor()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_StrokeColor(struct struct_Windows_UI_Color value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StrokeColor(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_StrokeThickness(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().StrokeThickness()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_StrokeThickness(double value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StrokeThickness(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_StrokeDashed(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().StrokeDashed()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_StrokeDashed(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StrokeDashed(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_PathProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PathProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_StrokeDashedProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().StrokeDashedProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Position(winrt::Windows::Foundation::Point* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Position()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Location(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Location()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_RouteColor(struct struct_Windows_UI_Color* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RouteColor()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_RouteColor(struct struct_Windows_UI_Color value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RouteColor(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OutlineColor(struct struct_Windows_UI_Color* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OutlineColor()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_OutlineColor(struct struct_Windows_UI_Color value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OutlineColor(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Route(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Route()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithMapRoute(void* route, void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstanceWithMapRoute(*reinterpret_cast(&route), *reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (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_TargetCamera(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TargetCamera()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_TargetCameraChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().TargetCameraChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_TargetCameraChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().TargetCameraChanged(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateFromBoundingBox(void* bounds, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateFromBoundingBox(*reinterpret_cast(&bounds))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateFromBoundingBoxWithHeadingAndPitch(void* bounds, double headingInDegrees, double pitchInDegrees, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateFromBoundingBox(*reinterpret_cast(&bounds), headingInDegrees, pitchInDegrees)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateFromCamera(void* camera, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateFromCamera(*reinterpret_cast(&camera))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateFromLocation(void* location, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateFromLocation(*reinterpret_cast(&location))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateFromLocationWithHeadingAndPitch(void* location, double headingInDegrees, double pitchInDegrees, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateFromLocation(*reinterpret_cast(&location), headingInDegrees, pitchInDegrees)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateFromLocationAndRadius(void* location, double radiusInMeters, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateFromLocationAndRadius(*reinterpret_cast(&location), radiusInMeters)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateFromLocationAndRadiusWithHeadingAndPitch(void* location, double radiusInMeters, double headingInDegrees, double pitchInDegrees, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateFromLocationAndRadius(*reinterpret_cast(&location), radiusInMeters, headingInDegrees, pitchInDegrees)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateFromLocations(void* locations, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateFromLocations(*reinterpret_cast const*>(&locations))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateFromLocationsWithHeadingAndPitch(void* locations, double headingInDegrees, double pitchInDegrees, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateFromLocations(*reinterpret_cast const*>(&locations), headingInDegrees, pitchInDegrees)); 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_Area(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Area()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Airport(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Airport()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Cemetery(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Cemetery()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Continent(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Continent()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Education(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Education()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IndigenousPeoplesReserve(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IndigenousPeoplesReserve()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Island(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Island()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Medical(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Medical()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Military(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Military()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Nautical(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Nautical()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Neighborhood(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Neighborhood()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Runway(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Runway()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Sand(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Sand()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ShoppingCenter(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ShoppingCenter()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Stadium(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Stadium()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Vegetation(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Vegetation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Forest(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Forest()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_GolfCourse(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GolfCourse()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Park(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Park()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PlayingField(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PlayingField()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Reserve(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Reserve()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Point(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Point()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_NaturalPoint(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().NaturalPoint()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Peak(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Peak()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VolcanicPeak(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VolcanicPeak()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_WaterPoint(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().WaterPoint()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PointOfInterest(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PointOfInterest()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Business(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Business()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FoodPoint(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FoodPoint()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PopulatedPlace(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PopulatedPlace()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Capital(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Capital()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AdminDistrictCapital(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AdminDistrictCapital()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CountryRegionCapital(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CountryRegionCapital()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RoadShield(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RoadShield()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RoadExit(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RoadExit()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Transit(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Transit()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Political(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Political()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CountryRegion(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CountryRegion()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AdminDistrict(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AdminDistrict()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_District(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().District()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Structure(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Structure()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Building(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Building()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_EducationBuilding(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().EducationBuilding()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MedicalBuilding(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MedicalBuilding()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TransitBuilding(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TransitBuilding()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Transportation(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Transportation()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Road(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Road()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ControlledAccessHighway(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ControlledAccessHighway()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_HighSpeedRamp(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().HighSpeedRamp()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Highway(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Highway()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_MajorRoad(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MajorRoad()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ArterialRoad(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ArterialRoad()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Street(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Street()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Ramp(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Ramp()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_UnpavedStreet(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().UnpavedStreet()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TollRoad(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TollRoad()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Railway(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Railway()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Trail(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Trail()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_WaterRoute(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().WaterRoute()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Water(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Water()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_River(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().River()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RouteLine(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RouteLine()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_WalkingRoute(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().WalkingRoute()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DrivingRoute(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DrivingRoute()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Disabled(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Disabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Hover(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Hover()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Selected(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Selected()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Aerial(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Aerial()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall AerialWithOverlay(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().AerialWithOverlay()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RoadLight(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().RoadLight()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RoadDark(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().RoadDark()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RoadHighContrastLight(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().RoadHighContrastLight()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RoadHighContrastDark(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().RoadHighContrastDark()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Combine(void* styleSheets, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().Combine(*reinterpret_cast const*>(&styleSheets))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ParseFromJson(void* styleAsJson, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().ParseFromJson(*reinterpret_cast(&styleAsJson))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryParseFromJson(void* styleAsJson, void** styleSheet, bool* returnValue) noexcept final try { clear_abi(styleSheet); typename D::abi_guard guard(this->shim()); *returnValue = detach_from(this->shim().TryParseFromJson(*reinterpret_cast(&styleAsJson), *reinterpret_cast(styleSheet))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Camera(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Camera()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ChangeReason(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ChangeReason()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_PixelData(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PixelData()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PixelData(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PixelData(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetDeferral(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetDeferral()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Complete() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Complete(); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_X(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().X()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Y(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Y()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ZoomLevel(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZoomLevel()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Request(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Request()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_FrameIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FrameIndex()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstance(void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstance(*reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_DataSource(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DataSource()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DataSource(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DataSource(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Layer(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Layer()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Layer(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Layer(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ZoomLevelRange(struct struct_Windows_UI_Xaml_Controls_Maps_MapZoomLevelRange* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZoomLevelRange()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ZoomLevelRange(struct struct_Windows_UI_Xaml_Controls_Maps_MapZoomLevelRange value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ZoomLevelRange(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Bounds(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Bounds()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Bounds(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Bounds(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AllowOverstretch(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AllowOverstretch()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AllowOverstretch(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AllowOverstretch(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsFadingEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsFadingEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsFadingEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsFadingEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsTransparencyEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsTransparencyEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsTransparencyEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsTransparencyEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsRetryEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsRetryEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_IsRetryEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().IsRetryEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ZIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZIndex()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ZIndex(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ZIndex(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TilePixelSize(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TilePixelSize()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TilePixelSize(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TilePixelSize(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Visible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Visible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Visible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Visible(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_AnimationState(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AnimationState()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AutoPlay(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AutoPlay()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AutoPlay(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AutoPlay(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FrameCount(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FrameCount()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FrameCount(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FrameCount(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FrameDuration(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FrameDuration()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_FrameDuration(int64_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().FrameDuration(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Pause() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Pause(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Play() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Play(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Stop() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Stop(); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall 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(); } int32_t __stdcall CreateInstanceWithDataSource(void* dataSource, void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstanceWithDataSource(*reinterpret_cast(&dataSource), *reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateInstanceWithDataSourceAndZoomRange(void* dataSource, struct struct_Windows_UI_Xaml_Controls_Maps_MapZoomLevelRange zoomLevelRange, void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstanceWithDataSourceAndZoomRange(*reinterpret_cast(&dataSource), *reinterpret_cast(&zoomLevelRange), *reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateInstanceWithDataSourceZoomRangeAndBounds(void* dataSource, struct struct_Windows_UI_Xaml_Controls_Maps_MapZoomLevelRange zoomLevelRange, void* bounds, void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstanceWithDataSourceZoomRangeAndBounds(*reinterpret_cast(&dataSource), *reinterpret_cast(&zoomLevelRange), *reinterpret_cast(&bounds), *reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (innerInterface) *innerInterface = detach_abi(winrt_impl_innerInterface); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateInstanceWithDataSourceZoomRangeBoundsAndTileSize(void* dataSource, struct struct_Windows_UI_Xaml_Controls_Maps_MapZoomLevelRange zoomLevelRange, void* bounds, int32_t tileSizeInPixels, void* baseInterface, void** innerInterface, void** value) noexcept final try { if (innerInterface) *innerInterface = nullptr; winrt::Windows::Foundation::IInspectable winrt_impl_innerInterface; clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstanceWithDataSourceZoomRangeBoundsAndTileSize(*reinterpret_cast(&dataSource), *reinterpret_cast(&zoomLevelRange), *reinterpret_cast(&bounds), tileSizeInPixels, *reinterpret_cast(&baseInterface), winrt_impl_innerInterface)); if (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_DataSourceProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DataSourceProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LayerProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LayerProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ZoomLevelRangeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZoomLevelRangeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BoundsProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BoundsProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AllowOverstretchProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AllowOverstretchProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsFadingEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsFadingEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsTransparencyEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsTransparencyEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsRetryEnabledProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsRetryEnabledProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ZIndexProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZIndexProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TilePixelSizeProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TilePixelSizeProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VisibleProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VisibleProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_AnimationStateProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AnimationStateProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AutoPlayProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AutoPlayProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FrameCountProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FrameCountProperty()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_FrameDurationProperty(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FrameDurationProperty()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Uri(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Uri()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Uri(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Uri(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetDeferral(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetDeferral()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Complete() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Complete(); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_X(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().X()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Y(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Y()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ZoomLevel(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZoomLevel()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Request(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Request()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_FrameIndex(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().FrameIndex()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_AddressTextVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AddressTextVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AddressTextVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AddressTextVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CursorVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CursorVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CursorVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CursorVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OverviewMapVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OverviewMapVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_OverviewMapVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().OverviewMapVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_StreetLabelsVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().StreetLabelsVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_StreetLabelsVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StreetLabelsVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExitButtonVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExitButtonVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ExitButtonVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ExitButtonVisible(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ZoomButtonsVisible(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ZoomButtonsVisible()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ZoomButtonsVisible(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ZoomButtonsVisible(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateInstanceWithPanorama(void* panorama, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstanceWithPanorama(*reinterpret_cast(&panorama))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateInstanceWithPanoramaHeadingPitchAndFieldOfView(void* panorama, double headingInDegrees, double pitchInDegrees, double fieldOfViewInDegrees, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateInstanceWithPanoramaHeadingPitchAndFieldOfView(*reinterpret_cast(&panorama), headingInDegrees, pitchInDegrees, fieldOfViewInDegrees)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Location(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Location()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall FindNearbyWithLocationAsync(void* location, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().FindNearbyAsync(*reinterpret_cast(&location))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall FindNearbyWithLocationAndRadiusAsync(void* location, double radiusInMeters, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().FindNearbyAsync(*reinterpret_cast(&location), radiusInMeters)); return 0; } catch (...) { return to_hresult(); } }; #endif } WINRT_EXPORT namespace winrt::Windows::UI::Xaml::Controls::Maps { inline CustomMapTileDataSource::CustomMapTileDataSource() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ICustomMapTileDataSourceFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline HttpMapTileDataSource::HttpMapTileDataSource() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IHttpMapTileDataSourceFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline HttpMapTileDataSource::HttpMapTileDataSource(param::hstring const& uriFormatString) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IHttpMapTileDataSourceFactory const& f) { return f.CreateInstanceWithUriFormatString(uriFormatString, baseInterface, innerInterface); }); } inline LocalMapTileDataSource::LocalMapTileDataSource() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ILocalMapTileDataSourceFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline LocalMapTileDataSource::LocalMapTileDataSource(param::hstring const& uriFormatString) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](ILocalMapTileDataSourceFactory const& f) { return f.CreateInstanceWithUriFormatString(uriFormatString, baseInterface, innerInterface); }); } inline MapActualCameraChangedEventArgs::MapActualCameraChangedEventArgs() : MapActualCameraChangedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline MapActualCameraChangingEventArgs::MapActualCameraChangingEventArgs() : MapActualCameraChangingEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline MapBillboard::MapBillboard(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera const& camera) : MapBillboard(impl::call_factory([&](IMapBillboardFactory const& f) { return f.CreateInstanceFromCamera(camera); })) { } inline auto MapBillboard::LocationProperty() { return impl::call_factory_cast([](IMapBillboardStatics const& f) { return f.LocationProperty(); }); } inline auto MapBillboard::NormalizedAnchorPointProperty() { return impl::call_factory_cast([](IMapBillboardStatics const& f) { return f.NormalizedAnchorPointProperty(); }); } inline auto MapBillboard::CollisionBehaviorDesiredProperty() { return impl::call_factory_cast([](IMapBillboardStatics const& f) { return f.CollisionBehaviorDesiredProperty(); }); } inline MapCamera::MapCamera(winrt::Windows::Devices::Geolocation::Geopoint const& location) : MapCamera(impl::call_factory([&](IMapCameraFactory const& f) { return f.CreateInstanceWithLocation(location); })) { } inline MapCamera::MapCamera(winrt::Windows::Devices::Geolocation::Geopoint const& location, double headingInDegrees) : MapCamera(impl::call_factory([&](IMapCameraFactory const& f) { return f.CreateInstanceWithLocationAndHeading(location, headingInDegrees); })) { } inline MapCamera::MapCamera(winrt::Windows::Devices::Geolocation::Geopoint const& location, double headingInDegrees, double pitchInDegrees) : MapCamera(impl::call_factory([&](IMapCameraFactory const& f) { return f.CreateInstanceWithLocationHeadingAndPitch(location, headingInDegrees, pitchInDegrees); })) { } inline MapCamera::MapCamera(winrt::Windows::Devices::Geolocation::Geopoint const& location, double headingInDegrees, double pitchInDegrees, double rollInDegrees, double fieldOfViewInDegrees) : MapCamera(impl::call_factory([&](IMapCameraFactory const& f) { return f.CreateInstanceWithLocationHeadingPitchRollAndFieldOfView(location, headingInDegrees, pitchInDegrees, rollInDegrees, fieldOfViewInDegrees); })) { } inline MapContextRequestedEventArgs::MapContextRequestedEventArgs() : MapContextRequestedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline MapControl::MapControl() : MapControl(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto MapControl::CenterProperty() { return impl::call_factory_cast([](IMapControlStatics const& f) { return f.CenterProperty(); }); } inline auto MapControl::ChildrenProperty() { return impl::call_factory_cast([](IMapControlStatics const& f) { return f.ChildrenProperty(); }); } inline auto MapControl::ColorSchemeProperty() { return impl::call_factory_cast([](IMapControlStatics const& f) { return f.ColorSchemeProperty(); }); } inline auto MapControl::DesiredPitchProperty() { return impl::call_factory_cast([](IMapControlStatics const& f) { return f.DesiredPitchProperty(); }); } inline auto MapControl::HeadingProperty() { return impl::call_factory_cast([](IMapControlStatics const& f) { return f.HeadingProperty(); }); } inline auto MapControl::LandmarksVisibleProperty() { return impl::call_factory_cast([](IMapControlStatics const& f) { return f.LandmarksVisibleProperty(); }); } inline auto MapControl::LoadingStatusProperty() { return impl::call_factory_cast([](IMapControlStatics const& f) { return f.LoadingStatusProperty(); }); } inline auto MapControl::MapServiceTokenProperty() { return impl::call_factory_cast([](IMapControlStatics const& f) { return f.MapServiceTokenProperty(); }); } inline auto MapControl::PedestrianFeaturesVisibleProperty() { return impl::call_factory_cast([](IMapControlStatics const& f) { return f.PedestrianFeaturesVisibleProperty(); }); } inline auto MapControl::PitchProperty() { return impl::call_factory_cast([](IMapControlStatics const& f) { return f.PitchProperty(); }); } inline auto MapControl::StyleProperty() { return impl::call_factory_cast([](IMapControlStatics const& f) { return f.StyleProperty(); }); } inline auto MapControl::TrafficFlowVisibleProperty() { return impl::call_factory_cast([](IMapControlStatics const& f) { return f.TrafficFlowVisibleProperty(); }); } inline auto MapControl::TransformOriginProperty() { return impl::call_factory_cast([](IMapControlStatics const& f) { return f.TransformOriginProperty(); }); } inline auto MapControl::WatermarkModeProperty() { return impl::call_factory_cast([](IMapControlStatics const& f) { return f.WatermarkModeProperty(); }); } inline auto MapControl::ZoomLevelProperty() { return impl::call_factory_cast([](IMapControlStatics const& f) { return f.ZoomLevelProperty(); }); } inline auto MapControl::MapElementsProperty() { return impl::call_factory_cast([](IMapControlStatics const& f) { return f.MapElementsProperty(); }); } inline auto MapControl::RoutesProperty() { return impl::call_factory_cast([](IMapControlStatics const& f) { return f.RoutesProperty(); }); } inline auto MapControl::TileSourcesProperty() { return impl::call_factory_cast([](IMapControlStatics const& f) { return f.TileSourcesProperty(); }); } inline auto MapControl::LocationProperty() { return impl::call_factory_cast([](IMapControlStatics const& f) { return f.LocationProperty(); }); } inline auto MapControl::GetLocation(winrt::Windows::UI::Xaml::DependencyObject const& element) { return impl::call_factory([&](IMapControlStatics const& f) { return f.GetLocation(element); }); } inline auto MapControl::SetLocation(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Devices::Geolocation::Geopoint const& value) { impl::call_factory([&](IMapControlStatics const& f) { return f.SetLocation(element, value); }); } inline auto MapControl::NormalizedAnchorPointProperty() { return impl::call_factory_cast([](IMapControlStatics const& f) { return f.NormalizedAnchorPointProperty(); }); } inline auto MapControl::GetNormalizedAnchorPoint(winrt::Windows::UI::Xaml::DependencyObject const& element) { return impl::call_factory([&](IMapControlStatics const& f) { return f.GetNormalizedAnchorPoint(element); }); } inline auto MapControl::SetNormalizedAnchorPoint(winrt::Windows::UI::Xaml::DependencyObject const& element, winrt::Windows::Foundation::Point const& value) { impl::call_factory([&](IMapControlStatics const& f) { return f.SetNormalizedAnchorPoint(element, value); }); } inline auto MapControl::BusinessLandmarksVisibleProperty() { return impl::call_factory_cast([](IMapControlStatics2 const& f) { return f.BusinessLandmarksVisibleProperty(); }); } inline auto MapControl::TransitFeaturesVisibleProperty() { return impl::call_factory_cast([](IMapControlStatics2 const& f) { return f.TransitFeaturesVisibleProperty(); }); } inline auto MapControl::PanInteractionModeProperty() { return impl::call_factory_cast([](IMapControlStatics2 const& f) { return f.PanInteractionModeProperty(); }); } inline auto MapControl::RotateInteractionModeProperty() { return impl::call_factory_cast([](IMapControlStatics2 const& f) { return f.RotateInteractionModeProperty(); }); } inline auto MapControl::TiltInteractionModeProperty() { return impl::call_factory_cast([](IMapControlStatics2 const& f) { return f.TiltInteractionModeProperty(); }); } inline auto MapControl::ZoomInteractionModeProperty() { return impl::call_factory_cast([](IMapControlStatics2 const& f) { return f.ZoomInteractionModeProperty(); }); } inline auto MapControl::Is3DSupportedProperty() { return impl::call_factory_cast([](IMapControlStatics2 const& f) { return f.Is3DSupportedProperty(); }); } inline auto MapControl::IsStreetsideSupportedProperty() { return impl::call_factory_cast([](IMapControlStatics2 const& f) { return f.IsStreetsideSupportedProperty(); }); } inline auto MapControl::SceneProperty() { return impl::call_factory_cast([](IMapControlStatics2 const& f) { return f.SceneProperty(); }); } inline auto MapControl::BusinessLandmarksEnabledProperty() { return impl::call_factory_cast([](IMapControlStatics4 const& f) { return f.BusinessLandmarksEnabledProperty(); }); } inline auto MapControl::TransitFeaturesEnabledProperty() { return impl::call_factory_cast([](IMapControlStatics4 const& f) { return f.TransitFeaturesEnabledProperty(); }); } inline auto MapControl::MapProjectionProperty() { return impl::call_factory_cast([](IMapControlStatics5 const& f) { return f.MapProjectionProperty(); }); } inline auto MapControl::StyleSheetProperty() { return impl::call_factory_cast([](IMapControlStatics5 const& f) { return f.StyleSheetProperty(); }); } inline auto MapControl::ViewPaddingProperty() { return impl::call_factory_cast([](IMapControlStatics5 const& f) { return f.ViewPaddingProperty(); }); } inline auto MapControl::LayersProperty() { return impl::call_factory_cast([](IMapControlStatics6 const& f) { return f.LayersProperty(); }); } inline auto MapControl::RegionProperty() { return impl::call_factory_cast([](IMapControlStatics7 const& f) { return f.RegionProperty(); }); } inline auto MapControl::CanTiltDownProperty() { return impl::call_factory_cast([](IMapControlStatics8 const& f) { return f.CanTiltDownProperty(); }); } inline auto MapControl::CanTiltUpProperty() { return impl::call_factory_cast([](IMapControlStatics8 const& f) { return f.CanTiltUpProperty(); }); } inline auto MapControl::CanZoomInProperty() { return impl::call_factory_cast([](IMapControlStatics8 const& f) { return f.CanZoomInProperty(); }); } inline auto MapControl::CanZoomOutProperty() { return impl::call_factory_cast([](IMapControlStatics8 const& f) { return f.CanZoomOutProperty(); }); } inline MapControlBusinessLandmarkClickEventArgs::MapControlBusinessLandmarkClickEventArgs() : MapControlBusinessLandmarkClickEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline MapControlBusinessLandmarkPointerEnteredEventArgs::MapControlBusinessLandmarkPointerEnteredEventArgs() : MapControlBusinessLandmarkPointerEnteredEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline MapControlBusinessLandmarkPointerExitedEventArgs::MapControlBusinessLandmarkPointerExitedEventArgs() : MapControlBusinessLandmarkPointerExitedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline MapControlBusinessLandmarkRightTappedEventArgs::MapControlBusinessLandmarkRightTappedEventArgs() : MapControlBusinessLandmarkRightTappedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline MapControlDataHelper::MapControlDataHelper(winrt::Windows::UI::Xaml::Controls::Maps::MapControl const& map) : MapControlDataHelper(impl::call_factory([&](IMapControlDataHelperFactory const& f) { return f.CreateInstance(map); })) { } inline auto MapControlDataHelper::CreateMapControl(bool rasterRenderMode) { return impl::call_factory([&](IMapControlDataHelperStatics const& f) { return f.CreateMapControl(rasterRenderMode); }); } inline MapControlTransitFeatureClickEventArgs::MapControlTransitFeatureClickEventArgs() : MapControlTransitFeatureClickEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline MapControlTransitFeaturePointerEnteredEventArgs::MapControlTransitFeaturePointerEnteredEventArgs() : MapControlTransitFeaturePointerEnteredEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline MapControlTransitFeaturePointerExitedEventArgs::MapControlTransitFeaturePointerExitedEventArgs() : MapControlTransitFeaturePointerExitedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline MapControlTransitFeatureRightTappedEventArgs::MapControlTransitFeatureRightTappedEventArgs() : MapControlTransitFeatureRightTappedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline MapCustomExperience::MapCustomExperience() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IMapCustomExperienceFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline MapCustomExperienceChangedEventArgs::MapCustomExperienceChangedEventArgs() : MapCustomExperienceChangedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline MapElement::MapElement() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IMapElementFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto MapElement::ZIndexProperty() { return impl::call_factory_cast([](IMapElementStatics const& f) { return f.ZIndexProperty(); }); } inline auto MapElement::VisibleProperty() { return impl::call_factory_cast([](IMapElementStatics const& f) { return f.VisibleProperty(); }); } inline auto MapElement::MapTabIndexProperty() { return impl::call_factory_cast([](IMapElementStatics2 const& f) { return f.MapTabIndexProperty(); }); } inline auto MapElement::MapStyleSheetEntryProperty() { return impl::call_factory_cast([](IMapElementStatics3 const& f) { return f.MapStyleSheetEntryProperty(); }); } inline auto MapElement::MapStyleSheetEntryStateProperty() { return impl::call_factory_cast([](IMapElementStatics3 const& f) { return f.MapStyleSheetEntryStateProperty(); }); } inline auto MapElement::TagProperty() { return impl::call_factory_cast([](IMapElementStatics3 const& f) { return f.TagProperty(); }); } inline auto MapElement::IsEnabledProperty() { return impl::call_factory_cast([](IMapElementStatics4 const& f) { return f.IsEnabledProperty(); }); } inline MapElement3D::MapElement3D() : MapElement3D(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto MapElement3D::LocationProperty() { return impl::call_factory_cast([](IMapElement3DStatics const& f) { return f.LocationProperty(); }); } inline auto MapElement3D::HeadingProperty() { return impl::call_factory_cast([](IMapElement3DStatics const& f) { return f.HeadingProperty(); }); } inline auto MapElement3D::PitchProperty() { return impl::call_factory_cast([](IMapElement3DStatics const& f) { return f.PitchProperty(); }); } inline auto MapElement3D::RollProperty() { return impl::call_factory_cast([](IMapElement3DStatics const& f) { return f.RollProperty(); }); } inline auto MapElement3D::ScaleProperty() { return impl::call_factory_cast([](IMapElement3DStatics const& f) { return f.ScaleProperty(); }); } inline MapElementClickEventArgs::MapElementClickEventArgs() : MapElementClickEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline MapElementPointerEnteredEventArgs::MapElementPointerEnteredEventArgs() : MapElementPointerEnteredEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline MapElementPointerExitedEventArgs::MapElementPointerExitedEventArgs() : MapElementPointerExitedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline MapElementsLayer::MapElementsLayer() : MapElementsLayer(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto MapElementsLayer::MapElementsProperty() { return impl::call_factory_cast([](IMapElementsLayerStatics const& f) { return f.MapElementsProperty(); }); } inline MapElementsLayerClickEventArgs::MapElementsLayerClickEventArgs() : MapElementsLayerClickEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline MapElementsLayerContextRequestedEventArgs::MapElementsLayerContextRequestedEventArgs() : MapElementsLayerContextRequestedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline MapElementsLayerPointerEnteredEventArgs::MapElementsLayerPointerEnteredEventArgs() : MapElementsLayerPointerEnteredEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline MapElementsLayerPointerExitedEventArgs::MapElementsLayerPointerExitedEventArgs() : MapElementsLayerPointerExitedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline MapIcon::MapIcon() : MapIcon(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto MapIcon::LocationProperty() { return impl::call_factory_cast([](IMapIconStatics const& f) { return f.LocationProperty(); }); } inline auto MapIcon::TitleProperty() { return impl::call_factory_cast([](IMapIconStatics const& f) { return f.TitleProperty(); }); } inline auto MapIcon::NormalizedAnchorPointProperty() { return impl::call_factory_cast([](IMapIconStatics const& f) { return f.NormalizedAnchorPointProperty(); }); } inline auto MapIcon::CollisionBehaviorDesiredProperty() { return impl::call_factory_cast([](IMapIconStatics2 const& f) { return f.CollisionBehaviorDesiredProperty(); }); } inline MapInputEventArgs::MapInputEventArgs() : MapInputEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline MapItemsControl::MapItemsControl() : MapItemsControl(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto MapItemsControl::ItemsSourceProperty() { return impl::call_factory_cast([](IMapItemsControlStatics const& f) { return f.ItemsSourceProperty(); }); } inline auto MapItemsControl::ItemsProperty() { return impl::call_factory_cast([](IMapItemsControlStatics const& f) { return f.ItemsProperty(); }); } inline auto MapItemsControl::ItemTemplateProperty() { return impl::call_factory_cast([](IMapItemsControlStatics const& f) { return f.ItemTemplateProperty(); }); } inline MapLayer::MapLayer() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IMapLayerFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto MapLayer::MapTabIndexProperty() { return impl::call_factory_cast([](IMapLayerStatics const& f) { return f.MapTabIndexProperty(); }); } inline auto MapLayer::VisibleProperty() { return impl::call_factory_cast([](IMapLayerStatics const& f) { return f.VisibleProperty(); }); } inline auto MapLayer::ZIndexProperty() { return impl::call_factory_cast([](IMapLayerStatics const& f) { return f.ZIndexProperty(); }); } inline MapModel3D::MapModel3D() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IMapModel3DFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline auto MapModel3D::CreateFrom3MFAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& source) { return impl::call_factory([&](IMapModel3DStatics const& f) { return f.CreateFrom3MFAsync(source); }); } inline auto MapModel3D::CreateFrom3MFAsync(winrt::Windows::Storage::Streams::IRandomAccessStreamReference const& source, winrt::Windows::UI::Xaml::Controls::Maps::MapModel3DShadingOption const& shadingOption) { return impl::call_factory([&](IMapModel3DStatics const& f) { return f.CreateFrom3MFAsync(source, shadingOption); }); } inline MapPolygon::MapPolygon() : MapPolygon(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto MapPolygon::PathProperty() { return impl::call_factory_cast([](IMapPolygonStatics const& f) { return f.PathProperty(); }); } inline auto MapPolygon::StrokeThicknessProperty() { return impl::call_factory_cast([](IMapPolygonStatics const& f) { return f.StrokeThicknessProperty(); }); } inline auto MapPolygon::StrokeDashedProperty() { return impl::call_factory_cast([](IMapPolygonStatics const& f) { return f.StrokeDashedProperty(); }); } inline MapPolyline::MapPolyline() : MapPolyline(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline auto MapPolyline::PathProperty() { return impl::call_factory_cast([](IMapPolylineStatics const& f) { return f.PathProperty(); }); } inline auto MapPolyline::StrokeDashedProperty() { return impl::call_factory_cast([](IMapPolylineStatics const& f) { return f.StrokeDashedProperty(); }); } inline MapRightTappedEventArgs::MapRightTappedEventArgs() : MapRightTappedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline MapRouteView::MapRouteView(winrt::Windows::Services::Maps::MapRoute const& route) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IMapRouteViewFactory const& f) { return f.CreateInstanceWithMapRoute(route, baseInterface, innerInterface); }); } inline auto MapScene::CreateFromBoundingBox(winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds) { return impl::call_factory([&](IMapSceneStatics const& f) { return f.CreateFromBoundingBox(bounds); }); } inline auto MapScene::CreateFromBoundingBox(winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds, double headingInDegrees, double pitchInDegrees) { return impl::call_factory([&](IMapSceneStatics const& f) { return f.CreateFromBoundingBox(bounds, headingInDegrees, pitchInDegrees); }); } inline auto MapScene::CreateFromCamera(winrt::Windows::UI::Xaml::Controls::Maps::MapCamera const& camera) { return impl::call_factory([&](IMapSceneStatics const& f) { return f.CreateFromCamera(camera); }); } inline auto MapScene::CreateFromLocation(winrt::Windows::Devices::Geolocation::Geopoint const& location) { return impl::call_factory([&](IMapSceneStatics const& f) { return f.CreateFromLocation(location); }); } inline auto MapScene::CreateFromLocation(winrt::Windows::Devices::Geolocation::Geopoint const& location, double headingInDegrees, double pitchInDegrees) { return impl::call_factory([&](IMapSceneStatics const& f) { return f.CreateFromLocation(location, headingInDegrees, pitchInDegrees); }); } inline auto MapScene::CreateFromLocationAndRadius(winrt::Windows::Devices::Geolocation::Geopoint const& location, double radiusInMeters) { return impl::call_factory([&](IMapSceneStatics const& f) { return f.CreateFromLocationAndRadius(location, radiusInMeters); }); } inline auto MapScene::CreateFromLocationAndRadius(winrt::Windows::Devices::Geolocation::Geopoint const& location, double radiusInMeters, double headingInDegrees, double pitchInDegrees) { return impl::call_factory([&](IMapSceneStatics const& f) { return f.CreateFromLocationAndRadius(location, radiusInMeters, headingInDegrees, pitchInDegrees); }); } inline auto MapScene::CreateFromLocations(param::iterable const& locations) { return impl::call_factory([&](IMapSceneStatics const& f) { return f.CreateFromLocations(locations); }); } inline auto MapScene::CreateFromLocations(param::iterable const& locations, double headingInDegrees, double pitchInDegrees) { return impl::call_factory([&](IMapSceneStatics const& f) { return f.CreateFromLocations(locations, headingInDegrees, pitchInDegrees); }); } inline auto MapStyleSheet::Aerial() { return impl::call_factory_cast([](IMapStyleSheetStatics const& f) { return f.Aerial(); }); } inline auto MapStyleSheet::AerialWithOverlay() { return impl::call_factory_cast([](IMapStyleSheetStatics const& f) { return f.AerialWithOverlay(); }); } inline auto MapStyleSheet::RoadLight() { return impl::call_factory_cast([](IMapStyleSheetStatics const& f) { return f.RoadLight(); }); } inline auto MapStyleSheet::RoadDark() { return impl::call_factory_cast([](IMapStyleSheetStatics const& f) { return f.RoadDark(); }); } inline auto MapStyleSheet::RoadHighContrastLight() { return impl::call_factory_cast([](IMapStyleSheetStatics const& f) { return f.RoadHighContrastLight(); }); } inline auto MapStyleSheet::RoadHighContrastDark() { return impl::call_factory_cast([](IMapStyleSheetStatics const& f) { return f.RoadHighContrastDark(); }); } inline auto MapStyleSheet::Combine(param::iterable const& styleSheets) { return impl::call_factory([&](IMapStyleSheetStatics const& f) { return f.Combine(styleSheets); }); } inline auto MapStyleSheet::ParseFromJson(param::hstring const& styleAsJson) { return impl::call_factory([&](IMapStyleSheetStatics const& f) { return f.ParseFromJson(styleAsJson); }); } inline auto MapStyleSheet::TryParseFromJson(param::hstring const& styleAsJson, winrt::Windows::UI::Xaml::Controls::Maps::MapStyleSheet& styleSheet) { return impl::call_factory([&](IMapStyleSheetStatics const& f) { return f.TryParseFromJson(styleAsJson, styleSheet); }); } inline auto MapStyleSheetEntries::Area() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.Area(); }); } inline auto MapStyleSheetEntries::Airport() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.Airport(); }); } inline auto MapStyleSheetEntries::Cemetery() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.Cemetery(); }); } inline auto MapStyleSheetEntries::Continent() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.Continent(); }); } inline auto MapStyleSheetEntries::Education() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.Education(); }); } inline auto MapStyleSheetEntries::IndigenousPeoplesReserve() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.IndigenousPeoplesReserve(); }); } inline auto MapStyleSheetEntries::Island() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.Island(); }); } inline auto MapStyleSheetEntries::Medical() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.Medical(); }); } inline auto MapStyleSheetEntries::Military() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.Military(); }); } inline auto MapStyleSheetEntries::Nautical() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.Nautical(); }); } inline auto MapStyleSheetEntries::Neighborhood() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.Neighborhood(); }); } inline auto MapStyleSheetEntries::Runway() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.Runway(); }); } inline auto MapStyleSheetEntries::Sand() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.Sand(); }); } inline auto MapStyleSheetEntries::ShoppingCenter() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.ShoppingCenter(); }); } inline auto MapStyleSheetEntries::Stadium() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.Stadium(); }); } inline auto MapStyleSheetEntries::Vegetation() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.Vegetation(); }); } inline auto MapStyleSheetEntries::Forest() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.Forest(); }); } inline auto MapStyleSheetEntries::GolfCourse() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.GolfCourse(); }); } inline auto MapStyleSheetEntries::Park() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.Park(); }); } inline auto MapStyleSheetEntries::PlayingField() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.PlayingField(); }); } inline auto MapStyleSheetEntries::Reserve() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.Reserve(); }); } inline auto MapStyleSheetEntries::Point() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.Point(); }); } inline auto MapStyleSheetEntries::NaturalPoint() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.NaturalPoint(); }); } inline auto MapStyleSheetEntries::Peak() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.Peak(); }); } inline auto MapStyleSheetEntries::VolcanicPeak() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.VolcanicPeak(); }); } inline auto MapStyleSheetEntries::WaterPoint() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.WaterPoint(); }); } inline auto MapStyleSheetEntries::PointOfInterest() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.PointOfInterest(); }); } inline auto MapStyleSheetEntries::Business() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.Business(); }); } inline auto MapStyleSheetEntries::FoodPoint() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.FoodPoint(); }); } inline auto MapStyleSheetEntries::PopulatedPlace() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.PopulatedPlace(); }); } inline auto MapStyleSheetEntries::Capital() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.Capital(); }); } inline auto MapStyleSheetEntries::AdminDistrictCapital() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.AdminDistrictCapital(); }); } inline auto MapStyleSheetEntries::CountryRegionCapital() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.CountryRegionCapital(); }); } inline auto MapStyleSheetEntries::RoadShield() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.RoadShield(); }); } inline auto MapStyleSheetEntries::RoadExit() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.RoadExit(); }); } inline auto MapStyleSheetEntries::Transit() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.Transit(); }); } inline auto MapStyleSheetEntries::Political() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.Political(); }); } inline auto MapStyleSheetEntries::CountryRegion() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.CountryRegion(); }); } inline auto MapStyleSheetEntries::AdminDistrict() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.AdminDistrict(); }); } inline auto MapStyleSheetEntries::District() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.District(); }); } inline auto MapStyleSheetEntries::Structure() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.Structure(); }); } inline auto MapStyleSheetEntries::Building() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.Building(); }); } inline auto MapStyleSheetEntries::EducationBuilding() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.EducationBuilding(); }); } inline auto MapStyleSheetEntries::MedicalBuilding() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.MedicalBuilding(); }); } inline auto MapStyleSheetEntries::TransitBuilding() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.TransitBuilding(); }); } inline auto MapStyleSheetEntries::Transportation() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.Transportation(); }); } inline auto MapStyleSheetEntries::Road() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.Road(); }); } inline auto MapStyleSheetEntries::ControlledAccessHighway() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.ControlledAccessHighway(); }); } inline auto MapStyleSheetEntries::HighSpeedRamp() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.HighSpeedRamp(); }); } inline auto MapStyleSheetEntries::Highway() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.Highway(); }); } inline auto MapStyleSheetEntries::MajorRoad() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.MajorRoad(); }); } inline auto MapStyleSheetEntries::ArterialRoad() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.ArterialRoad(); }); } inline auto MapStyleSheetEntries::Street() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.Street(); }); } inline auto MapStyleSheetEntries::Ramp() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.Ramp(); }); } inline auto MapStyleSheetEntries::UnpavedStreet() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.UnpavedStreet(); }); } inline auto MapStyleSheetEntries::TollRoad() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.TollRoad(); }); } inline auto MapStyleSheetEntries::Railway() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.Railway(); }); } inline auto MapStyleSheetEntries::Trail() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.Trail(); }); } inline auto MapStyleSheetEntries::WaterRoute() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.WaterRoute(); }); } inline auto MapStyleSheetEntries::Water() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.Water(); }); } inline auto MapStyleSheetEntries::River() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.River(); }); } inline auto MapStyleSheetEntries::RouteLine() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.RouteLine(); }); } inline auto MapStyleSheetEntries::WalkingRoute() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.WalkingRoute(); }); } inline auto MapStyleSheetEntries::DrivingRoute() { return impl::call_factory_cast([](IMapStyleSheetEntriesStatics const& f) { return f.DrivingRoute(); }); } inline auto MapStyleSheetEntryStates::Disabled() { return impl::call_factory_cast([](IMapStyleSheetEntryStatesStatics const& f) { return f.Disabled(); }); } inline auto MapStyleSheetEntryStates::Hover() { return impl::call_factory_cast([](IMapStyleSheetEntryStatesStatics const& f) { return f.Hover(); }); } inline auto MapStyleSheetEntryStates::Selected() { return impl::call_factory_cast([](IMapStyleSheetEntryStatesStatics const& f) { return f.Selected(); }); } inline MapTargetCameraChangedEventArgs::MapTargetCameraChangedEventArgs() : MapTargetCameraChangedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline MapTileBitmapRequest::MapTileBitmapRequest() : MapTileBitmapRequest(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline MapTileBitmapRequestDeferral::MapTileBitmapRequestDeferral() : MapTileBitmapRequestDeferral(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline MapTileBitmapRequestedEventArgs::MapTileBitmapRequestedEventArgs() : MapTileBitmapRequestedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline MapTileDataSource::MapTileDataSource() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IMapTileDataSourceFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline MapTileSource::MapTileSource() { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IMapTileSourceFactory const& f) { return f.CreateInstance(baseInterface, innerInterface); }); } inline MapTileSource::MapTileSource(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& dataSource) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IMapTileSourceFactory const& f) { return f.CreateInstanceWithDataSource(dataSource, baseInterface, innerInterface); }); } inline MapTileSource::MapTileSource(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& dataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange const& zoomLevelRange) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IMapTileSourceFactory const& f) { return f.CreateInstanceWithDataSourceAndZoomRange(dataSource, zoomLevelRange, baseInterface, innerInterface); }); } inline MapTileSource::MapTileSource(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& dataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange const& zoomLevelRange, winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IMapTileSourceFactory const& f) { return f.CreateInstanceWithDataSourceZoomRangeAndBounds(dataSource, zoomLevelRange, bounds, baseInterface, innerInterface); }); } inline MapTileSource::MapTileSource(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& dataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange const& zoomLevelRange, winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds, int32_t tileSizeInPixels) { winrt::Windows::Foundation::IInspectable baseInterface, innerInterface; *this = impl::call_factory([&](IMapTileSourceFactory const& f) { return f.CreateInstanceWithDataSourceZoomRangeBoundsAndTileSize(dataSource, zoomLevelRange, bounds, tileSizeInPixels, baseInterface, innerInterface); }); } inline auto MapTileSource::DataSourceProperty() { return impl::call_factory_cast([](IMapTileSourceStatics const& f) { return f.DataSourceProperty(); }); } inline auto MapTileSource::LayerProperty() { return impl::call_factory_cast([](IMapTileSourceStatics const& f) { return f.LayerProperty(); }); } inline auto MapTileSource::ZoomLevelRangeProperty() { return impl::call_factory_cast([](IMapTileSourceStatics const& f) { return f.ZoomLevelRangeProperty(); }); } inline auto MapTileSource::BoundsProperty() { return impl::call_factory_cast([](IMapTileSourceStatics const& f) { return f.BoundsProperty(); }); } inline auto MapTileSource::AllowOverstretchProperty() { return impl::call_factory_cast([](IMapTileSourceStatics const& f) { return f.AllowOverstretchProperty(); }); } inline auto MapTileSource::IsFadingEnabledProperty() { return impl::call_factory_cast([](IMapTileSourceStatics const& f) { return f.IsFadingEnabledProperty(); }); } inline auto MapTileSource::IsTransparencyEnabledProperty() { return impl::call_factory_cast([](IMapTileSourceStatics const& f) { return f.IsTransparencyEnabledProperty(); }); } inline auto MapTileSource::IsRetryEnabledProperty() { return impl::call_factory_cast([](IMapTileSourceStatics const& f) { return f.IsRetryEnabledProperty(); }); } inline auto MapTileSource::ZIndexProperty() { return impl::call_factory_cast([](IMapTileSourceStatics const& f) { return f.ZIndexProperty(); }); } inline auto MapTileSource::TilePixelSizeProperty() { return impl::call_factory_cast([](IMapTileSourceStatics const& f) { return f.TilePixelSizeProperty(); }); } inline auto MapTileSource::VisibleProperty() { return impl::call_factory_cast([](IMapTileSourceStatics const& f) { return f.VisibleProperty(); }); } inline auto MapTileSource::AnimationStateProperty() { return impl::call_factory_cast([](IMapTileSourceStatics2 const& f) { return f.AnimationStateProperty(); }); } inline auto MapTileSource::AutoPlayProperty() { return impl::call_factory_cast([](IMapTileSourceStatics2 const& f) { return f.AutoPlayProperty(); }); } inline auto MapTileSource::FrameCountProperty() { return impl::call_factory_cast([](IMapTileSourceStatics2 const& f) { return f.FrameCountProperty(); }); } inline auto MapTileSource::FrameDurationProperty() { return impl::call_factory_cast([](IMapTileSourceStatics2 const& f) { return f.FrameDurationProperty(); }); } inline MapTileUriRequest::MapTileUriRequest() : MapTileUriRequest(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline MapTileUriRequestDeferral::MapTileUriRequestDeferral() : MapTileUriRequestDeferral(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline MapTileUriRequestedEventArgs::MapTileUriRequestedEventArgs() : MapTileUriRequestedEventArgs(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline StreetsideExperience::StreetsideExperience(winrt::Windows::UI::Xaml::Controls::Maps::StreetsidePanorama const& panorama) : StreetsideExperience(impl::call_factory([&](IStreetsideExperienceFactory const& f) { return f.CreateInstanceWithPanorama(panorama); })) { } inline StreetsideExperience::StreetsideExperience(winrt::Windows::UI::Xaml::Controls::Maps::StreetsidePanorama const& panorama, double headingInDegrees, double pitchInDegrees, double fieldOfViewInDegrees) : StreetsideExperience(impl::call_factory([&](IStreetsideExperienceFactory const& f) { return f.CreateInstanceWithPanoramaHeadingPitchAndFieldOfView(panorama, headingInDegrees, pitchInDegrees, fieldOfViewInDegrees); })) { } inline auto StreetsidePanorama::FindNearbyAsync(winrt::Windows::Devices::Geolocation::Geopoint const& location) { return impl::call_factory([&](IStreetsidePanoramaStatics const& f) { return f.FindNearbyAsync(location); }); } inline auto StreetsidePanorama::FindNearbyAsync(winrt::Windows::Devices::Geolocation::Geopoint const& location, double radiusInMeters) { return impl::call_factory([&](IStreetsidePanoramaStatics const& f) { return f.FindNearbyAsync(location, radiusInMeters); }); } template struct CustomMapTileDataSourceT : implements, impl::require, impl::base { using composable = CustomMapTileDataSource; protected: CustomMapTileDataSourceT() { impl::call_factory([&](ICustomMapTileDataSourceFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct HttpMapTileDataSourceT : implements, impl::require, impl::base { using composable = HttpMapTileDataSource; protected: HttpMapTileDataSourceT() { impl::call_factory([&](IHttpMapTileDataSourceFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } HttpMapTileDataSourceT(param::hstring const& uriFormatString) { impl::call_factory([&](IHttpMapTileDataSourceFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithUriFormatString(uriFormatString, *this, this->m_inner); }); } }; template struct LocalMapTileDataSourceT : implements, impl::require, impl::base { using composable = LocalMapTileDataSource; protected: LocalMapTileDataSourceT() { impl::call_factory([&](ILocalMapTileDataSourceFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } LocalMapTileDataSourceT(param::hstring const& uriFormatString) { impl::call_factory([&](ILocalMapTileDataSourceFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithUriFormatString(uriFormatString, *this, this->m_inner); }); } }; template struct MapCustomExperienceT : implements, impl::require, impl::base { using composable = MapCustomExperience; protected: MapCustomExperienceT() { impl::call_factory([&](IMapCustomExperienceFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct MapElementT : implements, impl::require, impl::base { using composable = MapElement; protected: MapElementT() { impl::call_factory([&](IMapElementFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct MapLayerT : implements, impl::require, impl::base { using composable = MapLayer; protected: MapLayerT() { impl::call_factory([&](IMapLayerFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct MapModel3DT : implements, impl::require, impl::base { using composable = MapModel3D; protected: MapModel3DT() { impl::call_factory([&](IMapModel3DFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct MapRouteViewT : implements, impl::require, impl::base { using composable = MapRouteView; protected: MapRouteViewT(winrt::Windows::Services::Maps::MapRoute const& route) { impl::call_factory([&](IMapRouteViewFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithMapRoute(route, *this, this->m_inner); }); } }; template struct MapTileDataSourceT : implements, impl::require, impl::base { using composable = MapTileDataSource; protected: MapTileDataSourceT() { impl::call_factory([&](IMapTileDataSourceFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } }; template struct MapTileSourceT : implements, impl::require, impl::base { using composable = MapTileSource; protected: MapTileSourceT() { impl::call_factory([&](IMapTileSourceFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstance(*this, this->m_inner); }); } MapTileSourceT(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& dataSource) { impl::call_factory([&](IMapTileSourceFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithDataSource(dataSource, *this, this->m_inner); }); } MapTileSourceT(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& dataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange const& zoomLevelRange) { impl::call_factory([&](IMapTileSourceFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithDataSourceAndZoomRange(dataSource, zoomLevelRange, *this, this->m_inner); }); } MapTileSourceT(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& dataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange const& zoomLevelRange, winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds) { impl::call_factory([&](IMapTileSourceFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithDataSourceZoomRangeAndBounds(dataSource, zoomLevelRange, bounds, *this, this->m_inner); }); } MapTileSourceT(winrt::Windows::UI::Xaml::Controls::Maps::MapTileDataSource const& dataSource, winrt::Windows::UI::Xaml::Controls::Maps::MapZoomLevelRange const& zoomLevelRange, winrt::Windows::Devices::Geolocation::GeoboundingBox const& bounds, int32_t tileSizeInPixels) { impl::call_factory([&](IMapTileSourceFactory const& f) { [[maybe_unused]] auto winrt_impl_discarded = f.CreateInstanceWithDataSourceZoomRangeBoundsAndTileSize(dataSource, zoomLevelRange, bounds, tileSizeInPixels, *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 {}; #endif #ifdef __cpp_lib_format #endif } #endif