// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #pragma once #ifndef WINRT_Windows_UI_StartScreen_H #define WINRT_Windows_UI_StartScreen_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.h" #include "winrt/impl/Windows.ApplicationModel.Core.2.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Perception.Spatial.2.h" #include "winrt/impl/Windows.System.2.h" #include "winrt/impl/Windows.UI.2.h" #include "winrt/impl/Windows.UI.Popups.2.h" #include "winrt/impl/Windows.UI.StartScreen.2.h" namespace winrt::impl { template auto consume_Windows_UI_StartScreen_IJumpList::Items() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpList)->get_Items(&value)); return winrt::Windows::Foundation::Collections::IVector{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_IJumpList::SystemGroupKind() const { winrt::Windows::UI::StartScreen::JumpListSystemGroupKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpList)->get_SystemGroupKind(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_StartScreen_IJumpList::SystemGroupKind(winrt::Windows::UI::StartScreen::JumpListSystemGroupKind const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpList)->put_SystemGroupKind(static_cast(value))); } template auto consume_Windows_UI_StartScreen_IJumpList::SaveAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpList)->SaveAsync(&result)); return winrt::Windows::Foundation::IAsyncAction{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_IJumpListItem::Kind() const { winrt::Windows::UI::StartScreen::JumpListItemKind value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListItem)->get_Kind(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_StartScreen_IJumpListItem::Arguments() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListItem)->get_Arguments(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_IJumpListItem::RemovedByUser() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListItem)->get_RemovedByUser(&value)); return value; } template auto consume_Windows_UI_StartScreen_IJumpListItem::Description() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListItem)->get_Description(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_IJumpListItem::Description(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListItem)->put_Description(*(void**)(&value))); } template auto consume_Windows_UI_StartScreen_IJumpListItem::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListItem)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_IJumpListItem::DisplayName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListItem)->put_DisplayName(*(void**)(&value))); } template auto consume_Windows_UI_StartScreen_IJumpListItem::GroupName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListItem)->get_GroupName(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_IJumpListItem::GroupName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListItem)->put_GroupName(*(void**)(&value))); } template auto consume_Windows_UI_StartScreen_IJumpListItem::Logo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListItem)->get_Logo(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_IJumpListItem::Logo(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListItem)->put_Logo(*(void**)(&value))); } template auto consume_Windows_UI_StartScreen_IJumpListItemStatics::CreateWithArguments(param::hstring const& arguments, param::hstring const& displayName) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListItemStatics)->CreateWithArguments(*(void**)(&arguments), *(void**)(&displayName), &result)); return winrt::Windows::UI::StartScreen::JumpListItem{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_IJumpListItemStatics::CreateSeparator() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListItemStatics)->CreateSeparator(&result)); return winrt::Windows::UI::StartScreen::JumpListItem{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_IJumpListStatics::LoadCurrentAsync() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListStatics)->LoadCurrentAsync(&result)); return winrt::Windows::Foundation::IAsyncOperation{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_IJumpListStatics::IsSupported() const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IJumpListStatics)->IsSupported(&result)); return result; } template auto consume_Windows_UI_StartScreen_ISecondaryTile::TileId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_TileId(*(void**)(&value))); } template auto consume_Windows_UI_StartScreen_ISecondaryTile::TileId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->get_TileId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ISecondaryTile::Arguments(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_Arguments(*(void**)(&value))); } template auto consume_Windows_UI_StartScreen_ISecondaryTile::Arguments() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->get_Arguments(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ISecondaryTile::ShortName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_ShortName(*(void**)(&value))); } template auto consume_Windows_UI_StartScreen_ISecondaryTile::ShortName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->get_ShortName(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ISecondaryTile::DisplayName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_DisplayName(*(void**)(&value))); } template auto consume_Windows_UI_StartScreen_ISecondaryTile::DisplayName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->get_DisplayName(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ISecondaryTile::Logo(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_Logo(*(void**)(&value))); } template auto consume_Windows_UI_StartScreen_ISecondaryTile::Logo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->get_Logo(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ISecondaryTile::SmallLogo(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_SmallLogo(*(void**)(&value))); } template auto consume_Windows_UI_StartScreen_ISecondaryTile::SmallLogo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->get_SmallLogo(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ISecondaryTile::WideLogo(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_WideLogo(*(void**)(&value))); } template auto consume_Windows_UI_StartScreen_ISecondaryTile::WideLogo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->get_WideLogo(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ISecondaryTile::LockScreenBadgeLogo(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_LockScreenBadgeLogo(*(void**)(&value))); } template auto consume_Windows_UI_StartScreen_ISecondaryTile::LockScreenBadgeLogo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->get_LockScreenBadgeLogo(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ISecondaryTile::LockScreenDisplayBadgeAndTileText(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_LockScreenDisplayBadgeAndTileText(value)); } template auto consume_Windows_UI_StartScreen_ISecondaryTile::LockScreenDisplayBadgeAndTileText() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->get_LockScreenDisplayBadgeAndTileText(&value)); return value; } template auto consume_Windows_UI_StartScreen_ISecondaryTile::TileOptions(winrt::Windows::UI::StartScreen::TileOptions const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_TileOptions(static_cast(value))); } template auto consume_Windows_UI_StartScreen_ISecondaryTile::TileOptions() const { winrt::Windows::UI::StartScreen::TileOptions value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->get_TileOptions(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_StartScreen_ISecondaryTile::ForegroundText(winrt::Windows::UI::StartScreen::ForegroundText const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_ForegroundText(static_cast(value))); } template auto consume_Windows_UI_StartScreen_ISecondaryTile::ForegroundText() const { winrt::Windows::UI::StartScreen::ForegroundText value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->get_ForegroundText(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_StartScreen_ISecondaryTile::BackgroundColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->put_BackgroundColor(impl::bind_in(value))); } template auto consume_Windows_UI_StartScreen_ISecondaryTile::BackgroundColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->get_BackgroundColor(put_abi(value))); return value; } template auto consume_Windows_UI_StartScreen_ISecondaryTile::RequestCreateAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->RequestCreateAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ISecondaryTile::RequestCreateAsync(winrt::Windows::Foundation::Point const& invocationPoint) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->RequestCreateAsyncWithPoint(impl::bind_in(invocationPoint), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ISecondaryTile::RequestCreateForSelectionAsync(winrt::Windows::Foundation::Rect const& selection) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->RequestCreateAsyncWithRect(impl::bind_in(selection), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ISecondaryTile::RequestCreateForSelectionAsync(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->RequestCreateAsyncWithRectAndPlacement(impl::bind_in(selection), static_cast(preferredPlacement), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ISecondaryTile::RequestDeleteAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->RequestDeleteAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ISecondaryTile::RequestDeleteAsync(winrt::Windows::Foundation::Point const& invocationPoint) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->RequestDeleteAsyncWithPoint(impl::bind_in(invocationPoint), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ISecondaryTile::RequestDeleteForSelectionAsync(winrt::Windows::Foundation::Rect const& selection) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->RequestDeleteAsyncWithRect(impl::bind_in(selection), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ISecondaryTile::RequestDeleteForSelectionAsync(winrt::Windows::Foundation::Rect const& selection, winrt::Windows::UI::Popups::Placement const& preferredPlacement) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->RequestDeleteAsyncWithRectAndPlacement(impl::bind_in(selection), static_cast(preferredPlacement), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ISecondaryTile::UpdateAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile)->UpdateAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ISecondaryTile2::PhoneticName(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile2)->put_PhoneticName(*(void**)(&value))); } template auto consume_Windows_UI_StartScreen_ISecondaryTile2::PhoneticName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile2)->get_PhoneticName(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ISecondaryTile2::VisualElements() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile2)->get_VisualElements(&value)); return winrt::Windows::UI::StartScreen::SecondaryTileVisualElements{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ISecondaryTile2::RoamingEnabled(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile2)->put_RoamingEnabled(value)); } template auto consume_Windows_UI_StartScreen_ISecondaryTile2::RoamingEnabled() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile2)->get_RoamingEnabled(&value)); return value; } template auto consume_Windows_UI_StartScreen_ISecondaryTile2::VisualElementsRequested(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile2)->add_VisualElementsRequested(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_UI_StartScreen_ISecondaryTile2::VisualElementsRequested(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, VisualElementsRequested(handler)); } template auto consume_Windows_UI_StartScreen_ISecondaryTile2::VisualElementsRequested(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTile2)->remove_VisualElementsRequested(impl::bind_in(token)); } template auto consume_Windows_UI_StartScreen_ISecondaryTileFactory::CreateTile(param::hstring const& tileId, param::hstring const& shortName, param::hstring const& displayName, param::hstring const& arguments, winrt::Windows::UI::StartScreen::TileOptions const& tileOptions, winrt::Windows::Foundation::Uri const& logoReference) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileFactory)->CreateTile(*(void**)(&tileId), *(void**)(&shortName), *(void**)(&displayName), *(void**)(&arguments), static_cast(tileOptions), *(void**)(&logoReference), &value)); return winrt::Windows::UI::StartScreen::SecondaryTile{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ISecondaryTileFactory::CreateWideTile(param::hstring const& tileId, param::hstring const& shortName, param::hstring const& displayName, param::hstring const& arguments, winrt::Windows::UI::StartScreen::TileOptions const& tileOptions, winrt::Windows::Foundation::Uri const& logoReference, winrt::Windows::Foundation::Uri const& wideLogoReference) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileFactory)->CreateWideTile(*(void**)(&tileId), *(void**)(&shortName), *(void**)(&displayName), *(void**)(&arguments), static_cast(tileOptions), *(void**)(&logoReference), *(void**)(&wideLogoReference), &value)); return winrt::Windows::UI::StartScreen::SecondaryTile{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ISecondaryTileFactory::CreateWithId(param::hstring const& tileId) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileFactory)->CreateWithId(*(void**)(&tileId), &value)); return winrt::Windows::UI::StartScreen::SecondaryTile{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ISecondaryTileFactory2::CreateMinimalTile(param::hstring const& tileId, param::hstring const& displayName, param::hstring const& arguments, winrt::Windows::Foundation::Uri const& square150x150Logo, winrt::Windows::UI::StartScreen::TileSize const& desiredSize) const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileFactory2)->CreateMinimalTile(*(void**)(&tileId), *(void**)(&displayName), *(void**)(&arguments), *(void**)(&square150x150Logo), static_cast(desiredSize), &value)); return winrt::Windows::UI::StartScreen::SecondaryTile{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ISecondaryTileStatics::Exists(param::hstring const& tileId) const { bool exists{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileStatics)->Exists(*(void**)(&tileId), &exists)); return exists; } template auto consume_Windows_UI_StartScreen_ISecondaryTileStatics::FindAllAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileStatics)->FindAllAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ISecondaryTileStatics::FindAllAsync(param::hstring const& applicationId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileStatics)->FindAllForApplicationAsync(*(void**)(&applicationId), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ISecondaryTileStatics::FindAllForPackageAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileStatics)->FindAllForPackageAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::Square30x30Logo(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->put_Square30x30Logo(*(void**)(&value))); } template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::Square30x30Logo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->get_Square30x30Logo(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::Square70x70Logo(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->put_Square70x70Logo(*(void**)(&value))); } template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::Square70x70Logo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->get_Square70x70Logo(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::Square150x150Logo(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->put_Square150x150Logo(*(void**)(&value))); } template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::Square150x150Logo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->get_Square150x150Logo(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::Wide310x150Logo(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->put_Wide310x150Logo(*(void**)(&value))); } template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::Wide310x150Logo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->get_Wide310x150Logo(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::Square310x310Logo(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->put_Square310x310Logo(*(void**)(&value))); } template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::Square310x310Logo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->get_Square310x310Logo(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::ForegroundText(winrt::Windows::UI::StartScreen::ForegroundText const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->put_ForegroundText(static_cast(value))); } template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::ForegroundText() const { winrt::Windows::UI::StartScreen::ForegroundText value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->get_ForegroundText(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::BackgroundColor(winrt::Windows::UI::Color const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->put_BackgroundColor(impl::bind_in(value))); } template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::BackgroundColor() const { winrt::Windows::UI::Color value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->get_BackgroundColor(put_abi(value))); return value; } template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::ShowNameOnSquare150x150Logo(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->put_ShowNameOnSquare150x150Logo(value)); } template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::ShowNameOnSquare150x150Logo() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->get_ShowNameOnSquare150x150Logo(&value)); return value; } template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::ShowNameOnWide310x150Logo(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->put_ShowNameOnWide310x150Logo(value)); } template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::ShowNameOnWide310x150Logo() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->get_ShowNameOnWide310x150Logo(&value)); return value; } template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::ShowNameOnSquare310x310Logo(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->put_ShowNameOnSquare310x310Logo(value)); } template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements::ShowNameOnSquare310x310Logo() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements)->get_ShowNameOnSquare310x310Logo(&value)); return value; } template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements2::Square71x71Logo(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements2)->put_Square71x71Logo(*(void**)(&value))); } template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements2::Square71x71Logo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements2)->get_Square71x71Logo(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements3::Square44x44Logo(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements3)->put_Square44x44Logo(*(void**)(&value))); } template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements3::Square44x44Logo() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements3)->get_Square44x44Logo(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ISecondaryTileVisualElements4::MixedRealityModel() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ISecondaryTileVisualElements4)->get_MixedRealityModel(&value)); return winrt::Windows::UI::StartScreen::TileMixedRealityModel{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_IStartScreenManager::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IStartScreenManager)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_IStartScreenManager::SupportsAppListEntry(winrt::Windows::ApplicationModel::Core::AppListEntry const& appListEntry) const { bool result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IStartScreenManager)->SupportsAppListEntry(*(void**)(&appListEntry), &result)); return result; } template auto consume_Windows_UI_StartScreen_IStartScreenManager::ContainsAppListEntryAsync(winrt::Windows::ApplicationModel::Core::AppListEntry const& appListEntry) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IStartScreenManager)->ContainsAppListEntryAsync(*(void**)(&appListEntry), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_IStartScreenManager::RequestAddAppListEntryAsync(winrt::Windows::ApplicationModel::Core::AppListEntry const& appListEntry) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IStartScreenManager)->RequestAddAppListEntryAsync(*(void**)(&appListEntry), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_IStartScreenManager2::ContainsSecondaryTileAsync(param::hstring const& tileId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IStartScreenManager2)->ContainsSecondaryTileAsync(*(void**)(&tileId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_IStartScreenManager2::TryRemoveSecondaryTileAsync(param::hstring const& tileId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IStartScreenManager2)->TryRemoveSecondaryTileAsync(*(void**)(&tileId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_IStartScreenManagerStatics::GetDefault() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IStartScreenManagerStatics)->GetDefault(&value)); return winrt::Windows::UI::StartScreen::StartScreenManager{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_IStartScreenManagerStatics::GetForUser(winrt::Windows::System::User const& user) const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IStartScreenManagerStatics)->GetForUser(*(void**)(&user), &result)); return winrt::Windows::UI::StartScreen::StartScreenManager{ result, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ITileMixedRealityModel::Uri(winrt::Windows::Foundation::Uri const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ITileMixedRealityModel)->put_Uri(*(void**)(&value))); } template auto consume_Windows_UI_StartScreen_ITileMixedRealityModel::Uri() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ITileMixedRealityModel)->get_Uri(&value)); return winrt::Windows::Foundation::Uri{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ITileMixedRealityModel::BoundingBox(winrt::Windows::Foundation::IReference const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ITileMixedRealityModel)->put_BoundingBox(*(void**)(&value))); } template auto consume_Windows_UI_StartScreen_ITileMixedRealityModel::BoundingBox() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ITileMixedRealityModel)->get_BoundingBox(&value)); return winrt::Windows::Foundation::IReference{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_ITileMixedRealityModel2::ActivationBehavior(winrt::Windows::UI::StartScreen::TileMixedRealityModelActivationBehavior const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ITileMixedRealityModel2)->put_ActivationBehavior(static_cast(value))); } template auto consume_Windows_UI_StartScreen_ITileMixedRealityModel2::ActivationBehavior() const { winrt::Windows::UI::StartScreen::TileMixedRealityModelActivationBehavior value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::ITileMixedRealityModel2)->get_ActivationBehavior(reinterpret_cast(&value))); return value; } template auto consume_Windows_UI_StartScreen_IVisualElementsRequest::VisualElements() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IVisualElementsRequest)->get_VisualElements(&value)); return winrt::Windows::UI::StartScreen::SecondaryTileVisualElements{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_IVisualElementsRequest::AlternateVisualElements() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IVisualElementsRequest)->get_AlternateVisualElements(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_IVisualElementsRequest::Deadline() const { winrt::Windows::Foundation::DateTime value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IVisualElementsRequest)->get_Deadline(put_abi(value))); return value; } template auto consume_Windows_UI_StartScreen_IVisualElementsRequest::GetDeferral() const { void* deferral{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IVisualElementsRequest)->GetDeferral(&deferral)); return winrt::Windows::UI::StartScreen::VisualElementsRequestDeferral{ deferral, take_ownership_from_abi }; } template auto consume_Windows_UI_StartScreen_IVisualElementsRequestDeferral::Complete() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IVisualElementsRequestDeferral)->Complete()); } template auto consume_Windows_UI_StartScreen_IVisualElementsRequestedEventArgs::Request() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::UI::StartScreen::IVisualElementsRequestedEventArgs)->get_Request(&value)); return winrt::Windows::UI::StartScreen::VisualElementsRequest{ value, take_ownership_from_abi }; } #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Items(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Items()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SystemGroupKind(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SystemGroupKind()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SystemGroupKind(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SystemGroupKind(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SaveAsync(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().SaveAsync()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Kind(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Kind()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Arguments(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Arguments()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RemovedByUser(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RemovedByUser()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Description(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Description()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Description(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Description(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DisplayName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DisplayName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DisplayName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DisplayName(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_GroupName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GroupName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_GroupName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().GroupName(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Logo(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Logo()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Logo(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Logo(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateWithArguments(void* arguments, void* displayName, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateWithArguments(*reinterpret_cast(&arguments), *reinterpret_cast(&displayName))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateSeparator(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().CreateSeparator()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall LoadCurrentAsync(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from>(this->shim().LoadCurrentAsync()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IsSupported(bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().IsSupported()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall put_TileId(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TileId(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TileId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TileId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Arguments(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Arguments(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Arguments(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Arguments()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ShortName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ShortName(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ShortName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ShortName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_DisplayName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().DisplayName(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DisplayName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DisplayName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Logo(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Logo(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Logo(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Logo()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_SmallLogo(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().SmallLogo(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SmallLogo(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SmallLogo()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_WideLogo(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().WideLogo(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_WideLogo(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().WideLogo()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LockScreenBadgeLogo(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LockScreenBadgeLogo(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LockScreenBadgeLogo(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LockScreenBadgeLogo()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LockScreenDisplayBadgeAndTileText(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LockScreenDisplayBadgeAndTileText(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LockScreenDisplayBadgeAndTileText(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LockScreenDisplayBadgeAndTileText()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TileOptions(uint32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TileOptions(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TileOptions(uint32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TileOptions()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ForegroundText(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ForegroundText(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ForegroundText(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ForegroundText()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BackgroundColor(struct struct_Windows_UI_Color value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BackgroundColor(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BackgroundColor(struct struct_Windows_UI_Color* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BackgroundColor()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RequestCreateAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().RequestCreateAsync()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RequestCreateAsyncWithPoint(winrt::Windows::Foundation::Point invocationPoint, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().RequestCreateAsync(*reinterpret_cast(&invocationPoint))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RequestCreateAsyncWithRect(winrt::Windows::Foundation::Rect selection, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().RequestCreateForSelectionAsync(*reinterpret_cast(&selection))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RequestCreateAsyncWithRectAndPlacement(winrt::Windows::Foundation::Rect selection, int32_t preferredPlacement, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().RequestCreateForSelectionAsync(*reinterpret_cast(&selection), *reinterpret_cast(&preferredPlacement))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RequestDeleteAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().RequestDeleteAsync()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RequestDeleteAsyncWithPoint(winrt::Windows::Foundation::Point invocationPoint, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().RequestDeleteAsync(*reinterpret_cast(&invocationPoint))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RequestDeleteAsyncWithRect(winrt::Windows::Foundation::Rect selection, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().RequestDeleteForSelectionAsync(*reinterpret_cast(&selection))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RequestDeleteAsyncWithRectAndPlacement(winrt::Windows::Foundation::Rect selection, int32_t preferredPlacement, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().RequestDeleteForSelectionAsync(*reinterpret_cast(&selection), *reinterpret_cast(&preferredPlacement))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall UpdateAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().UpdateAsync()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall put_PhoneticName(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PhoneticName(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PhoneticName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PhoneticName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_VisualElements(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VisualElements()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_RoamingEnabled(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().RoamingEnabled(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_RoamingEnabled(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().RoamingEnabled()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_VisualElementsRequested(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().VisualElementsRequested(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_VisualElementsRequested(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().VisualElementsRequested(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateTile(void* tileId, void* shortName, void* displayName, void* arguments, uint32_t tileOptions, void* logoReference, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateTile(*reinterpret_cast(&tileId), *reinterpret_cast(&shortName), *reinterpret_cast(&displayName), *reinterpret_cast(&arguments), *reinterpret_cast(&tileOptions), *reinterpret_cast(&logoReference))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateWideTile(void* tileId, void* shortName, void* displayName, void* arguments, uint32_t tileOptions, void* logoReference, void* wideLogoReference, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateWideTile(*reinterpret_cast(&tileId), *reinterpret_cast(&shortName), *reinterpret_cast(&displayName), *reinterpret_cast(&arguments), *reinterpret_cast(&tileOptions), *reinterpret_cast(&logoReference), *reinterpret_cast(&wideLogoReference))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CreateWithId(void* tileId, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateWithId(*reinterpret_cast(&tileId))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CreateMinimalTile(void* tileId, void* displayName, void* arguments, void* square150x150Logo, int32_t desiredSize, void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CreateMinimalTile(*reinterpret_cast(&tileId), *reinterpret_cast(&displayName), *reinterpret_cast(&arguments), *reinterpret_cast(&square150x150Logo), *reinterpret_cast(&desiredSize))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall Exists(void* tileId, bool* exists) noexcept final try { typename D::abi_guard guard(this->shim()); *exists = detach_from(this->shim().Exists(*reinterpret_cast(&tileId))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall FindAllAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>>(this->shim().FindAllAsync()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall FindAllForApplicationAsync(void* applicationId, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>>(this->shim().FindAllAsync(*reinterpret_cast(&applicationId))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall FindAllForPackageAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>>(this->shim().FindAllForPackageAsync()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall put_Square30x30Logo(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Square30x30Logo(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Square30x30Logo(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Square30x30Logo()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Square70x70Logo(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Square70x70Logo(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Square70x70Logo(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Square70x70Logo()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Square150x150Logo(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Square150x150Logo(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Square150x150Logo(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Square150x150Logo()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Wide310x150Logo(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Wide310x150Logo(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Wide310x150Logo(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Wide310x150Logo()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Square310x310Logo(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Square310x310Logo(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Square310x310Logo(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Square310x310Logo()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ForegroundText(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ForegroundText(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ForegroundText(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ForegroundText()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_BackgroundColor(struct struct_Windows_UI_Color value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BackgroundColor(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BackgroundColor(struct struct_Windows_UI_Color* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BackgroundColor()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ShowNameOnSquare150x150Logo(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ShowNameOnSquare150x150Logo(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ShowNameOnSquare150x150Logo(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ShowNameOnSquare150x150Logo()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ShowNameOnWide310x150Logo(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ShowNameOnWide310x150Logo(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ShowNameOnWide310x150Logo(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ShowNameOnWide310x150Logo()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ShowNameOnSquare310x310Logo(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ShowNameOnSquare310x310Logo(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ShowNameOnSquare310x310Logo(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ShowNameOnSquare310x310Logo()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall put_Square71x71Logo(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Square71x71Logo(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Square71x71Logo(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Square71x71Logo()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall put_Square44x44Logo(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Square44x44Logo(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Square44x44Logo(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Square44x44Logo()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_MixedRealityModel(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().MixedRealityModel()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_User(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().User()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SupportsAppListEntry(void* appListEntry, bool* result) noexcept final try { typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().SupportsAppListEntry(*reinterpret_cast(&appListEntry))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall ContainsAppListEntryAsync(void* appListEntry, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().ContainsAppListEntryAsync(*reinterpret_cast(&appListEntry))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RequestAddAppListEntryAsync(void* appListEntry, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().RequestAddAppListEntryAsync(*reinterpret_cast(&appListEntry))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall ContainsSecondaryTileAsync(void* tileId, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().ContainsSecondaryTileAsync(*reinterpret_cast(&tileId))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall TryRemoveSecondaryTileAsync(void* tileId, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().TryRemoveSecondaryTileAsync(*reinterpret_cast(&tileId))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall GetDefault(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().GetDefault()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetForUser(void* user, void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetForUser(*reinterpret_cast(&user))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { 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 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_BoundingBox(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().BoundingBox(*reinterpret_cast const*>(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BoundingBox(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().BoundingBox()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall put_ActivationBehavior(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ActivationBehavior(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ActivationBehavior(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ActivationBehavior()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_VisualElements(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().VisualElements()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AlternateVisualElements(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().AlternateVisualElements()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Deadline(int64_t* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Deadline()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetDeferral(void** deferral) noexcept final try { clear_abi(deferral); typename D::abi_guard guard(this->shim()); *deferral = 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_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 } WINRT_EXPORT namespace winrt::Windows::UI::StartScreen { constexpr auto operator|(TileOptions const left, TileOptions const right) noexcept { return static_cast(impl::to_underlying_type(left) | impl::to_underlying_type(right)); } constexpr auto operator|=(TileOptions& left, TileOptions const right) noexcept { left = left | right; return left; } constexpr auto operator&(TileOptions const left, TileOptions const right) noexcept { return static_cast(impl::to_underlying_type(left) & impl::to_underlying_type(right)); } constexpr auto operator&=(TileOptions& left, TileOptions const right) noexcept { left = left & right; return left; } constexpr auto operator~(TileOptions const value) noexcept { return static_cast(~impl::to_underlying_type(value)); } constexpr auto operator^(TileOptions const left, TileOptions const right) noexcept { return static_cast(impl::to_underlying_type(left) ^ impl::to_underlying_type(right)); } constexpr auto operator^=(TileOptions& left, TileOptions const right) noexcept { left = left ^ right; return left; } inline auto JumpList::LoadCurrentAsync() { return impl::call_factory_cast(*)(IJumpListStatics const&), JumpList, IJumpListStatics>([](IJumpListStatics const& f) { return f.LoadCurrentAsync(); }); } inline auto JumpList::IsSupported() { return impl::call_factory_cast([](IJumpListStatics const& f) { return f.IsSupported(); }); } inline auto JumpListItem::CreateWithArguments(param::hstring const& arguments, param::hstring const& displayName) { return impl::call_factory([&](IJumpListItemStatics const& f) { return f.CreateWithArguments(arguments, displayName); }); } inline auto JumpListItem::CreateSeparator() { return impl::call_factory_cast([](IJumpListItemStatics const& f) { return f.CreateSeparator(); }); } inline SecondaryTile::SecondaryTile() : SecondaryTile(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline SecondaryTile::SecondaryTile(param::hstring const& tileId, param::hstring const& shortName, param::hstring const& displayName, param::hstring const& arguments, winrt::Windows::UI::StartScreen::TileOptions const& tileOptions, winrt::Windows::Foundation::Uri const& logoReference) : SecondaryTile(impl::call_factory([&](ISecondaryTileFactory const& f) { return f.CreateTile(tileId, shortName, displayName, arguments, tileOptions, logoReference); })) { } inline SecondaryTile::SecondaryTile(param::hstring const& tileId, param::hstring const& shortName, param::hstring const& displayName, param::hstring const& arguments, winrt::Windows::UI::StartScreen::TileOptions const& tileOptions, winrt::Windows::Foundation::Uri const& logoReference, winrt::Windows::Foundation::Uri const& wideLogoReference) : SecondaryTile(impl::call_factory([&](ISecondaryTileFactory const& f) { return f.CreateWideTile(tileId, shortName, displayName, arguments, tileOptions, logoReference, wideLogoReference); })) { } inline SecondaryTile::SecondaryTile(param::hstring const& tileId) : SecondaryTile(impl::call_factory([&](ISecondaryTileFactory const& f) { return f.CreateWithId(tileId); })) { } inline SecondaryTile::SecondaryTile(param::hstring const& tileId, param::hstring const& displayName, param::hstring const& arguments, winrt::Windows::Foundation::Uri const& square150x150Logo, winrt::Windows::UI::StartScreen::TileSize const& desiredSize) : SecondaryTile(impl::call_factory([&](ISecondaryTileFactory2 const& f) { return f.CreateMinimalTile(tileId, displayName, arguments, square150x150Logo, desiredSize); })) { } inline auto SecondaryTile::Exists(param::hstring const& tileId) { return impl::call_factory([&](ISecondaryTileStatics const& f) { return f.Exists(tileId); }); } inline auto SecondaryTile::FindAllAsync() { return impl::call_factory_cast>(*)(ISecondaryTileStatics const&), SecondaryTile, ISecondaryTileStatics>([](ISecondaryTileStatics const& f) { return f.FindAllAsync(); }); } inline auto SecondaryTile::FindAllAsync(param::hstring const& applicationId) { return impl::call_factory([&](ISecondaryTileStatics const& f) { return f.FindAllAsync(applicationId); }); } inline auto SecondaryTile::FindAllForPackageAsync() { return impl::call_factory_cast>(*)(ISecondaryTileStatics const&), SecondaryTile, ISecondaryTileStatics>([](ISecondaryTileStatics const& f) { return f.FindAllForPackageAsync(); }); } inline auto StartScreenManager::GetDefault() { return impl::call_factory_cast([](IStartScreenManagerStatics const& f) { return f.GetDefault(); }); } inline auto StartScreenManager::GetForUser(winrt::Windows::System::User const& user) { return impl::call_factory([&](IStartScreenManagerStatics const& f) { return f.GetForUser(user); }); } } 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 {}; #endif #ifdef __cpp_lib_format #endif } #endif