// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #pragma once #ifndef WINRT_Windows_ApplicationModel_Store_Preview_InstallControl_H #define WINRT_Windows_ApplicationModel_Store_Preview_InstallControl_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.ApplicationModel.Store.Preview.h" #include "winrt/impl/Windows.Foundation.2.h" #include "winrt/impl/Windows.Foundation.Collections.2.h" #include "winrt/impl/Windows.Management.Deployment.2.h" #include "winrt/impl/Windows.System.2.h" #include "winrt/impl/Windows.ApplicationModel.Store.Preview.InstallControl.2.h" namespace winrt::impl { template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::ProductId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem)->get_ProductId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::PackageFamilyName() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem)->get_PackageFamilyName(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::InstallType() const { winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallType value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem)->get_InstallType(reinterpret_cast(&value))); return value; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::IsUserInitiated() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem)->get_IsUserInitiated(&value)); return value; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::GetCurrentStatus() const { void* result{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem)->GetCurrentStatus(&result)); return winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallStatus{ result, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::Cancel() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem)->Cancel()); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::Pause() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem)->Pause()); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::Restart() const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem)->Restart()); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::Completed(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem)->add_Completed(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::Completed(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, Completed(handler)); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::Completed(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem)->remove_Completed(impl::bind_in(token)); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::StatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem)->add_StatusChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::StatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, StatusChanged(handler)); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem::StatusChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem)->remove_StatusChanged(impl::bind_in(token)); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem2::Cancel(param::hstring const& correlationVector) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem2)->CancelWithTelemetry(*(void**)(&correlationVector))); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem2::Pause(param::hstring const& correlationVector) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem2)->PauseWithTelemetry(*(void**)(&correlationVector))); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem2::Restart(param::hstring const& correlationVector) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem2)->RestartWithTelemetry(*(void**)(&correlationVector))); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem3::Children() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem3)->get_Children(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem3::ItemOperationsMightAffectOtherItems() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem3)->get_ItemOperationsMightAffectOtherItems(&value)); return value; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem4::LaunchAfterInstall() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem4)->get_LaunchAfterInstall(&value)); return value; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem4::LaunchAfterInstall(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem4)->put_LaunchAfterInstall(value)); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5::PinToDesktopAfterInstall() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem5)->get_PinToDesktopAfterInstall(&value)); return value; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5::PinToDesktopAfterInstall(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem5)->put_PinToDesktopAfterInstall(value)); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5::PinToStartAfterInstall() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem5)->get_PinToStartAfterInstall(&value)); return value; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5::PinToStartAfterInstall(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem5)->put_PinToStartAfterInstall(value)); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5::PinToTaskbarAfterInstall() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem5)->get_PinToTaskbarAfterInstall(&value)); return value; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5::PinToTaskbarAfterInstall(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem5)->put_PinToTaskbarAfterInstall(value)); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5::CompletedInstallToastNotificationMode() const { winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem5)->get_CompletedInstallToastNotificationMode(reinterpret_cast(&value))); return value; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5::CompletedInstallToastNotificationMode(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem5)->put_CompletedInstallToastNotificationMode(static_cast(value))); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5::InstallInProgressToastNotificationMode() const { winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem5)->get_InstallInProgressToastNotificationMode(reinterpret_cast(&value))); return value; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallItem5::InstallInProgressToastNotificationMode(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallItem5)->put_InstallInProgressToastNotificationMode(static_cast(value))); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::AppInstallItems() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->get_AppInstallItems(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::Cancel(param::hstring const& productId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->Cancel(*(void**)(&productId))); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::Pause(param::hstring const& productId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->Pause(*(void**)(&productId))); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::Restart(param::hstring const& productId) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->Restart(*(void**)(&productId))); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::ItemCompleted(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->add_ItemCompleted(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::ItemCompleted(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ItemCompleted(handler)); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::ItemCompleted(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->remove_ItemCompleted(impl::bind_in(token)); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::ItemStatusChanged(winrt::Windows::Foundation::TypedEventHandler const& handler) const { winrt::event_token token{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->add_ItemStatusChanged(*(void**)(&handler), put_abi(token))); return token; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::ItemStatusChanged(auto_revoke_t, winrt::Windows::Foundation::TypedEventHandler const& handler) const { return impl::make_event_revoker(this, ItemStatusChanged(handler)); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::ItemStatusChanged(winrt::event_token const& token) const noexcept { WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->remove_ItemStatusChanged(impl::bind_in(token)); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::AutoUpdateSetting() const { winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AutoUpdateSetting value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->get_AutoUpdateSetting(reinterpret_cast(&value))); return value; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::AutoUpdateSetting(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AutoUpdateSetting const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->put_AutoUpdateSetting(static_cast(value))); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::AcquisitionIdentity() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->get_AcquisitionIdentity(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::AcquisitionIdentity(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->put_AcquisitionIdentity(*(void**)(&value))); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::GetIsApplicableAsync(param::hstring const& productId, param::hstring const& skuId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->GetIsApplicableAsync(*(void**)(&productId), *(void**)(&skuId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::StartAppInstallAsync(param::hstring const& productId, param::hstring const& skuId, bool repair, bool forceUseOfNonRemovableStorage) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->StartAppInstallAsync(*(void**)(&productId), *(void**)(&skuId), repair, forceUseOfNonRemovableStorage, &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::UpdateAppByPackageFamilyNameAsync(param::hstring const& packageFamilyName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->UpdateAppByPackageFamilyNameAsync(*(void**)(&packageFamilyName), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::SearchForUpdatesAsync(param::hstring const& productId, param::hstring const& skuId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->SearchForUpdatesAsync(*(void**)(&productId), *(void**)(&skuId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::SearchForAllUpdatesAsync() const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->SearchForAllUpdatesAsync(&operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::IsStoreBlockedByPolicyAsync(param::hstring const& storeClientName, param::hstring const& storeClientPublisher) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->IsStoreBlockedByPolicyAsync(*(void**)(&storeClientName), *(void**)(&storeClientPublisher), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager::GetIsAppAllowedToInstallAsync(param::hstring const& productId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager)->GetIsAppAllowedToInstallAsync(*(void**)(&productId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2::StartAppInstallAsync(param::hstring const& productId, param::hstring const& skuId, bool repair, bool forceUseOfNonRemovableStorage, param::hstring const& catalogId, param::hstring const& bundleId, param::hstring const& correlationVector) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager2)->StartAppInstallWithTelemetryAsync(*(void**)(&productId), *(void**)(&skuId), repair, forceUseOfNonRemovableStorage, *(void**)(&catalogId), *(void**)(&bundleId), *(void**)(&correlationVector), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2::UpdateAppByPackageFamilyNameAsync(param::hstring const& packageFamilyName, param::hstring const& correlationVector) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager2)->UpdateAppByPackageFamilyNameWithTelemetryAsync(*(void**)(&packageFamilyName), *(void**)(&correlationVector), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2::SearchForUpdatesAsync(param::hstring const& productId, param::hstring const& skuId, param::hstring const& catalogId, param::hstring const& correlationVector) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager2)->SearchForUpdatesWithTelemetryAsync(*(void**)(&productId), *(void**)(&skuId), *(void**)(&catalogId), *(void**)(&correlationVector), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2::SearchForAllUpdatesAsync(param::hstring const& correlationVector) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager2)->SearchForAllUpdatesWithTelemetryAsync(*(void**)(&correlationVector), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2::GetIsAppAllowedToInstallAsync(param::hstring const& productId, param::hstring const& skuId, param::hstring const& catalogId, param::hstring const& correlationVector) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager2)->GetIsAppAllowedToInstallWithTelemetryAsync(*(void**)(&productId), *(void**)(&skuId), *(void**)(&catalogId), *(void**)(&correlationVector), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2::Cancel(param::hstring const& productId, param::hstring const& correlationVector) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager2)->CancelWithTelemetry(*(void**)(&productId), *(void**)(&correlationVector))); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2::Pause(param::hstring const& productId, param::hstring const& correlationVector) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager2)->PauseWithTelemetry(*(void**)(&productId), *(void**)(&correlationVector))); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager2::Restart(param::hstring const& productId, param::hstring const& correlationVector) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager2)->RestartWithTelemetry(*(void**)(&productId), *(void**)(&correlationVector))); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3::StartProductInstallAsync(param::hstring const& productId, param::hstring const& catalogId, param::hstring const& flightId, param::hstring const& clientId, bool repair, bool forceUseOfNonRemovableStorage, param::hstring const& correlationVector, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager3)->StartProductInstallAsync(*(void**)(&productId), *(void**)(&catalogId), *(void**)(&flightId), *(void**)(&clientId), repair, forceUseOfNonRemovableStorage, *(void**)(&correlationVector), *(void**)(&targetVolume), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3::StartProductInstallForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& catalogId, param::hstring const& flightId, param::hstring const& clientId, bool repair, bool forceUseOfNonRemovableStorage, param::hstring const& correlationVector, winrt::Windows::Management::Deployment::PackageVolume const& targetVolume) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager3)->StartProductInstallForUserAsync(*(void**)(&user), *(void**)(&productId), *(void**)(&catalogId), *(void**)(&flightId), *(void**)(&clientId), repair, forceUseOfNonRemovableStorage, *(void**)(&correlationVector), *(void**)(&targetVolume), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3::UpdateAppByPackageFamilyNameForUserAsync(winrt::Windows::System::User const& user, param::hstring const& packageFamilyName, param::hstring const& correlationVector) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager3)->UpdateAppByPackageFamilyNameForUserAsync(*(void**)(&user), *(void**)(&packageFamilyName), *(void**)(&correlationVector), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3::SearchForUpdatesForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& skuId, param::hstring const& catalogId, param::hstring const& correlationVector) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager3)->SearchForUpdatesForUserAsync(*(void**)(&user), *(void**)(&productId), *(void**)(&skuId), *(void**)(&catalogId), *(void**)(&correlationVector), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3::SearchForAllUpdatesForUserAsync(winrt::Windows::System::User const& user, param::hstring const& correlationVector) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager3)->SearchForAllUpdatesForUserAsync(*(void**)(&user), *(void**)(&correlationVector), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3::GetIsAppAllowedToInstallForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& skuId, param::hstring const& catalogId, param::hstring const& correlationVector) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager3)->GetIsAppAllowedToInstallForUserAsync(*(void**)(&user), *(void**)(&productId), *(void**)(&skuId), *(void**)(&catalogId), *(void**)(&correlationVector), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3::GetIsApplicableForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& skuId) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager3)->GetIsApplicableForUserAsync(*(void**)(&user), *(void**)(&productId), *(void**)(&skuId), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager3::MoveToFrontOfDownloadQueue(param::hstring const& productId, param::hstring const& correlationVector) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager3)->MoveToFrontOfDownloadQueue(*(void**)(&productId), *(void**)(&correlationVector))); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager4::GetFreeUserEntitlementAsync(param::hstring const& storeId, param::hstring const& campaignId, param::hstring const& correlationVector) const { void* ppAsyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager4)->GetFreeUserEntitlementAsync(*(void**)(&storeId), *(void**)(&campaignId), *(void**)(&correlationVector), &ppAsyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ ppAsyncOperation, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager4::GetFreeUserEntitlementForUserAsync(winrt::Windows::System::User const& user, param::hstring const& storeId, param::hstring const& campaignId, param::hstring const& correlationVector) const { void* ppAsyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager4)->GetFreeUserEntitlementForUserAsync(*(void**)(&user), *(void**)(&storeId), *(void**)(&campaignId), *(void**)(&correlationVector), &ppAsyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ ppAsyncOperation, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager4::GetFreeDeviceEntitlementAsync(param::hstring const& storeId, param::hstring const& campaignId, param::hstring const& correlationVector) const { void* ppAsyncOperation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager4)->GetFreeDeviceEntitlementAsync(*(void**)(&storeId), *(void**)(&campaignId), *(void**)(&correlationVector), &ppAsyncOperation)); return winrt::Windows::Foundation::IAsyncOperation{ ppAsyncOperation, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager5::AppInstallItemsWithGroupSupport() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager5)->get_AppInstallItemsWithGroupSupport(&value)); return winrt::Windows::Foundation::Collections::IVectorView{ value, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6::SearchForAllUpdatesAsync(param::hstring const& correlationVector, param::hstring const& clientId, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppUpdateOptions const& updateOptions) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager6)->SearchForAllUpdatesWithUpdateOptionsAsync(*(void**)(&correlationVector), *(void**)(&clientId), *(void**)(&updateOptions), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6::SearchForAllUpdatesForUserAsync(winrt::Windows::System::User const& user, param::hstring const& correlationVector, param::hstring const& clientId, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppUpdateOptions const& updateOptions) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager6)->SearchForAllUpdatesWithUpdateOptionsForUserAsync(*(void**)(&user), *(void**)(&correlationVector), *(void**)(&clientId), *(void**)(&updateOptions), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6::SearchForUpdatesAsync(param::hstring const& productId, param::hstring const& skuId, param::hstring const& correlationVector, param::hstring const& clientId, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppUpdateOptions const& updateOptions) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager6)->SearchForUpdatesWithUpdateOptionsAsync(*(void**)(&productId), *(void**)(&skuId), *(void**)(&correlationVector), *(void**)(&clientId), *(void**)(&updateOptions), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6::SearchForUpdatesForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& skuId, param::hstring const& correlationVector, param::hstring const& clientId, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppUpdateOptions const& updateOptions) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager6)->SearchForUpdatesWithUpdateOptionsForUserAsync(*(void**)(&user), *(void**)(&productId), *(void**)(&skuId), *(void**)(&correlationVector), *(void**)(&clientId), *(void**)(&updateOptions), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6::StartProductInstallAsync(param::hstring const& productId, param::hstring const& flightId, param::hstring const& clientId, param::hstring const& correlationVector, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallOptions const& installOptions) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager6)->StartProductInstallWithOptionsAsync(*(void**)(&productId), *(void**)(&flightId), *(void**)(&clientId), *(void**)(&correlationVector), *(void**)(&installOptions), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6::StartProductInstallForUserAsync(winrt::Windows::System::User const& user, param::hstring const& productId, param::hstring const& flightId, param::hstring const& clientId, param::hstring const& correlationVector, winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallOptions const& installOptions) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager6)->StartProductInstallWithOptionsForUserAsync(*(void**)(&user), *(void**)(&productId), *(void**)(&flightId), *(void**)(&clientId), *(void**)(&correlationVector), *(void**)(&installOptions), &operation)); return winrt::Windows::Foundation::IAsyncOperation>{ operation, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6::GetIsPackageIdentityAllowedToInstallAsync(param::hstring const& correlationVector, param::hstring const& packageIdentityName, param::hstring const& publisherCertificateName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager6)->GetIsPackageIdentityAllowedToInstallAsync(*(void**)(&correlationVector), *(void**)(&packageIdentityName), *(void**)(&publisherCertificateName), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager6::GetIsPackageIdentityAllowedToInstallForUserAsync(winrt::Windows::System::User const& user, param::hstring const& correlationVector, param::hstring const& packageIdentityName, param::hstring const& publisherCertificateName) const { void* operation{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager6)->GetIsPackageIdentityAllowedToInstallForUserAsync(*(void**)(&user), *(void**)(&correlationVector), *(void**)(&packageIdentityName), *(void**)(&publisherCertificateName), &operation)); return winrt::Windows::Foundation::IAsyncOperation{ operation, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManager7::CanInstallForAllUsers() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManager7)->get_CanInstallForAllUsers(&value)); return value; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallManagerItemEventArgs::Item() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallManagerItemEventArgs)->get_Item(&value)); return winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallItem{ value, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::CatalogId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions)->get_CatalogId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::CatalogId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions)->put_CatalogId(*(void**)(&value))); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::ForceUseOfNonRemovableStorage() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions)->get_ForceUseOfNonRemovableStorage(&value)); return value; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::ForceUseOfNonRemovableStorage(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions)->put_ForceUseOfNonRemovableStorage(value)); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::AllowForcedAppRestart() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions)->get_AllowForcedAppRestart(&value)); return value; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::AllowForcedAppRestart(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions)->put_AllowForcedAppRestart(value)); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::Repair() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions)->get_Repair(&value)); return value; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::Repair(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions)->put_Repair(value)); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::TargetVolume() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions)->get_TargetVolume(&value)); return winrt::Windows::Management::Deployment::PackageVolume{ value, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::TargetVolume(winrt::Windows::Management::Deployment::PackageVolume const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions)->put_TargetVolume(*(void**)(&value))); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::LaunchAfterInstall() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions)->get_LaunchAfterInstall(&value)); return value; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions::LaunchAfterInstall(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions)->put_LaunchAfterInstall(value)); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::PinToDesktopAfterInstall() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->get_PinToDesktopAfterInstall(&value)); return value; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::PinToDesktopAfterInstall(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->put_PinToDesktopAfterInstall(value)); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::PinToStartAfterInstall() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->get_PinToStartAfterInstall(&value)); return value; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::PinToStartAfterInstall(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->put_PinToStartAfterInstall(value)); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::PinToTaskbarAfterInstall() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->get_PinToTaskbarAfterInstall(&value)); return value; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::PinToTaskbarAfterInstall(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->put_PinToTaskbarAfterInstall(value)); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::CompletedInstallToastNotificationMode() const { winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->get_CompletedInstallToastNotificationMode(reinterpret_cast(&value))); return value; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::CompletedInstallToastNotificationMode(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->put_CompletedInstallToastNotificationMode(static_cast(value))); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::InstallInProgressToastNotificationMode() const { winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->get_InstallInProgressToastNotificationMode(reinterpret_cast(&value))); return value; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::InstallInProgressToastNotificationMode(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallationToastNotificationMode const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->put_InstallInProgressToastNotificationMode(static_cast(value))); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::InstallForAllUsers() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->get_InstallForAllUsers(&value)); return value; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::InstallForAllUsers(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->put_InstallForAllUsers(value)); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::StageButDoNotInstall() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->get_StageButDoNotInstall(&value)); return value; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::StageButDoNotInstall(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->put_StageButDoNotInstall(value)); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::CampaignId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->get_CampaignId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::CampaignId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->put_CampaignId(*(void**)(&value))); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::ExtendedCampaignId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->get_ExtendedCampaignId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallOptions2::ExtendedCampaignId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallOptions2)->put_ExtendedCampaignId(*(void**)(&value))); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus::InstallState() const { winrt::Windows::ApplicationModel::Store::Preview::InstallControl::AppInstallState value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallStatus)->get_InstallState(reinterpret_cast(&value))); return value; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus::DownloadSizeInBytes() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallStatus)->get_DownloadSizeInBytes(&value)); return value; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus::BytesDownloaded() const { uint64_t value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallStatus)->get_BytesDownloaded(&value)); return value; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus::PercentComplete() const { double value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallStatus)->get_PercentComplete(&value)); return value; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus::ErrorCode() const { winrt::hresult value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallStatus)->get_ErrorCode(put_abi(value))); return value; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus2::User() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallStatus2)->get_User(&value)); return winrt::Windows::System::User{ value, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus2::ReadyForLaunch() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallStatus2)->get_ReadyForLaunch(&value)); return value; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppInstallStatus3::IsStaged() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppInstallStatus3)->get_IsStaged(&value)); return value; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions::CatalogId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppUpdateOptions)->get_CatalogId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions::CatalogId(param::hstring const& value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppUpdateOptions)->put_CatalogId(*(void**)(&value))); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions::AllowForcedAppRestart() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppUpdateOptions)->get_AllowForcedAppRestart(&value)); return value; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions::AllowForcedAppRestart(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppUpdateOptions)->put_AllowForcedAppRestart(value)); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions2::AutomaticallyDownloadAndInstallUpdateIfFound() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppUpdateOptions2)->get_AutomaticallyDownloadAndInstallUpdateIfFound(&value)); return value; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IAppUpdateOptions2::AutomaticallyDownloadAndInstallUpdateIfFound(bool value) const { check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IAppUpdateOptions2)->put_AutomaticallyDownloadAndInstallUpdateIfFound(value)); } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IGetEntitlementResult::Status() const { winrt::Windows::ApplicationModel::Store::Preview::InstallControl::GetEntitlementStatus value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IGetEntitlementResult)->get_Status(reinterpret_cast(&value))); return value; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IGetEntitlementResult2::IsAlreadyOwned() const { bool value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IGetEntitlementResult2)->get_IsAlreadyOwned(&value)); return value; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IGetEntitlementResult2::OrderId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IGetEntitlementResult2)->get_OrderId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IGetEntitlementResult2::SkuId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IGetEntitlementResult2)->get_SkuId(&value)); return hstring{ value, take_ownership_from_abi }; } template auto consume_Windows_ApplicationModel_Store_Preview_InstallControl_IGetEntitlementResult2::AvailabilityId() const { void* value{}; check_hresult(WINRT_IMPL_SHIM(winrt::Windows::ApplicationModel::Store::Preview::InstallControl::IGetEntitlementResult2)->get_AvailabilityId(&value)); return hstring{ value, take_ownership_from_abi }; } #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_ProductId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ProductId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PackageFamilyName(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PackageFamilyName()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_InstallType(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InstallType()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_IsUserInitiated(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsUserInitiated()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetCurrentStatus(void** result) noexcept final try { clear_abi(result); typename D::abi_guard guard(this->shim()); *result = detach_from(this->shim().GetCurrentStatus()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Cancel() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Cancel(); 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 Restart() noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Restart(); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_Completed(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().Completed(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_Completed(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().Completed(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_StatusChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().StatusChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_StatusChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().StatusChanged(*reinterpret_cast(&token)); return 0; } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall CancelWithTelemetry(void* correlationVector) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Cancel(*reinterpret_cast(&correlationVector)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall PauseWithTelemetry(void* correlationVector) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Pause(*reinterpret_cast(&correlationVector)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RestartWithTelemetry(void* correlationVector) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Restart(*reinterpret_cast(&correlationVector)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Children(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().Children()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ItemOperationsMightAffectOtherItems(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ItemOperationsMightAffectOtherItems()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_LaunchAfterInstall(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LaunchAfterInstall()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LaunchAfterInstall(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LaunchAfterInstall(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_PinToDesktopAfterInstall(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PinToDesktopAfterInstall()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PinToDesktopAfterInstall(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PinToDesktopAfterInstall(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PinToStartAfterInstall(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PinToStartAfterInstall()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PinToStartAfterInstall(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PinToStartAfterInstall(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PinToTaskbarAfterInstall(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PinToTaskbarAfterInstall()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PinToTaskbarAfterInstall(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PinToTaskbarAfterInstall(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CompletedInstallToastNotificationMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CompletedInstallToastNotificationMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CompletedInstallToastNotificationMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CompletedInstallToastNotificationMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_InstallInProgressToastNotificationMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InstallInProgressToastNotificationMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_InstallInProgressToastNotificationMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InstallInProgressToastNotificationMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_AppInstallItems(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().AppInstallItems()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Cancel(void* productId) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Cancel(*reinterpret_cast(&productId)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Pause(void* productId) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Pause(*reinterpret_cast(&productId)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall Restart(void* productId) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Restart(*reinterpret_cast(&productId)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall add_ItemCompleted(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ItemCompleted(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ItemCompleted(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ItemCompleted(*reinterpret_cast(&token)); return 0; } int32_t __stdcall add_ItemStatusChanged(void* handler, winrt::event_token* token) noexcept final try { zero_abi(token); typename D::abi_guard guard(this->shim()); *token = detach_from(this->shim().ItemStatusChanged(*reinterpret_cast const*>(&handler))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall remove_ItemStatusChanged(winrt::event_token token) noexcept final { typename D::abi_guard guard(this->shim()); this->shim().ItemStatusChanged(*reinterpret_cast(&token)); return 0; } int32_t __stdcall get_AutoUpdateSetting(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AutoUpdateSetting()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AutoUpdateSetting(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AutoUpdateSetting(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AcquisitionIdentity(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AcquisitionIdentity()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AcquisitionIdentity(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AcquisitionIdentity(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetIsApplicableAsync(void* productId, void* skuId, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().GetIsApplicableAsync(*reinterpret_cast(&productId), *reinterpret_cast(&skuId))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall StartAppInstallAsync(void* productId, void* skuId, bool repair, bool forceUseOfNonRemovableStorage, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().StartAppInstallAsync(*reinterpret_cast(&productId), *reinterpret_cast(&skuId), repair, forceUseOfNonRemovableStorage)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall UpdateAppByPackageFamilyNameAsync(void* packageFamilyName, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().UpdateAppByPackageFamilyNameAsync(*reinterpret_cast(&packageFamilyName))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SearchForUpdatesAsync(void* productId, void* skuId, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().SearchForUpdatesAsync(*reinterpret_cast(&productId), *reinterpret_cast(&skuId))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SearchForAllUpdatesAsync(void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>>(this->shim().SearchForAllUpdatesAsync()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall IsStoreBlockedByPolicyAsync(void* storeClientName, void* storeClientPublisher, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().IsStoreBlockedByPolicyAsync(*reinterpret_cast(&storeClientName), *reinterpret_cast(&storeClientPublisher))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetIsAppAllowedToInstallAsync(void* productId, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().GetIsAppAllowedToInstallAsync(*reinterpret_cast(&productId))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall StartAppInstallWithTelemetryAsync(void* productId, void* skuId, bool repair, bool forceUseOfNonRemovableStorage, void* catalogId, void* bundleId, void* correlationVector, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().StartAppInstallAsync(*reinterpret_cast(&productId), *reinterpret_cast(&skuId), repair, forceUseOfNonRemovableStorage, *reinterpret_cast(&catalogId), *reinterpret_cast(&bundleId), *reinterpret_cast(&correlationVector))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall UpdateAppByPackageFamilyNameWithTelemetryAsync(void* packageFamilyName, void* correlationVector, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().UpdateAppByPackageFamilyNameAsync(*reinterpret_cast(&packageFamilyName), *reinterpret_cast(&correlationVector))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SearchForUpdatesWithTelemetryAsync(void* productId, void* skuId, void* catalogId, void* correlationVector, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().SearchForUpdatesAsync(*reinterpret_cast(&productId), *reinterpret_cast(&skuId), *reinterpret_cast(&catalogId), *reinterpret_cast(&correlationVector))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SearchForAllUpdatesWithTelemetryAsync(void* correlationVector, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>>(this->shim().SearchForAllUpdatesAsync(*reinterpret_cast(&correlationVector))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetIsAppAllowedToInstallWithTelemetryAsync(void* productId, void* skuId, void* catalogId, void* correlationVector, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().GetIsAppAllowedToInstallAsync(*reinterpret_cast(&productId), *reinterpret_cast(&skuId), *reinterpret_cast(&catalogId), *reinterpret_cast(&correlationVector))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall CancelWithTelemetry(void* productId, void* correlationVector) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Cancel(*reinterpret_cast(&productId), *reinterpret_cast(&correlationVector)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall PauseWithTelemetry(void* productId, void* correlationVector) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Pause(*reinterpret_cast(&productId), *reinterpret_cast(&correlationVector)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall RestartWithTelemetry(void* productId, void* correlationVector) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Restart(*reinterpret_cast(&productId), *reinterpret_cast(&correlationVector)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall StartProductInstallAsync(void* productId, void* catalogId, void* flightId, void* clientId, bool repair, bool forceUseOfNonRemovableStorage, void* correlationVector, void* targetVolume, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>>(this->shim().StartProductInstallAsync(*reinterpret_cast(&productId), *reinterpret_cast(&catalogId), *reinterpret_cast(&flightId), *reinterpret_cast(&clientId), repair, forceUseOfNonRemovableStorage, *reinterpret_cast(&correlationVector), *reinterpret_cast(&targetVolume))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall StartProductInstallForUserAsync(void* user, void* productId, void* catalogId, void* flightId, void* clientId, bool repair, bool forceUseOfNonRemovableStorage, void* correlationVector, void* targetVolume, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>>(this->shim().StartProductInstallForUserAsync(*reinterpret_cast(&user), *reinterpret_cast(&productId), *reinterpret_cast(&catalogId), *reinterpret_cast(&flightId), *reinterpret_cast(&clientId), repair, forceUseOfNonRemovableStorage, *reinterpret_cast(&correlationVector), *reinterpret_cast(&targetVolume))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall UpdateAppByPackageFamilyNameForUserAsync(void* user, void* packageFamilyName, void* correlationVector, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().UpdateAppByPackageFamilyNameForUserAsync(*reinterpret_cast(&user), *reinterpret_cast(&packageFamilyName), *reinterpret_cast(&correlationVector))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SearchForUpdatesForUserAsync(void* user, void* productId, void* skuId, void* catalogId, void* correlationVector, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().SearchForUpdatesForUserAsync(*reinterpret_cast(&user), *reinterpret_cast(&productId), *reinterpret_cast(&skuId), *reinterpret_cast(&catalogId), *reinterpret_cast(&correlationVector))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SearchForAllUpdatesForUserAsync(void* user, void* correlationVector, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>>(this->shim().SearchForAllUpdatesForUserAsync(*reinterpret_cast(&user), *reinterpret_cast(&correlationVector))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetIsAppAllowedToInstallForUserAsync(void* user, void* productId, void* skuId, void* catalogId, void* correlationVector, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().GetIsAppAllowedToInstallForUserAsync(*reinterpret_cast(&user), *reinterpret_cast(&productId), *reinterpret_cast(&skuId), *reinterpret_cast(&catalogId), *reinterpret_cast(&correlationVector))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetIsApplicableForUserAsync(void* user, void* productId, void* skuId, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().GetIsApplicableForUserAsync(*reinterpret_cast(&user), *reinterpret_cast(&productId), *reinterpret_cast(&skuId))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall MoveToFrontOfDownloadQueue(void* productId, void* correlationVector) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().MoveToFrontOfDownloadQueue(*reinterpret_cast(&productId), *reinterpret_cast(&correlationVector)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall GetFreeUserEntitlementAsync(void* storeId, void* campaignId, void* correlationVector, void** ppAsyncOperation) noexcept final try { clear_abi(ppAsyncOperation); typename D::abi_guard guard(this->shim()); *ppAsyncOperation = detach_from>(this->shim().GetFreeUserEntitlementAsync(*reinterpret_cast(&storeId), *reinterpret_cast(&campaignId), *reinterpret_cast(&correlationVector))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetFreeUserEntitlementForUserAsync(void* user, void* storeId, void* campaignId, void* correlationVector, void** ppAsyncOperation) noexcept final try { clear_abi(ppAsyncOperation); typename D::abi_guard guard(this->shim()); *ppAsyncOperation = detach_from>(this->shim().GetFreeUserEntitlementForUserAsync(*reinterpret_cast(&user), *reinterpret_cast(&storeId), *reinterpret_cast(&campaignId), *reinterpret_cast(&correlationVector))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetFreeDeviceEntitlementAsync(void* storeId, void* campaignId, void* correlationVector, void** ppAsyncOperation) noexcept final try { clear_abi(ppAsyncOperation); typename D::abi_guard guard(this->shim()); *ppAsyncOperation = detach_from>(this->shim().GetFreeDeviceEntitlementAsync(*reinterpret_cast(&storeId), *reinterpret_cast(&campaignId), *reinterpret_cast(&correlationVector))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_AppInstallItemsWithGroupSupport(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from>(this->shim().AppInstallItemsWithGroupSupport()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall SearchForAllUpdatesWithUpdateOptionsAsync(void* correlationVector, void* clientId, void* updateOptions, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>>(this->shim().SearchForAllUpdatesAsync(*reinterpret_cast(&correlationVector), *reinterpret_cast(&clientId), *reinterpret_cast(&updateOptions))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SearchForAllUpdatesWithUpdateOptionsForUserAsync(void* user, void* correlationVector, void* clientId, void* updateOptions, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>>(this->shim().SearchForAllUpdatesForUserAsync(*reinterpret_cast(&user), *reinterpret_cast(&correlationVector), *reinterpret_cast(&clientId), *reinterpret_cast(&updateOptions))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SearchForUpdatesWithUpdateOptionsAsync(void* productId, void* skuId, void* correlationVector, void* clientId, void* updateOptions, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().SearchForUpdatesAsync(*reinterpret_cast(&productId), *reinterpret_cast(&skuId), *reinterpret_cast(&correlationVector), *reinterpret_cast(&clientId), *reinterpret_cast(&updateOptions))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall SearchForUpdatesWithUpdateOptionsForUserAsync(void* user, void* productId, void* skuId, void* correlationVector, void* clientId, void* updateOptions, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().SearchForUpdatesForUserAsync(*reinterpret_cast(&user), *reinterpret_cast(&productId), *reinterpret_cast(&skuId), *reinterpret_cast(&correlationVector), *reinterpret_cast(&clientId), *reinterpret_cast(&updateOptions))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall StartProductInstallWithOptionsAsync(void* productId, void* flightId, void* clientId, void* correlationVector, void* installOptions, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>>(this->shim().StartProductInstallAsync(*reinterpret_cast(&productId), *reinterpret_cast(&flightId), *reinterpret_cast(&clientId), *reinterpret_cast(&correlationVector), *reinterpret_cast(&installOptions))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall StartProductInstallWithOptionsForUserAsync(void* user, void* productId, void* flightId, void* clientId, void* correlationVector, void* installOptions, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>>(this->shim().StartProductInstallForUserAsync(*reinterpret_cast(&user), *reinterpret_cast(&productId), *reinterpret_cast(&flightId), *reinterpret_cast(&clientId), *reinterpret_cast(&correlationVector), *reinterpret_cast(&installOptions))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetIsPackageIdentityAllowedToInstallAsync(void* correlationVector, void* packageIdentityName, void* publisherCertificateName, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().GetIsPackageIdentityAllowedToInstallAsync(*reinterpret_cast(&correlationVector), *reinterpret_cast(&packageIdentityName), *reinterpret_cast(&publisherCertificateName))); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall GetIsPackageIdentityAllowedToInstallForUserAsync(void* user, void* correlationVector, void* packageIdentityName, void* publisherCertificateName, void** operation) noexcept final try { clear_abi(operation); typename D::abi_guard guard(this->shim()); *operation = detach_from>(this->shim().GetIsPackageIdentityAllowedToInstallForUserAsync(*reinterpret_cast(&user), *reinterpret_cast(&correlationVector), *reinterpret_cast(&packageIdentityName), *reinterpret_cast(&publisherCertificateName))); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CanInstallForAllUsers(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CanInstallForAllUsers()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Item(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Item()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CatalogId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CatalogId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CatalogId(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CatalogId(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ForceUseOfNonRemovableStorage(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ForceUseOfNonRemovableStorage()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ForceUseOfNonRemovableStorage(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ForceUseOfNonRemovableStorage(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AllowForcedAppRestart(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AllowForcedAppRestart()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AllowForcedAppRestart(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AllowForcedAppRestart(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_Repair(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Repair()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_Repair(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().Repair(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_TargetVolume(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().TargetVolume()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_TargetVolume(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().TargetVolume(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_LaunchAfterInstall(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().LaunchAfterInstall()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_LaunchAfterInstall(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().LaunchAfterInstall(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_PinToDesktopAfterInstall(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PinToDesktopAfterInstall()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PinToDesktopAfterInstall(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PinToDesktopAfterInstall(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PinToStartAfterInstall(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PinToStartAfterInstall()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PinToStartAfterInstall(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PinToStartAfterInstall(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PinToTaskbarAfterInstall(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PinToTaskbarAfterInstall()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_PinToTaskbarAfterInstall(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().PinToTaskbarAfterInstall(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CompletedInstallToastNotificationMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CompletedInstallToastNotificationMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CompletedInstallToastNotificationMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CompletedInstallToastNotificationMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_InstallInProgressToastNotificationMode(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InstallInProgressToastNotificationMode()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_InstallInProgressToastNotificationMode(int32_t value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InstallInProgressToastNotificationMode(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_InstallForAllUsers(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InstallForAllUsers()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_InstallForAllUsers(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().InstallForAllUsers(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_StageButDoNotInstall(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().StageButDoNotInstall()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_StageButDoNotInstall(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().StageButDoNotInstall(value); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_CampaignId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CampaignId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CampaignId(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CampaignId(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ExtendedCampaignId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ExtendedCampaignId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_ExtendedCampaignId(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().ExtendedCampaignId(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_InstallState(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().InstallState()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_DownloadSizeInBytes(uint64_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().DownloadSizeInBytes()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_BytesDownloaded(uint64_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().BytesDownloaded()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_PercentComplete(double* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().PercentComplete()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_ErrorCode(winrt::hresult* value) noexcept final try { zero_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ErrorCode()); 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 get_ReadyForLaunch(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().ReadyForLaunch()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsStaged(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsStaged()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_CatalogId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().CatalogId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_CatalogId(void* value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().CatalogId(*reinterpret_cast(&value)); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AllowForcedAppRestart(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AllowForcedAppRestart()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AllowForcedAppRestart(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AllowForcedAppRestart(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_AutomaticallyDownloadAndInstallUpdateIfFound(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AutomaticallyDownloadAndInstallUpdateIfFound()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall put_AutomaticallyDownloadAndInstallUpdateIfFound(bool value) noexcept final try { typename D::abi_guard guard(this->shim()); this->shim().AutomaticallyDownloadAndInstallUpdateIfFound(value); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_Status(int32_t* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().Status()); return 0; } catch (...) { return to_hresult(); } }; #endif #ifndef WINRT_LEAN_AND_MEAN template struct produce : produce_base { int32_t __stdcall get_IsAlreadyOwned(bool* value) noexcept final try { typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().IsAlreadyOwned()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_OrderId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().OrderId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_SkuId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().SkuId()); return 0; } catch (...) { return to_hresult(); } int32_t __stdcall get_AvailabilityId(void** value) noexcept final try { clear_abi(value); typename D::abi_guard guard(this->shim()); *value = detach_from(this->shim().AvailabilityId()); return 0; } catch (...) { return to_hresult(); } }; #endif } WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Store::Preview::InstallControl { inline AppInstallManager::AppInstallManager() : AppInstallManager(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline AppInstallOptions::AppInstallOptions() : AppInstallOptions(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } inline AppUpdateOptions::AppUpdateOptions() : AppUpdateOptions(impl::call_factory_cast([](winrt::Windows::Foundation::IActivationFactory const& f) { return f.template ActivateInstance(); })) { } } 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 {}; #endif #ifdef __cpp_lib_format #endif } #endif