-- 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;
package MSSyst.Drawing.UnsafeNativeMethods.IStream 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);
   function Clone(
      This : access Typ) return MSSyst.Drawing.UnsafeNativeMethods.IStream.Ref is abstract;
   procedure Commit(
      This : access Typ;
      grfCommitFlags : Integer) is abstract;
   function CopyTo(
      This : access Typ;
      pstm : MSSyst.Drawing.UnsafeNativeMethods.IStream.Ref;
      cb : Long_Long_Integer;
      pcbRead : MSIL_Types.Int64_Arr) return Long_Long_Integer is abstract;
   procedure LockRegion(
      This : access Typ;
      libOffset : Long_Long_Integer;
      cb : Long_Long_Integer;
      dwLockType : Integer) is abstract;
   function Read(
      This : access Typ;
      buf : MSIL_Types.native_int;
      len : Integer) return Integer is abstract;
   procedure Revert(
      This : access Typ) is abstract;
   function Seek(
      This : access Typ;
      dlibMove : Long_Long_Integer;
      dwOrigin : Integer) return Long_Long_Integer is abstract;
   procedure SetSize(
      This : access Typ;
      libNewSize : Long_Long_Integer) is abstract;
   procedure Stat(
      This : access Typ;
      pStatstg : MSIL_Types.native_int;
      grfStatFlag : Integer) is abstract;
   procedure UnlockRegion(
      This : access Typ;
      libOffset : Long_Long_Integer;
      cb : Long_Long_Integer;
      dwLockType : Integer) is abstract;
   function Write(
      This : access Typ;
      buf : MSIL_Types.native_int;
      len : Integer) return Integer is abstract;
private
   pragma Import(MSIL,Clone,"Clone");
   pragma Import(MSIL,Commit,"Commit");
   pragma Import(MSIL,CopyTo,"CopyTo");
   pragma Import(MSIL,LockRegion,"LockRegion");
   pragma Import(MSIL,Read,"Read");
   pragma Import(MSIL,Revert,"Revert");
   pragma Import(MSIL,Seek,"Seek");
   pragma Import(MSIL,SetSize,"SetSize");
   pragma Import(MSIL,Stat,"Stat");
   pragma Import(MSIL,UnlockRegion,"UnlockRegion");
   pragma Import(MSIL,Write,"Write");
end MSSyst.Drawing.UnsafeNativeMethods.IStream;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Drawing.UnsafeNativeMethods.IStream,
   ".ver 1:0:3300:0 .publickeytoken=( b0 3f 5f 7f 11 d5 0a 3a )",
   "[System.Drawing]System.Drawing.UnsafeNativeMethods/IStream");
