with GNATCOM.IInterface;

with GNATCOM.Errors;

package body MSHTML.IHTCMethodBehavior_Interface is

   procedure Initialize (This : in out IHTCMethodBehavior_Type) is
   begin
      Set_IID (This, IID_IHTCMethodBehavior);
   end Initialize;

   function Pointer (This : IHTCMethodBehavior_Type)
     return Pointer_To_IHTCMethodBehavior
   is
   begin
      return To_Pointer_To_IHTCMethodBehavior (Address (This));
   end Pointer;

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

end MSHTML.IHTCMethodBehavior_Interface;

