// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.240405.15 #pragma once #ifndef WINRT_Microsoft_Windows_ApplicationModel_WindowsAppRuntime_0_H #define WINRT_Microsoft_Windows_ApplicationModel_WindowsAppRuntime_0_H WINRT_EXPORT namespace winrt::Windows::ApplicationModel { struct PackageVersion; } WINRT_EXPORT namespace winrt::Windows::Foundation { struct HResult; } WINRT_EXPORT namespace winrt::Microsoft::Windows::ApplicationModel::WindowsAppRuntime { enum class DeploymentStatus : int32_t { Unknown = 0, Ok = 1, PackageInstallRequired = 2, PackageInstallFailed = 3, }; enum class RuntimeCompatibilityChange : int32_t { None = 0, EnsurePackageReadyVersionSupercedence = 56439870, FixPopupClosingReentrancyCrash = 56870998, FixPopupUnloadingCrash = 56686624, FixRandomUIFreezeInDispatcher = 56545444, FixSetProgressBarIndicatorWidthCrash = 56779522, FixStuckPointerInputQueue = 56620717, FixWebViewVisibilityReentrancyCrash = 56852985, FixWindowCloseFocusCrash = 56873234, }; struct IDeploymentInitializeOptions; struct IDeploymentInitializeOptions2; struct IDeploymentManagerStatics; struct IDeploymentManagerStatics2; struct IDeploymentResult; struct IDeploymentResultFactory; struct IReleaseInfoStatics; struct IRuntimeCompatibilityOptions; struct IRuntimeInfoStatics; struct DeploymentInitializeOptions; struct DeploymentManager; struct DeploymentResult; struct ReleaseInfo; struct RuntimeCompatibilityOptions; struct RuntimeInfo; struct WindowsAppRuntimeVersion; struct DeploymentContract; struct RuntimeCompatibilityContract; struct VersionInfoContract; } namespace winrt::impl { template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = enum_category; }; template <> struct category{ using type = struct_category; }; template <> inline constexpr auto& name_v = L"Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentInitializeOptions"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentManager"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentResult"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.ApplicationModel.WindowsAppRuntime.ReleaseInfo"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.ApplicationModel.WindowsAppRuntime.RuntimeCompatibilityOptions"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.ApplicationModel.WindowsAppRuntime.RuntimeInfo"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentStatus"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.ApplicationModel.WindowsAppRuntime.RuntimeCompatibilityChange"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.ApplicationModel.WindowsAppRuntime.WindowsAppRuntimeVersion"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IDeploymentInitializeOptions"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IDeploymentInitializeOptions2"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IDeploymentManagerStatics"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IDeploymentManagerStatics2"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IDeploymentResult"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IDeploymentResultFactory"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IReleaseInfoStatics"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IRuntimeCompatibilityOptions"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.ApplicationModel.WindowsAppRuntime.IRuntimeInfoStatics"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.ApplicationModel.WindowsAppRuntime.DeploymentContract"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.ApplicationModel.WindowsAppRuntime.RuntimeCompatibilityContract"; template <> inline constexpr auto& name_v = L"Microsoft.Windows.ApplicationModel.WindowsAppRuntime.VersionInfoContract"; template <> inline constexpr guid guid_v{ 0x578A5FD4,0x9D7F,0x5E01,{ 0x97,0xB8,0xD8,0xEA,0x61,0xDB,0x40,0x27 } }; // 578A5FD4-9D7F-5E01-97B8-D8EA61DB4027 template <> inline constexpr guid guid_v{ 0xAD902820,0x149F,0x5E16,{ 0xA5,0x66,0x9B,0x23,0x63,0x99,0x7D,0xE2 } }; // AD902820-149F-5E16-A566-9B2363997DE2 template <> inline constexpr guid guid_v{ 0x6782A9D0,0xBFD0,0x50EA,{ 0x81,0xB0,0x32,0xE9,0xED,0x37,0xCD,0xF0 } }; // 6782A9D0-BFD0-50EA-81B0-32E9ED37CDF0 template <> inline constexpr guid guid_v{ 0xF49C16EE,0x6EBC,0x5F15,{ 0xBE,0xBB,0x2B,0xA4,0x9F,0x8C,0x0B,0x30 } }; // F49C16EE-6EBC-5F15-BEBB-2BA49F8C0B30 template <> inline constexpr guid guid_v{ 0x27203F62,0x463D,0x587A,{ 0x8E,0xB7,0x87,0x00,0x98,0x90,0x10,0x78 } }; // 27203F62-463D-587A-8EB7-870098901078 template <> inline constexpr guid guid_v{ 0xACD7BDAE,0x4AE6,0x5CAC,{ 0x82,0x05,0x1E,0x8C,0x30,0x5F,0x95,0x3B } }; // ACD7BDAE-4AE6-5CAC-8205-1E8C305F953B template <> inline constexpr guid guid_v{ 0xED9BE8FF,0x073C,0x5C66,{ 0xBF,0x97,0xEF,0x0C,0xE6,0x74,0x05,0xC3 } }; // ED9BE8FF-073C-5C66-BF97-EF0CE67405C3 template <> inline constexpr guid guid_v{ 0xD7403BD9,0xB25D,0x5B8F,{ 0x8D,0xE1,0x9D,0xCB,0x57,0xD9,0x9F,0x6C } }; // D7403BD9-B25D-5B8F-8DE1-9DCB57D99F6C template <> inline constexpr guid guid_v{ 0xE5CB9549,0x8951,0x590E,{ 0xA7,0x53,0x8F,0x28,0x1C,0xD7,0x7A,0xB5 } }; // E5CB9549-8951-590E-A753-8F281CD77AB5 template <> struct default_interface{ using type = winrt::Microsoft::Windows::ApplicationModel::WindowsAppRuntime::IDeploymentInitializeOptions; }; template <> struct default_interface{ using type = winrt::Microsoft::Windows::ApplicationModel::WindowsAppRuntime::IDeploymentResult; }; template <> struct default_interface{ using type = winrt::Microsoft::Windows::ApplicationModel::WindowsAppRuntime::IRuntimeCompatibilityOptions; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_ForceDeployment(bool*) noexcept = 0; virtual int32_t __stdcall put_ForceDeployment(bool) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_OnErrorShowUI(bool*) noexcept = 0; virtual int32_t __stdcall put_OnErrorShowUI(bool) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall GetStatus(void**) noexcept = 0; virtual int32_t __stdcall Initialize(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall Initialize(void*, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Status(int32_t*) noexcept = 0; virtual int32_t __stdcall get_ExtendedError(winrt::hresult*) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall CreateInstance(int32_t, winrt::hresult, void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Major(uint16_t*) noexcept = 0; virtual int32_t __stdcall get_Minor(uint16_t*) noexcept = 0; virtual int32_t __stdcall get_Patch(uint16_t*) noexcept = 0; virtual int32_t __stdcall get_VersionTag(void**) noexcept = 0; virtual int32_t __stdcall get_AsString(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_PatchLevel1(struct struct_Microsoft_Windows_ApplicationModel_WindowsAppRuntime_WindowsAppRuntimeVersion*) noexcept = 0; virtual int32_t __stdcall put_PatchLevel1(struct struct_Microsoft_Windows_ApplicationModel_WindowsAppRuntime_WindowsAppRuntimeVersion) noexcept = 0; virtual int32_t __stdcall get_PatchLevel2(struct struct_Microsoft_Windows_ApplicationModel_WindowsAppRuntime_WindowsAppRuntimeVersion*) noexcept = 0; virtual int32_t __stdcall put_PatchLevel2(struct struct_Microsoft_Windows_ApplicationModel_WindowsAppRuntime_WindowsAppRuntimeVersion) noexcept = 0; virtual int32_t __stdcall get_DisabledChanges(void**) noexcept = 0; virtual int32_t __stdcall Apply() noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Version(struct struct_Windows_ApplicationModel_PackageVersion*) noexcept = 0; virtual int32_t __stdcall get_AsString(void**) noexcept = 0; }; }; template struct consume_Microsoft_Windows_ApplicationModel_WindowsAppRuntime_IDeploymentInitializeOptions { [[nodiscard]] auto ForceDeployment() const; auto ForceDeployment(bool value) const; }; template <> struct consume { template using type = consume_Microsoft_Windows_ApplicationModel_WindowsAppRuntime_IDeploymentInitializeOptions; }; template struct consume_Microsoft_Windows_ApplicationModel_WindowsAppRuntime_IDeploymentInitializeOptions2 { [[nodiscard]] auto OnErrorShowUI() const; auto OnErrorShowUI(bool value) const; }; template <> struct consume { template using type = consume_Microsoft_Windows_ApplicationModel_WindowsAppRuntime_IDeploymentInitializeOptions2; }; template struct consume_Microsoft_Windows_ApplicationModel_WindowsAppRuntime_IDeploymentManagerStatics { auto GetStatus() const; auto Initialize() const; }; template <> struct consume { template using type = consume_Microsoft_Windows_ApplicationModel_WindowsAppRuntime_IDeploymentManagerStatics; }; template struct consume_Microsoft_Windows_ApplicationModel_WindowsAppRuntime_IDeploymentManagerStatics2 { auto Initialize(winrt::Microsoft::Windows::ApplicationModel::WindowsAppRuntime::DeploymentInitializeOptions const& deploymentInitializeOptions) const; }; template <> struct consume { template using type = consume_Microsoft_Windows_ApplicationModel_WindowsAppRuntime_IDeploymentManagerStatics2; }; template struct consume_Microsoft_Windows_ApplicationModel_WindowsAppRuntime_IDeploymentResult { [[nodiscard]] auto Status() const; [[nodiscard]] auto ExtendedError() const; }; template <> struct consume { template using type = consume_Microsoft_Windows_ApplicationModel_WindowsAppRuntime_IDeploymentResult; }; template struct consume_Microsoft_Windows_ApplicationModel_WindowsAppRuntime_IDeploymentResultFactory { auto CreateInstance(winrt::Microsoft::Windows::ApplicationModel::WindowsAppRuntime::DeploymentStatus const& status, winrt::hresult const& extendedError) const; }; template <> struct consume { template using type = consume_Microsoft_Windows_ApplicationModel_WindowsAppRuntime_IDeploymentResultFactory; }; template struct consume_Microsoft_Windows_ApplicationModel_WindowsAppRuntime_IReleaseInfoStatics { [[nodiscard]] auto Major() const; [[nodiscard]] auto Minor() const; [[nodiscard]] auto Patch() const; [[nodiscard]] auto VersionTag() const; [[nodiscard]] auto AsString() const; }; template <> struct consume { template using type = consume_Microsoft_Windows_ApplicationModel_WindowsAppRuntime_IReleaseInfoStatics; }; template struct consume_Microsoft_Windows_ApplicationModel_WindowsAppRuntime_IRuntimeCompatibilityOptions { [[nodiscard]] auto PatchLevel1() const; auto PatchLevel1(winrt::Microsoft::Windows::ApplicationModel::WindowsAppRuntime::WindowsAppRuntimeVersion const& value) const; [[nodiscard]] auto PatchLevel2() const; auto PatchLevel2(winrt::Microsoft::Windows::ApplicationModel::WindowsAppRuntime::WindowsAppRuntimeVersion const& value) const; [[nodiscard]] auto DisabledChanges() const; auto Apply() const; }; template <> struct consume { template using type = consume_Microsoft_Windows_ApplicationModel_WindowsAppRuntime_IRuntimeCompatibilityOptions; }; template struct consume_Microsoft_Windows_ApplicationModel_WindowsAppRuntime_IRuntimeInfoStatics { [[nodiscard]] auto Version() const; [[nodiscard]] auto AsString() const; }; template <> struct consume { template using type = consume_Microsoft_Windows_ApplicationModel_WindowsAppRuntime_IRuntimeInfoStatics; }; struct struct_Microsoft_Windows_ApplicationModel_WindowsAppRuntime_WindowsAppRuntimeVersion { uint32_t Major; uint32_t Minor; uint32_t Patch; }; template <> struct abi { using type = struct_Microsoft_Windows_ApplicationModel_WindowsAppRuntime_WindowsAppRuntimeVersion; }; } #endif