-- 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.IDisposable.Ref is access;
with type MSSyst.Runtime.Remoting.ObjRef.Ref is access;
with type MSSyst.Type_k.Ref is access;
with type MSSyst.String.Ref is access;
with type MSSyst.Object.Ref is access;
with type MSSyst.String.Ref_array is access;
with Microsoft.Win32.RegistryHive;
with MSSyst.MarshalByRefObject;
package Microsoft.Win32.RegistryKey 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_IDisposable : MSSyst.IDisposable.Ref
      ) is new MSSyst.MarshalByRefObject.Typ with record
      null;
   end record;
   procedure Close(
      This : access Typ);
   function CreateSubKey(
      This : access Typ;
      subkey : MSSyst.String.Ref) return Microsoft.Win32.RegistryKey.Ref;
   procedure DeleteSubKey(
      This : access Typ;
      subkey : MSSyst.String.Ref;
      throwOnMissingSubKey : Standard.Boolean);
   procedure DeleteSubKey(
      This : access Typ;
      subkey : MSSyst.String.Ref);
   procedure DeleteSubKeyTree(
      This : access Typ;
      subkey : MSSyst.String.Ref);
   procedure DeleteValue(
      This : access Typ;
      name : MSSyst.String.Ref;
      throwOnMissingValue : Standard.Boolean);
   procedure DeleteValue(
      This : access Typ;
      name : MSSyst.String.Ref);
   procedure Flush(
      This : access Typ);
   function get_Name(
      This : access Typ) return MSSyst.String.Ref;
   function get_SubKeyCount(
      This : access Typ) return Integer;
   function get_ValueCount(
      This : access Typ) return Integer;
   function GetSubKeyNames(
      This : access Typ) return MSSyst.String.Ref_array;
   function GetValue(
      This : access Typ;
      name : MSSyst.String.Ref;
      defaultValue : MSSyst.Object.Ref) return MSSyst.Object.Ref;
   function GetValue(
      This : access Typ;
      name : MSSyst.String.Ref) return MSSyst.Object.Ref;
   function GetValueNames(
      This : access Typ) return MSSyst.String.Ref_array;
   function OpenRemoteBaseKey(
      hKey : Microsoft.Win32.RegistryHive.Valuetype;
      machineName : MSSyst.String.Ref) return Microsoft.Win32.RegistryKey.Ref;
   function OpenSubKey(
      This : access Typ;
      name : MSSyst.String.Ref;
      writable : Standard.Boolean) return Microsoft.Win32.RegistryKey.Ref;
   function OpenSubKey(
      This : access Typ;
      name : MSSyst.String.Ref) return Microsoft.Win32.RegistryKey.Ref;
   procedure SetValue(
      This : access Typ;
      name : MSSyst.String.Ref;
      value : MSSyst.Object.Ref);
   function ToString(
      This : access Typ) return MSSyst.String.Ref;
private
   pragma Convention(MSIL,Typ);
   pragma Import(MSIL,Close,"Close");
   pragma Import(MSIL,CreateSubKey,"CreateSubKey");
   pragma Import(MSIL,DeleteSubKey,"DeleteSubKey");
   pragma Import(MSIL,DeleteSubKeyTree,"DeleteSubKeyTree");
   pragma Import(MSIL,DeleteValue,"DeleteValue");
   pragma Import(MSIL,Flush,"Flush");
   pragma Import(MSIL,get_Name,"get_Name");
   pragma Import(MSIL,get_SubKeyCount,"get_SubKeyCount");
   pragma Import(MSIL,get_ValueCount,"get_ValueCount");
   pragma Import(MSIL,GetSubKeyNames,"GetSubKeyNames");
   pragma Import(MSIL,GetValue,"GetValue");
   pragma Import(MSIL,GetValueNames,"GetValueNames");
   pragma Import(MSIL,OpenRemoteBaseKey,"OpenRemoteBaseKey");
   pragma Import(MSIL,OpenSubKey,"OpenSubKey");
   pragma Import(MSIL,SetValue,"SetValue");
   pragma Import(MSIL,ToString,"ToString");
end Microsoft.Win32.RegistryKey;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,Microsoft.Win32.RegistryKey,
   ".ver 1:0:5000:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[mscorlib]Microsoft.Win32.RegistryKey");
