-- 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.Guid;
with type MSSyst.String.Ref_array is access;
with type MSSyst.Windows.Forms.UnsafeNativeMethods.ITypeInfo.Ref is access;
with type MSSyst.Windows.Forms.NativeMethods.tagDISPPARAMS.Ref is access;
with type MSSyst.Object.Ref_array is access;
with type MSSyst.Windows.Forms.NativeMethods.tagEXCEPINFO.Ref is access;
package MSSyst.Windows.Forms.UnsafeNativeMethods.IDispatch 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 GetIDsOfNames(
      This : access Typ;
      riid : MSSyst.Guid.Valuetype_addrof;
      rgszNames : MSSyst.String.Ref_array;
      cNames : Integer;
      lcid : Integer;
      rgDispId : MSIL_Types.Int32_Arr) return Integer is abstract;
   function GetTypeInfo(
      This : access Typ;
      iTInfo : Integer;
      lcid : Integer) return MSSyst.Windows.Forms.UnsafeNativeMethods.ITypeInfo.Ref is abstract;
   function GetTypeInfoCount(
      This : access Typ) return Integer is abstract;
   function Invoke(
      This : access Typ;
      dispIdMember : Integer;
      riid : MSSyst.Guid.Valuetype_addrof;
      lcid : Integer;
      dwFlags : Integer;
      pDispParams : MSSyst.Windows.Forms.NativeMethods.tagDISPPARAMS.Ref;
      pVarResult : MSSyst.Object.Ref_array;
      pExcepInfo : MSSyst.Windows.Forms.NativeMethods.tagEXCEPINFO.Ref;
      pArgErr : MSSyst.IntPtr.Valuetype_array) return Integer is abstract;
private
   pragma Import(MSIL,GetIDsOfNames,"GetIDsOfNames");
   pragma Import(MSIL,GetTypeInfo,"GetTypeInfo");
   pragma Import(MSIL,GetTypeInfoCount,"GetTypeInfoCount");
   pragma Import(MSIL,Invoke,"Invoke");
end MSSyst.Windows.Forms.UnsafeNativeMethods.IDispatch;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Windows.Forms.UnsafeNativeMethods.IDispatch,
   ".ver 1:0:3300:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[System.Windows.Forms]System.Windows.Forms.UnsafeNativeMethods/IDispatch");
