-- Autogenerated by MSIL2Ada v. 2
-- By: Martin C. Carlisle
--     Department of Computer Science
--     US Air Force Academy
--     carlislem@acm.org
pragma Extensions_Allowed(On);
with MSSyst.Object;
with MSIL_Types;
use MSIL_Types;
with type MSSyst.ComponentModel.IComponent.Ref is access;
with type MSSyst.IDisposable.Ref is access;
with type MSSyst.EventHandler.Ref is access;
with type MSSyst.Runtime.Remoting.ObjRef.Ref is access;
with type MSSyst.Type_k.Ref is access;
with type MSSyst.Object.Ref is access;
with type MSSyst.Windows.Forms.MenuItem.Ref is access;
with type MSSyst.ComponentModel.IContainer.Ref is access;
with type MSSyst.Windows.Forms.Menu.MenuItemCollection.Ref is access;
with type MSSyst.ComponentModel.ISite.Ref is access;
with type MSSyst.Windows.Forms.ContextMenu.Ref is access;
with type MSSyst.Windows.Forms.MainMenu.Ref is access;
with type MSSyst.String.Ref is access;
with MSSyst.ComponentModel.Component;
package MSSyst.Windows.Forms.Menu is
   type Typ;
   type Ref is access all Typ'Class;
   type Ref_addrof is access all Ref;
   type Ref_Arr is array(Natural range <>) of Ref;
   type Ref_Array is access all Ref_Arr;
   type Ref_Array_addrof is access all Ref_Array;
   type Typ(
         I_IComponent : MSSyst.ComponentModel.IComponent.Ref;
         I_IDisposable : MSSyst.IDisposable.Ref
      ) is new MSSyst.ComponentModel.Component.Typ(
         I_IComponent => I_IComponent,
         I_IDisposable => I_IDisposable
      ) with record
      null;
   end record;
   FindHandle : Integer;
   pragma Import(MSIL,FindHandle,"FindHandle");
   FindShortcut : Integer;
   pragma Import(MSIL,FindShortcut,"FindShortcut");
   function FindMenuItem(
      This : access Typ;
      type_k : Integer;
      value : MSIL_Types.native_int) return MSSyst.Windows.Forms.MenuItem.Ref;
   function get_Handle(
      This : access Typ) return MSIL_Types.native_int;
   function get_IsParent(
      This : access Typ) return Standard.Boolean;
   function get_MdiListItem(
      This : access Typ) return MSSyst.Windows.Forms.MenuItem.Ref;
   function get_MenuItems(
      This : access Typ) return MSSyst.Windows.Forms.Menu.MenuItemCollection.Ref;
   function GetContextMenu(
      This : access Typ) return MSSyst.Windows.Forms.ContextMenu.Ref;
   function GetMainMenu(
      This : access Typ) return MSSyst.Windows.Forms.MainMenu.Ref;
   procedure MergeMenu(
      This : access Typ;
      menuSrc : MSSyst.Windows.Forms.Menu.Ref);
   function ToString(
      This : access Typ) return MSSyst.String.Ref;
private
   pragma Convention(MSIL,Typ);
   pragma Import(MSIL,FindMenuItem,"FindMenuItem");
   pragma Import(MSIL,get_Handle,"get_Handle");
   pragma Import(MSIL,get_IsParent,"get_IsParent");
   pragma Import(MSIL,get_MdiListItem,"get_MdiListItem");
   pragma Import(MSIL,get_MenuItems,"get_MenuItems");
   pragma Import(MSIL,GetContextMenu,"GetContextMenu");
   pragma Import(MSIL,GetMainMenu,"GetMainMenu");
   pragma Import(MSIL,MergeMenu,"MergeMenu");
   pragma Import(MSIL,ToString,"ToString");
end MSSyst.Windows.Forms.Menu;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Windows.Forms.Menu,
   ".ver 1:0:3300:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[System.Windows.Forms]System.Windows.Forms.Menu");
