with GNATCOM.IInterface;

with GNATCOM.Errors;

package body MSHTML.IHTMLTextElement_Interface is

   procedure Initialize (This : in out IHTMLTextElement_Type) is
   begin
      Set_IID (This, IID_IHTMLTextElement);
   end Initialize;

   function Pointer (This : IHTMLTextElement_Type)
     return Pointer_To_IHTMLTextElement
   is
   begin
      return To_Pointer_To_IHTMLTextElement (Address (This));
   end Pointer;

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

end MSHTML.IHTMLTextElement_Interface;

