package body MSHTML.HTMLElementEvents2_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 HTMLElementEvents2_onhelp=>
            onhelp
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onclick=>
            onclick
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_ondblclick=>
            ondblclick
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onkeypress=>
            onkeypress
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onkeydown=>
            onkeydown
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onkeyup=>
            onkeyup
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onmouseout=>
            onmouseout
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onmouseover=>
            onmouseover
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onmousemove=>
            onmousemove
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onmousedown=>
            onmousedown
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onmouseup=>
            onmouseup
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onselectstart=>
            onselectstart
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onfilterchange=>
            onfilterchange
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_ondragstart=>
            ondragstart
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onbeforeupdate=>
            onbeforeupdate
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onafterupdate=>
            onafterupdate
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onerrorupdate=>
            onerrorupdate
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onrowexit=>
            onrowexit
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onrowenter=>
            onrowenter
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_ondatasetchanged=>
            ondatasetchanged
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_ondataavailable=>
            ondataavailable
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_ondatasetcomplete=>
            ondatasetcomplete
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onlosecapture=>
            onlosecapture
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onpropertychange=>
            onpropertychange
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onscroll=>
            onscroll
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onfocus=>
            onfocus
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onblur=>
            onblur
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onresize=>
            onresize
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_ondrag=>
            ondrag
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_ondragend=>
            ondragend
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_ondragenter=>
            ondragenter
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_ondragover=>
            ondragover
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_ondragleave=>
            ondragleave
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_ondrop=>
            ondrop
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onbeforecut=>
            onbeforecut
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_oncut=>
            oncut
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onbeforecopy=>
            onbeforecopy
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_oncopy=>
            oncopy
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onbeforepaste=>
            onbeforepaste
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onpaste=>
            onpaste
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_oncontextmenu=>
            oncontextmenu
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onrowsdelete=>
            onrowsdelete
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onrowsinserted=>
            onrowsinserted
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_oncellchange=>
            oncellchange
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onreadystatechange=>
            onreadystatechange
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onlayoutcomplete=>
            onlayoutcomplete
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onpage=>
            onpage
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onmouseenter=>
            onmouseenter
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onmouseleave=>
            onmouseleave
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onactivate=>
            onactivate
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_ondeactivate=>
            ondeactivate
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onbeforedeactivate=>
            onbeforedeactivate
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onbeforeactivate=>
            onbeforeactivate
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onfocusin=>
            onfocusin
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onfocusout=>
            onfocusout
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onmove=>
            onmove
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_oncontrolselect=>
            oncontrolselect
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onmovestart=>
            onmovestart
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onmoveend=>
            onmoveend
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onresizestart=>
            onresizestart
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onresizeend=>
            onresizeend
              (HTMLElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLElementEvents2_onmousewheel=>
            onmousewheel
              (HTMLElementEvents2_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_HTMLElementEvents2,
         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_HTMLElementEvents2,
         Event_Interface,
         Free);
   end Set_Events;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

end MSHTML.HTMLElementEvents2_Events;

