// WARNING: Please don't edit this file. It was generated by C++/WinRT v2.0.210930.14 #pragma once #ifndef WINRT_Windows_UI_Shell_0_H #define WINRT_Windows_UI_Shell_0_H WINRT_EXPORT namespace winrt::Windows::ApplicationModel::Core { struct AppListEntry; } WINRT_EXPORT namespace winrt::Windows::Foundation { template struct __declspec(empty_bases) IAsyncOperation; struct Uri; } WINRT_EXPORT namespace winrt::Windows::UI::StartScreen { struct SecondaryTile; } WINRT_EXPORT namespace winrt::Windows::UI::Shell { enum class SecurityAppKind : int32_t { WebProtection = 0, }; enum class SecurityAppState : int32_t { Disabled = 0, Enabled = 1, }; enum class SecurityAppSubstatus : int32_t { Undetermined = 0, NoActionNeeded = 1, ActionRecommended = 2, ActionNeeded = 3, }; struct IAdaptiveCard; struct IAdaptiveCardBuilderStatics; struct ISecurityAppManager; struct ITaskbarManager; struct ITaskbarManager2; struct ITaskbarManagerStatics; struct AdaptiveCardBuilder; struct SecurityAppManager; struct TaskbarManager; } 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 = 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 = enum_category; }; template <> inline constexpr auto& name_v = L"Windows.UI.Shell.AdaptiveCardBuilder"; template <> inline constexpr auto& name_v = L"Windows.UI.Shell.SecurityAppManager"; template <> inline constexpr auto& name_v = L"Windows.UI.Shell.TaskbarManager"; template <> inline constexpr auto& name_v = L"Windows.UI.Shell.SecurityAppKind"; template <> inline constexpr auto& name_v = L"Windows.UI.Shell.SecurityAppState"; template <> inline constexpr auto& name_v = L"Windows.UI.Shell.SecurityAppSubstatus"; template <> inline constexpr auto& name_v = L"Windows.UI.Shell.IAdaptiveCard"; template <> inline constexpr auto& name_v = L"Windows.UI.Shell.IAdaptiveCardBuilderStatics"; template <> inline constexpr auto& name_v = L"Windows.UI.Shell.ISecurityAppManager"; template <> inline constexpr auto& name_v = L"Windows.UI.Shell.ITaskbarManager"; template <> inline constexpr auto& name_v = L"Windows.UI.Shell.ITaskbarManager2"; template <> inline constexpr auto& name_v = L"Windows.UI.Shell.ITaskbarManagerStatics"; template <> inline constexpr guid guid_v{ 0x72D0568C,0xA274,0x41CD,{ 0x82,0xA8,0x98,0x9D,0x40,0xB9,0xB0,0x5E } }; // 72D0568C-A274-41CD-82A8-989D40B9B05E template <> inline constexpr guid guid_v{ 0x766D8F08,0xD3FE,0x4347,{ 0xA0,0xBC,0xB9,0xEA,0x9A,0x6D,0xC2,0x8E } }; // 766D8F08-D3FE-4347-A0BC-B9EA9A6DC28E template <> inline constexpr guid guid_v{ 0x96AC500C,0xAED4,0x561D,{ 0xBD,0xE8,0x95,0x35,0x20,0x34,0x3A,0x2D } }; // 96AC500C-AED4-561D-BDE8-953520343A2D template <> inline constexpr guid guid_v{ 0x87490A19,0x1AD9,0x49F4,{ 0xB2,0xE8,0x86,0x73,0x8D,0xC5,0xAC,0x40 } }; // 87490A19-1AD9-49F4-B2E8-86738DC5AC40 template <> inline constexpr guid guid_v{ 0x79F0A06E,0x7B02,0x4911,{ 0x91,0x8C,0xDE,0xE0,0xBB,0xD2,0x0B,0xA4 } }; // 79F0A06E-7B02-4911-918C-DEE0BBD20BA4 template <> inline constexpr guid guid_v{ 0xDB32AB74,0xDE52,0x4FE6,{ 0xB7,0xB6,0x95,0xFF,0x9F,0x83,0x95,0xDF } }; // DB32AB74-DE52-4FE6-B7B6-95FF9F8395DF template <> struct default_interface{ using type = winrt::Windows::UI::Shell::ISecurityAppManager; }; template <> struct default_interface{ using type = winrt::Windows::UI::Shell::ITaskbarManager; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall ToJson(void**) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall CreateAdaptiveCardFromJson(void*, void**) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall Register(int32_t, void*, void*, bool, winrt::guid*) noexcept = 0; virtual int32_t __stdcall Unregister(int32_t, winrt::guid) noexcept = 0; virtual int32_t __stdcall UpdateState(int32_t, winrt::guid, int32_t, int32_t, void*) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall get_IsSupported(bool*) noexcept = 0; virtual int32_t __stdcall get_IsPinningAllowed(bool*) noexcept = 0; virtual int32_t __stdcall IsCurrentAppPinnedAsync(void**) noexcept = 0; virtual int32_t __stdcall IsAppListEntryPinnedAsync(void*, void**) noexcept = 0; virtual int32_t __stdcall RequestPinCurrentAppAsync(void**) noexcept = 0; virtual int32_t __stdcall RequestPinAppListEntryAsync(void*, void**) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall IsSecondaryTilePinnedAsync(void*, void**) noexcept = 0; virtual int32_t __stdcall RequestPinSecondaryTileAsync(void*, void**) noexcept = 0; virtual int32_t __stdcall TryUnpinSecondaryTileAsync(void*, void**) noexcept = 0; }; }; template <> struct abi { struct __declspec(novtable) type : inspectable_abi { virtual int32_t __stdcall GetDefault(void**) noexcept = 0; }; }; template struct consume_Windows_UI_Shell_IAdaptiveCard { WINRT_IMPL_AUTO(hstring) ToJson() const; }; template <> struct consume { template using type = consume_Windows_UI_Shell_IAdaptiveCard; }; template struct consume_Windows_UI_Shell_IAdaptiveCardBuilderStatics { WINRT_IMPL_AUTO(winrt::Windows::UI::Shell::IAdaptiveCard) CreateAdaptiveCardFromJson(param::hstring const& value) const; }; template <> struct consume { template using type = consume_Windows_UI_Shell_IAdaptiveCardBuilderStatics; }; template struct consume_Windows_UI_Shell_ISecurityAppManager { WINRT_IMPL_AUTO(winrt::guid) Register(winrt::Windows::UI::Shell::SecurityAppKind const& kind, param::hstring const& displayName, winrt::Windows::Foundation::Uri const& detailsUri, bool registerPerUser) const; WINRT_IMPL_AUTO(void) Unregister(winrt::Windows::UI::Shell::SecurityAppKind const& kind, winrt::guid const& guidRegistration) const; WINRT_IMPL_AUTO(void) UpdateState(winrt::Windows::UI::Shell::SecurityAppKind const& kind, winrt::guid const& guidRegistration, winrt::Windows::UI::Shell::SecurityAppState const& state, winrt::Windows::UI::Shell::SecurityAppSubstatus const& substatus, winrt::Windows::Foundation::Uri const& detailsUri) const; }; template <> struct consume { template using type = consume_Windows_UI_Shell_ISecurityAppManager; }; template struct consume_Windows_UI_Shell_ITaskbarManager { [[nodiscard]] WINRT_IMPL_AUTO(bool) IsSupported() const; [[nodiscard]] WINRT_IMPL_AUTO(bool) IsPinningAllowed() const; WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) IsCurrentAppPinnedAsync() const; WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) IsAppListEntryPinnedAsync(winrt::Windows::ApplicationModel::Core::AppListEntry const& appListEntry) const; WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestPinCurrentAppAsync() const; WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestPinAppListEntryAsync(winrt::Windows::ApplicationModel::Core::AppListEntry const& appListEntry) const; }; template <> struct consume { template using type = consume_Windows_UI_Shell_ITaskbarManager; }; template struct consume_Windows_UI_Shell_ITaskbarManager2 { WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) IsSecondaryTilePinnedAsync(param::hstring const& tileId) const; WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) RequestPinSecondaryTileAsync(winrt::Windows::UI::StartScreen::SecondaryTile const& secondaryTile) const; WINRT_IMPL_AUTO(winrt::Windows::Foundation::IAsyncOperation) TryUnpinSecondaryTileAsync(param::hstring const& tileId) const; }; template <> struct consume { template using type = consume_Windows_UI_Shell_ITaskbarManager2; }; template struct consume_Windows_UI_Shell_ITaskbarManagerStatics { WINRT_IMPL_AUTO(winrt::Windows::UI::Shell::TaskbarManager) GetDefault() const; }; template <> struct consume { template using type = consume_Windows_UI_Shell_ITaskbarManagerStatics; }; } #endif