-- 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.UnsafeNativeMethods.IStream.Ref is access;
package MSSyst.Windows.Forms.SafeNativeMethods.IPicture 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 GetAttributes(
      This : access Typ) return Integer is abstract;
   function GetCurDC(
      This : access Typ) return MSIL_Types.native_int is abstract;
   function GetHandle(
      This : access Typ) return MSIL_Types.native_int is abstract;
   function GetHeight(
      This : access Typ) return Integer is abstract;
   function GetHPal(
      This : access Typ) return MSIL_Types.native_int is abstract;
   function GetKeepOriginalFormat(
      This : access Typ) return Standard.Boolean is abstract;
   function GetPictureType(
      This : access Typ) return MSIL_Types.int16 is abstract;
   function GetWidth(
      This : access Typ) return Integer is abstract;
   procedure PictureChanged(
      This : access Typ) is abstract;
   procedure Render(
      This : access Typ;
      hDC : MSIL_Types.native_int;
      x : Integer;
      y : Integer;
      cx : Integer;
      cy : Integer;
      xSrc : Integer;
      ySrc : Integer;
      cxSrc : Integer;
      cySrc : Integer;
      rcBounds : MSIL_Types.native_int) is abstract;
   function SaveAsFile(
      This : access Typ;
      pstm : MSSyst.Windows.Forms.UnsafeNativeMethods.IStream.Ref;
      fSaveMemCopy : Integer;
      pcbSize : MSIL_Types.Int32_addrof) return Integer is abstract;
   procedure SelectPicture(
      This : access Typ;
      hdcIn : MSIL_Types.native_int;
      phdcOut : MSSyst.IntPtr.Valuetype_array;
      phbmpOut : MSSyst.IntPtr.Valuetype_array) is abstract;
   procedure SetHPal(
      This : access Typ;
      phpal : MSIL_Types.native_int) is abstract;
   procedure SetKeepOriginalFormat(
      This : access Typ;
      pfkeep : Standard.Boolean) is abstract;
private
   pragma Import(MSIL,GetAttributes,"GetAttributes");
   pragma Import(MSIL,GetCurDC,"GetCurDC");
   pragma Import(MSIL,GetHandle,"GetHandle");
   pragma Import(MSIL,GetHeight,"GetHeight");
   pragma Import(MSIL,GetHPal,"GetHPal");
   pragma Import(MSIL,GetKeepOriginalFormat,"GetKeepOriginalFormat");
   pragma Import(MSIL,GetPictureType,"GetPictureType");
   pragma Import(MSIL,GetWidth,"GetWidth");
   pragma Import(MSIL,PictureChanged,"PictureChanged");
   pragma Import(MSIL,Render,"Render");
   pragma Import(MSIL,SaveAsFile,"SaveAsFile");
   pragma Import(MSIL,SelectPicture,"SelectPicture");
   pragma Import(MSIL,SetHPal,"SetHPal");
   pragma Import(MSIL,SetKeepOriginalFormat,"SetKeepOriginalFormat");
end MSSyst.Windows.Forms.SafeNativeMethods.IPicture;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Windows.Forms.SafeNativeMethods.IPicture,
   ".ver 1:0:3300:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[System.Windows.Forms]System.Windows.Forms.SafeNativeMethods/IPicture");
