package body MSHTML.IDOMDragEvent_Object is

   function Get_dataTransfer
     (This : IDOMDragEvent_Type)
     return GNATCOM.Types.VARIANT
   is
   begin
      return Get (This, IDOMDragEvent_Get_dataTransfer);
   end Get_dataTransfer;

   procedure initDragEvent
     (This             : IDOMDragEvent_Type;
      eventType        : GNATCOM.Types.VARIANT;
      canBubble        : GNATCOM.Types.VARIANT;
      cancelable       : GNATCOM.Types.VARIANT;
      viewArg          : GNATCOM.Types.VARIANT;
      detailArg        : GNATCOM.Types.VARIANT;
      screenXArg       : GNATCOM.Types.VARIANT;
      screenYArg       : GNATCOM.Types.VARIANT;
      clientXArg       : GNATCOM.Types.VARIANT;
      clientYArg       : GNATCOM.Types.VARIANT;
      ctrlKeyArg       : GNATCOM.Types.VARIANT;
      altKeyArg        : GNATCOM.Types.VARIANT;
      shiftKeyArg      : GNATCOM.Types.VARIANT;
      metaKeyArg       : GNATCOM.Types.VARIANT;
      buttonArg        : GNATCOM.Types.VARIANT;
      relatedTargetArg : GNATCOM.Types.VARIANT;
      dataTransferArg  : GNATCOM.Types.VARIANT;
      Free             : Boolean := True)
   is
   begin
      Invoke
        (This,
         IDOMDragEvent_initDragEvent,
         GNATCOM.Dispinterface.Parameter_Array'
         (1 => dataTransferArg,
          2 => relatedTargetArg,
          3 => buttonArg,
          4 => metaKeyArg,
          5 => shiftKeyArg,
          6 => altKeyArg,
          7 => ctrlKeyArg,
          8 => clientYArg,
          9 => clientXArg,
          10 => screenYArg,
          11 => screenXArg,
          12 => detailArg,
          13 => viewArg,
          14 => cancelable,
          15 => canBubble,
          16 => eventType),
         Free);
   end initDragEvent;

end MSHTML.IDOMDragEvent_Object;

