--------------------------------------------------------------------------------
-- <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            --
--                                                                            --
--------------------------------------------------------------------------------
with Windows.Foundation;
package Windows.UI.WindowManagement.Preview is

   pragma preelaborate;
   
   ------------------------------------------------------------------------
   -- Forward Declaration - Interfaces
   ------------------------------------------------------------------------
   
   type IWindowManagementPreview_Interface;
   type IWindowManagementPreview is access all IWindowManagementPreview_Interface'Class;
   type IWindowManagementPreview_Ptr is access all IWindowManagementPreview;
   type IWindowManagementPreviewStatics_Interface;
   type IWindowManagementPreviewStatics is access all IWindowManagementPreviewStatics_Interface'Class;
   type IWindowManagementPreviewStatics_Ptr is access all IWindowManagementPreviewStatics;
   
   ------------------------------------------------------------------------
   -- Interfaces
   ------------------------------------------------------------------------
   
   ------------------------------------------------------------------------
   
   IID_IWindowManagementPreview : aliased constant Windows.IID := (1324702477, 22045, 20796, (166, 124, 44, 2, 182, 156, 239, 65 ));
   
   type IWindowManagementPreview_Interface is interface and Windows.IInspectable_Interface;
   
   ------------------------------------------------------------------------
   
   IID_IWindowManagementPreviewStatics : aliased constant Windows.IID := (261563846, 49156, 23075, (143, 210, 141, 9, 44, 226, 112, 74 ));
   
   type IWindowManagementPreviewStatics_Interface is interface and Windows.IInspectable_Interface;
   
   function SetPreferredMinSize
   (
      This       : access IWindowManagementPreviewStatics_Interface
      ; window : Windows.UI.WindowManagement.IAppWindow
      ; preferredFrameMinSize : Windows.Foundation.Size
   )
   return Windows.HRESULT is abstract;
   
   ------------------------------------------------------------------------
   -- Classes
   ------------------------------------------------------------------------
   
   subtype WindowManagementPreview is Windows.UI.WindowManagement.Preview.IWindowManagementPreview;
   
   ------------------------------------------------------------------------
   -- Static Procedures/functions
   ------------------------------------------------------------------------
   
   procedure SetPreferredMinSize
   (
      window : Windows.UI.WindowManagement.IAppWindow
      ; preferredFrameMinSize : Windows.Foundation.Size
   )
   ;
   
end;
