Commit 51aafd56 authored by Piotr Caban's avatar Piotr Caban Committed by Alexandre Julliard

include: Added IHTMLAttributeCollection definition.

parent 7d7c79db
......@@ -1029,6 +1029,17 @@
/* IHTMLElementCollection3 */
#define DISPID_IHTMLELEMENTCOLLECTION3_NAMEDITEM DISPID_COLLECTION+6
/* IHTMLAttributeCollection */
#define DISPID_IHTMLATTRIBUTECOLLECTION_LENGTH DISPID_COLLECTION
#define DISPID_IHTMLATTRIBUTECOLLECTION__NEWENUM DISPID_NEWENUM
#define DISPID_IHTMLATTRIBUTECOLLECTION_ITEM DISPID_VALUE
/* IHTMLAttributeCollection2 */
#define DISPID_IHTMLATTRIBUTECOLLECTION2_GETNAMEDITEM DISPID_COLLECTION+1
#define DISPID_IHTMLATTRIBUTECOLLECTION2_SETNAMEDITEM DISPID_COLLECTION+2
#define DISPID_IHTMLATTRIBUTECOLLECTION2_REMOVENAMEDITEM DISPID_COLLECTION+3
/* IHTMLAttributeCollection3 */
#define DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_GETNAMEDITEM DISPID_IE8_NAMEDNODEMAP
#define DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_SETNAMEDITEM DISPID_IE8_NAMEDNODEMAP+1
......
......@@ -4149,6 +4149,58 @@ methods:
}
/*****************************************************************************
* IHTMLAttributeCollection interface
*/
[
odl,
oleautomation,
dual,
uuid(3050f4c3-98b5-11cf-bb82-00aa00bdce0b)
]
interface IHTMLAttributeCollection : IDispatch
{
[propget, id(DISPID_IHTMLATTRIBUTECOLLECTION_LENGTH)]
HRESULT length(
[retval, out] long *p);
[propget, id(DISPID_IHTMLATTRIBUTECOLLECTION__NEWENUM), hidden, restricted]
HRESULT _newEnum(
[retval, out] IUnknown **p);
[id(DISPID_IHTMLATTRIBUTECOLLECTION_ITEM)]
HRESULT item(
[optional, in] VARIANT *name,
[retval, out] IDispatch **pdisp);
}
/*****************************************************************************
* IHTMLAttributeCollection2 interface
*/
[
odl,
oleautomation,
dual,
uuid(3050f80a-98b5-11cf-bb82-00aa00bdce0b)
]
interface IHTMLAttributeCollection2 : IDispatch
{
[id(DISPID_IHTMLATTRIBUTECOLLECTION2_GETNAMEDITEM)]
HRESULT getNamedItem(
[in] BSTR bstrName,
[retval, out] IHTMLDOMAttribute **newretNode);
[id(DISPID_IHTMLATTRIBUTECOLLECTION2_SETNAMEDITEM)]
HRESULT setNamedItem(
[in] IHTMLDOMAttribute *ppNode,
[retval, out] IHTMLDOMAttribute **newretNode);
[id(DISPID_IHTMLATTRIBUTECOLLECTION2_REMOVENAMEDITEM)]
HRESULT removeNamedItem(
[in] BSTR bstrName,
[retval, out] IHTMLDOMAttribute **newretNode);
}
/*****************************************************************************
* IHTMLAttributeCollection3 interface
*/
[
......@@ -4184,6 +4236,54 @@ interface IHTMLAttributeCollection3 : IDispatch
}
/*****************************************************************************
* DispHTMLAttributeCollection dispinterface
*/
[
hidden,
uuid(3050f56c-98b5-11cf-bb82-00aa00bdce0b)
]
dispinterface DispHTMLAttributeCollection
{
properties:
methods:
[propget, id(DISPID_IHTMLATTRIBUTECOLLECTION_LENGTH)]
long length();
[propget, id(DISPID_IHTMLATTRIBUTECOLLECTION__NEWENUM), hidden, restricted]
IUnknown *_newEnum();
[id(DISPID_IHTMLATTRIBUTECOLLECTION_ITEM)]
IDispatch *item([optional, in] VARIANT *name);
[id(DISPID_IHTMLATTRIBUTECOLLECTION2_GETNAMEDITEM)]
IHTMLDOMAttribute *getNamedItem([in] BSTR bstrName);
[id(DISPID_IHTMLATTRIBUTECOLLECTION2_SETNAMEDITEM)]
IHTMLDOMAttribute *setNamedItem([in] IHTMLDOMAttribute *ppNode);
[id(DISPID_IHTMLATTRIBUTECOLLECTION2_REMOVENAMEDITEM)]
IHTMLDOMAttribute *removeNamedItem([in] BSTR bstrName);
[id(DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_GETNAMEDITEM)]
IHTMLDOMAttribute *ie8_getNamedItem([in] BSTR bstrName);
[id(DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_SETNAMEDITEM)]
IHTMLDOMAttribute *ie8_setNamedItem([in] IHTMLDOMAttribute *pNodeIn);
[id(DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_REMOVENAMEDITEM)]
IHTMLDOMAttribute *ie8_removeNamedItem([in] BSTR bstrName);
[id(DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_ITEM)]
IHTMLDOMAttribute *ie8_item([in] long index);
[propget, id(DISPID_IHTMLATTRIBUTECOLLECTION3_IE8_LENGTH)]
long ie8_length();
[propget, id(DISPID_IHTMLDOMCONSTRUCTOR_CONSTRUCTOR), hidden]
IDispatch *constructor();
}
/*****************************************************************************
* IHTMLDOMChildrenCollection interface
*/
[
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment