with GNATCOM.Dispinterface;

package MSHTML.IHTMLEventObj5_Interface is

   type IHTMLEventObj5_Type is
     new GNATCOM.Dispinterface.Dispinterface_Type with null record;

   procedure Initialize (This : in out IHTMLEventObj5_Type);

   function Pointer (This : IHTMLEventObj5_Type)
     return Pointer_To_IHTMLEventObj5;

   procedure Attach (This    : in out IHTMLEventObj5_Type;
                     Pointer : in     Pointer_To_IHTMLEventObj5);

   procedure Put_url
     (This : IHTMLEventObj5_Type;
      p    : GNATCOM.Types.BSTR;
      Free : Boolean := True);

   function Get_url
     (This : IHTMLEventObj5_Type)
     return GNATCOM.Types.BSTR;

   procedure Put_data
     (This : IHTMLEventObj5_Type;
      p    : GNATCOM.Types.BSTR;
      Free : Boolean := True);

   function Get_data
     (This : IHTMLEventObj5_Type)
     return GNATCOM.Types.BSTR;

   function Get_source
     (This : IHTMLEventObj5_Type)
     return GNATCOM.Types.Pointer_To_IDispatch;

   procedure Put_origin
     (This : IHTMLEventObj5_Type;
      p    : GNATCOM.Types.BSTR;
      Free : Boolean := True);

   function Get_origin
     (This : IHTMLEventObj5_Type)
     return GNATCOM.Types.BSTR;

   procedure Put_issession
     (This : IHTMLEventObj5_Type;
      p    : GNATCOM.Types.VARIANT_BOOL);

   function Get_issession
     (This : IHTMLEventObj5_Type)
     return GNATCOM.Types.VARIANT_BOOL;

end MSHTML.IHTMLEventObj5_Interface;

