-- 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.Windows.Forms.NativeMethods.STATSTG.Ref is access;
package MSSyst.Windows.Forms.UnsafeNativeMethods.ILockBytes 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 (Self : access MSSyst.Object.Typ'Class)
      is abstract new MSSyst.Object.Typ with null record;
   pragma MSIL_Interface(Typ);
   procedure Flush(
      This : access Typ) is abstract;
   procedure LockRegion(
      This : access Typ;
      libOffset : Long_Long_Integer;
      cb : Long_Long_Integer;
      dwLockType : Integer) is abstract;
   procedure ReadAt(
      This : access Typ;
      ulOffset : Long_Long_Integer;
      pv : MSIL_Types.native_int;
      cb : Integer;
      pcbRead : MSIL_Types.Int32_Arr) is abstract;
   procedure SetSize(
      This : access Typ;
      cb : Long_Long_Integer) is abstract;
   procedure Stat(
      This : access Typ;
      pstatstg : MSSyst.Windows.Forms.NativeMethods.STATSTG.Ref;
      grfStatFlag : Integer) is abstract;
   procedure UnlockRegion(
      This : access Typ;
      libOffset : Long_Long_Integer;
      cb : Long_Long_Integer;
      dwLockType : Integer) is abstract;
   procedure WriteAt(
      This : access Typ;
      ulOffset : Long_Long_Integer;
      pv : MSIL_Types.native_int;
      cb : Integer;
      pcbWritten : MSIL_Types.Int32_Arr) is abstract;
private
   pragma Import(MSIL,Flush,"Flush");
   pragma Import(MSIL,LockRegion,"LockRegion");
   pragma Import(MSIL,ReadAt,"ReadAt");
   pragma Import(MSIL,SetSize,"SetSize");
   pragma Import(MSIL,Stat,"Stat");
   pragma Import(MSIL,UnlockRegion,"UnlockRegion");
   pragma Import(MSIL,WriteAt,"WriteAt");
end MSSyst.Windows.Forms.UnsafeNativeMethods.ILockBytes;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Windows.Forms.UnsafeNativeMethods.ILockBytes,
   ".ver 1:0:3300:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[System.Windows.Forms]System.Windows.Forms.UnsafeNativeMethods/ILockBytes");
