package body MSHTML.HTMLImgEvents_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 HTMLImgEvents_onhelp=>
            onhelp
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onclick=>
            onclick
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_ondblclick=>
            ondblclick
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onkeypress=>
            onkeypress
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onkeydown=>
            onkeydown
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onkeyup=>
            onkeyup
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onmouseout=>
            onmouseout
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onmouseover=>
            onmouseover
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onmousemove=>
            onmousemove
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onmousedown=>
            onmousedown
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onmouseup=>
            onmouseup
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onselectstart=>
            onselectstart
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onfilterchange=>
            onfilterchange
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_ondragstart=>
            ondragstart
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onbeforeupdate=>
            onbeforeupdate
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onafterupdate=>
            onafterupdate
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onerrorupdate=>
            onerrorupdate
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onrowexit=>
            onrowexit
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onrowenter=>
            onrowenter
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_ondatasetchanged=>
            ondatasetchanged
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_ondataavailable=>
            ondataavailable
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_ondatasetcomplete=>
            ondatasetcomplete
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onlosecapture=>
            onlosecapture
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onpropertychange=>
            onpropertychange
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onscroll=>
            onscroll
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onfocus=>
            onfocus
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onblur=>
            onblur
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onresize=>
            onresize
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_ondrag=>
            ondrag
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_ondragend=>
            ondragend
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_ondragenter=>
            ondragenter
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_ondragover=>
            ondragover
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_ondragleave=>
            ondragleave
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_ondrop=>
            ondrop
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onbeforecut=>
            onbeforecut
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_oncut=>
            oncut
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onbeforecopy=>
            onbeforecopy
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_oncopy=>
            oncopy
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onbeforepaste=>
            onbeforepaste
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onpaste=>
            onpaste
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_oncontextmenu=>
            oncontextmenu
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onrowsdelete=>
            onrowsdelete
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onrowsinserted=>
            onrowsinserted
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_oncellchange=>
            oncellchange
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onreadystatechange=>
            onreadystatechange
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onbeforeeditfocus=>
            onbeforeeditfocus
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onlayoutcomplete=>
            onlayoutcomplete
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onpage=>
            onpage
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onbeforedeactivate=>
            onbeforedeactivate
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onbeforeactivate=>
            onbeforeactivate
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onmove=>
            onmove
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_oncontrolselect=>
            oncontrolselect
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onmovestart=>
            onmovestart
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onmoveend=>
            onmoveend
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onresizestart=>
            onresizestart
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onresizeend=>
            onresizeend
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onmouseenter=>
            onmouseenter
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onmouseleave=>
            onmouseleave
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onmousewheel=>
            onmousewheel
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onactivate=>
            onactivate
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_ondeactivate=>
            ondeactivate
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onfocusin=>
            onfocusin
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onfocusout=>
            onfocusout
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onload=>
            onload
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onerror=>
            onerror
              (HTMLImgEvents_Event'Class (Event_Object.all));
         when HTMLImgEvents_onabort=>
            onabort
              (HTMLImgEvents_Event'Class (Event_Object.all));
         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_HTMLImgEvents,
         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_HTMLImgEvents,
         Event_Interface,
         Free);
   end Set_Events;

   procedure onhelp
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onhelp;

   procedure onclick
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onclick;

   procedure ondblclick
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end ondblclick;

   procedure onkeypress
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onkeypress;

   procedure onkeydown
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onkeydown;

   procedure onkeyup
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onkeyup;

   procedure onmouseout
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onmouseout;

   procedure onmouseover
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onmouseover;

   procedure onmousemove
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onmousemove;

   procedure onmousedown
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onmousedown;

   procedure onmouseup
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onmouseup;

   procedure onselectstart
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onselectstart;

   procedure onfilterchange
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onfilterchange;

   procedure ondragstart
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end ondragstart;

   procedure onbeforeupdate
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onbeforeupdate;

   procedure onafterupdate
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onafterupdate;

   procedure onerrorupdate
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onerrorupdate;

   procedure onrowexit
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onrowexit;

   procedure onrowenter
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onrowenter;

   procedure ondatasetchanged
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end ondatasetchanged;

   procedure ondataavailable
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end ondataavailable;

   procedure ondatasetcomplete
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end ondatasetcomplete;

   procedure onlosecapture
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onlosecapture;

   procedure onpropertychange
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onpropertychange;

   procedure onscroll
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onscroll;

   procedure onfocus
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onfocus;

   procedure onblur
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onblur;

   procedure onresize
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onresize;

   procedure ondrag
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end ondrag;

   procedure ondragend
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end ondragend;

   procedure ondragenter
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end ondragenter;

   procedure ondragover
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end ondragover;

   procedure ondragleave
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end ondragleave;

   procedure ondrop
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end ondrop;

   procedure onbeforecut
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onbeforecut;

   procedure oncut
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end oncut;

   procedure onbeforecopy
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onbeforecopy;

   procedure oncopy
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end oncopy;

   procedure onbeforepaste
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onbeforepaste;

   procedure onpaste
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onpaste;

   procedure oncontextmenu
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end oncontextmenu;

   procedure onrowsdelete
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onrowsdelete;

   procedure onrowsinserted
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onrowsinserted;

   procedure oncellchange
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end oncellchange;

   procedure onreadystatechange
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onreadystatechange;

   procedure onbeforeeditfocus
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onbeforeeditfocus;

   procedure onlayoutcomplete
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onlayoutcomplete;

   procedure onpage
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onpage;

   procedure onbeforedeactivate
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onbeforedeactivate;

   procedure onbeforeactivate
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onbeforeactivate;

   procedure onmove
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onmove;

   procedure oncontrolselect
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end oncontrolselect;

   procedure onmovestart
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onmovestart;

   procedure onmoveend
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onmoveend;

   procedure onresizestart
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onresizestart;

   procedure onresizeend
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onresizeend;

   procedure onmouseenter
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onmouseenter;

   procedure onmouseleave
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onmouseleave;

   procedure onmousewheel
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onmousewheel;

   procedure onactivate
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onactivate;

   procedure ondeactivate
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end ondeactivate;

   procedure onfocusin
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onfocusin;

   procedure onfocusout
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onfocusout;

   procedure onload
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onload;

   procedure onerror
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onerror;

   procedure onabort
     (This : HTMLImgEvents_Event)
   is
   begin
      null;
   end onabort;

end MSHTML.HTMLImgEvents_Events;

