with GNATCOM.Errors;

package body MSHTML.IElementBehaviorSubmit_Interface is

   procedure Initialize (This : in out IElementBehaviorSubmit_Type) is
   begin
      Set_IID (This, IID_IElementBehaviorSubmit);
   end Initialize;

   function Pointer (This : IElementBehaviorSubmit_Type)
     return Pointer_To_IElementBehaviorSubmit
   is
   begin
      return To_Pointer_To_IElementBehaviorSubmit (Address (This));
   end Pointer;

   procedure Attach (This    : in out IElementBehaviorSubmit_Type;
                     Pointer : in     Pointer_To_IElementBehaviorSubmit)
   is
   begin
      Attach (This, GNATCOM.IInterface.To_Pointer_To_IUnknown
              (Pointer.all'Address));
   end Attach;

   procedure GetSubmitInfo
     (This        : IElementBehaviorSubmit_Type;
      pSubmitData : Pointer_To_IHTMLSubmitData)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.GetSubmitInfo
         (Pointer (This),
          pSubmitData));

   end GetSubmitInfo;

   procedure reset
     (This : IElementBehaviorSubmit_Type)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.reset
         (Pointer (This)));

   end reset;

end MSHTML.IElementBehaviorSubmit_Interface;

