-- 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 MSSyst.Windows.Forms.NativeMethods.MSG;
package MSSyst.Windows.Forms.UnsafeNativeMethods.IMsoComponent 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 (Self : access MSSyst.Object.Typ'Class)
      is abstract new MSSyst.Object.Typ with null record;
   pragma MSIL_Interface(Typ);
   function FContinueMessageLoop(
      This : access Typ;
      uReason : Integer;
      pvLoopData : Integer;
      pMsgPeeked : MSSyst.Windows.Forms.NativeMethods.MSG.Valuetype_addrof) return Standard.Boolean is abstract;
   function FDebugMessage(
      This : access Typ;
      hInst : MSIL_Types.native_int;
      msg : Integer;
      wParam : MSIL_Types.native_int;
      lParam : MSIL_Types.native_int) return Standard.Boolean is abstract;
   function FDoIdle(
      This : access Typ;
      grfidlef : Integer) return Standard.Boolean is abstract;
   function FPreTranslateMessage(
      This : access Typ;
      msg : MSSyst.Windows.Forms.NativeMethods.MSG.Valuetype_addrof) return Standard.Boolean is abstract;
   function FQueryTerminate(
      This : access Typ;
      fPromptUser : Standard.Boolean) return Standard.Boolean is abstract;
   function HwndGetWindow(
      This : access Typ;
      dwWhich : Integer;
      dwReserved : Integer) return MSIL_Types.native_int is abstract;
   procedure OnActivationChange(
      This : access Typ;
      component : MSSyst.Windows.Forms.UnsafeNativeMethods.IMsoComponent.Ref;
      fSameComponent : Standard.Boolean;
      pcrinfo : Integer;
      fHostIsActivating : Standard.Boolean;
      pchostinfo : Integer;
      dwReserved : Integer) is abstract;
   procedure OnAppActivate(
      This : access Typ;
      fActive : Standard.Boolean;
      dwOtherThreadID : Integer) is abstract;
   procedure OnEnterState(
      This : access Typ;
      uStateID : Integer;
      fEnter : Standard.Boolean) is abstract;
   procedure OnLoseActivation(
      This : access Typ) is abstract;
   procedure Terminate_k(
      This : access Typ) is abstract;
private
   pragma Import(MSIL,FContinueMessageLoop,"FContinueMessageLoop");
   pragma Import(MSIL,FDebugMessage,"FDebugMessage");
   pragma Import(MSIL,FDoIdle,"FDoIdle");
   pragma Import(MSIL,FPreTranslateMessage,"FPreTranslateMessage");
   pragma Import(MSIL,FQueryTerminate,"FQueryTerminate");
   pragma Import(MSIL,HwndGetWindow,"HwndGetWindow");
   pragma Import(MSIL,OnActivationChange,"OnActivationChange");
   pragma Import(MSIL,OnAppActivate,"OnAppActivate");
   pragma Import(MSIL,OnEnterState,"OnEnterState");
   pragma Import(MSIL,OnLoseActivation,"OnLoseActivation");
   pragma Import(MSIL,Terminate_k,"Terminate");
end MSSyst.Windows.Forms.UnsafeNativeMethods.IMsoComponent;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Windows.Forms.UnsafeNativeMethods.IMsoComponent,
   ".ver 1:0:3300:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[System.Windows.Forms]System.Windows.Forms.UnsafeNativeMethods/IMsoComponent");
