// C++/WinRT v2.0.250303.1 // Copyright (c) Microsoft Corporation. All rights reserved. // Licensed under the MIT License. #pragma once #ifndef WINRT_Windows_System_Inventory_0_H #define WINRT_Windows_System_Inventory_0_H WINRT_EXPORT namespace winrt::Windows::System::Inventory { struct IInstalledDesktopApp; struct IInstalledDesktopAppStatics; struct InstalledDesktopApp; } namespace winrt::impl { template <> struct category{ using type = interface_category; }; template <> struct category{ using type = interface_category; }; template <> struct category{ using type = class_category; }; template <> inline constexpr auto& name_v = L"Windows.System.Inventory.InstalledDesktopApp"; template <> inline constexpr auto& name_v = L"Windows.System.Inventory.IInstalledDesktopApp"; template <> inline constexpr auto& name_v = L"Windows.System.Inventory.IInstalledDesktopAppStatics"; template <> inline constexpr guid guid_v{ 0x75EAB8ED,0xC0BC,0x5364,{ 0x4C,0x28,0x16,0x6E,0x05,0x45,0x16,0x7A } }; // 75EAB8ED-C0BC-5364-4C28-166E0545167A template <> inline constexpr guid guid_v{ 0x264CF74E,0x21CD,0x5F9B,{ 0x60,0x56,0x78,0x66,0xAD,0x72,0x48,0x9A } }; // 264CF74E-21CD-5F9B-6056-7866AD72489A template <> struct default_interface{ using type = winrt::Windows::System::Inventory::IInstalledDesktopApp; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall get_Id(void**) noexcept = 0; virtual int32_t __stdcall get_DisplayName(void**) noexcept = 0; virtual int32_t __stdcall get_Publisher(void**) noexcept = 0; virtual int32_t __stdcall get_DisplayVersion(void**) noexcept = 0; }; }; template <> struct abi { struct WINRT_IMPL_NOVTABLE type : inspectable_abi { virtual int32_t __stdcall GetInventoryAsync(void**) noexcept = 0; }; }; template struct consume_Windows_System_Inventory_IInstalledDesktopApp { [[nodiscard]] auto Id() const; [[nodiscard]] auto DisplayName() const; [[nodiscard]] auto Publisher() const; [[nodiscard]] auto DisplayVersion() const; }; template <> struct consume { template using type = consume_Windows_System_Inventory_IInstalledDesktopApp; }; template struct consume_Windows_System_Inventory_IInstalledDesktopAppStatics { auto GetInventoryAsync() const; }; template <> struct consume { template using type = consume_Windows_System_Inventory_IInstalledDesktopAppStatics; }; } #endif