with GNATCOM.Errors;

package body MSHTML.IHTMLChangeLog_Interface is

   procedure Initialize (This : in out IHTMLChangeLog_Type) is
   begin
      Set_IID (This, IID_IHTMLChangeLog);
   end Initialize;

   function Pointer (This : IHTMLChangeLog_Type)
     return Pointer_To_IHTMLChangeLog
   is
   begin
      return To_Pointer_To_IHTMLChangeLog (Address (This));
   end Pointer;

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

   procedure GetNextChange
     (This           : IHTMLChangeLog_Type;
      pbBuffer       : Pointer_To_unsigned_char;
      nBufferSize    : Interfaces.C.long;
      pnRecordLength : GNATCOM.Types.Pointer_To_long)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.GetNextChange
         (Pointer (This),
          pbBuffer,
          nBufferSize,
          pnRecordLength));

   end GetNextChange;

end MSHTML.IHTMLChangeLog_Interface;

