Sync with trunk (r48545)
[reactos.git] / include / psdk / xmldomdid.h
1 /*
2 * Copyright (C) 2005 Mike McCormack
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19 #ifndef __XMLDOMDID_H__
20 #define __XMLDOMDID_H__
21
22 #define DISPID_DOM_BASE 1
23 #define DISPID_DOM_COLLECTION_BASE 1000000
24 #define DISPID_DOM_COLLECTION_MAX 2999999
25
26 #define DISPID_DOM_NODE 1
27 #define DISPID_DOM_NODE_NODENAME 2
28 #define DISPID_DOM_NODE_NODEVALUE 3
29 #define DISPID_DOM_NODE_NODETYPE 4
30 #define DISPID_DOM_NODE_NODETYPEENUM 5
31 #define DISPID_DOM_NODE_PARENTNODE 6
32 #define DISPID_DOM_NODE_CHILDNODES 7
33 #define DISPID_DOM_NODE_FIRSTCHILD 8
34 #define DISPID_DOM_NODE_LASTCHILD 9
35 #define DISPID_DOM_NODE_PREVIOUSSIBLING 10
36 #define DISPID_DOM_NODE_NEXTSIBLING 11
37 #define DISPID_DOM_NODE_ATTRIBUTES 12
38 #define DISPID_DOM_NODE_INSERTBEFORE 13
39 #define DISPID_DOM_NODE_REPLACECHILD 14
40 #define DISPID_DOM_NODE_REMOVECHILD 15
41 #define DISPID_DOM_NODE_APPENDCHILD 16
42 #define DISPID_DOM_NODE_HASCHILDNODES 17
43 #define DISPID_DOM_NODE_OWNERDOC 18
44 #define DISPID_DOM_NODE_CLONENODE 19
45
46 #define DISPID_XMLDOM_NODE 20
47 #define DISPID_XMLDOM_NODE_STRINGTYPE 21
48 #define DISPID_XMLDOM_NODE_SPECIFIED 22
49 #define DISPID_XMLDOM_NODE_DEFINITION 23
50 #define DISPID_XMLDOM_NODE_TEXT 24
51 #define DISPID_XMLDOM_NODE_NODETYPEDVALUE 25
52 #define DISPID_XMLDOM_NODE_DATATYPE 26
53 #define DISPID_XMLDOM_NODE_XML 27
54 #define DISPID_XMLDOM_NODE_TRANSFORMNODE 28
55 #define DISPID_XMLDOM_NODE_SELECTNODES 29
56 #define DISPID_XMLDOM_NODE_SELECTSINGLENODE 30
57 #define DISPID_XMLDOM_NODE_PARSED 31
58 #define DISPID_XMLDOM_NODE_NAMESPACE 32
59 #define DISPID_XMLDOM_NODE_PREFIX 33
60 #define DISPID_XMLDOM_NODE_BASENAME 34
61 #define DISPID_XMLDOM_NODE_TRANSFORMNODETOOBJECT 35
62 #define DISPID_XMLDOM_NODE__TOP 36
63
64 #define DISPID_DOM_DOCUMENT 37
65 #define DISPID_DOM_DOCUMENT_DOCTYPE 38
66 #define DISPID_DOM_DOCUMENT_IMPLEMENTATION 39
67 #define DISPID_DOM_DOCUMENT_DOCUMENTELEMENT 40
68 #define DISPID_DOM_DOCUMENT_CREATEELEMENT 41
69 #define DISPID_DOM_DOCUMENT_CREATEDOCUMENTFRAGMENT 42
70 #define DISPID_DOM_DOCUMENT_CREATETEXTNODE 43
71 #define DISPID_DOM_DOCUMENT_CREATECOMMENT 44
72 #define DISPID_DOM_DOCUMENT_CREATECDATASECTION 45
73 #define DISPID_DOM_DOCUMENT_CREATEPROCESSINGINSTRUCTION 46
74 #define DISPID_DOM_DOCUMENT_CREATEATTRIBUTE 47
75 #define DISPID_DOM_DOCUMENT_CREATEENTITY 48
76 #define DISPID_DOM_DOCUMENT_CREATEENTITYREFERENCE 49
77 #define DISPID_DOM_DOCUMENT_GETELEMENTSBYTAGNAME 50
78 #define DISPID_DOM_DOCUMENT_TOP 51
79
80 #define DISPID_XMLDOM_DOCUMENT 52
81 #define DISPID_XMLDOM_DOCUMENT_DOCUMENTNODE 53
82 #define DISPID_XMLDOM_DOCUMENT_CREATENODE 54
83 #define DISPID_XMLDOM_DOCUMENT_CREATENODEEX 55
84 #define DISPID_XMLDOM_DOCUMENT_NODEFROMID 56
85 #define DISPID_XMLDOM_DOCUMENT_DOCUMENTNAMESPACES 57
86 #define DISPID_XMLDOM_DOCUMENT_LOAD 58
87 #define DISPID_XMLDOM_DOCUMENT_PARSEERROR 59
88 #define DISPID_XMLDOM_DOCUMENT_URL 60
89 #define DISPID_XMLDOM_DOCUMENT_ASYNC 61
90 #define DISPID_XMLDOM_DOCUMENT_ABORT 62
91 #define DISPID_XMLDOM_DOCUMENT_LOADXML 63
92 #define DISPID_XMLDOM_DOCUMENT_SAVE 64
93 #define DISPID_XMLDOM_DOCUMENT_VALIDATE 65
94 #define DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE 66
95 #define DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE 67
96 #define DISPID_XMLDOM_DOCUMENT_ONREADYSTATECHANGE 68
97 #define DISPID_XMLDOM_DOCUMENT_ONDATAAVAILABLE 69
98 #define DISPID_XMLDOM_DOCUMENT_ONTRANSFORMNODE 70
99 #define DISPID_XMLDOM_DOCUMENT__TOP 71
100
101 #define DISPID_DOM_NODELIST 72
102 #define DISPID_DOM_NODELIST_ITEM 73
103 #define DISPID_DOM_NODELIST_LENGTH 74
104
105 #define DISPID_XMLDOM_NODELIST 75
106 #define DISPID_XMLDOM_NODELIST_NEXTNODE 76
107 #define DISPID_XMLDOM_NODELIST_RESET 77
108 #define DISPID_XMLDOM_NODELIST_NEWENUM 78
109 #define DISPID_XMLDOM_NODELIST__TOP 79
110
111 #define DISPID_DOM_NAMEDNODEMAP 80
112 #define DISPID_DOM_NAMEDNODEMAP_GETNAMEDITEM 81
113 #define DISPID_DOM_NAMEDNODEMAP_SETNAMEDITEM 82
114 #define DISPID_DOM_NAMEDNODEMAP_REMOVENAMEDITEM 83
115
116 #define DISPID_XMLDOM_NAMEDNODEMAP 84
117 #define DISPID_XMLDOM_NAMEDNODEMAP_GETQUALIFIEDITEM 85
118 #define DISPID_XMLDOM_NAMEDNODEMAP_REMOVEQUALIFIEDITEM 86
119 #define DISPID_XMLDOM_NAMEDNODEMAP_NEXTNODE 87
120 #define DISPID_XMLDOM_NAMEDNODEMAP_RESET 88
121 #define DISPID_XMLDOM_NAMEDNODEMAP_NEWENUM 89
122 #define DISPID_XMLDOM_NAMEDNODEMAP__TOP 90
123
124 #define DISPID_DOM_W3CWRAPPERS 91
125
126 #define DISPID_DOM_DOCUMENTFRAGMENT 92
127 #define DISPID_DOM_DOCUMENTFRAGMENT__TOP 93
128
129 #define DISPID_DOM_ELEMENT 94
130 #define DISPID_DOM_ELEMENT_GETTAGNAME 95
131 #define DISPID_DOM_ELEMENT_GETATTRIBUTES 96
132 #define DISPID_DOM_ELEMENT_GETATTRIBUTE 97
133 #define DISPID_DOM_ELEMENT_SETATTRIBUTE 98
134 #define DISPID_DOM_ELEMENT_REMOVEATTRIBUTE 99
135 #define DISPID_DOM_ELEMENT_GETATTRIBUTENODE 100
136 #define DISPID_DOM_ELEMENT_SETATTRIBUTENODE 101
137 #define DISPID_DOM_ELEMENT_REMOVEATTRIBUTENODE 102
138 #define DISPID_DOM_ELEMENT_GETELEMENTSBYTAGNAME 103
139 #define DISPID_DOM_ELEMENT_NORMALIZE 104
140 #define DISPID_DOM_ELEMENT__TOP 105
141
142 #define DISPID_DOM_DATA 106
143 #define DISPID_DOM_DATA_DATA 107
144 #define DISPID_DOM_DATA_LENGTH 108
145 #define DISPID_DOM_DATA_SUBSTRING 109
146 #define DISPID_DOM_DATA_APPEND 110
147 #define DISPID_DOM_DATA_INSERT 111
148 #define DISPID_DOM_DATA_DELETE 112
149 #define DISPID_DOM_DATA_REPLACE 113
150 #define DISPID_DOM_DATA__TOP 114
151
152 #define DISPID_DOM_ATTRIBUTE 115
153 #define DISPID_DOM_ATTRIBUTE_GETNAME 116
154 #define DISPID_DOM_ATTRIBUTE_SPECIFIED 117
155 #define DISPID_DOM_ATTRIBUTE_VALUE 118
156 #define DISPID_DOM_ATTRIBUTE__TOP 119
157
158 #define DISPID_DOM_TEXT 120
159 #define DISPID_DOM_TEXT_SPLITTEXT 121
160 #define DISPID_DOM_TEXT_JOINTEXT 122
161 #define DISPID_DOM_TEXT__TOP 123
162
163 #define DISPID_DOM_PI 124
164 #define DISPID_DOM_PI_TARGET 125
165 #define DISPID_DOM_PI_DATA 126
166 #define DISPID_DOM_PI__TOP 127
167
168 #define DISPID_DOM_DOCUMENTTYPE 128
169 #define DISPID_DOM_DOCUMENTTYPE_NAME 129
170 #define DISPID_DOM_DOCUMENTTYPE_ENTITIES 130
171 #define DISPID_DOM_DOCUMENTTYPE_NOTATIONS 131
172 #define DISPID_DOM_DOCUMENTTYPE__TOP 132
173
174 #define DISPID_DOM_NOTATION 133
175 #define DISPID_DOM_NOTATION_PUBLICID 134
176 #define DISPID_DOM_NOTATION_SYSTEMID 135
177 #define DISPID_DOM_NOTATION__TOP 136
178
179 #define DISPID_DOM_ENTITY 137
180 #define DISPID_DOM_ENTITY_PUBLICID 138
181 #define DISPID_DOM_ENTITY_SYSTEMID 139
182 #define DISPID_DOM_ENTITY_NOTATIONNAME 140
183 #define DISPID_DOM_ENTITY__TOP 141
184
185 #define DISPID_DOM_IMPLEMENTATION 142
186 #define DISPID_DOM_IMPLEMENTATION_HASFEATURE 143
187 #define DISPID_DOM_IMPLEMENTATION__TOP 144
188
189
190 #define DISPID_DOM_ERROR 0x000000b0
191 #define DISPID_DOM_ERROR_ERRORCODE 0x000000b1
192 #define DISPID_DOM_ERROR_URL 0x000000b2
193 #define DISPID_DOM_ERROR_REASON 0x000000b3
194 #define DISPID_DOM_ERROR_SRCTEXT 0x000000b4
195 #define DISPID_DOM_ERROR_LINE 0x000000b5
196 #define DISPID_DOM_ERROR_LINEPOS 0x000000b6
197 #define DISPID_DOM_ERROR_FILEPOS 0x000000b7
198 #define DISPID_DOM_ERROR__TOP 0x000000b8
199
200 #define DISPID_XMLDOMEVENT 197
201 #define DISPID_XMLDOMEVENT_ONREADYSTATECHANGE DISPID_READYSTATECHANGE
202 #define DISPID_XMLDOMEVENT_ONDATAAVAILABLE 198
203 #define DISPID_XMLDOMEVENT__TOP 199
204
205 #endif /* __XMLDOMDID_H__ */