include: Added IHTMLAttributeCollection definition.

This commit is contained in:
Piotr Caban 2011-08-23 11:32:52 +02:00 committed by Alexandre Julliard
parent 7d7c79db1d
commit 51aafd5683
2 changed files with 111 additions and 0 deletions

View File

@ -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

View File

@ -4148,6 +4148,58 @@ methods:
WINE_HTMLDOMNODE_DISPINTERFACE_DECL;
}
/*****************************************************************************
* 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
*/
@ -4183,6 +4235,54 @@ interface IHTMLAttributeCollection3 : IDispatch
HRESULT length([retval, out] long *p);
}
/*****************************************************************************
* 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
*/