with GNATCOM.IInterface;

package MSHTML.IDOMEventRegistrationCallback_Interface is

   type IDOMEventRegistrationCallback_Type is
     new GNATCOM.IInterface.Interface_Type with null record;

   procedure Initialize (This : in out IDOMEventRegistrationCallback_Type);

   function Pointer (This : IDOMEventRegistrationCallback_Type)
     return Pointer_To_IDOMEventRegistrationCallback;

   procedure Attach (This    : in out IDOMEventRegistrationCallback_Type;
                     Pointer : in     Pointer_To_IDOMEventRegistrationCallback);

   procedure OnDOMEventListenerAdded
     (This         : IDOMEventRegistrationCallback_Type;
      pszEventType : GNATCOM.Types.LPWSTR;
      pHandler     : Pointer_To_IScriptEventHandler);

   procedure OnDOMEventListenerRemoved
     (This      : IDOMEventRegistrationCallback_Type;
      ullCookie : GNATCOM.Types.DWORDLONG);

end MSHTML.IDOMEventRegistrationCallback_Interface;

