- Update headers from wine (mostly formatting)

- Add new headers required to build msxml3

svn path=/trunk/; revision=31380
This commit is contained in:
Marc Piulachs 2007-12-21 22:01:15 +00:00
parent 0263a77674
commit 88fbb3b5c5
10 changed files with 566 additions and 65 deletions

View file

@ -4,7 +4,15 @@
#pragma GCC system_header
#endif
#define DISPID_READYSTATE (-525)
#define DISPID_READYSTATECHANGE (-609)
#define DISPID_AMBIENT_TRANSFERPRIORITY (-728)
#define DISPID_AMBIENT_OFFLINEIFNOTCONNECTED (-5501)
#define DISPID_AMBIENT_SILENT (-5502)
#ifndef DISPID_AMBIENT_CODEPAGE
#define DISPID_AMBIENT_CODEPAGE (-725)
#define DISPID_AMBIENT_CHARSET (-727)
#endif /* DISPID_AMBIENT_CODEPAGE */
#endif

View file

@ -19,11 +19,12 @@
#include <msxmldid.h>
#ifndef DO_NO_IMPORTS
import "unknwn.idl";
import "wtypes.idl";
import "objidl.idl";
import "oaidl.idl";
#endif
[
local,
@ -208,7 +209,7 @@ interface IXMLElement2 : IDispatch
HRESULT removeChild([in]IXMLElement2 *pChildElem);
[propget, id(DISPID_XMLELEMENT_ATTRIBUTES)]
HRESULT attributes([retval, out] IXMLElementCollection **pp);
HRESULT attributes([retval, out] IXMLElementCollection **pp);
}
[
@ -238,7 +239,7 @@ interface IXMLDocument2 : IDispatch
[propget, id(DISPID_XMLDOCUMENT_MIMETYPE)]
HRESULT mimeType([retval, out] BSTR *p);
[propget, id(DISPID_XMLDOCUMENT_READYSTATE)]
HRESULT readyState([retval, out]long *pl);
@ -259,8 +260,8 @@ interface IXMLDocument2 : IDispatch
[id(DISPID_XMLDOCUMENT_CREATEELEMENT)]
HRESULT createElement(
[in] VARIANT vType,
[optional, in] VARIANT var,
[in] VARIANT vType,
[optional, in] VARIANT var,
[retval, out] IXMLElement2 **ppElem);
[propget, id(DISPID_XMLDOCUMENT_ASYNC)]
@ -322,8 +323,8 @@ interface IXMLError : IUnknown
]
interface IXMLElementNotificationSink : IDispatch
{
[id(DISPID_XMLNOTIFSINK_CHILDADDED)]
HRESULT ChildAdded([in]IDispatch *pChildElem);
[id(DISPID_XMLNOTIFSINK_CHILDADDED)]
HRESULT ChildAdded([in]IDispatch *pChildElem);
}
[

View file

@ -51,8 +51,8 @@ cpp_quote("#define DOMDocument DOMDocument2")
cpp_quote("#define CLSID_DOMDocument CLSID_DOMDocument2")
cpp_quote("#ifndef __WIDL_XMLDOM_H")
typedef enum tagDOMNodeType
{
typedef enum tagDOMNodeType
{
NODE_INVALID = 0,
NODE_ELEMENT = 1,
NODE_ATTRIBUTE = 2,
@ -272,13 +272,13 @@ interface IXMLDOMDocument : IXMLDOMNode
[id(DISPID_XMLDOM_DOCUMENT_CREATENODE)]
HRESULT createNode(
[in] VARIANT var,
[in] BSTR name,
[in] VARIANT var,
[in] BSTR name,
[in] BSTR uri,
[retval, out] IXMLDOMNode **node);
[id(DISPID_XMLDOM_DOCUMENT_NODEFROMID)]
HRESULT nodeFromID(
HRESULT nodeFromID(
[in] BSTR id,
[retval, out] IXMLDOMNode **node);
@ -306,12 +306,12 @@ interface IXMLDOMDocument : IXMLDOMNode
HRESULT abort();
[id(DISPID_XMLDOM_DOCUMENT_LOADXML)]
HRESULT loadXML(
HRESULT loadXML(
[in] BSTR p,
[out, retval] VARIANT_BOOL *pbool);
[id(DISPID_XMLDOM_DOCUMENT_SAVE)]
HRESULT save(
HRESULT save(
[in] VARIANT var1);
[propget, id(DISPID_XMLDOM_DOCUMENT_VALIDATE)]
@ -461,7 +461,7 @@ interface IXMLDOMSelection : IXMLDOMNodeList
[in] IXMLDOMNode *pNode,
[retval, out] IXMLDOMNode **ppNode);
[id(DISPID_XMLDOM_SELECTION_REMOVENEXT)]
[id(DISPID_XMLDOM_SELECTION_REMOVENEXT)]
HRESULT removeNext(
[retval, out] IXMLDOMNode **ppNode);
@ -533,13 +533,13 @@ interface IXMLDOMNamedNodeMap : IDispatch
[propget, id(DISPID_NEWENUM)]
HRESULT _newEnum([retval, out] IUnknown **ppUnk);
}
[
local,
object,
uuid (3efaa413-272f-11d2-836f-0000f87a7782)
]
interface IXMLDOMDocumentFragment : IXMLDOMNode
interface IXMLDOMDocumentFragment : IXMLDOMNode
{
}
@ -548,7 +548,7 @@ local,
object,
uuid (2933BF84-7B36-11d2-B20E-00C04F983E60)
]
interface IXMLDOMCharacterData : IXMLDOMNode
interface IXMLDOMCharacterData : IXMLDOMNode
{
[propget, id(DISPID_DOM_DATA_DATA)]
HRESULT data([retval, out] BSTR *p);
@ -591,7 +591,7 @@ local,
object,
uuid (2933BF85-7B36-11d2-B20E-00C04F983E60)
]
interface IXMLDOMAttribute : IXMLDOMNode
interface IXMLDOMAttribute : IXMLDOMNode
{
[propget, id(DISPID_DOM_ATTRIBUTE_GETNAME)]
HRESULT name([retval, out] BSTR *p);
@ -608,7 +608,7 @@ local,
object,
uuid (2933BF86-7B36-11d2-B20E-00C04F983E60)
]
interface IXMLDOMElement : IXMLDOMNode
interface IXMLDOMElement : IXMLDOMNode
{
[propget, id(DISPID_DOM_ELEMENT_GETTAGNAME)]
HRESULT tagName([retval, out] BSTR *p);
@ -656,7 +656,7 @@ local,
object,
uuid (2933BF87-7B36-11d2-B20E-00C04F983E60)
]
interface IXMLDOMText : IXMLDOMCharacterData
interface IXMLDOMText : IXMLDOMCharacterData
{
[id(DISPID_DOM_TEXT_SPLITTEXT)]
HRESULT splitText(
@ -669,7 +669,7 @@ local,
object,
uuid (2933BF88-7B36-11d2-B20E-00C04F983E60)
]
interface IXMLDOMComment : IXMLDOMCharacterData
interface IXMLDOMComment : IXMLDOMCharacterData
{
}
@ -678,7 +678,7 @@ local,
object,
uuid (2933BF89-7B36-11d2-B20E-00C04F983E60)
]
interface IXMLDOMProcessingInstruction : IXMLDOMNode
interface IXMLDOMProcessingInstruction : IXMLDOMNode
{
[propget, id(DISPID_DOM_PI_TARGET)]
HRESULT target([retval, out] BSTR *p);
@ -695,7 +695,7 @@ local,
object,
uuid (2933BF8A-7B36-11d2-B20E-00C04F983E60)
]
interface IXMLDOMCDATASection : IXMLDOMText
interface IXMLDOMCDATASection : IXMLDOMText
{
}
@ -704,7 +704,7 @@ local,
object,
uuid (2933BF8B-7B36-11d2-B20E-00C04F983E60)
]
interface IXMLDOMDocumentType : IXMLDOMNode
interface IXMLDOMDocumentType : IXMLDOMNode
{
[propget, id(DISPID_DOM_DOCUMENTTYPE_NAME)]
HRESULT name([retval, out] BSTR *p);
@ -721,7 +721,7 @@ local,
object,
uuid (2933BF8C-7B36-11d2-B20E-00C04F983E60)
]
interface IXMLDOMNotation : IXMLDOMNode
interface IXMLDOMNotation : IXMLDOMNode
{
[propget, id(DISPID_DOM_NOTATION_PUBLICID)]
HRESULT publicId([retval, out] VARIANT *id);
@ -735,7 +735,7 @@ local,
object,
uuid (2933BF8D-7B36-11d2-B20E-00C04F983E60)
]
interface IXMLDOMEntity : IXMLDOMNode
interface IXMLDOMEntity : IXMLDOMNode
{
[propget, id(DISPID_DOM_ENTITY_PUBLICID)]
HRESULT publicId([retval, out] VARIANT *id1);
@ -752,7 +752,7 @@ local,
object,
uuid (2933BF8E-7B36-11d2-B20E-00C04F983E60)
]
interface IXMLDOMEntityReference : IXMLDOMNode
interface IXMLDOMEntityReference : IXMLDOMNode
{
}
@ -777,55 +777,55 @@ uuid (3efaa425-272f-11d2-836f-0000f87a7782)
]
interface IXTLRuntime : IXMLDOMNode
{
[id(DISPID_XTLRUNTIME_UNIQUEID)]
[id(DISPID_XTLRUNTIME_UNIQUEID)]
HRESULT uniqueID(
[in]IXMLDOMNode *pNode,
[in]IXMLDOMNode *pNode,
[retval, out]long *pID);
[id(DISPID_XTLRUNTIME_DEPTH)]
HRESULT depth(
[in] IXMLDOMNode *pNode,
[in] IXMLDOMNode *pNode,
[retval, out]long * pDepth);
[id(DISPID_XTLRUNTIME_CHILDNUMBER)]
[id(DISPID_XTLRUNTIME_CHILDNUMBER)]
HRESULT childNumber(
[in]IXMLDOMNode *pNode,
[in]IXMLDOMNode *pNode,
[retval, out] long *pNumber);
[id(DISPID_XTLRUNTIME_ANCESTORCHILDNUMBER)]
HRESULT ancestorChildNumber(
[in]BSTR bstr,
[in]IXMLDOMNode *pNode,
[in]BSTR bstr,
[in]IXMLDOMNode *pNode,
[retval, out]long *pNumber);
[id(DISPID_XTLRUNTIME_ABSOLUTECHILDNUMBER)]
HRESULT absoluteChildNumber(
[in]IXMLDOMNode *pNode,
[in]IXMLDOMNode *pNode,
[retval, out]long *pNumber);
[id(DISPID_XTLRUNTIME_FORMATINDEX)]
HRESULT formatIndex(
[in] long lIndex,
[in] BSTR bstr,
[in] long lIndex,
[in] BSTR bstr,
[retval, out]BSTR *pbstr);
[id(DISPID_XTLRUNTIME_FORMATNUMBER)]
HRESULT formatNumber(
[in] double dblNumber,
[in] BSTR bstr,
[in] double dblNumber,
[in] BSTR bstr,
[retval, out]BSTR *pbstr);
[id(DISPID_XTLRUNTIME_FORMATDATE)]
HRESULT formatDate(
[in] VARIANT var1,
[in] BSTR bstr,
[in] VARIANT var1,
[in] BSTR bstr,
[optional, in] VARIANT var2,
[retval, out]BSTR *pbstr);
[id(DISPID_XTLRUNTIME_FORMATTIME)]
HRESULT formatTime(
[in] VARIANT var1,
[in] BSTR bstr,
[in] VARIANT var1,
[in] BSTR bstr,
[optional, in] VARIANT var2,
[retval, out]BSTR *pbstr);
@ -834,14 +834,14 @@ interface IXTLRuntime : IXMLDOMNode
[
uuid(3efaa427-272f-11d2-836f-0000f87a7782)
]
dispinterface XMLDOMDocumentEvents
dispinterface XMLDOMDocumentEvents
{
properties:
methods:
[id (DISPID_XMLDOMEVENT_ONDATAAVAILABLE)]
[id (DISPID_XMLDOMEVENT_ONDATAAVAILABLE)]
HRESULT ondataavailable();
[id (DISPID_XMLDOMEVENT_ONREADYSTATECHANGE)]
[id (DISPID_XMLDOMEVENT_ONREADYSTATECHANGE)]
HRESULT onreadystatechange();
}
@ -863,7 +863,7 @@ interface IXSLProcessor : IDispatch
[id(DISPID_XMLDOM_PROCESSOR_SETSTARTMODE)]
HRESULT setStartMode(
[in] BSTR p,
[in] BSTR p,
[in, defaultvalue("")] BSTR uri);
[propget, id(DISPID_XMLDOM_PROCESSOR_STARTMODE)]
@ -890,18 +890,18 @@ interface IXSLProcessor : IDispatch
[id(DISPID_XMLDOM_PROCESSOR_ADDPARAMETER)]
HRESULT addParameter(
[in] BSTR p,
[in] VARIANT var,
[in] BSTR p,
[in] VARIANT var,
[in, defaultvalue("")] BSTR uri);
[id(DISPID_XMLDOM_PROCESSOR_ADDOBJECT)]
HRESULT addObject(
[in] IDispatch* obj,
[in] IDispatch* obj,
[in] BSTR uri);
[propget, id(DISPID_XMLDOM_PROCESSOR_STYLESHEET)]
HRESULT stylesheet([retval, out] IXMLDOMNode **node);
}
}
[
local,
@ -919,7 +919,7 @@ interface IXSLTemplate : IDispatch
[id(DISPID_XMLDOM_TEMPLATE_CREATEPROCESSOR)]
HRESULT createProcessor(
[retval, out] IXSLProcessor **ppProcessor);
}
}
[
local,

View file

@ -0,0 +1,271 @@
/*
* Copyright (C) 2005 Vijay Kiran Kamuju
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __MSXML2DID_H__
#define __MSXML2DID_H__
#define DISPID_DOM_BASE 0x00000001
#define DISPID_DOM_COLLECTION_BASE 0x000f4240
#define DISPID_DOM_COLLECTION_MAX 0x002dc6bf
#define DISPID_DOM_NODE 0x00000001
#define DISPID_DOM_NODE_NODENAME 0x00000002
#define DISPID_DOM_NODE_NODEVALUE 0x00000003
#define DISPID_DOM_NODE_NODETYPE 0x00000004
#define DISPID_DOM_NODE_NODETYPEENUM 0x00000005
#define DISPID_DOM_NODE_PARENTNODE 0x00000006
#define DISPID_DOM_NODE_CHILDNODES 0x00000007
#define DISPID_DOM_NODE_FIRSTCHILD 0x00000008
#define DISPID_DOM_NODE_LASTCHILD 0x00000009
#define DISPID_DOM_NODE_PREVIOUSSIBLING 0x0000000a
#define DISPID_DOM_NODE_NEXTSIBLING 0x0000000b
#define DISPID_DOM_NODE_ATTRIBUTES 0x0000000c
#define DISPID_DOM_NODE_INSERTBEFORE 0x0000000d
#define DISPID_DOM_NODE_REPLACECHILD 0x0000000e
#define DISPID_DOM_NODE_REMOVECHILD 0x0000000f
#define DISPID_DOM_NODE_APPENDCHILD 0x00000010
#define DISPID_DOM_NODE_HASCHILDNODES 0x00000011
#define DISPID_DOM_NODE_OWNERDOC 0x00000012
#define DISPID_DOM_NODE_CLONENODE 0x00000013
#define DISPID_XMLDOM_NODE 0x00000014
#define DISPID_XMLDOM_NODE_STRINGTYPE 0x00000015
#define DISPID_XMLDOM_NODE_SPECIFIED 0x00000016
#define DISPID_XMLDOM_NODE_DEFINITION 0x00000017
#define DISPID_XMLDOM_NODE_TEXT 0x00000018
#define DISPID_XMLDOM_NODE_NODETYPEDVALUE 0x00000019
#define DISPID_XMLDOM_NODE_DATATYPE 0x0000001a
#define DISPID_XMLDOM_NODE_XML 0x0000001b
#define DISPID_XMLDOM_NODE_TRANSFORMNODE 0x0000001c
#define DISPID_XMLDOM_NODE_SELECTNODES 0x0000001d
#define DISPID_XMLDOM_NODE_SELECTSINGLENODE 0x0000001e
#define DISPID_XMLDOM_NODE_PARSED 0x0000001f
#define DISPID_XMLDOM_NODE_NAMESPACE 0x00000020
#define DISPID_XMLDOM_NODE_PREFIX 0x00000021
#define DISPID_XMLDOM_NODE_BASENAME 0x00000022
#define DISPID_XMLDOM_NODE_TRANSFORMNODETOOBJECT 0x00000023
#define DISPID_XMLDOM_NODE__TOP 0x00000024
#define DISPID_DOM_DOCUMENT 0x00000025
#define DISPID_DOM_DOCUMENT_DOCTYPE 0x00000026
#define DISPID_DOM_DOCUMENT_IMPLEMENTATION 0x00000027
#define DISPID_DOM_DOCUMENT_DOCUMENTELEMENT 0x00000028
#define DISPID_DOM_DOCUMENT_CREATEELEMENT 0x00000029
#define DISPID_DOM_DOCUMENT_CREATEDOCUMENTFRAGMENT 0x0000002a
#define DISPID_DOM_DOCUMENT_CREATETEXTNODE 0x0000002b
#define DISPID_DOM_DOCUMENT_CREATECOMMENT 0x0000002c
#define DISPID_DOM_DOCUMENT_CREATECDATASECTION 0x0000002d
#define DISPID_DOM_DOCUMENT_CREATEPROCESSINGINSTRUCTION 0x0000002e
#define DISPID_DOM_DOCUMENT_CREATEATTRIBUTE 0x0000002f
#define DISPID_DOM_DOCUMENT_CREATEENTITY 0x00000030
#define DISPID_DOM_DOCUMENT_CREATEENTITYREFERENCE 0x00000031
#define DISPID_DOM_DOCUMENT_GETELEMENTSBYTAGNAME 0x00000032
#define DISPID_DOM_DOCUMENT_TOP 0x00000033
#define DISPID_XMLDOM_DOCUMENT 0x00000034
#define DISPID_XMLDOM_DOCUMENT_DOCUMENTNODE 0x00000035
#define DISPID_XMLDOM_DOCUMENT_CREATENODE 0x00000036
#define DISPID_XMLDOM_DOCUMENT_CREATENODEEX 0x00000037
#define DISPID_XMLDOM_DOCUMENT_NODEFROMID 0x00000038
#define DISPID_XMLDOM_DOCUMENT_DOCUMENTNAMESPACES 0x00000039
#define DISPID_XMLDOM_DOCUMENT_LOAD 0x0000003a
#define DISPID_XMLDOM_DOCUMENT_PARSEERROR 0x0000003b
#define DISPID_XMLDOM_DOCUMENT_URL 0x0000003c
#define DISPID_XMLDOM_DOCUMENT_ASYNC 0x0000003d
#define DISPID_XMLDOM_DOCUMENT_ABORT 0x0000003e
#define DISPID_XMLDOM_DOCUMENT_LOADXML 0x0000003f
#define DISPID_XMLDOM_DOCUMENT_SAVE 0x00000040
#define DISPID_XMLDOM_DOCUMENT_VALIDATE 0x00000041
#define DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE 0x00000042
#define DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE 0x00000043
#define DISPID_XMLDOM_DOCUMENT_ONREADYSTATECHANGE 0x00000044
#define DISPID_XMLDOM_DOCUMENT_ONDATAAVAILABLE 0x00000045
#define DISPID_XMLDOM_DOCUMENT_ONTRANSFORMNODE 0x00000046
#define DISPID_XMLDOM_DOCUMENT__TOP 0x00000047
#define DISPID_DOM_NODELIST 0x00000048
#define DISPID_DOM_NODELIST_ITEM 0x00000049
#define DISPID_DOM_NODELIST_LENGTH 0x0000004a
#define DISPID_XMLDOM_NODELIST 0x0000004b
#define DISPID_XMLDOM_NODELIST_NEXTNODE 0x0000004c
#define DISPID_XMLDOM_NODELIST_RESET 0x0000004d
#define DISPID_XMLDOM_NODELIST_NEWENUM 0x0000004e
#define DISPID_XMLDOM_NODELIST__TOP 0x0000004f
#define DISPID_DOM_NAMEDNODEMAP 0x00000050
#define DISPID_DOM_NAMEDNODEMAP_GETNAMEDITEM 0x00000053
#define DISPID_DOM_NAMEDNODEMAP_SETNAMEDITEM 0x00000054
#define DISPID_DOM_NAMEDNODEMAP_REMOVENAMEDITEM 0x00000055
#define DISPID_XMLDOM_NAMEDNODEMAP 0x00000056
#define DISPID_XMLDOM_NAMEDNODEMAP_GETQUALIFIEDITEM 0x00000057
#define DISPID_XMLDOM_NAMEDNODEMAP_REMOVEQUALIFIEDITEM 0x00000058
#define DISPID_XMLDOM_NAMEDNODEMAP_NEXTNODE 0x00000059
#define DISPID_XMLDOM_NAMEDNODEMAP_RESET 0x0000005a
#define DISPID_XMLDOM_NAMEDNODEMAP_NEWENUM 0x0000005b
#define DISPID_XMLDOM_NAMEDNODEMAP__TOP 0x0000005c
#define DISPID_DOM_W3CWRAPPERS 0x0000005d
#define DISPID_DOM_DOCUMENTFRAGMENT 0x0000005e
#define DISPID_DOM_DOCUMENTFRAGMENT__TOP 0x0000005f
#define DISPID_DOM_ELEMENT 0x00000060
#define DISPID_DOM_ELEMENT_GETTAGNAME 0x00000061
#define DISPID_DOM_ELEMENT_GETATTRIBUTES 0x00000062
#define DISPID_DOM_ELEMENT_GETATTRIBUTE 0x00000063
#define DISPID_DOM_ELEMENT_SETATTRIBUTE 0x00000064
#define DISPID_DOM_ELEMENT_REMOVEATTRIBUTE 0x00000065
#define DISPID_DOM_ELEMENT_GETATTRIBUTENODE 0x00000066
#define DISPID_DOM_ELEMENT_SETATTRIBUTENODE 0x00000067
#define DISPID_DOM_ELEMENT_REMOVEATTRIBUTENODE 0x00000068
#define DISPID_DOM_ELEMENT_GETELEMENTSBYTAGNAME 0x00000069
#define DISPID_DOM_ELEMENT_NORMALIZE 0x0000006a
#define DISPID_DOM_ELEMENT__TOP 0x0000006b
#define DISPID_DOM_DATA 0x0000006c
#define DISPID_DOM_DATA_DATA 0x0000006d
#define DISPID_DOM_DATA_LENGTH 0x0000006e
#define DISPID_DOM_DATA_SUBSTRING 0x0000006f
#define DISPID_DOM_DATA_APPEND 0x00000070
#define DISPID_DOM_DATA_INSERT 0x00000071
#define DISPID_DOM_DATA_DELETE 0x00000072
#define DISPID_DOM_DATA_REPLACE 0x00000073
#define DISPID_DOM_DATA__TOP 0x00000074
#define DISPID_DOM_ATTRIBUTE 0x00000075
#define DISPID_DOM_ATTRIBUTE_GETNAME 0x00000076
#define DISPID_DOM_ATTRIBUTE_SPECIFIED 0x00000077
#define DISPID_DOM_ATTRIBUTE_VALUE 0x00000078
#define DISPID_DOM_ATTRIBUTE__TOP 0x00000079
#define DISPID_DOM_TEXT 0x0000007a
#define DISPID_DOM_TEXT_SPLITTEXT 0x0000007b
#define DISPID_DOM_TEXT_JOINTEXT 0x0000007c
#define DISPID_DOM_TEXT__TOP 0x0000007d
#define DISPID_DOM_PI 0x0000007e
#define DISPID_DOM_PI_TARGET 0x0000007f
#define DISPID_DOM_PI_DATA 0x00000080
#define DISPID_DOM_PI__TOP 0x00000081
#define DISPID_DOM_DOCUMENTTYPE 0x00000082
#define DISPID_DOM_DOCUMENTTYPE_NAME 0x00000083
#define DISPID_DOM_DOCUMENTTYPE_ENTITIES 0x00000084
#define DISPID_DOM_DOCUMENTTYPE_NOTATIONS 0x00000085
#define DISPID_DOM_DOCUMENTTYPE__TOP 0x00000086
#define DISPID_DOM_NOTATION 0x00000087
#define DISPID_DOM_NOTATION_PUBLICID 0x00000088
#define DISPID_DOM_NOTATION_SYSTEMID 0x00000089
#define DISPID_DOM_NOTATION__TOP 0x0000008a
#define DISPID_DOM_ENTITY 0x0000008b
#define DISPID_DOM_ENTITY_PUBLICID 0x0000008c
#define DISPID_DOM_ENTITY_SYSTEMID 0x0000008d
#define DISPID_DOM_ENTITY_NOTATIONNAME 0x0000008e
#define DISPID_DOM_ENTITY__TOP 0x0000008f
#define DISPID_DOM_W3CWRAPPERS_TOP 0x0000008f
#define DISPID_DOM_IMPLEMENTATION 0x00000090
#define DISPID_DOM_IMPLEMENTATION_HASFEATURE 0x00000091
#define DISPID_DOM_IMPLEMENTATION__TOP 0x00000092
#define DISPID_DOM__TOP 0x000000af
#define DISPID_DOM_ERROR 0x000000b0
#define DISPID_DOM_ERROR_ERRORCODE 0x000000b1
#define DISPID_DOM_ERROR_URL 0x000000b2
#define DISPID_DOM_ERROR_REASON 0x000000b3
#define DISPID_DOM_ERROR_SRCTEXT 0x000000b4
#define DISPID_DOM_ERROR_LINE 0x000000b5
#define DISPID_DOM_ERROR_LINEPOS 0x000000b6
#define DISPID_DOM_ERROR_FILEPOS 0x000000b7
#define DISPID_DOM_ERROR__TOP 0x000000b8
#define DISPID_XTLRUNTIME 0x000000b9
#define DISPID_XTLRUNTIME_UNIQUEID 0x000000ba
#define DISPID_XTLRUNTIME_DEPTH 0x000000bb
#define DISPID_XTLRUNTIME_CHILDNUMBER 0x000000bc
#define DISPID_XTLRUNTIME_ANCESTORCHILDNUMBER 0x000000bd
#define DISPID_XTLRUNTIME_ABSOLUTECHILDNUMBER 0x000000be
#define DISPID_XTLRUNTIME_FORMATINDEX 0x000000bf
#define DISPID_XTLRUNTIME_FORMATNUMBER 0x000000c0
#define DISPID_XTLRUNTIME_FORMATDATE 0x000000c1
#define DISPID_XTLRUNTIME_FORMATTIME 0x000000c2
#define DISPID_XTLRUNTIME__TOP 0x000000c3
#define DISPID_XMLDOMEVENT 0x000000c4
#define DISPID_XMLDOMEVENT_ONREADYSTATECHANGE DISPID_READYSTATECHANGE
#define DISPID_XMLDOMEVENT_ONDATAAVAILABLE 0x000000c5
#define DISPID_XMLDOMEVENT__TOP 0x000000c6
#define DISPID_XMLDOM_DOCUMENT2 0x000000c7
#define DISPID_XMLDOM_DOCUMENT2_NAMESPACES 0x000000c8
#define DISPID_XMLDOM_DOCUMENT2_SCHEMAS 0x000000c9
#define DISPID_XMLDOM_DOCUMENT2_VALIDATE 0x000000ca
#define DISPID_XMLDOM_DOCUMENT2_SETPROPERTY 0x000000cb
#define DISPID_XMLDOM_DOCUMENT2_GETPROPERTY 0x000000cc
#define DISPID_XMLDOM_DOCUMENT2__TOP 0x000000cd
#define DISPID_XMLDOM_SCHEMACOLLECTION 0x00000002
#define DISPID_XMLDOM_SCHEMACOLLECTION_ADD 0x00000003
#define DISPID_XMLDOM_SCHEMACOLLECTION_GET 0x00000004
#define DISPID_XMLDOM_SCHEMACOLLECTION_REMOVE 0x00000005
#define DISPID_XMLDOM_SCHEMACOLLECTION_LENGTH 0x00000006
#define DISPID_XMLDOM_SCHEMACOLLECTION_NAMESPACEURI 0x00000007
#define DISPID_XMLDOM_SCHEMACOLLECTION_ADDCOLLECTION 0x00000008
#define DISPID_XMLDOM_SCHEMACOLLECTION__TOP 0x00000009
#define DISPID_XMLDOM_SELECTION 0x0000000a
#define DISPID_XMLDOM_SELECTION_EXPR 0x0000000b
#define DISPID_XMLDOM_SELECTION_CONTEXT 0x0000000c
#define DISPID_XMLDOM_SELECTION_PEEKNODE 0x0000000d
#define DISPID_XMLDOM_SELECTION_MATCHES 0x0000000e
#define DISPID_XMLDOM_SELECTION_REMOVENEXT 0x0000000f
#define DISPID_XMLDOM_SELECTION_REMOVEALL 0x00000010
#define DISPID_XMLDOM_SELECTION_CLONE 0x00000011
#define DISPID_XMLDOM_SELECTION_GETPROPERTY 0x00000012
#define DISPID_XMLDOM_SELECTION_SETPROPERTY 0x00000013
#define DISPID_XMLDOM_SELECTION__TOP 0x00000014
#define DISPID_XMLDOM_TEMPLATE 0x00000001
#define DISPID_XMLDOM_TEMPLATE_STYLESHEET 0x00000002
#define DISPID_XMLDOM_TEMPLATE_CREATEPROCESSOR 0x00000003
#define DISPID_XMLDOM_TEMPLATE__TOP 0x00000004
#define DISPID_XMLDOM_PROCESSOR 0x00000001
#define DISPID_XMLDOM_PROCESSOR_INPUT 0x00000002
#define DISPID_XMLDOM_PROCESSOR_XSLTEMPLATE 0x00000003
#define DISPID_XMLDOM_PROCESSOR_SETSTARTMODE 0x00000004
#define DISPID_XMLDOM_PROCESSOR_STARTMODE 0x00000005
#define DISPID_XMLDOM_PROCESSOR_STARTMODEURI 0x00000006
#define DISPID_XMLDOM_PROCESSOR_OUTPUT 0x00000007
#define DISPID_XMLDOM_PROCESSOR_TRANSFORM 0x00000008
#define DISPID_XMLDOM_PROCESSOR_RESET 0x00000009
#define DISPID_XMLDOM_PROCESSOR_READYSTATE 0x0000000a
#define DISPID_XMLDOM_PROCESSOR_ADDPARAMETER 0x0000000b
#define DISPID_XMLDOM_PROCESSOR_ADDOBJECT 0x0000000c
#define DISPID_XMLDOM_PROCESSOR_STYLESHEET 0x0000000d
#define DISPID_XMLDOM_PROCESSOR__TOP 0x0000000e
#define DISPID_XMLDSO 0x10000
#define DISPID_XMLDSO_DOCUMENT 0x10001
#define DISPID_XMLDSO_JAVADSOCOMPATIBLE 0x10002
#endif /* __MSXML2DID_H__ */

View file

@ -13,7 +13,7 @@
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __MSXMLDID_H__

View file

@ -18,11 +18,12 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef DO_NO_IMPORTS
import "oleidl.idl";
import "oaidl.idl";
import "servprov.idl";
import "urlmon.idl";
#endif
/*****************************************************************************
* IOleControlTypes interface
@ -583,10 +584,10 @@ interface IProvideMultipleClassInfo : IProvideClassInfo2
typedef IProvideMultipleClassInfo *LPPROVIDEMULTIPLECLASSINFO;
HRESULT GetMultiTypeInfoCount(
HRESULT GetMultiTypeInfoCount(
[out] ULONG *pcti);
HRESULT GetInfoOfIndex(
HRESULT GetInfoOfIndex(
[in] ULONG iti,
[in] DWORD dwFlags,
[out] ITypeInfo **pptiCoClass,
@ -1156,7 +1157,7 @@ interface IObjectWithSite : IUnknown
[in] IUnknown * pUnkSite);
HRESULT GetSite(
[in] REFIID riid,
[in] REFIID riid,
[out, iid_is(riid)] PVOID *ppvSite);
}
@ -1243,6 +1244,7 @@ interface IEnumOleUndoUnits : IUnknown
]
interface IOleUndoManager : IUnknown
{
cpp_quote("#define SID_SOleUndoManager IID_IOleUndoManager")
typedef IOleUndoManager *LPOLEUNDOMANAGER;
HRESULT Open( [in] IOleParentUndoUnit *pPUU );
@ -1285,7 +1287,7 @@ interface IQuickActivate : IUnknown
} QACONTAINERFLAGS;
typedef DWORD OLE_COLOR;
typedef struct tagQACONTAINER
{
ULONG cbSize;

View file

@ -14,6 +14,7 @@
<file>mlang.idl</file>
<file>mshtml.idl</file>
<file>msxml.idl</file>
<file>msxml2.idl</file>
<file>oaidl.idl</file>
<file>objidl.idl</file>
<file>objsafe.idl</file>
@ -39,4 +40,6 @@
<file>exdisp.idl</file>
<file>wtypes.idl</file>
<file>comcat.idl</file>
<file>xmldso.idl</file>
<file>xmldom.idl</file>
</module>

View file

@ -0,0 +1,186 @@
/*
* Copyright (C) 2005 Mike McCormack
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __XMLDOMDID_H__
#define __XMLDOMDID_H__
#define DISPID_DOM_BASE 1
#define DISPID_DOM_COLLECTION_BASE 1000000
#define DISPID_DOM_COLLECTION_MAX 2999999
#define DISPID_DOM_NODE 1
#define DISPID_DOM_NODE_NODENAME 2
#define DISPID_DOM_NODE_NODEVALUE 3
#define DISPID_DOM_NODE_NODETYPE 4
#define DISPID_DOM_NODE_NODETYPEENUM 5
#define DISPID_DOM_NODE_PARENTNODE 6
#define DISPID_DOM_NODE_CHILDNODES 7
#define DISPID_DOM_NODE_FIRSTCHILD 8
#define DISPID_DOM_NODE_LASTCHILD 9
#define DISPID_DOM_NODE_PREVIOUSSIBLING 10
#define DISPID_DOM_NODE_NEXTSIBLING 11
#define DISPID_DOM_NODE_ATTRIBUTES 12
#define DISPID_DOM_NODE_INSERTBEFORE 13
#define DISPID_DOM_NODE_REPLACECHILD 14
#define DISPID_DOM_NODE_REMOVECHILD 15
#define DISPID_DOM_NODE_APPENDCHILD 16
#define DISPID_DOM_NODE_HASCHILDNODES 17
#define DISPID_DOM_NODE_OWNERDOC 18
#define DISPID_DOM_NODE_CLONENODE 19
#define DISPID_XMLDOM_NODE 20
#define DISPID_XMLDOM_NODE_STRINGTYPE 21
#define DISPID_XMLDOM_NODE_SPECIFIED 22
#define DISPID_XMLDOM_NODE_DEFINITION 23
#define DISPID_XMLDOM_NODE_TEXT 24
#define DISPID_XMLDOM_NODE_NODETYPEDVALUE 25
#define DISPID_XMLDOM_NODE_DATATYPE 26
#define DISPID_XMLDOM_NODE_XML 27
#define DISPID_XMLDOM_NODE_TRANSFORMNODE 28
#define DISPID_XMLDOM_NODE_SELECTNODES 29
#define DISPID_XMLDOM_NODE_SELECTSINGLENODE 30
#define DISPID_XMLDOM_NODE_PARSED 31
#define DISPID_XMLDOM_NODE_NAMESPACE 32
#define DISPID_XMLDOM_NODE_PREFIX 33
#define DISPID_XMLDOM_NODE_BASENAME 34
#define DISPID_XMLDOM_NODE_TRANSFORMNODETOOBJECT 35
#define DISPID_XMLDOM_NODE__TOP 36
#define DISPID_DOM_DOCUMENT 37
#define DISPID_DOM_DOCUMENT_DOCTYPE 38
#define DISPID_DOM_DOCUMENT_IMPLEMENTATION 39
#define DISPID_DOM_DOCUMENT_DOCUMENTELEMENT 40
#define DISPID_DOM_DOCUMENT_CREATEELEMENT 41
#define DISPID_DOM_DOCUMENT_CREATEDOCUMENTFRAGMENT 42
#define DISPID_DOM_DOCUMENT_CREATETEXTNODE 43
#define DISPID_DOM_DOCUMENT_CREATECOMMENT 44
#define DISPID_DOM_DOCUMENT_CREATECDATASECTION 45
#define DISPID_DOM_DOCUMENT_CREATEPROCESSINGINSTRUCTION 46
#define DISPID_DOM_DOCUMENT_CREATEATTRIBUTE 47
#define DISPID_DOM_DOCUMENT_CREATEENTITY 48
#define DISPID_DOM_DOCUMENT_CREATEENTITYREFERENCE 49
#define DISPID_DOM_DOCUMENT_GETELEMENTSBYTAGNAME 50
#define DISPID_DOM_DOCUMENT_TOP 51
#define DISPID_XMLDOM_DOCUMENT 52
#define DISPID_XMLDOM_DOCUMENT_DOCUMENTNODE 53
#define DISPID_XMLDOM_DOCUMENT_CREATENODE 54
#define DISPID_XMLDOM_DOCUMENT_CREATENODEEX 55
#define DISPID_XMLDOM_DOCUMENT_NODEFROMID 56
#define DISPID_XMLDOM_DOCUMENT_DOCUMENTNAMESPACES 57
#define DISPID_XMLDOM_DOCUMENT_LOAD 58
#define DISPID_XMLDOM_DOCUMENT_PARSEERROR 59
#define DISPID_XMLDOM_DOCUMENT_URL 60
#define DISPID_XMLDOM_DOCUMENT_ASYNC 61
#define DISPID_XMLDOM_DOCUMENT_ABORT 62
#define DISPID_XMLDOM_DOCUMENT_LOADXML 63
#define DISPID_XMLDOM_DOCUMENT_SAVE 64
#define DISPID_XMLDOM_DOCUMENT_VALIDATE 65
#define DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE 66
#define DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE 67
#define DISPID_XMLDOM_DOCUMENT_ONREADYSTATECHANGE 68
#define DISPID_XMLDOM_DOCUMENT_ONDATAAVAILABLE 69
#define DISPID_XMLDOM_DOCUMENT_ONTRANSFORMNODE 70
#define DISPID_XMLDOM_DOCUMENT__TOP 71
#define DISPID_DOM_NODELIST 72
#define DISPID_DOM_NODELIST_ITEM 73
#define DISPID_DOM_NODELIST_LENGTH 74
#define DISPID_XMLDOM_NODELIST 75
#define DISPID_XMLDOM_NODELIST_NEXTNODE 76
#define DISPID_XMLDOM_NODELIST_RESET 77
#define DISPID_XMLDOM_NODELIST_NEWENUM 78
#define DISPID_XMLDOM_NODELIST__TOP 79
#define DISPID_DOM_NAMEDNODEMAP 80
#define DISPID_DOM_NAMEDNODEMAP_GETNAMEDITEM 81
#define DISPID_DOM_NAMEDNODEMAP_SETNAMEDITEM 82
#define DISPID_DOM_NAMEDNODEMAP_REMOVENAMEDITEM 83
#define DISPID_XMLDOM_NAMEDNODEMAP 84
#define DISPID_XMLDOM_NAMEDNODEMAP_GETQUALIFIEDITEM 85
#define DISPID_XMLDOM_NAMEDNODEMAP_REMOVEQUALIFIEDITEM 86
#define DISPID_XMLDOM_NAMEDNODEMAP_NEXTNODE 87
#define DISPID_XMLDOM_NAMEDNODEMAP_RESET 88
#define DISPID_XMLDOM_NAMEDNODEMAP_NEWENUM 89
#define DISPID_XMLDOM_NAMEDNODEMAP__TOP 90
#define DISPID_DOM_W3CWRAPPERS 91
#define DISPID_DOM_DOCUMENTFRAGMENT 92
#define DISPID_DOM_DOCUMENTFRAGMENT__TOP 93
#define DISPID_DOM_ELEMENT 94
#define DISPID_DOM_ELEMENT_GETTAGNAME 95
#define DISPID_DOM_ELEMENT_GETATTRIBUTES 96
#define DISPID_DOM_ELEMENT_GETATTRIBUTE 97
#define DISPID_DOM_ELEMENT_SETATTRIBUTE 98
#define DISPID_DOM_ELEMENT_REMOVEATTRIBUTE 99
#define DISPID_DOM_ELEMENT_GETATTRIBUTENODE 100
#define DISPID_DOM_ELEMENT_SETATTRIBUTENODE 101
#define DISPID_DOM_ELEMENT_REMOVEATTRIBUTENODE 102
#define DISPID_DOM_ELEMENT_GETELEMENTSBYTAGNAME 103
#define DISPID_DOM_ELEMENT_NORMALIZE 104
#define DISPID_DOM_ELEMENT__TOP 105
#define DISPID_DOM_DATA 106
#define DISPID_DOM_DATA_DATA 107
#define DISPID_DOM_DATA_LENGTH 108
#define DISPID_DOM_DATA_SUBSTRING 109
#define DISPID_DOM_DATA_APPEND 110
#define DISPID_DOM_DATA_INSERT 111
#define DISPID_DOM_DATA_DELETE 112
#define DISPID_DOM_DATA_REPLACE 113
#define DISPID_DOM_DATA__TOP 114
#define DISPID_DOM_ATTRIBUTE 115
#define DISPID_DOM_ATTRIBUTE_GETNAME 116
#define DISPID_DOM_ATTRIBUTE_SPECIFIED 117
#define DISPID_DOM_ATTRIBUTE_VALUE 118
#define DISPID_DOM_ATTRIBUTE__TOP 119
#define DISPID_DOM_TEXT 120
#define DISPID_DOM_TEXT_SPLITTEXT 121
#define DISPID_DOM_TEXT_JOINTEXT 122
#define DISPID_DOM_TEXT__TOP 123
#define DISPID_DOM_PI 124
#define DISPID_DOM_PI_TARGET 125
#define DISPID_DOM_PI_DATA 126
#define DISPID_DOM_PI__TOP 127
#define DISPID_DOM_DOCUMENTTYPE 128
#define DISPID_DOM_DOCUMENTTYPE_NAME 129
#define DISPID_DOM_DOCUMENTTYPE_ENTITIES 130
#define DISPID_DOM_DOCUMENTTYPE_NOTATIONS 131
#define DISPID_DOM_DOCUMENTTYPE__TOP 132
#define DISPID_DOM_ERROR 0x000000b0
#define DISPID_DOM_ERROR_ERRORCODE 0x000000b1
#define DISPID_DOM_ERROR_URL 0x000000b2
#define DISPID_DOM_ERROR_REASON 0x000000b3
#define DISPID_DOM_ERROR_SRCTEXT 0x000000b4
#define DISPID_DOM_ERROR_LINE 0x000000b5
#define DISPID_DOM_ERROR_LINEPOS 0x000000b6
#define DISPID_DOM_ERROR_FILEPOS 0x000000b7
#define DISPID_DOM_ERROR__TOP 0x000000b8
#endif /* __XMLDOMDID_H__ */

View file

@ -35,19 +35,19 @@ pointer_default(unique)
]
interface IXMLDSOControl : IDispatch
{
[propget,id(DISPID_XMLDSO_DOCUMENT)]
[propget,id(DISPID_XMLDSO_DOCUMENT)]
HRESULT XMLDocument([out, retval] IXMLDOMDocument** ppDoc);
[propput,id(DISPID_XMLDSO_DOCUMENT)]
[propput,id(DISPID_XMLDSO_DOCUMENT)]
HRESULT XMLDocument([in] IXMLDOMDocument* ppDoc);
[propget,id(DISPID_XMLDSO_JAVADSOCOMPATIBLE)]
[propget,id(DISPID_XMLDSO_JAVADSOCOMPATIBLE)]
HRESULT JavaDSOCompatible([out, retval] BOOL* fJavaDSOCompatible);
[propput,id(DISPID_XMLDSO_JAVADSOCOMPATIBLE)]
[propput,id(DISPID_XMLDSO_JAVADSOCOMPATIBLE)]
HRESULT JavaDSOCompatible([in] BOOL fJavaDSOCompatible);
[propget, id(DISPID_READYSTATE)]
[propget, id(DISPID_READYSTATE)]
HRESULT readyState([out, retval] long *state);
}

View file

@ -0,0 +1,30 @@
/*
* Copyright (C) 2005 Vijay Kiran Kamuju
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
*/
#ifndef __XMLDSODID_H__
#define __XMLDSODID_H__
#define DISPID_XOBJ_MIN 0x00010000
#define DISPID_XOBJ_MAX 0x0001FFFF
#define DISPID_XOBJ_BASE 0x00010000
#define DISPID_XMLDSO 0x00010000
#define DISPID_XMLDSO_DOCUMENT 0x00010001
#define DISPID_XMLDSO_JAVADSOCOMPATIBLE 0x00010002
#endif /* __XMLDSODID_H__ */