with GNATCOM.Dispinterface;

package MSHTML.IDOMCustomEvent_Interface is

   type IDOMCustomEvent_Type is
     new GNATCOM.Dispinterface.Dispinterface_Type with null record;

   procedure Initialize (This : in out IDOMCustomEvent_Type);

   function Pointer (This : IDOMCustomEvent_Type)
     return Pointer_To_IDOMCustomEvent;

   procedure Attach (This    : in out IDOMCustomEvent_Type;
                     Pointer : in     Pointer_To_IDOMCustomEvent);

   function Get_detail
     (This : IDOMCustomEvent_Type)
     return GNATCOM.Types.VARIANT;

   procedure initCustomEvent
     (This       : IDOMCustomEvent_Type;
      eventType  : GNATCOM.Types.BSTR;
      canBubble  : GNATCOM.Types.VARIANT_BOOL;
      cancelable : GNATCOM.Types.VARIANT_BOOL;
      detail     : access GNATCOM.Types.VARIANT :=
        GNATCOM.Types.PVARIANT_MISSING;
      Free       : Boolean := True);

end MSHTML.IDOMCustomEvent_Interface;

