--------------------------------------------------------------------------------
-- <auto-generated>                                                           --
--     This code was generated by a tool.                                     --
--                                                                            --
--     Changes to this file may cause incorrect behavior and will be lost if  --
--     the code is regenerated.                                               --
-- </auto-generated>                                                          --
--------------------------------------------------------------------------------
--------------------------------------------------------------------------------
--                                                                            --
--    Copyright(c) 2018 Alexander Gamper, All Rights Reserved.                --
--                                                                            --
--    Ada-WinRT                                                               --
--                                                                            --
-- This program is free software: you can redistribute it and / or modify     --
-- it under the terms of the GNU Lesser General Public License as published by--
-- the Free Software Foundation, either version 3 of the License, or          --
-- (at your option) any later version.                                        --
--                                                                            --
-- This program is distributed in the hope that it will be useful,            --
-- but WITHOUT ANY WARRANTY; without even the implied warranty of             --
-- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the               --
-- GNU Lesser General Public License for more details.                        --
--                                                                            --
-- You should have received a copy of the GNU Lesser General Public License   --
-- along with this program.If not, see http://www.gnu.org/licenses            --
--                                                                            --
--------------------------------------------------------------------------------
package Windows.Management.Deployment.Preview is

   pragma preelaborate;
   
   ------------------------------------------------------------------------
   -- Record types
   ------------------------------------------------------------------------
   
   type DeploymentPreviewContract is null record;
   pragma Convention (C_Pass_By_Copy , DeploymentPreviewContract);
   
   type DeploymentPreviewContract_Ptr is access DeploymentPreviewContract;
   
   ------------------------------------------------------------------------
   -- Forward Declaration - Interfaces
   ------------------------------------------------------------------------
   
   type IClassicAppManagerStatics_Interface;
   type IClassicAppManagerStatics is access all IClassicAppManagerStatics_Interface'Class;
   type IClassicAppManagerStatics_Ptr is access all IClassicAppManagerStatics;
   type IInstalledClassicAppInfo_Interface;
   type IInstalledClassicAppInfo is access all IInstalledClassicAppInfo_Interface'Class;
   type IInstalledClassicAppInfo_Ptr is access all IInstalledClassicAppInfo;
   
   ------------------------------------------------------------------------
   -- Interfaces
   ------------------------------------------------------------------------
   
   ------------------------------------------------------------------------
   
   IID_IClassicAppManagerStatics : aliased constant Windows.IID := (3808089704, 34860, 20275, (176, 53, 13, 247, 185, 13, 103, 230 ));
   
   type IClassicAppManagerStatics_Interface is interface and Windows.IInspectable_Interface;
   
   function FindInstalledApp
   (
      This       : access IClassicAppManagerStatics_Interface
      ; appUninstallKey : Windows.String
      ; RetVal : access Windows.Management.Deployment.Preview.IInstalledClassicAppInfo
   )
   return Windows.HRESULT is abstract;
   
   ------------------------------------------------------------------------
   
   IID_IInstalledClassicAppInfo : aliased constant Windows.IID := (175979939, 26064, 16518, (128, 214, 6, 16, 215, 96, 32, 125 ));
   
   type IInstalledClassicAppInfo_Interface is interface and Windows.IInspectable_Interface;
   
   function get_DisplayName
   (
      This       : access IInstalledClassicAppInfo_Interface
      ; RetVal : access Windows.String
   )
   return Windows.HRESULT is abstract;
   
   function get_DisplayVersion
   (
      This       : access IInstalledClassicAppInfo_Interface
      ; RetVal : access Windows.String
   )
   return Windows.HRESULT is abstract;
   
   ------------------------------------------------------------------------
   -- Classes
   ------------------------------------------------------------------------
   
   subtype InstalledClassicAppInfo is Windows.Management.Deployment.Preview.IInstalledClassicAppInfo;
   
   ------------------------------------------------------------------------
   -- Static Procedures/functions
   ------------------------------------------------------------------------
   
   function FindInstalledApp
   (
      appUninstallKey : Windows.String
   )
   return Windows.Management.Deployment.Preview.IInstalledClassicAppInfo;
   
end;
