Update WinRT to new version 2.0.250303.1

PiperOrigin-RevId: 781075193
This commit is contained in:
Guogang Li
2025-07-09 08:58:00 -07:00
committed by Copybara-Service
parent 5e558cffc4
commit 8f14bd10fc
1395 changed files with 498490 additions and 61973 deletions
@@ -1,4 +1,4 @@
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.220531.1
// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.250303.1
#pragma once
#ifndef WINRT_Windows_ApplicationModel_0_H
@@ -14,12 +14,12 @@ WINRT_EXPORT namespace winrt::Windows::Foundation
struct HResult;
struct IAsyncAction;
struct Size;
template <typename TSender, typename TResult> struct __declspec(empty_bases) TypedEventHandler;
template <typename TSender, typename TResult> struct WINRT_IMPL_EMPTY_BASES TypedEventHandler;
struct Uri;
}
WINRT_EXPORT namespace winrt::Windows::Foundation::Collections
{
template <typename T> struct __declspec(empty_bases) IIterable;
template <typename T> struct WINRT_IMPL_EMPTY_BASES IIterable;
}
WINRT_EXPORT namespace winrt::Windows::Storage
{
@@ -48,6 +48,18 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel
Host = 1,
Guest = 2,
};
enum class AppInstallerPolicySource : int32_t
{
Default = 0,
System = 1,
};
enum class FullTrustLaunchResult : int32_t
{
Success = 0,
AccessDenied = 1,
FileNotFound = 2,
Unknown = 3,
};
enum class LimitedAccessFeatureStatus : int32_t
{
Unavailable = 0,
@@ -62,6 +74,12 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel
Staging = 2,
Staged = 3,
};
enum class PackageRelationship : int32_t
{
Dependencies = 0,
Dependents = 1,
All = 2,
};
enum class PackageSignatureKind : int32_t
{
None = 0,
@@ -93,13 +111,18 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel
struct IAppInfo4;
struct IAppInfoStatics;
struct IAppInstallerInfo;
struct IAppInstallerInfo2;
struct IAppInstance;
struct IAppInstanceStatics;
struct ICameraApplicationManagerStatics;
struct IDesignModeStatics;
struct IDesignModeStatics2;
struct IEnteredBackgroundEventArgs;
struct IFindRelatedPackagesOptions;
struct IFindRelatedPackagesOptionsFactory;
struct IFullTrustProcessLaunchResult;
struct IFullTrustProcessLauncherStatics;
struct IFullTrustProcessLauncherStatics2;
struct ILeavingBackgroundEventArgs;
struct ILimitedAccessFeatureRequestResult;
struct ILimitedAccessFeaturesStatics;
@@ -111,6 +134,7 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel
struct IPackage6;
struct IPackage7;
struct IPackage8;
struct IPackage9;
struct IPackageCatalog;
struct IPackageCatalog2;
struct IPackageCatalog3;
@@ -120,6 +144,7 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel
struct IPackageCatalogRemoveOptionalPackagesResult;
struct IPackageCatalogRemoveResourcePackagesResult;
struct IPackageCatalogStatics;
struct IPackageCatalogStatics2;
struct IPackageContentGroup;
struct IPackageContentGroupStagingEventArgs;
struct IPackageContentGroupStatics;
@@ -147,6 +172,8 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel
struct CameraApplicationManager;
struct DesignMode;
struct EnteredBackgroundEventArgs;
struct FindRelatedPackagesOptions;
struct FullTrustProcessLaunchResult;
struct FullTrustProcessLauncher;
struct LeavingBackgroundEventArgs;
struct LimitedAccessFeatureRequestResult;
@@ -173,6 +200,8 @@ WINRT_EXPORT namespace winrt::Windows::ApplicationModel
struct SuspendingOperation;
struct PackageInstallProgress;
struct PackageVersion;
struct FullTrustAppContract;
struct StartupTaskContract;
}
namespace winrt::impl
{
@@ -183,13 +212,18 @@ namespace winrt::impl
template <> struct category<winrt::Windows::ApplicationModel::IAppInfo4>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::IAppInfoStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::IAppInstallerInfo>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::IAppInstallerInfo2>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::IAppInstance>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::IAppInstanceStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::ICameraApplicationManagerStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::IDesignModeStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::IDesignModeStatics2>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::IEnteredBackgroundEventArgs>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::IFindRelatedPackagesOptions>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::IFindRelatedPackagesOptionsFactory>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::IFullTrustProcessLaunchResult>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::IFullTrustProcessLauncherStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::IFullTrustProcessLauncherStatics2>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::ILeavingBackgroundEventArgs>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::ILimitedAccessFeatureRequestResult>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::ILimitedAccessFeaturesStatics>{ using type = interface_category; };
@@ -201,6 +235,7 @@ namespace winrt::impl
template <> struct category<winrt::Windows::ApplicationModel::IPackage6>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::IPackage7>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::IPackage8>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::IPackage9>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::IPackageCatalog>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::IPackageCatalog2>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::IPackageCatalog3>{ using type = interface_category; };
@@ -210,6 +245,7 @@ namespace winrt::impl
template <> struct category<winrt::Windows::ApplicationModel::IPackageCatalogRemoveOptionalPackagesResult>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::IPackageCatalogRemoveResourcePackagesResult>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::IPackageCatalogStatics>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::IPackageCatalogStatics2>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::IPackageContentGroup>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::IPackageContentGroupStagingEventArgs>{ using type = interface_category; };
template <> struct category<winrt::Windows::ApplicationModel::IPackageContentGroupStatics>{ using type = interface_category; };
@@ -237,6 +273,8 @@ namespace winrt::impl
template <> struct category<winrt::Windows::ApplicationModel::CameraApplicationManager>{ using type = class_category; };
template <> struct category<winrt::Windows::ApplicationModel::DesignMode>{ using type = class_category; };
template <> struct category<winrt::Windows::ApplicationModel::EnteredBackgroundEventArgs>{ using type = class_category; };
template <> struct category<winrt::Windows::ApplicationModel::FindRelatedPackagesOptions>{ using type = class_category; };
template <> struct category<winrt::Windows::ApplicationModel::FullTrustProcessLaunchResult>{ using type = class_category; };
template <> struct category<winrt::Windows::ApplicationModel::FullTrustProcessLauncher>{ using type = class_category; };
template <> struct category<winrt::Windows::ApplicationModel::LeavingBackgroundEventArgs>{ using type = class_category; };
template <> struct category<winrt::Windows::ApplicationModel::LimitedAccessFeatureRequestResult>{ using type = class_category; };
@@ -263,8 +301,11 @@ namespace winrt::impl
template <> struct category<winrt::Windows::ApplicationModel::SuspendingOperation>{ using type = class_category; };
template <> struct category<winrt::Windows::ApplicationModel::AddResourcePackageOptions>{ using type = enum_category; };
template <> struct category<winrt::Windows::ApplicationModel::AppExecutionContext>{ using type = enum_category; };
template <> struct category<winrt::Windows::ApplicationModel::AppInstallerPolicySource>{ using type = enum_category; };
template <> struct category<winrt::Windows::ApplicationModel::FullTrustLaunchResult>{ using type = enum_category; };
template <> struct category<winrt::Windows::ApplicationModel::LimitedAccessFeatureStatus>{ using type = enum_category; };
template <> struct category<winrt::Windows::ApplicationModel::PackageContentGroupState>{ using type = enum_category; };
template <> struct category<winrt::Windows::ApplicationModel::PackageRelationship>{ using type = enum_category; };
template <> struct category<winrt::Windows::ApplicationModel::PackageSignatureKind>{ using type = enum_category; };
template <> struct category<winrt::Windows::ApplicationModel::PackageUpdateAvailability>{ using type = enum_category; };
template <> struct category<winrt::Windows::ApplicationModel::StartupTaskState>{ using type = enum_category; };
@@ -277,6 +318,8 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::CameraApplicationManager> = L"Windows.ApplicationModel.CameraApplicationManager";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::DesignMode> = L"Windows.ApplicationModel.DesignMode";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::EnteredBackgroundEventArgs> = L"Windows.ApplicationModel.EnteredBackgroundEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::FindRelatedPackagesOptions> = L"Windows.ApplicationModel.FindRelatedPackagesOptions";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::FullTrustProcessLaunchResult> = L"Windows.ApplicationModel.FullTrustProcessLaunchResult";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::FullTrustProcessLauncher> = L"Windows.ApplicationModel.FullTrustProcessLauncher";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::LeavingBackgroundEventArgs> = L"Windows.ApplicationModel.LeavingBackgroundEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::LimitedAccessFeatureRequestResult> = L"Windows.ApplicationModel.LimitedAccessFeatureRequestResult";
@@ -303,8 +346,11 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::SuspendingOperation> = L"Windows.ApplicationModel.SuspendingOperation";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::AddResourcePackageOptions> = L"Windows.ApplicationModel.AddResourcePackageOptions";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::AppExecutionContext> = L"Windows.ApplicationModel.AppExecutionContext";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::AppInstallerPolicySource> = L"Windows.ApplicationModel.AppInstallerPolicySource";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::FullTrustLaunchResult> = L"Windows.ApplicationModel.FullTrustLaunchResult";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::LimitedAccessFeatureStatus> = L"Windows.ApplicationModel.LimitedAccessFeatureStatus";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::PackageContentGroupState> = L"Windows.ApplicationModel.PackageContentGroupState";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::PackageRelationship> = L"Windows.ApplicationModel.PackageRelationship";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::PackageSignatureKind> = L"Windows.ApplicationModel.PackageSignatureKind";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::PackageUpdateAvailability> = L"Windows.ApplicationModel.PackageUpdateAvailability";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::StartupTaskState> = L"Windows.ApplicationModel.StartupTaskState";
@@ -317,13 +363,18 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IAppInfo4> = L"Windows.ApplicationModel.IAppInfo4";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IAppInfoStatics> = L"Windows.ApplicationModel.IAppInfoStatics";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IAppInstallerInfo> = L"Windows.ApplicationModel.IAppInstallerInfo";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IAppInstallerInfo2> = L"Windows.ApplicationModel.IAppInstallerInfo2";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IAppInstance> = L"Windows.ApplicationModel.IAppInstance";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IAppInstanceStatics> = L"Windows.ApplicationModel.IAppInstanceStatics";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::ICameraApplicationManagerStatics> = L"Windows.ApplicationModel.ICameraApplicationManagerStatics";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IDesignModeStatics> = L"Windows.ApplicationModel.IDesignModeStatics";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IDesignModeStatics2> = L"Windows.ApplicationModel.IDesignModeStatics2";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IEnteredBackgroundEventArgs> = L"Windows.ApplicationModel.IEnteredBackgroundEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IFindRelatedPackagesOptions> = L"Windows.ApplicationModel.IFindRelatedPackagesOptions";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IFindRelatedPackagesOptionsFactory> = L"Windows.ApplicationModel.IFindRelatedPackagesOptionsFactory";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IFullTrustProcessLaunchResult> = L"Windows.ApplicationModel.IFullTrustProcessLaunchResult";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IFullTrustProcessLauncherStatics> = L"Windows.ApplicationModel.IFullTrustProcessLauncherStatics";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IFullTrustProcessLauncherStatics2> = L"Windows.ApplicationModel.IFullTrustProcessLauncherStatics2";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::ILeavingBackgroundEventArgs> = L"Windows.ApplicationModel.ILeavingBackgroundEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::ILimitedAccessFeatureRequestResult> = L"Windows.ApplicationModel.ILimitedAccessFeatureRequestResult";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::ILimitedAccessFeaturesStatics> = L"Windows.ApplicationModel.ILimitedAccessFeaturesStatics";
@@ -335,6 +386,7 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IPackage6> = L"Windows.ApplicationModel.IPackage6";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IPackage7> = L"Windows.ApplicationModel.IPackage7";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IPackage8> = L"Windows.ApplicationModel.IPackage8";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IPackage9> = L"Windows.ApplicationModel.IPackage9";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IPackageCatalog> = L"Windows.ApplicationModel.IPackageCatalog";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IPackageCatalog2> = L"Windows.ApplicationModel.IPackageCatalog2";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IPackageCatalog3> = L"Windows.ApplicationModel.IPackageCatalog3";
@@ -344,6 +396,7 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IPackageCatalogRemoveOptionalPackagesResult> = L"Windows.ApplicationModel.IPackageCatalogRemoveOptionalPackagesResult";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IPackageCatalogRemoveResourcePackagesResult> = L"Windows.ApplicationModel.IPackageCatalogRemoveResourcePackagesResult";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IPackageCatalogStatics> = L"Windows.ApplicationModel.IPackageCatalogStatics";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IPackageCatalogStatics2> = L"Windows.ApplicationModel.IPackageCatalogStatics2";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IPackageContentGroup> = L"Windows.ApplicationModel.IPackageContentGroup";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IPackageContentGroupStagingEventArgs> = L"Windows.ApplicationModel.IPackageContentGroupStagingEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::IPackageContentGroupStatics> = L"Windows.ApplicationModel.IPackageContentGroupStatics";
@@ -364,6 +417,8 @@ namespace winrt::impl
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::ISuspendingDeferral> = L"Windows.ApplicationModel.ISuspendingDeferral";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::ISuspendingEventArgs> = L"Windows.ApplicationModel.ISuspendingEventArgs";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::ISuspendingOperation> = L"Windows.ApplicationModel.ISuspendingOperation";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::FullTrustAppContract> = L"Windows.ApplicationModel.FullTrustAppContract";
template <> inline constexpr auto& name_v<winrt::Windows::ApplicationModel::StartupTaskContract> = L"Windows.ApplicationModel.StartupTaskContract";
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IAppDisplayInfo>{ 0x1AEB1103,0xE4D4,0x41AA,{ 0xA4,0xF6,0xC4,0xA2,0x76,0xE7,0x9E,0xAC } }; // 1AEB1103-E4D4-41AA-A4F6-C4A276E79EAC
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IAppInfo>{ 0xCF7F59B3,0x6A09,0x4DE8,{ 0xA6,0xC0,0x57,0x92,0xD5,0x68,0x80,0xD1 } }; // CF7F59B3-6A09-4DE8-A6C0-5792D56880D1
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IAppInfo2>{ 0xBE4B1F5A,0x2098,0x431B,{ 0xBD,0x25,0xB3,0x08,0x78,0x74,0x8D,0x47 } }; // BE4B1F5A-2098-431B-BD25-B30878748D47
@@ -371,13 +426,18 @@ namespace winrt::impl
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IAppInfo4>{ 0x2F34BDEB,0x1609,0x4554,{ 0x9F,0x33,0x12,0xE1,0xE8,0x03,0xE0,0xD4 } }; // 2F34BDEB-1609-4554-9F33-12E1E803E0D4
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IAppInfoStatics>{ 0xCF1F782A,0xE48B,0x4F0C,{ 0x9B,0x0B,0x79,0xC3,0xF8,0x95,0x7D,0xD7 } }; // CF1F782A-E48B-4F0C-9B0B-79C3F8957DD7
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IAppInstallerInfo>{ 0x29AB2AC0,0xD4F6,0x42A3,{ 0xAD,0xCD,0xD6,0x58,0x3C,0x65,0x95,0x08 } }; // 29AB2AC0-D4F6-42A3-ADCD-D6583C659508
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IAppInstallerInfo2>{ 0xD20F1388,0x8256,0x597C,{ 0x85,0x11,0xC8,0x4E,0xC5,0x0D,0x5E,0x2B } }; // D20F1388-8256-597C-8511-C84EC50D5E2B
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IAppInstance>{ 0x675F2B47,0xF25F,0x4532,{ 0x9F,0xD6,0x36,0x33,0xE0,0x63,0x4D,0x01 } }; // 675F2B47-F25F-4532-9FD6-3633E0634D01
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IAppInstanceStatics>{ 0x9D11E77F,0x9EA6,0x47AF,{ 0xA6,0xEC,0x46,0x78,0x4C,0x5B,0xA2,0x54 } }; // 9D11E77F-9EA6-47AF-A6EC-46784C5BA254
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::ICameraApplicationManagerStatics>{ 0x9599DDCE,0x9BD3,0x435C,{ 0x80,0x54,0xC1,0xAD,0xD5,0x00,0x28,0xFE } }; // 9599DDCE-9BD3-435C-8054-C1ADD50028FE
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IDesignModeStatics>{ 0x2C3893CC,0xF81A,0x4E7A,{ 0xB8,0x57,0x76,0xA8,0x08,0x87,0xE1,0x85 } }; // 2C3893CC-F81A-4E7A-B857-76A80887E185
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IDesignModeStatics2>{ 0x80CF8137,0xB064,0x4858,{ 0xBE,0xC8,0x3E,0xBA,0x22,0x35,0x75,0x35 } }; // 80CF8137-B064-4858-BEC8-3EBA22357535
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IEnteredBackgroundEventArgs>{ 0xF722DCC2,0x9827,0x403D,{ 0xAA,0xED,0xEC,0xCA,0x9A,0xC1,0x73,0x98 } }; // F722DCC2-9827-403D-AAED-ECCA9AC17398
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IFindRelatedPackagesOptions>{ 0x41DD7EEA,0xB335,0x521F,{ 0xB9,0x6C,0x5E,0xA0,0x7F,0x5B,0x73,0x29 } }; // 41DD7EEA-B335-521F-B96C-5EA07F5B7329
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IFindRelatedPackagesOptionsFactory>{ 0xD7D17254,0xA4FD,0x55C4,{ 0x98,0xCF,0xF2,0x71,0x0B,0x7D,0x8B,0xE2 } }; // D7D17254-A4FD-55C4-98CF-F2710B7D8BE2
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IFullTrustProcessLaunchResult>{ 0x8917D888,0xEDFB,0x515F,{ 0x8E,0x22,0x5E,0xBC,0xEB,0x69,0xDF,0xD9 } }; // 8917D888-EDFB-515F-8E22-5EBCEB69DFD9
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IFullTrustProcessLauncherStatics>{ 0xD784837F,0x1100,0x3C6B,{ 0xA4,0x55,0xF6,0x26,0x2C,0xC3,0x31,0xB6 } }; // D784837F-1100-3C6B-A455-F6262CC331B6
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IFullTrustProcessLauncherStatics2>{ 0x8B8ED72F,0xB65C,0x56CF,{ 0xA1,0xA7,0x2B,0xF7,0x7C,0xBC,0x6E,0xA8 } }; // 8B8ED72F-B65C-56CF-A1A7-2BF77CBC6EA8
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::ILeavingBackgroundEventArgs>{ 0x39C6EC9A,0xAE6E,0x46F9,{ 0xA0,0x7A,0xCF,0xC2,0x3F,0x88,0x73,0x3E } }; // 39C6EC9A-AE6E-46F9-A07A-CFC23F88733E
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::ILimitedAccessFeatureRequestResult>{ 0xD45156A6,0x1E24,0x5DDD,{ 0xAB,0xB4,0x61,0x88,0xAB,0xA4,0xD5,0xBF } }; // D45156A6-1E24-5DDD-ABB4-6188ABA4D5BF
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::ILimitedAccessFeaturesStatics>{ 0x8BE612D4,0x302B,0x5FBF,{ 0xA6,0x32,0x1A,0x99,0xE4,0x3E,0x89,0x25 } }; // 8BE612D4-302B-5FBF-A632-1A99E43E8925
@@ -389,6 +449,7 @@ namespace winrt::impl
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IPackage6>{ 0x8B1AD942,0x12D7,0x4754,{ 0xAE,0x4E,0x63,0x8C,0xBC,0x0E,0x3A,0x2E } }; // 8B1AD942-12D7-4754-AE4E-638CBC0E3A2E
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IPackage7>{ 0x86FF8D31,0xA2E4,0x45E0,{ 0x97,0x32,0x28,0x3A,0x6D,0x88,0xFD,0xE1 } }; // 86FF8D31-A2E4-45E0-9732-283A6D88FDE1
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IPackage8>{ 0x2C584F7B,0xCE2A,0x4BE6,{ 0xA0,0x93,0x77,0xCF,0xBB,0x2A,0x7E,0xA1 } }; // 2C584F7B-CE2A-4BE6-A093-77CFBB2A7EA1
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IPackage9>{ 0xD5AB224F,0xD7E1,0x49EC,{ 0x90,0xCE,0x72,0x0C,0xDB,0xD0,0x2E,0x9C } }; // D5AB224F-D7E1-49EC-90CE-720CDBD02E9C
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IPackageCatalog>{ 0x230A3751,0x9DE3,0x4445,{ 0xBE,0x74,0x91,0xFB,0x32,0x5A,0xBE,0xFE } }; // 230A3751-9DE3-4445-BE74-91FB325ABEFE
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IPackageCatalog2>{ 0x96A60C36,0x8FF7,0x4344,{ 0xB6,0xBF,0xEE,0x64,0xC2,0x20,0x7E,0xD2 } }; // 96A60C36-8FF7-4344-B6BF-EE64C2207ED2
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IPackageCatalog3>{ 0x96DD5C88,0x8837,0x43F9,{ 0x90,0x15,0x03,0x34,0x34,0xBA,0x14,0xF3 } }; // 96DD5C88-8837-43F9-9015-033434BA14F3
@@ -398,6 +459,7 @@ namespace winrt::impl
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IPackageCatalogRemoveOptionalPackagesResult>{ 0x29D2F97B,0xD974,0x4E64,{ 0x93,0x59,0x22,0xCA,0xDF,0xD7,0x98,0x28 } }; // 29D2F97B-D974-4E64-9359-22CADFD79828
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IPackageCatalogRemoveResourcePackagesResult>{ 0xAE719709,0x1A52,0x4321,{ 0x87,0xB3,0xE5,0xA1,0xA1,0x79,0x81,0xA7 } }; // AE719709-1A52-4321-87B3-E5A1A17981A7
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IPackageCatalogStatics>{ 0xA18C9696,0xE65B,0x4634,{ 0xBA,0x21,0x5E,0x63,0xEB,0x72,0x44,0xA7 } }; // A18C9696-E65B-4634-BA21-5E63EB7244A7
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IPackageCatalogStatics2>{ 0x4C11C159,0x9A28,0x598C,{ 0xB1,0x85,0x55,0xE1,0x89,0x9B,0x2B,0xE4 } }; // 4C11C159-9A28-598C-B185-55E1899B2BE4
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IPackageContentGroup>{ 0x8F62695D,0x120A,0x4798,{ 0xB5,0xE1,0x58,0x00,0xDD,0xA8,0xF2,0xE1 } }; // 8F62695D-120A-4798-B5E1-5800DDA8F2E1
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IPackageContentGroupStagingEventArgs>{ 0x3D7BC27E,0x6F27,0x446C,{ 0x98,0x6E,0xD4,0x73,0x3D,0x4D,0x91,0x13 } }; // 3D7BC27E-6F27-446C-986E-D4733D4D9113
template <> inline constexpr guid guid_v<winrt::Windows::ApplicationModel::IPackageContentGroupStatics>{ 0x70EE7619,0x5F12,0x4B92,{ 0xB9,0xEA,0x6C,0xCA,0xDA,0x13,0xBC,0x75 } }; // 70EE7619-5F12-4B92-B9EA-6CCADA13BC75
@@ -423,6 +485,8 @@ namespace winrt::impl
template <> struct default_interface<winrt::Windows::ApplicationModel::AppInstallerInfo>{ using type = winrt::Windows::ApplicationModel::IAppInstallerInfo; };
template <> struct default_interface<winrt::Windows::ApplicationModel::AppInstance>{ using type = winrt::Windows::ApplicationModel::IAppInstance; };
template <> struct default_interface<winrt::Windows::ApplicationModel::EnteredBackgroundEventArgs>{ using type = winrt::Windows::ApplicationModel::IEnteredBackgroundEventArgs; };
template <> struct default_interface<winrt::Windows::ApplicationModel::FindRelatedPackagesOptions>{ using type = winrt::Windows::ApplicationModel::IFindRelatedPackagesOptions; };
template <> struct default_interface<winrt::Windows::ApplicationModel::FullTrustProcessLaunchResult>{ using type = winrt::Windows::ApplicationModel::IFullTrustProcessLaunchResult; };
template <> struct default_interface<winrt::Windows::ApplicationModel::LeavingBackgroundEventArgs>{ using type = winrt::Windows::ApplicationModel::ILeavingBackgroundEventArgs; };
template <> struct default_interface<winrt::Windows::ApplicationModel::LimitedAccessFeatureRequestResult>{ using type = winrt::Windows::ApplicationModel::ILimitedAccessFeatureRequestResult; };
template <> struct default_interface<winrt::Windows::ApplicationModel::Package>{ using type = winrt::Windows::ApplicationModel::IPackage; };
@@ -447,7 +511,7 @@ namespace winrt::impl
template <> struct default_interface<winrt::Windows::ApplicationModel::SuspendingOperation>{ using type = winrt::Windows::ApplicationModel::ISuspendingOperation; };
template <> struct abi<winrt::Windows::ApplicationModel::IAppDisplayInfo>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0;
virtual int32_t __stdcall get_Description(void**) noexcept = 0;
@@ -456,7 +520,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::ApplicationModel::IAppInfo>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Id(void**) noexcept = 0;
virtual int32_t __stdcall get_AppUserModelId(void**) noexcept = 0;
@@ -466,28 +530,28 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::ApplicationModel::IAppInfo2>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Package(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::ApplicationModel::IAppInfo3>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_ExecutionContext(int32_t*) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::ApplicationModel::IAppInfo4>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_SupportedFileExtensions(uint32_t* __valueSize, void***) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::ApplicationModel::IAppInfoStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Current(void**) noexcept = 0;
virtual int32_t __stdcall GetFromAppUserModelId(void*, void**) noexcept = 0;
@@ -496,14 +560,35 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::ApplicationModel::IAppInstallerInfo>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Uri(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::ApplicationModel::IAppInstallerInfo2>
{
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_OnLaunch(bool*) noexcept = 0;
virtual int32_t __stdcall get_HoursBetweenUpdateChecks(uint32_t*) noexcept = 0;
virtual int32_t __stdcall get_ShowPrompt(bool*) noexcept = 0;
virtual int32_t __stdcall get_UpdateBlocksActivation(bool*) noexcept = 0;
virtual int32_t __stdcall get_AutomaticBackgroundTask(bool*) noexcept = 0;
virtual int32_t __stdcall get_ForceUpdateFromAnyVersion(bool*) noexcept = 0;
virtual int32_t __stdcall get_IsAutoRepairEnabled(bool*) noexcept = 0;
virtual int32_t __stdcall get_Version(struct struct_Windows_ApplicationModel_PackageVersion*) noexcept = 0;
virtual int32_t __stdcall get_LastChecked(int64_t*) noexcept = 0;
virtual int32_t __stdcall get_PausedUntil(void**) noexcept = 0;
virtual int32_t __stdcall get_UpdateUris(void**) noexcept = 0;
virtual int32_t __stdcall get_RepairUris(void**) noexcept = 0;
virtual int32_t __stdcall get_DependencyPackageUris(void**) noexcept = 0;
virtual int32_t __stdcall get_OptionalPackageUris(void**) noexcept = 0;
virtual int32_t __stdcall get_PolicySource(int32_t*) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::ApplicationModel::IAppInstance>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Key(void**) noexcept = 0;
virtual int32_t __stdcall get_IsCurrentInstance(bool*) noexcept = 0;
@@ -512,7 +597,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::ApplicationModel::IAppInstanceStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_RecommendedInstance(void**) noexcept = 0;
virtual int32_t __stdcall GetActivatedEventArgs(void**) noexcept = 0;
@@ -523,35 +608,66 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::ApplicationModel::ICameraApplicationManagerStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall ShowInstalledApplicationsUI() noexcept = 0;
};
};
template <> struct abi<winrt::Windows::ApplicationModel::IDesignModeStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_DesignModeEnabled(bool*) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::ApplicationModel::IDesignModeStatics2>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_DesignMode2Enabled(bool*) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::ApplicationModel::IEnteredBackgroundEventArgs>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall GetDeferral(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::ApplicationModel::IFindRelatedPackagesOptions>
{
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Relationship(int32_t*) noexcept = 0;
virtual int32_t __stdcall put_Relationship(int32_t) noexcept = 0;
virtual int32_t __stdcall get_IncludeFrameworks(bool*) noexcept = 0;
virtual int32_t __stdcall put_IncludeFrameworks(bool) noexcept = 0;
virtual int32_t __stdcall get_IncludeHostRuntimes(bool*) noexcept = 0;
virtual int32_t __stdcall put_IncludeHostRuntimes(bool) noexcept = 0;
virtual int32_t __stdcall get_IncludeOptionals(bool*) noexcept = 0;
virtual int32_t __stdcall put_IncludeOptionals(bool) noexcept = 0;
virtual int32_t __stdcall get_IncludeResources(bool*) noexcept = 0;
virtual int32_t __stdcall put_IncludeResources(bool) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::ApplicationModel::IFindRelatedPackagesOptionsFactory>
{
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall CreateInstance(int32_t, void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::ApplicationModel::IFullTrustProcessLaunchResult>
{
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_LaunchResult(int32_t*) noexcept = 0;
virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::ApplicationModel::IFullTrustProcessLauncherStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall LaunchFullTrustProcessForCurrentAppAsync(void**) noexcept = 0;
virtual int32_t __stdcall LaunchFullTrustProcessForCurrentAppWithParametersAsync(void*, void**) noexcept = 0;
@@ -559,16 +675,24 @@ namespace winrt::impl
virtual int32_t __stdcall LaunchFullTrustProcessForAppWithParametersAsync(void*, void*, void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::ApplicationModel::IFullTrustProcessLauncherStatics2>
{
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall LaunchFullTrustProcessForCurrentAppWithArgumentsAsync(void*, void**) noexcept = 0;
virtual int32_t __stdcall LaunchFullTrustProcessForAppWithArgumentsAsync(void*, void*, void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::ApplicationModel::ILeavingBackgroundEventArgs>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall GetDeferral(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::ApplicationModel::ILimitedAccessFeatureRequestResult>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_FeatureId(void**) noexcept = 0;
virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0;
@@ -577,14 +701,14 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::ApplicationModel::ILimitedAccessFeaturesStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall TryUnlockFeature(void*, void*, void*, void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::ApplicationModel::IPackage>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Id(void**) noexcept = 0;
virtual int32_t __stdcall get_InstalledLocation(void**) noexcept = 0;
@@ -594,7 +718,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::ApplicationModel::IPackage2>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0;
virtual int32_t __stdcall get_PublisherDisplayName(void**) noexcept = 0;
@@ -607,7 +731,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::ApplicationModel::IPackage3>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Status(void**) noexcept = 0;
virtual int32_t __stdcall get_InstalledDate(int64_t*) noexcept = 0;
@@ -616,7 +740,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::ApplicationModel::IPackage4>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_SignatureKind(int32_t*) noexcept = 0;
virtual int32_t __stdcall get_IsOptional(bool*) noexcept = 0;
@@ -625,7 +749,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::ApplicationModel::IPackage5>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall GetContentGroupsAsync(void**) noexcept = 0;
virtual int32_t __stdcall GetContentGroupAsync(void*, void**) noexcept = 0;
@@ -636,7 +760,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::ApplicationModel::IPackage6>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall GetAppInstallerInfo(void**) noexcept = 0;
virtual int32_t __stdcall CheckUpdateAvailabilityAsync(void**) noexcept = 0;
@@ -644,7 +768,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::ApplicationModel::IPackage7>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_MutableLocation(void**) noexcept = 0;
virtual int32_t __stdcall get_EffectiveLocation(void**) noexcept = 0;
@@ -652,7 +776,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::ApplicationModel::IPackage8>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_EffectiveExternalLocation(void**) noexcept = 0;
virtual int32_t __stdcall get_MachineExternalLocation(void**) noexcept = 0;
@@ -668,9 +792,17 @@ namespace winrt::impl
virtual int32_t __stdcall get_IsStub(bool*) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::ApplicationModel::IPackage9>
{
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall FindRelatedPackages(void*, void**) noexcept = 0;
virtual int32_t __stdcall get_SourceUriSchemeName(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::ApplicationModel::IPackageCatalog>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall add_PackageStaging(void*, winrt::event_token*) noexcept = 0;
virtual int32_t __stdcall remove_PackageStaging(winrt::event_token) noexcept = 0;
@@ -686,7 +818,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::ApplicationModel::IPackageCatalog2>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall add_PackageContentGroupStaging(void*, winrt::event_token*) noexcept = 0;
virtual int32_t __stdcall remove_PackageContentGroupStaging(winrt::event_token) noexcept = 0;
@@ -695,14 +827,14 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::ApplicationModel::IPackageCatalog3>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall RemoveOptionalPackagesAsync(void*, void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::ApplicationModel::IPackageCatalog4>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall AddResourcePackageAsync(void*, void*, uint32_t, void**) noexcept = 0;
virtual int32_t __stdcall RemoveResourcePackagesAsync(void*, void**) noexcept = 0;
@@ -710,7 +842,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::ApplicationModel::IPackageCatalogAddOptionalPackageResult>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Package(void**) noexcept = 0;
virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0;
@@ -718,7 +850,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::ApplicationModel::IPackageCatalogAddResourcePackageResult>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Package(void**) noexcept = 0;
virtual int32_t __stdcall get_IsComplete(bool*) noexcept = 0;
@@ -727,7 +859,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::ApplicationModel::IPackageCatalogRemoveOptionalPackagesResult>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_PackagesRemoved(void**) noexcept = 0;
virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0;
@@ -735,7 +867,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::ApplicationModel::IPackageCatalogRemoveResourcePackagesResult>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_PackagesRemoved(void**) noexcept = 0;
virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0;
@@ -743,15 +875,22 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::ApplicationModel::IPackageCatalogStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall OpenForCurrentPackage(void**) noexcept = 0;
virtual int32_t __stdcall OpenForCurrentUser(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::ApplicationModel::IPackageCatalogStatics2>
{
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall OpenForPackage(void*, void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::ApplicationModel::IPackageContentGroup>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Package(void**) noexcept = 0;
virtual int32_t __stdcall get_Name(void**) noexcept = 0;
@@ -761,7 +900,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::ApplicationModel::IPackageContentGroupStagingEventArgs>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_ActivityId(winrt::guid*) noexcept = 0;
virtual int32_t __stdcall get_Package(void**) noexcept = 0;
@@ -774,14 +913,14 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::ApplicationModel::IPackageContentGroupStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_RequiredGroupName(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::ApplicationModel::IPackageId>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Name(void**) noexcept = 0;
virtual int32_t __stdcall get_Version(struct struct_Windows_ApplicationModel_PackageVersion*) noexcept = 0;
@@ -795,7 +934,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::ApplicationModel::IPackageIdWithMetadata>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_ProductId(void**) noexcept = 0;
virtual int32_t __stdcall get_Author(void**) noexcept = 0;
@@ -803,7 +942,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::ApplicationModel::IPackageInstallingEventArgs>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_ActivityId(winrt::guid*) noexcept = 0;
virtual int32_t __stdcall get_Package(void**) noexcept = 0;
@@ -814,7 +953,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::ApplicationModel::IPackageStagingEventArgs>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_ActivityId(winrt::guid*) noexcept = 0;
virtual int32_t __stdcall get_Package(void**) noexcept = 0;
@@ -825,14 +964,14 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::ApplicationModel::IPackageStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Current(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::ApplicationModel::IPackageStatus>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall VerifyIsOK(bool*) noexcept = 0;
virtual int32_t __stdcall get_NotAvailable(bool*) noexcept = 0;
@@ -850,21 +989,21 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::ApplicationModel::IPackageStatus2>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_IsPartiallyStaged(bool*) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::ApplicationModel::IPackageStatusChangedEventArgs>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Package(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::ApplicationModel::IPackageUninstallingEventArgs>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_ActivityId(winrt::guid*) noexcept = 0;
virtual int32_t __stdcall get_Package(void**) noexcept = 0;
@@ -875,7 +1014,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::ApplicationModel::IPackageUpdateAvailabilityResult>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_Availability(int32_t*) noexcept = 0;
virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0;
@@ -883,7 +1022,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::ApplicationModel::IPackageUpdatingEventArgs>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_ActivityId(winrt::guid*) noexcept = 0;
virtual int32_t __stdcall get_SourcePackage(void**) noexcept = 0;
@@ -895,7 +1034,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::ApplicationModel::IPackageWithMetadata>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_InstallDate(int64_t*) noexcept = 0;
virtual int32_t __stdcall GetThumbnailToken(void**) noexcept = 0;
@@ -904,7 +1043,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::ApplicationModel::IStartupTask>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall RequestEnableAsync(void**) noexcept = 0;
virtual int32_t __stdcall Disable() noexcept = 0;
@@ -914,7 +1053,7 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::ApplicationModel::IStartupTaskStatics>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall GetForCurrentPackageAsync(void**) noexcept = 0;
virtual int32_t __stdcall GetAsync(void*, void**) noexcept = 0;
@@ -922,21 +1061,21 @@ namespace winrt::impl
};
template <> struct abi<winrt::Windows::ApplicationModel::ISuspendingDeferral>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall Complete() noexcept = 0;
};
};
template <> struct abi<winrt::Windows::ApplicationModel::ISuspendingEventArgs>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall get_SuspendingOperation(void**) noexcept = 0;
};
};
template <> struct abi<winrt::Windows::ApplicationModel::ISuspendingOperation>
{
struct __declspec(novtable) type : inspectable_abi
struct WINRT_IMPL_NOVTABLE type : inspectable_abi
{
virtual int32_t __stdcall GetDeferral(void**) noexcept = 0;
virtual int32_t __stdcall get_Deadline(int64_t*) noexcept = 0;
@@ -1013,6 +1152,29 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_ApplicationModel_IAppInstallerInfo<D>;
};
template <typename D>
struct consume_Windows_ApplicationModel_IAppInstallerInfo2
{
[[nodiscard]] auto OnLaunch() const;
[[nodiscard]] auto HoursBetweenUpdateChecks() const;
[[nodiscard]] auto ShowPrompt() const;
[[nodiscard]] auto UpdateBlocksActivation() const;
[[nodiscard]] auto AutomaticBackgroundTask() const;
[[nodiscard]] auto ForceUpdateFromAnyVersion() const;
[[nodiscard]] auto IsAutoRepairEnabled() const;
[[nodiscard]] auto Version() const;
[[nodiscard]] auto LastChecked() const;
[[nodiscard]] auto PausedUntil() const;
[[nodiscard]] auto UpdateUris() const;
[[nodiscard]] auto RepairUris() const;
[[nodiscard]] auto DependencyPackageUris() const;
[[nodiscard]] auto OptionalPackageUris() const;
[[nodiscard]] auto PolicySource() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::IAppInstallerInfo2>
{
template <typename D> using type = consume_Windows_ApplicationModel_IAppInstallerInfo2<D>;
};
template <typename D>
struct consume_Windows_ApplicationModel_IAppInstance
{
[[nodiscard]] auto Key() const;
@@ -1073,6 +1235,43 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_ApplicationModel_IEnteredBackgroundEventArgs<D>;
};
template <typename D>
struct consume_Windows_ApplicationModel_IFindRelatedPackagesOptions
{
[[nodiscard]] auto Relationship() const;
auto Relationship(winrt::Windows::ApplicationModel::PackageRelationship const& value) const;
[[nodiscard]] auto IncludeFrameworks() const;
auto IncludeFrameworks(bool value) const;
[[nodiscard]] auto IncludeHostRuntimes() const;
auto IncludeHostRuntimes(bool value) const;
[[nodiscard]] auto IncludeOptionals() const;
auto IncludeOptionals(bool value) const;
[[nodiscard]] auto IncludeResources() const;
auto IncludeResources(bool value) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::IFindRelatedPackagesOptions>
{
template <typename D> using type = consume_Windows_ApplicationModel_IFindRelatedPackagesOptions<D>;
};
template <typename D>
struct consume_Windows_ApplicationModel_IFindRelatedPackagesOptionsFactory
{
auto CreateInstance(winrt::Windows::ApplicationModel::PackageRelationship const& Relationship) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::IFindRelatedPackagesOptionsFactory>
{
template <typename D> using type = consume_Windows_ApplicationModel_IFindRelatedPackagesOptionsFactory<D>;
};
template <typename D>
struct consume_Windows_ApplicationModel_IFullTrustProcessLaunchResult
{
[[nodiscard]] auto LaunchResult() const;
[[nodiscard]] auto ExtendedError() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::IFullTrustProcessLaunchResult>
{
template <typename D> using type = consume_Windows_ApplicationModel_IFullTrustProcessLaunchResult<D>;
};
template <typename D>
struct consume_Windows_ApplicationModel_IFullTrustProcessLauncherStatics
{
auto LaunchFullTrustProcessForCurrentAppAsync() const;
@@ -1085,6 +1284,16 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_ApplicationModel_IFullTrustProcessLauncherStatics<D>;
};
template <typename D>
struct consume_Windows_ApplicationModel_IFullTrustProcessLauncherStatics2
{
auto LaunchFullTrustProcessForCurrentAppWithArgumentsAsync(param::hstring const& commandLine) const;
auto LaunchFullTrustProcessForAppWithArgumentsAsync(param::hstring const& fullTrustPackageRelativeAppId, param::hstring const& commandLine) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::IFullTrustProcessLauncherStatics2>
{
template <typename D> using type = consume_Windows_ApplicationModel_IFullTrustProcessLauncherStatics2<D>;
};
template <typename D>
struct consume_Windows_ApplicationModel_ILeavingBackgroundEventArgs
{
auto GetDeferral() const;
@@ -1216,6 +1425,16 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_ApplicationModel_IPackage8<D>;
};
template <typename D>
struct consume_Windows_ApplicationModel_IPackage9
{
auto FindRelatedPackages(winrt::Windows::ApplicationModel::FindRelatedPackagesOptions const& options) const;
[[nodiscard]] auto SourceUriSchemeName() const;
};
template <> struct consume<winrt::Windows::ApplicationModel::IPackage9>
{
template <typename D> using type = consume_Windows_ApplicationModel_IPackage9<D>;
};
template <typename D>
struct consume_Windows_ApplicationModel_IPackageCatalog
{
auto PackageStaging(winrt::Windows::Foundation::TypedEventHandler<winrt::Windows::ApplicationModel::PackageCatalog, winrt::Windows::ApplicationModel::PackageStagingEventArgs> const& handler) const;
@@ -1327,6 +1546,15 @@ namespace winrt::impl
template <typename D> using type = consume_Windows_ApplicationModel_IPackageCatalogStatics<D>;
};
template <typename D>
struct consume_Windows_ApplicationModel_IPackageCatalogStatics2
{
auto OpenForPackage(winrt::Windows::ApplicationModel::Package const& package) const;
};
template <> struct consume<winrt::Windows::ApplicationModel::IPackageCatalogStatics2>
{
template <typename D> using type = consume_Windows_ApplicationModel_IPackageCatalogStatics2<D>;
};
template <typename D>
struct consume_Windows_ApplicationModel_IPackageContentGroup
{
[[nodiscard]] auto Package() const;