with GNATCOM.Errors;

package body MSHTML.IHTMLChangeSink_Interface is

   procedure Initialize (This : in out IHTMLChangeSink_Type) is
   begin
      Set_IID (This, IID_IHTMLChangeSink);
   end Initialize;

   function Pointer (This : IHTMLChangeSink_Type)
     return Pointer_To_IHTMLChangeSink
   is
   begin
      return To_Pointer_To_IHTMLChangeSink (Address (This));
   end Pointer;

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

   procedure Notify
     (This : IHTMLChangeSink_Type)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.Notify
         (Pointer (This)));

   end Notify;

end MSHTML.IHTMLChangeSink_Interface;

