package body MSHTML.HTMLImgEvents2_Events is

   procedure Invoke
     (dispidMember : in Interfaces.C.long;
      wFlags       : in Interfaces.C.unsigned_short;
      pdispparams  : in GNATCOM.Types.Pointer_To_DISPPARAMS;
      Event_Object : in GNATCOM.Events.Event_Object.Event_Pointer)
   is
      use type Interfaces.C.long;
   begin
      case dispidMember is
         when HTMLImgEvents2_onhelp=>
            onhelp
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onclick=>
            onclick
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_ondblclick=>
            ondblclick
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onkeypress=>
            onkeypress
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onkeydown=>
            onkeydown
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onkeyup=>
            onkeyup
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onmouseout=>
            onmouseout
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onmouseover=>
            onmouseover
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onmousemove=>
            onmousemove
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onmousedown=>
            onmousedown
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onmouseup=>
            onmouseup
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onselectstart=>
            onselectstart
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onfilterchange=>
            onfilterchange
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_ondragstart=>
            ondragstart
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onbeforeupdate=>
            onbeforeupdate
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onafterupdate=>
            onafterupdate
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onerrorupdate=>
            onerrorupdate
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onrowexit=>
            onrowexit
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onrowenter=>
            onrowenter
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_ondatasetchanged=>
            ondatasetchanged
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_ondataavailable=>
            ondataavailable
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_ondatasetcomplete=>
            ondatasetcomplete
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onlosecapture=>
            onlosecapture
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onpropertychange=>
            onpropertychange
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onscroll=>
            onscroll
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onfocus=>
            onfocus
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onblur=>
            onblur
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onresize=>
            onresize
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_ondrag=>
            ondrag
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_ondragend=>
            ondragend
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_ondragenter=>
            ondragenter
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_ondragover=>
            ondragover
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_ondragleave=>
            ondragleave
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_ondrop=>
            ondrop
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onbeforecut=>
            onbeforecut
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_oncut=>
            oncut
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onbeforecopy=>
            onbeforecopy
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_oncopy=>
            oncopy
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onbeforepaste=>
            onbeforepaste
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onpaste=>
            onpaste
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_oncontextmenu=>
            oncontextmenu
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onrowsdelete=>
            onrowsdelete
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onrowsinserted=>
            onrowsinserted
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_oncellchange=>
            oncellchange
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onreadystatechange=>
            onreadystatechange
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onlayoutcomplete=>
            onlayoutcomplete
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onpage=>
            onpage
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onmouseenter=>
            onmouseenter
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onmouseleave=>
            onmouseleave
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onactivate=>
            onactivate
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_ondeactivate=>
            ondeactivate
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onbeforedeactivate=>
            onbeforedeactivate
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onbeforeactivate=>
            onbeforeactivate
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onfocusin=>
            onfocusin
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onfocusout=>
            onfocusout
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onmove=>
            onmove
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_oncontrolselect=>
            oncontrolselect
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onmovestart=>
            onmovestart
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onmoveend=>
            onmoveend
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onresizestart=>
            onresizestart
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onresizeend=>
            onresizeend
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onmousewheel=>
            onmousewheel
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onload=>
            onload
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onerror=>
            onerror
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLImgEvents2_onabort=>
            onabort
              (HTMLImgEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when others =>
            null;
      end case;
   end Invoke;

   function Create (From : in GNATCOM.Events.Event_Object.Event_Pointer)
     return GNATCOM.Create.COM_Interface.Pointer_To_COM_Interface_Type
   is
   begin
      return GNATCOM.Events.Event_Object.Create
        (Invoke'Access,
         IID_HTMLImgEvents2,
         From);
   end Create;

   procedure Set_Events
     (This            : in out GNATCOM.Events.IConnectionPoint_Type;
      For_Object      : in     GNATCOM.IInterface.Interface_Type'Class;
      Event_Interface :
        access GNATCOM.Create.COM_Interface.COM_Interface_Type;
      Free            : Boolean := True)
   is
   begin
      GNATCOM.Events.Set_Events
        (This,
         For_Object,
         IID_HTMLImgEvents2,
         Event_Interface,
         Free);
   end Set_Events;

   procedure onhelp
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onhelp;

   procedure onclick
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onclick;

   procedure ondblclick
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end ondblclick;

   procedure onkeypress
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onkeypress;

   procedure onkeydown
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onkeydown;

   procedure onkeyup
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onkeyup;

   procedure onmouseout
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onmouseout;

   procedure onmouseover
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onmouseover;

   procedure onmousemove
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onmousemove;

   procedure onmousedown
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onmousedown;

   procedure onmouseup
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onmouseup;

   procedure onselectstart
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onselectstart;

   procedure onfilterchange
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onfilterchange;

   procedure ondragstart
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end ondragstart;

   procedure onbeforeupdate
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onbeforeupdate;

   procedure onafterupdate
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onafterupdate;

   procedure onerrorupdate
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onerrorupdate;

   procedure onrowexit
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onrowexit;

   procedure onrowenter
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onrowenter;

   procedure ondatasetchanged
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end ondatasetchanged;

   procedure ondataavailable
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end ondataavailable;

   procedure ondatasetcomplete
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end ondatasetcomplete;

   procedure onlosecapture
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onlosecapture;

   procedure onpropertychange
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onpropertychange;

   procedure onscroll
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onscroll;

   procedure onfocus
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onfocus;

   procedure onblur
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onblur;

   procedure onresize
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onresize;

   procedure ondrag
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end ondrag;

   procedure ondragend
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end ondragend;

   procedure ondragenter
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end ondragenter;

   procedure ondragover
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end ondragover;

   procedure ondragleave
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end ondragleave;

   procedure ondrop
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end ondrop;

   procedure onbeforecut
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onbeforecut;

   procedure oncut
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end oncut;

   procedure onbeforecopy
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onbeforecopy;

   procedure oncopy
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end oncopy;

   procedure onbeforepaste
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onbeforepaste;

   procedure onpaste
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onpaste;

   procedure oncontextmenu
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end oncontextmenu;

   procedure onrowsdelete
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onrowsdelete;

   procedure onrowsinserted
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onrowsinserted;

   procedure oncellchange
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end oncellchange;

   procedure onreadystatechange
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onreadystatechange;

   procedure onlayoutcomplete
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onlayoutcomplete;

   procedure onpage
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onpage;

   procedure onmouseenter
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onmouseenter;

   procedure onmouseleave
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onmouseleave;

   procedure onactivate
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onactivate;

   procedure ondeactivate
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end ondeactivate;

   procedure onbeforedeactivate
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onbeforedeactivate;

   procedure onbeforeactivate
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onbeforeactivate;

   procedure onfocusin
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onfocusin;

   procedure onfocusout
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onfocusout;

   procedure onmove
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onmove;

   procedure oncontrolselect
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end oncontrolselect;

   procedure onmovestart
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onmovestart;

   procedure onmoveend
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onmoveend;

   procedure onresizestart
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onresizestart;

   procedure onresizeend
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onresizeend;

   procedure onmousewheel
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onmousewheel;

   procedure onload
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onload;

   procedure onerror
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onerror;

   procedure onabort
     (This    : HTMLImgEvents2_Event;
      pEvtObj : GNATCOM.Types.VARIANT)
   is
   begin
      null;
   end onabort;

end MSHTML.HTMLImgEvents2_Events;

