with GNATCOM.Dispinterface;

package MSHTML.IHTMLDOMAttribute2_Interface is

   type IHTMLDOMAttribute2_Type is
     new GNATCOM.Dispinterface.Dispinterface_Type with null record;

   procedure Initialize (This : in out IHTMLDOMAttribute2_Type);

   function Pointer (This : IHTMLDOMAttribute2_Type)
     return Pointer_To_IHTMLDOMAttribute2;

   procedure Attach (This    : in out IHTMLDOMAttribute2_Type;
                     Pointer : in     Pointer_To_IHTMLDOMAttribute2);

   function Get_name
     (This : IHTMLDOMAttribute2_Type)
     return GNATCOM.Types.BSTR;

   procedure Put_value
     (This : IHTMLDOMAttribute2_Type;
      p    : GNATCOM.Types.BSTR;
      Free : Boolean := True);

   function Get_value
     (This : IHTMLDOMAttribute2_Type)
     return GNATCOM.Types.BSTR;

   function Get_expando
     (This : IHTMLDOMAttribute2_Type)
     return GNATCOM.Types.VARIANT_BOOL;

   function Get_nodeType
     (This : IHTMLDOMAttribute2_Type)
     return Interfaces.C.long;

   function Get_parentNode
     (This : IHTMLDOMAttribute2_Type)
     return Pointer_To_IHTMLDOMNode;

   function Get_childNodes
     (This : IHTMLDOMAttribute2_Type)
     return GNATCOM.Types.Pointer_To_IDispatch;

   function Get_firstChild
     (This : IHTMLDOMAttribute2_Type)
     return Pointer_To_IHTMLDOMNode;

   function Get_lastChild
     (This : IHTMLDOMAttribute2_Type)
     return Pointer_To_IHTMLDOMNode;

   function Get_previousSibling
     (This : IHTMLDOMAttribute2_Type)
     return Pointer_To_IHTMLDOMNode;

   function Get_nextSibling
     (This : IHTMLDOMAttribute2_Type)
     return Pointer_To_IHTMLDOMNode;

   function Get_attributes
     (This : IHTMLDOMAttribute2_Type)
     return GNATCOM.Types.Pointer_To_IDispatch;

   function Get_ownerDocument
     (This : IHTMLDOMAttribute2_Type)
     return GNATCOM.Types.Pointer_To_IDispatch;

   function insertBefore
     (This     : IHTMLDOMAttribute2_Type;
      newChild : Pointer_To_IHTMLDOMNode;
      refChild : GNATCOM.Types.VARIANT  := GNATCOM.Types.VARIANT_MISSING;
      Free     : Boolean := True)
     return Pointer_To_IHTMLDOMNode;

   function replaceChild
     (This     : IHTMLDOMAttribute2_Type;
      newChild : Pointer_To_IHTMLDOMNode;
      oldChild : Pointer_To_IHTMLDOMNode)
     return Pointer_To_IHTMLDOMNode;

   function removeChild
     (This     : IHTMLDOMAttribute2_Type;
      oldChild : Pointer_To_IHTMLDOMNode)
     return Pointer_To_IHTMLDOMNode;

   function appendChild
     (This     : IHTMLDOMAttribute2_Type;
      newChild : Pointer_To_IHTMLDOMNode)
     return Pointer_To_IHTMLDOMNode;

   function hasChildNodes
     (This      : IHTMLDOMAttribute2_Type)
     return GNATCOM.Types.VARIANT_BOOL;

   function cloneNode
     (This       : IHTMLDOMAttribute2_Type;
      fDeep      : GNATCOM.Types.VARIANT_BOOL)
     return Pointer_To_IHTMLDOMAttribute;

end MSHTML.IHTMLDOMAttribute2_Interface;

