-- 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.Runtime.InteropServices.IRegistrationServices.Ref is access;
with type MSSyst.Object.Ref is access;
with type MSSyst.Guid.Valuetype is tagged;
with type MSSyst.String.Ref is access;
with type MSSyst.Type_k.Ref is access;
with type MSSyst.Type_k.Ref_array is access;
with type MSSyst.Reflection.Assembly.Ref is access;
with MSSyst.Runtime.InteropServices.AssemblyRegistrationFlags;
with MSSyst.Guid;
with MSSyst.Object;
package MSSyst.Runtime.InteropServices.RegistrationServices 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_IRegistrationServices : MSSyst.Runtime.InteropServices.IRegistrationServices.Ref
      ) is new MSSyst.Object.Typ with record
      null;
   end record;
   function new_RegistrationServices(
      This : Ref := null) return Ref;
   function GetManagedCategoryGuid(
      This : access Typ) return MSSyst.Guid.Valuetype;
   function GetProgIdForType(
      This : access Typ;
      type_k : MSSyst.Type_k.Ref) return MSSyst.String.Ref;
   function GetRegistrableTypesInAssembly(
      This : access Typ;
      assembly : MSSyst.Reflection.Assembly.Ref) return MSSyst.Type_k.Ref_array;
   function RegisterAssembly(
      This : access Typ;
      assembly : MSSyst.Reflection.Assembly.Ref;
      flags : MSSyst.Runtime.InteropServices.AssemblyRegistrationFlags.Valuetype) return Standard.Boolean;
   procedure RegisterTypeForComClients(
      This : access Typ;
      type_k : MSSyst.Type_k.Ref;
      g : MSSyst.Guid.Valuetype_addrof);
   function TypeRepresentsComType(
      This : access Typ;
      type_k : MSSyst.Type_k.Ref) return Standard.Boolean;
   function TypeRequiresRegistration(
      This : access Typ;
      type_k : MSSyst.Type_k.Ref) return Standard.Boolean;
   function UnregisterAssembly(
      This : access Typ;
      assembly : MSSyst.Reflection.Assembly.Ref) return Standard.Boolean;
private
   pragma Convention(MSIL,Typ);
   pragma MSIL_Constructor(new_RegistrationServices);
   pragma Import(MSIL,GetManagedCategoryGuid,"GetManagedCategoryGuid");
   pragma Import(MSIL,GetProgIdForType,"GetProgIdForType");
   pragma Import(MSIL,GetRegistrableTypesInAssembly,"GetRegistrableTypesInAssembly");
   pragma Import(MSIL,RegisterAssembly,"RegisterAssembly");
   pragma Import(MSIL,RegisterTypeForComClients,"RegisterTypeForComClients");
   pragma Import(MSIL,TypeRepresentsComType,"TypeRepresentsComType");
   pragma Import(MSIL,TypeRequiresRegistration,"TypeRequiresRegistration");
   pragma Import(MSIL,UnregisterAssembly,"UnregisterAssembly");
end MSSyst.Runtime.InteropServices.RegistrationServices;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Runtime.InteropServices.RegistrationServices,
   ".ver 1:0:5000:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[mscorlib]System.Runtime.InteropServices.RegistrationServices");
