// C++/WinRT v2.0.250303.1 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #ifndef WINRT_Windows_ApplicationModel_Preview_0_H #define WINRT_Windows_ApplicationModel_Preview_0_H WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Preview { enum class StartupAppImpactPreview : int32_t { Unknown = 0, None = 1, Low = 2, Medium = 3, High = 4, }; struct IStartupAppInfoPreview; struct IStartupAppsManagerPreview; struct IStartupAppsManagerPreviewStatics; struct StartupAppInfoPreview; struct StartupAppsManagerPreview; struct StartupAppsPreviewContract; } 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 = class_category; }; template <> struct category{ using type = class_category; }; template <> struct category{ using type = enum_category; }; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Preview.StartupAppInfoPreview"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Preview.StartupAppsManagerPreview"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Preview.StartupAppImpactPreview"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Preview.IStartupAppInfoPreview"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Preview.IStartupAppsManagerPreview"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Preview.IStartupAppsManagerPreviewStatics"; template <> inline constexpr auto& name_v = L"Windows.ApplicationModel.Preview.StartupAppsPreviewContract"; template <> inline constexpr guid guid_v{ 0xC3A147DB,0x09FA,0x5AA5,{ 0xB3,0xBD,0x11,0x9A,0x09,0x96,0x3D,0x58 } }; // C3A147DB-09FA-5AA5-B3BD-119A09963D58 template <> inline constexpr guid guid_v{ 0x7197B9C1,0x03BB,0x5693,{ 0x87,0xC3,0x6F,0x98,0x3C,0xC7,0x0F,0xB3 } }; // 7197B9C1-03BB-5693-87C3-6F983CC70FB3 template <> inline constexpr guid guid_v{ 0x9D0331F5,0x343F,0x5CD7,{ 0x9D,0x66,0x76,0x2C,0xFA,0x2C,0x03,0x80 } }; // 9D0331F5-343F-5CD7-9D66-762CFA2C0380 template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Preview::IStartupAppInfoPreview; }; template <> struct default_interface{ using type = winrt::Windows::ApplicationModel::Preview::IStartupAppsManagerPreview; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; virtual int32_t __stdcall get_Publisher(void**) noexcept = 0; virtual int32_t __stdcall get_IsEnabled(bool*) noexcept = 0; virtual int32_t __stdcall get_Impact(int32_t*) noexcept = 0; virtual int32_t __stdcall get_ExecutablePath(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall GetStartupAppInfos(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall GetDefault(void**) noexcept = 0; }; }; template struct consume_Windows_ApplicationModel_Preview_IStartupAppInfoPreview { [[nodiscard]] auto DisplayName() const; [[nodiscard]] auto Publisher() const; [[nodiscard]] auto IsEnabled() const; [[nodiscard]] auto Impact() const; [[nodiscard]] auto ExecutablePath() const; }; template <> struct consume { template using type = consume_Windows_ApplicationModel_Preview_IStartupAppInfoPreview; }; template struct consume_Windows_ApplicationModel_Preview_IStartupAppsManagerPreview { auto GetStartupAppInfos() const; }; template <> struct consume { template using type = consume_Windows_ApplicationModel_Preview_IStartupAppsManagerPreview; }; template struct consume_Windows_ApplicationModel_Preview_IStartupAppsManagerPreviewStatics { auto GetDefault() const; }; template <> struct consume { template using type = consume_Windows_ApplicationModel_Preview_IStartupAppsManagerPreviewStatics; }; } #endif