package body MSHTML.HTMLControlElementEvents2_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 HTMLControlElementEvents2_onhelp=>
            onhelp
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onclick=>
            onclick
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_ondblclick=>
            ondblclick
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onkeypress=>
            onkeypress
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onkeydown=>
            onkeydown
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onkeyup=>
            onkeyup
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onmouseout=>
            onmouseout
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onmouseover=>
            onmouseover
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onmousemove=>
            onmousemove
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onmousedown=>
            onmousedown
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onmouseup=>
            onmouseup
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onselectstart=>
            onselectstart
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onfilterchange=>
            onfilterchange
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_ondragstart=>
            ondragstart
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onbeforeupdate=>
            onbeforeupdate
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onafterupdate=>
            onafterupdate
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onerrorupdate=>
            onerrorupdate
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onrowexit=>
            onrowexit
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onrowenter=>
            onrowenter
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_ondatasetchanged=>
            ondatasetchanged
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_ondataavailable=>
            ondataavailable
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_ondatasetcomplete=>
            ondatasetcomplete
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onlosecapture=>
            onlosecapture
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onpropertychange=>
            onpropertychange
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onscroll=>
            onscroll
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onfocus=>
            onfocus
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onblur=>
            onblur
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onresize=>
            onresize
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_ondrag=>
            ondrag
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_ondragend=>
            ondragend
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_ondragenter=>
            ondragenter
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_ondragover=>
            ondragover
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_ondragleave=>
            ondragleave
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_ondrop=>
            ondrop
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onbeforecut=>
            onbeforecut
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_oncut=>
            oncut
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onbeforecopy=>
            onbeforecopy
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_oncopy=>
            oncopy
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onbeforepaste=>
            onbeforepaste
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onpaste=>
            onpaste
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_oncontextmenu=>
            oncontextmenu
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onrowsdelete=>
            onrowsdelete
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onrowsinserted=>
            onrowsinserted
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_oncellchange=>
            oncellchange
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onreadystatechange=>
            onreadystatechange
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onlayoutcomplete=>
            onlayoutcomplete
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onpage=>
            onpage
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onmouseenter=>
            onmouseenter
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onmouseleave=>
            onmouseleave
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onactivate=>
            onactivate
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_ondeactivate=>
            ondeactivate
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onbeforedeactivate=>
            onbeforedeactivate
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onbeforeactivate=>
            onbeforeactivate
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onfocusin=>
            onfocusin
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onfocusout=>
            onfocusout
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onmove=>
            onmove
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_oncontrolselect=>
            oncontrolselect
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onmovestart=>
            onmovestart
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onmoveend=>
            onmoveend
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onresizestart=>
            onresizestart
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onresizeend=>
            onresizeend
              (HTMLControlElementEvents2_Event'Class (Event_Object.all),
               pdispparams.rgvarg (0));
         when HTMLControlElementEvents2_onmousewheel=>
            onmousewheel
              (HTMLControlElementEvents2_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_HTMLControlElementEvents2,
         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_HTMLControlElementEvents2,
         Event_Interface,
         Free);
   end Set_Events;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

end MSHTML.HTMLControlElementEvents2_Events;

