-- 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.Object.Ref is access;
with type MSSyst.String.Ref is access;
with type MSSyst.Type_k.Ref is access;
with MSSyst.Windows.Forms.NativeMethods.CharBuffer;
package MSSyst.Windows.Forms.NativeMethods.AnsiCharBuffer 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 is new MSSyst.Windows.Forms.NativeMethods.CharBuffer.Typ with record
      null;
   end record;
   function new_AnsiCharBuffer(
      This : Ref := null;
      size : Integer) return Ref;
   function AllocCoTaskMem(
      This : access Typ) return MSIL_Types.native_int;
   function GetString(
      This : access Typ) return MSSyst.String.Ref;
   procedure PutCoTaskMem(
      This : access Typ;
      ptr : MSIL_Types.native_int);
   procedure PutString(
      This : access Typ;
      s : MSSyst.String.Ref);
private
   pragma Convention(MSIL,Typ);
   pragma MSIL_Constructor(new_AnsiCharBuffer);
   pragma Import(MSIL,AllocCoTaskMem,"AllocCoTaskMem");
   pragma Import(MSIL,GetString,"GetString");
   pragma Import(MSIL,PutCoTaskMem,"PutCoTaskMem");
   pragma Import(MSIL,PutString,"PutString");
end MSSyst.Windows.Forms.NativeMethods.AnsiCharBuffer;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Windows.Forms.NativeMethods.AnsiCharBuffer,
   ".ver 1:0:3300:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[System.Windows.Forms]System.Windows.Forms.NativeMethods/AnsiCharBuffer");
