with GNATCOM.Errors;

package body MSHTML.IViewObjectPresentNotify_Interface is

   procedure Initialize (This : in out IViewObjectPresentNotify_Type) is
   begin
      Set_IID (This, IID_IViewObjectPresentNotify);
   end Initialize;

   function Pointer (This : IViewObjectPresentNotify_Type)
     return Pointer_To_IViewObjectPresentNotify
   is
   begin
      return To_Pointer_To_IViewObjectPresentNotify (Address (This));
   end Pointer;

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

   procedure OnPreRender
     (This : IViewObjectPresentNotify_Type)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.OnPreRender
         (Pointer (This)));

   end OnPreRender;

end MSHTML.IViewObjectPresentNotify_Interface;

