-- 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.ComponentModel.IComponent.Ref is access;
with type MSSyst.IDisposable.Ref is access;
with type MSSyst.ComponentModel.ISupportInitialize.Ref is access;
with type MSSyst.EventHandler.Ref is access;
with type MSSyst.Diagnostics.EntryWrittenEventHandler.Ref is access;
with type MSSyst.String.Ref is access;
with type MSSyst.Runtime.Remoting.ObjRef.Ref is access;
with type MSSyst.Type_k.Ref is access;
with type MSSyst.Object.Ref is access;
with type MSSyst.ComponentModel.IContainer.Ref is access;
with type MSSyst.Diagnostics.EventLogEntryCollection.Ref is access;
with type MSSyst.ComponentModel.ISite.Ref is access;
with type MSSyst.ComponentModel.ISynchronizeInvoke.Ref is access;
with type MSSyst.Diagnostics.EventLog.Ref_array is access;
with MSSyst.Diagnostics.EventLogEntryType;
with MSSyst.ComponentModel.Component;
package MSSyst.Diagnostics.EventLog 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_IComponent : MSSyst.ComponentModel.IComponent.Ref;
         I_IDisposable : MSSyst.IDisposable.Ref;
         I_ISupportInitialize : MSSyst.ComponentModel.ISupportInitialize.Ref
      ) is new MSSyst.ComponentModel.Component.Typ(
         I_IComponent => I_IComponent,
         I_IDisposable => I_IDisposable
      ) with record
      null;
   end record;
   function new_EventLog(
      This : Ref := null) return Ref;
   function new_EventLog(
      This : Ref := null;
      logName : MSSyst.String.Ref) return Ref;
   function new_EventLog(
      This : Ref := null;
      logName : MSSyst.String.Ref;
      machineName : MSSyst.String.Ref) return Ref;
   function new_EventLog(
      This : Ref := null;
      logName : MSSyst.String.Ref;
      machineName : MSSyst.String.Ref;
      source : MSSyst.String.Ref) return Ref;
   procedure add_EntryWritten(
      This : access Typ;
      value : MSSyst.Diagnostics.EntryWrittenEventHandler.Ref);
   procedure BeginInit(
      This : access Typ);
   procedure Clear(
      This : access Typ);
   procedure Close(
      This : access Typ);
   procedure CreateEventSource(
      source : MSSyst.String.Ref;
      logName : MSSyst.String.Ref);
   procedure CreateEventSource(
      source : MSSyst.String.Ref;
      logName : MSSyst.String.Ref;
      machineName : MSSyst.String.Ref);
   procedure Delete(
      logName : MSSyst.String.Ref;
      machineName : MSSyst.String.Ref);
   procedure Delete(
      logName : MSSyst.String.Ref);
   procedure DeleteEventSource(
      source : MSSyst.String.Ref;
      machineName : MSSyst.String.Ref);
   procedure DeleteEventSource(
      source : MSSyst.String.Ref);
   procedure EndInit(
      This : access Typ);
   function Exists(
      logName : MSSyst.String.Ref;
      machineName : MSSyst.String.Ref) return Standard.Boolean;
   function Exists(
      logName : MSSyst.String.Ref) return Standard.Boolean;
   function get_EnableRaisingEvents(
      This : access Typ) return Standard.Boolean;
   function get_Entries(
      This : access Typ) return MSSyst.Diagnostics.EventLogEntryCollection.Ref;
   function get_Log(
      This : access Typ) return MSSyst.String.Ref;
   function get_LogDisplayName(
      This : access Typ) return MSSyst.String.Ref;
   function get_MachineName(
      This : access Typ) return MSSyst.String.Ref;
   function get_Source(
      This : access Typ) return MSSyst.String.Ref;
   function get_SynchronizingObject(
      This : access Typ) return MSSyst.ComponentModel.ISynchronizeInvoke.Ref;
   function GetEventLogs(
      machineName : MSSyst.String.Ref) return MSSyst.Diagnostics.EventLog.Ref_array;
   function GetEventLogs return MSSyst.Diagnostics.EventLog.Ref_array;
   function LogNameFromSourceName(
      source : MSSyst.String.Ref;
      machineName : MSSyst.String.Ref) return MSSyst.String.Ref;
   procedure remove_EntryWritten(
      This : access Typ;
      value : MSSyst.Diagnostics.EntryWrittenEventHandler.Ref);
   procedure set_EnableRaisingEvents(
      This : access Typ;
      value : Standard.Boolean);
   procedure set_Log(
      This : access Typ;
      value : MSSyst.String.Ref);
   procedure set_MachineName(
      This : access Typ;
      value : MSSyst.String.Ref);
   procedure set_Source(
      This : access Typ;
      value : MSSyst.String.Ref);
   procedure set_SynchronizingObject(
      This : access Typ;
      value : MSSyst.ComponentModel.ISynchronizeInvoke.Ref);
   function SourceExists(
      source : MSSyst.String.Ref) return Standard.Boolean;
   function SourceExists(
      source : MSSyst.String.Ref;
      machineName : MSSyst.String.Ref) return Standard.Boolean;
   procedure WriteEntry(
      source : MSSyst.String.Ref;
      message : MSSyst.String.Ref;
      type_k : MSSyst.Diagnostics.EventLogEntryType.Valuetype;
      eventID : Integer;
      category : MSIL_Types.int16);
   procedure WriteEntry(
      This : access Typ;
      message : MSSyst.String.Ref;
      type_k : MSSyst.Diagnostics.EventLogEntryType.Valuetype;
      eventID : Integer;
      category : MSIL_Types.int16);
   procedure WriteEntry(
      source : MSSyst.String.Ref;
      message : MSSyst.String.Ref;
      type_k : MSSyst.Diagnostics.EventLogEntryType.Valuetype;
      eventID : Integer;
      category : MSIL_Types.int16;
      rawData : MSIL_Types.unsigned_int8_Arr);
   procedure WriteEntry(
      This : access Typ;
      message : MSSyst.String.Ref;
      type_k : MSSyst.Diagnostics.EventLogEntryType.Valuetype;
      eventID : Integer;
      category : MSIL_Types.int16;
      rawData : MSIL_Types.unsigned_int8_Arr);
   procedure WriteEntry(
      This : access Typ;
      message : MSSyst.String.Ref;
      type_k : MSSyst.Diagnostics.EventLogEntryType.Valuetype);
   procedure WriteEntry(
      source : MSSyst.String.Ref;
      message : MSSyst.String.Ref);
   procedure WriteEntry(
      This : access Typ;
      message : MSSyst.String.Ref);
   procedure WriteEntry(
      source : MSSyst.String.Ref;
      message : MSSyst.String.Ref;
      type_k : MSSyst.Diagnostics.EventLogEntryType.Valuetype;
      eventID : Integer);
   procedure WriteEntry(
      This : access Typ;
      message : MSSyst.String.Ref;
      type_k : MSSyst.Diagnostics.EventLogEntryType.Valuetype;
      eventID : Integer);
   procedure WriteEntry(
      source : MSSyst.String.Ref;
      message : MSSyst.String.Ref;
      type_k : MSSyst.Diagnostics.EventLogEntryType.Valuetype);
private
   pragma Convention(MSIL,Typ);
   pragma MSIL_Constructor(new_EventLog);
   pragma Import(MSIL,add_EntryWritten,"add_EntryWritten");
   pragma Import(MSIL,BeginInit,"BeginInit");
   pragma Import(MSIL,Clear,"Clear");
   pragma Import(MSIL,Close,"Close");
   pragma Import(MSIL,CreateEventSource,"CreateEventSource");
   pragma Import(MSIL,Delete,"Delete");
   pragma Import(MSIL,DeleteEventSource,"DeleteEventSource");
   pragma Import(MSIL,EndInit,"EndInit");
   pragma Import(MSIL,Exists,"Exists");
   pragma Import(MSIL,get_EnableRaisingEvents,"get_EnableRaisingEvents");
   pragma Import(MSIL,get_Entries,"get_Entries");
   pragma Import(MSIL,get_Log,"get_Log");
   pragma Import(MSIL,get_LogDisplayName,"get_LogDisplayName");
   pragma Import(MSIL,get_MachineName,"get_MachineName");
   pragma Import(MSIL,get_Source,"get_Source");
   pragma Import(MSIL,get_SynchronizingObject,"get_SynchronizingObject");
   pragma Import(MSIL,GetEventLogs,"GetEventLogs");
   pragma Import(MSIL,LogNameFromSourceName,"LogNameFromSourceName");
   pragma Import(MSIL,remove_EntryWritten,"remove_EntryWritten");
   pragma Import(MSIL,set_EnableRaisingEvents,"set_EnableRaisingEvents");
   pragma Import(MSIL,set_Log,"set_Log");
   pragma Import(MSIL,set_MachineName,"set_MachineName");
   pragma Import(MSIL,set_Source,"set_Source");
   pragma Import(MSIL,set_SynchronizingObject,"set_SynchronizingObject");
   pragma Import(MSIL,SourceExists,"SourceExists");
   pragma Import(MSIL,WriteEntry,"WriteEntry");
end MSSyst.Diagnostics.EventLog;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Diagnostics.EventLog,
   ".ver 1:0:3300:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[System]System.Diagnostics.EventLog");
