package body MSHTML.HTMLButtonElementEvents_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 HTMLButtonElementEvents_onhelp=>
            onhelp
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onclick=>
            onclick
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_ondblclick=>
            ondblclick
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onkeypress=>
            onkeypress
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onkeydown=>
            onkeydown
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onkeyup=>
            onkeyup
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onmouseout=>
            onmouseout
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onmouseover=>
            onmouseover
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onmousemove=>
            onmousemove
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onmousedown=>
            onmousedown
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onmouseup=>
            onmouseup
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onselectstart=>
            onselectstart
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onfilterchange=>
            onfilterchange
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_ondragstart=>
            ondragstart
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onbeforeupdate=>
            onbeforeupdate
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onafterupdate=>
            onafterupdate
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onerrorupdate=>
            onerrorupdate
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onrowexit=>
            onrowexit
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onrowenter=>
            onrowenter
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_ondatasetchanged=>
            ondatasetchanged
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_ondataavailable=>
            ondataavailable
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_ondatasetcomplete=>
            ondatasetcomplete
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onlosecapture=>
            onlosecapture
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onpropertychange=>
            onpropertychange
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onscroll=>
            onscroll
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onfocus=>
            onfocus
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onblur=>
            onblur
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onresize=>
            onresize
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_ondrag=>
            ondrag
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_ondragend=>
            ondragend
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_ondragenter=>
            ondragenter
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_ondragover=>
            ondragover
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_ondragleave=>
            ondragleave
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_ondrop=>
            ondrop
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onbeforecut=>
            onbeforecut
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_oncut=>
            oncut
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onbeforecopy=>
            onbeforecopy
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_oncopy=>
            oncopy
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onbeforepaste=>
            onbeforepaste
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onpaste=>
            onpaste
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_oncontextmenu=>
            oncontextmenu
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onrowsdelete=>
            onrowsdelete
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onrowsinserted=>
            onrowsinserted
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_oncellchange=>
            oncellchange
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onreadystatechange=>
            onreadystatechange
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onbeforeeditfocus=>
            onbeforeeditfocus
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onlayoutcomplete=>
            onlayoutcomplete
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onpage=>
            onpage
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onbeforedeactivate=>
            onbeforedeactivate
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onbeforeactivate=>
            onbeforeactivate
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onmove=>
            onmove
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_oncontrolselect=>
            oncontrolselect
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onmovestart=>
            onmovestart
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onmoveend=>
            onmoveend
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onresizestart=>
            onresizestart
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onresizeend=>
            onresizeend
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onmouseenter=>
            onmouseenter
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onmouseleave=>
            onmouseleave
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onmousewheel=>
            onmousewheel
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onactivate=>
            onactivate
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_ondeactivate=>
            ondeactivate
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onfocusin=>
            onfocusin
              (HTMLButtonElementEvents_Event'Class (Event_Object.all));
         when HTMLButtonElementEvents_onfocusout=>
            onfocusout
              (HTMLButtonElementEvents_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_HTMLButtonElementEvents,
         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_HTMLButtonElementEvents,
         Event_Interface,
         Free);
   end Set_Events;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

end MSHTML.HTMLButtonElementEvents_Events;

