with GNATCOM.Errors;

package body MSHTML.IHostBehaviorInit_Interface is

   procedure Initialize (This : in out IHostBehaviorInit_Type) is
   begin
      Set_IID (This, IID_IHostBehaviorInit);
   end Initialize;

   function Pointer (This : IHostBehaviorInit_Type)
     return Pointer_To_IHostBehaviorInit
   is
   begin
      return To_Pointer_To_IHostBehaviorInit (Address (This));
   end Pointer;

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

   procedure PopulateNamespaceTable
     (This : IHostBehaviorInit_Type)
   is
   begin
      GNATCOM.Errors.Error_Check
        (Pointer (This).Vtbl.PopulateNamespaceTable
         (Pointer (This)));

   end PopulateNamespaceTable;

end MSHTML.IHostBehaviorInit_Interface;

