-- 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.Drawing.SafeNativeMethods.HandleChangeEventHandler.Ref is access;
with type MSSyst.Object.Ref is access;
with type MSSyst.Type_k.Ref is access;
with type MSSyst.String.Ref is access;
with MSSyst.Object;
package MSSyst.Drawing.SafeNativeMethods.HandleCollector 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.Object.Typ with record
      null;
   end record;
   function new_HandleCollector(
      This : Ref := null) return Ref;
   function Add(
      handle : MSIL_Types.native_int;
      type_k : Integer) return MSIL_Types.native_int;
   procedure add_HandleAdded(
      value : MSSyst.Drawing.SafeNativeMethods.HandleChangeEventHandler.Ref);
   procedure add_HandleRemoved(
      value : MSSyst.Drawing.SafeNativeMethods.HandleChangeEventHandler.Ref);
   function RegisterType(
      typeName : MSSyst.String.Ref;
      expense : Integer;
      initialThreshold : Integer) return Integer;
   function Remove(
      handle : MSIL_Types.native_int;
      type_k : Integer) return MSIL_Types.native_int;
   procedure remove_HandleAdded(
      value : MSSyst.Drawing.SafeNativeMethods.HandleChangeEventHandler.Ref);
   procedure remove_HandleRemoved(
      value : MSSyst.Drawing.SafeNativeMethods.HandleChangeEventHandler.Ref);
private
   pragma Convention(MSIL,Typ);
   pragma MSIL_Constructor(new_HandleCollector);
   pragma Import(MSIL,Add,"Add");
   pragma Import(MSIL,add_HandleAdded,"add_HandleAdded");
   pragma Import(MSIL,add_HandleRemoved,"add_HandleRemoved");
   pragma Import(MSIL,RegisterType,"RegisterType");
   pragma Import(MSIL,Remove,"Remove");
   pragma Import(MSIL,remove_HandleAdded,"remove_HandleAdded");
   pragma Import(MSIL,remove_HandleRemoved,"remove_HandleRemoved");
end MSSyst.Drawing.SafeNativeMethods.HandleCollector;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Drawing.SafeNativeMethods.HandleCollector,
   ".ver 1:0:3300:0 .publickeytoken=( b0 3f 5f 7f 11 d5 0a 3a )",
   "[System.Drawing]System.Drawing.SafeNativeMethods/HandleCollector");
