-- 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.IOleInPlaceFrame.Ref_addrof is access;
with type MSSyst.Windows.Forms.UnsafeNativeMethods.IOleInPlaceUIWindow.Ref_addrof is access;
with type MSSyst.Windows.Forms.NativeMethods.COMRECT.Ref is access;
with type MSSyst.Windows.Forms.NativeMethods.tagOIFI.Ref is access;
with type MSSyst.Windows.Forms.NativeMethods.tagSIZE.Ref is access;
package MSSyst.Windows.Forms.UnsafeNativeMethods.IOleInPlaceSite 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 CanInPlaceActivate(
      This : access Typ) return Integer is abstract;
   function ContextSensitiveHelp(
      This : access Typ;
      fEnterMode : Integer) return Integer is abstract;
   function DeactivateAndUndo(
      This : access Typ) return Integer is abstract;
   function DiscardUndoState(
      This : access Typ) return Integer is abstract;
   function GetWindow(
      This : access Typ) return MSIL_Types.native_int is abstract;
   function GetWindowContext(
      This : access Typ;
      ppFrame : MSSyst.Windows.Forms.UnsafeNativeMethods.IOleInPlaceFrame.Ref_addrof;
      ppDoc : MSSyst.Windows.Forms.UnsafeNativeMethods.IOleInPlaceUIWindow.Ref_addrof;
      lprcPosRect : MSSyst.Windows.Forms.NativeMethods.COMRECT.Ref;
      lprcClipRect : MSSyst.Windows.Forms.NativeMethods.COMRECT.Ref;
      lpFrameInfo : MSSyst.Windows.Forms.NativeMethods.tagOIFI.Ref) return Integer is abstract;
   function OnInPlaceActivate(
      This : access Typ) return Integer is abstract;
   function OnInPlaceDeactivate(
      This : access Typ) return Integer is abstract;
   function OnPosRectChange(
      This : access Typ;
      lprcPosRect : MSSyst.Windows.Forms.NativeMethods.COMRECT.Ref) return Integer is abstract;
   function OnUIActivate(
      This : access Typ) return Integer is abstract;
   function OnUIDeactivate(
      This : access Typ;
      fUndoable : Integer) return Integer is abstract;
   function Scroll(
      This : access Typ;
      scrollExtant : MSSyst.Windows.Forms.NativeMethods.tagSIZE.Ref) return Integer is abstract;
private
   pragma Import(MSIL,CanInPlaceActivate,"CanInPlaceActivate");
   pragma Import(MSIL,ContextSensitiveHelp,"ContextSensitiveHelp");
   pragma Import(MSIL,DeactivateAndUndo,"DeactivateAndUndo");
   pragma Import(MSIL,DiscardUndoState,"DiscardUndoState");
   pragma Import(MSIL,GetWindow,"GetWindow");
   pragma Import(MSIL,GetWindowContext,"GetWindowContext");
   pragma Import(MSIL,OnInPlaceActivate,"OnInPlaceActivate");
   pragma Import(MSIL,OnInPlaceDeactivate,"OnInPlaceDeactivate");
   pragma Import(MSIL,OnPosRectChange,"OnPosRectChange");
   pragma Import(MSIL,OnUIActivate,"OnUIActivate");
   pragma Import(MSIL,OnUIDeactivate,"OnUIDeactivate");
   pragma Import(MSIL,Scroll,"Scroll");
end MSSyst.Windows.Forms.UnsafeNativeMethods.IOleInPlaceSite;
pragma Extensions_Allowed(Off);
pragma Import(MSIL,MSSyst.Windows.Forms.UnsafeNativeMethods.IOleInPlaceSite,
   ".ver 1:0:3300:0 .publickeytoken=( b7 7a 5c 56 19 34 e0 89 )",
   "[System.Windows.Forms]System.Windows.Forms.UnsafeNativeMethods/IOleInPlaceSite");
