rasapi32: Update spec file.
[wine/zf.git] / dlls / msxml2 / msxml2_tlb.idl
blobc06a9379619d6a218169eb275e14ce81fc9faf13
1 /*
2 * Copyright (C) 2005 Vijay Kiran Kamuju
3 * Copyright (C) 2008 Alistair Leslie-Hughes
4 * Copyright (C) 2010 Nikolay Sivov for CodeWeavers
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #pragma makedep regtypelib
23 #include <msxml2did.h>
24 #include <idispids.h>
26 import "unknwn.idl";
27 import "objidl.idl";
28 import "oaidl.idl";
31 uuid(f5078f18-c551-11d3-89b9-0000f81fe221),
32 version(2.6),
33 helpstring("Microsoft XML, v2.6")
35 library MSXML2
38 importlib("stdole2.tlb");
40 interface IXMLDOMImplementation;
41 interface IXMLDOMNode;
42 interface IXMLDOMDocumentFragment;
43 interface IXMLDOMDocument;
44 interface IXMLDOMSchemaCollection;
45 interface IXMLDOMDocument2;
46 interface IXMLDOMNodeList;
47 interface IXMLDOMNamedNodeMap;
48 interface IXMLDOMCharacterData;
49 interface IXMLDOMAttribute;
50 interface IXMLDOMElement;
51 interface IXMLDOMText;
52 interface IXMLDOMComment;
53 interface IXMLDOMProcessingInstruction;
54 interface IXMLDOMCDATASection;
55 interface IXMLDOMDocumentType;
56 interface IXMLDOMNotation;
57 interface IXMLDOMEntity;
58 interface IXMLDOMEntityReference;
59 interface IXMLDOMParseError;
60 interface IXTLRuntime;
61 interface IXSLTemplate;
62 interface IXSLProcessor;
64 typedef enum tagDOMNodeType
66 NODE_INVALID = 0,
67 NODE_ELEMENT = 1,
68 NODE_ATTRIBUTE = 2,
69 NODE_TEXT = 3,
70 NODE_CDATA_SECTION = 4,
71 NODE_ENTITY_REFERENCE = 5,
72 NODE_ENTITY = 6,
73 NODE_PROCESSING_INSTRUCTION = 7,
74 NODE_COMMENT = 8,
75 NODE_DOCUMENT = 9,
76 NODE_DOCUMENT_TYPE = 10,
77 NODE_DOCUMENT_FRAGMENT = 11,
78 NODE_NOTATION = 12
79 } DOMNodeType;
82 local,
83 object,
84 dual,
85 oleautomation,
86 uuid (2933BF80-7B36-11d2-B20E-00C04F983E60)
88 interface IXMLDOMNode : IDispatch
90 [propget, id(DISPID_DOM_NODE_NODENAME)]
91 HRESULT nodeName([retval, out] BSTR *p);
93 [propget, id(DISPID_DOM_NODE_NODEVALUE)]
94 HRESULT nodeValue([retval, out] VARIANT *var1);
96 [propput, id(DISPID_DOM_NODE_NODEVALUE)]
97 HRESULT nodeValue([in] VARIANT var1);
99 [propget, id(DISPID_DOM_NODE_NODETYPE)]
100 HRESULT nodeType([retval, out] DOMNodeType *domNodeType);
102 [propget, id(DISPID_DOM_NODE_PARENTNODE)]
103 HRESULT parentNode([retval, out] IXMLDOMNode **parent);
105 [propget, id(DISPID_DOM_NODE_CHILDNODES)]
106 HRESULT childNodes([retval, out] IXMLDOMNodeList **outList);
108 [propget, id(DISPID_DOM_NODE_FIRSTCHILD)]
109 HRESULT firstChild([retval, out] IXMLDOMNode **domNode);
111 [propget, id(DISPID_DOM_NODE_LASTCHILD)]
112 HRESULT lastChild([retval, out] IXMLDOMNode **domNode);
114 [propget, id(DISPID_DOM_NODE_PREVIOUSSIBLING)]
115 HRESULT previousSibling([retval, out] IXMLDOMNode **domNode);
117 [propget, id(DISPID_DOM_NODE_NEXTSIBLING)]
118 HRESULT nextSibling([retval, out] IXMLDOMNode **domNode);
120 [propget, id(DISPID_DOM_NODE_ATTRIBUTES)]
121 HRESULT attributes([retval, out] IXMLDOMNamedNodeMap **attributeMap);
123 [id(DISPID_DOM_NODE_INSERTBEFORE)]
124 HRESULT insertBefore(
125 [in] IXMLDOMNode *newNode,
126 [in] VARIANT var1,
127 [retval, out] IXMLDOMNode **outOldNode);
129 [id(DISPID_DOM_NODE_REPLACECHILD)]
130 HRESULT replaceChild(
131 [in] IXMLDOMNode *newNode,
132 [in] IXMLDOMNode *oldNode,
133 [retval, out] IXMLDOMNode **outOldNode);
135 [id(DISPID_DOM_NODE_REMOVECHILD)]
136 HRESULT removeChild(
137 [in] IXMLDOMNode *domNode,
138 [retval, out] IXMLDOMNode **oldNode);
140 [id(DISPID_DOM_NODE_APPENDCHILD)]
141 HRESULT appendChild(
142 [in] IXMLDOMNode *newNode,
143 [retval, out] IXMLDOMNode **outNewNode);
145 [id(DISPID_DOM_NODE_HASCHILDNODES)]
146 HRESULT hasChildNodes(
147 [retval, out] VARIANT_BOOL *pbool);
149 [propget, id(DISPID_DOM_NODE_OWNERDOC)]
150 HRESULT ownerDocument([retval, out] IXMLDOMDocument **domDocument);
152 [id(DISPID_DOM_NODE_CLONENODE)]
153 HRESULT cloneNode(
154 [in] VARIANT_BOOL pbool,
155 [retval, out] IXMLDOMNode **outNode);
157 [propget, id(DISPID_XMLDOM_NODE_STRINGTYPE)]
158 HRESULT nodeTypeString([retval, out] BSTR *p);
160 [propget, id(DISPID_XMLDOM_NODE_TEXT)]
161 HRESULT text([retval, out] BSTR *p);
163 [propput, id(DISPID_XMLDOM_NODE_TEXT)]
164 HRESULT text([in] BSTR p);
166 [propget, id(DISPID_XMLDOM_NODE_SPECIFIED)]
167 HRESULT specified([retval, out] VARIANT_BOOL *pbool);
169 [propget, id(DISPID_XMLDOM_NODE_DEFINITION)]
170 HRESULT definition([retval,out] IXMLDOMNode **domNode);
172 [propget, id(DISPID_XMLDOM_NODE_NODETYPEDVALUE)]
173 HRESULT nodeTypedValue([retval, out] VARIANT *var1);
175 [propput, id(DISPID_XMLDOM_NODE_NODETYPEDVALUE)]
176 HRESULT nodeTypedValue([in] VARIANT var1);
178 [propget, id(DISPID_XMLDOM_NODE_DATATYPE)]
179 HRESULT dataType([retval, out] VARIANT *var1);
181 [propput, id(DISPID_XMLDOM_NODE_DATATYPE)]
182 HRESULT dataType([in] BSTR p);
184 [propget, id(DISPID_XMLDOM_NODE_XML)]
185 HRESULT xml([retval, out] BSTR *p);
187 [id(DISPID_XMLDOM_NODE_TRANSFORMNODE)]
188 HRESULT transformNode(
189 [in] IXMLDOMNode *domNode,
190 [retval, out] BSTR *p);
192 [id(DISPID_XMLDOM_NODE_SELECTNODES)]
193 HRESULT selectNodes(
194 [in] BSTR p,
195 [retval, out] IXMLDOMNodeList **outList);
197 [id(DISPID_XMLDOM_NODE_SELECTSINGLENODE)]
198 HRESULT selectSingleNode(
199 [in] BSTR p,
200 [retval, out] IXMLDOMNode **outNode);
202 [propget,id(DISPID_XMLDOM_NODE_PARSED)]
203 HRESULT parsed([retval, out] VARIANT_BOOL *pbool);
205 [propget, id(DISPID_XMLDOM_NODE_NAMESPACE)]
206 HRESULT namespaceURI([retval, out] BSTR *p);
208 [propget, id(DISPID_XMLDOM_NODE_PREFIX)]
209 HRESULT prefix([retval, out] BSTR *p);
211 [propget, id(DISPID_XMLDOM_NODE_BASENAME)]
212 HRESULT baseName([retval, out] BSTR *p);
214 [id(DISPID_XMLDOM_NODE_TRANSFORMNODETOOBJECT)]
215 HRESULT transformNodeToObject(
216 [in] IXMLDOMNode *domNode,
217 [in] VARIANT var1);
221 local,
222 object,
223 dual,
224 oleautomation,
225 uuid (2933BF81-7B36-11d2-B20E-00C04F983E60)
227 interface IXMLDOMDocument : IXMLDOMNode
229 [propget, id(DISPID_DOM_DOCUMENT_DOCTYPE)]
230 HRESULT doctype([retval, out] IXMLDOMDocumentType **docType);
232 [propget, id(DISPID_DOM_DOCUMENT_IMPLEMENTATION)]
233 HRESULT implementation([retval, out] IXMLDOMImplementation **impl);
235 [propget, id(DISPID_DOM_DOCUMENT_DOCUMENTELEMENT)]
236 HRESULT documentElement([retval, out] IXMLDOMElement **domElement);
238 [propputref, id(DISPID_DOM_DOCUMENT_DOCUMENTELEMENT)]
239 HRESULT documentElement([in] IXMLDOMElement *domElement);
241 [id(DISPID_DOM_DOCUMENT_CREATEELEMENT)]
242 HRESULT createElement(
243 [in] BSTR p,
244 [retval, out] IXMLDOMElement **domElement);
246 [id(DISPID_DOM_DOCUMENT_CREATEDOCUMENTFRAGMENT)]
247 HRESULT createDocumentFragment(
248 [retval, out] IXMLDOMDocumentFragment **docFrag);
250 [id(DISPID_DOM_DOCUMENT_CREATETEXTNODE)]
251 HRESULT createTextNode(
252 [in] BSTR p,
253 [retval, out] IXMLDOMText **text);
255 [id(DISPID_DOM_DOCUMENT_CREATECOMMENT)]
256 HRESULT createComment(
257 [in] BSTR p,
258 [retval, out] IXMLDOMComment **comment);
260 [id(DISPID_DOM_DOCUMENT_CREATECDATASECTION)]
261 HRESULT createCDATASection(
262 [in] BSTR p,
263 [retval, out] IXMLDOMCDATASection **cdata);
265 [id(DISPID_DOM_DOCUMENT_CREATEPROCESSINGINSTRUCTION)]
266 HRESULT createProcessingInstruction(
267 [in] BSTR target,
268 [in] BSTR data,
269 [retval, out] IXMLDOMProcessingInstruction **pi);
271 [id(DISPID_DOM_DOCUMENT_CREATEATTRIBUTE)]
272 HRESULT createAttribute(
273 [in] BSTR p,
274 [retval, out] IXMLDOMAttribute **attribute);
276 [id(DISPID_DOM_DOCUMENT_CREATEENTITYREFERENCE)]
277 HRESULT createEntityReference(
278 [in] BSTR p,
279 [retval, out] IXMLDOMEntityReference **entityRef);
281 [id(DISPID_DOM_DOCUMENT_GETELEMENTSBYTAGNAME)]
282 HRESULT getElementsByTagName(
283 [in] BSTR p,
284 [retval, out] IXMLDOMNodeList **resultList);
286 [id(DISPID_XMLDOM_DOCUMENT_CREATENODE)]
287 HRESULT createNode(
288 [in] VARIANT var,
289 [in] BSTR name,
290 [in] BSTR uri,
291 [retval, out] IXMLDOMNode **node);
293 [id(DISPID_XMLDOM_DOCUMENT_NODEFROMID)]
294 HRESULT nodeFromID(
295 [in] BSTR id,
296 [retval, out] IXMLDOMNode **node);
298 [id(DISPID_XMLDOM_DOCUMENT_LOAD)]
299 HRESULT load(
300 [in] VARIANT var1,
301 [retval, out] VARIANT_BOOL *pbool);
303 [propget, id(DISPID_READYSTATE)]
304 HRESULT readyState([retval, out] LONG *value);
306 [propget, id(DISPID_XMLDOM_DOCUMENT_PARSEERROR)]
307 HRESULT parseError([retval, out] IXMLDOMParseError **err);
309 [propget, id(DISPID_XMLDOM_DOCUMENT_URL)]
310 HRESULT url([retval, out] BSTR *p);
312 [propget, id(DISPID_XMLDOM_DOCUMENT_ASYNC)]
313 HRESULT async([retval, out] VARIANT_BOOL *pbool);
315 [propput, id(DISPID_XMLDOM_DOCUMENT_ASYNC)]
316 HRESULT async([in] VARIANT_BOOL pbool);
318 [id(DISPID_XMLDOM_DOCUMENT_ABORT)]
319 HRESULT abort();
321 [id(DISPID_XMLDOM_DOCUMENT_LOADXML)]
322 HRESULT loadXML(
323 [in] BSTR p,
324 [out, retval] VARIANT_BOOL *pbool);
326 [id(DISPID_XMLDOM_DOCUMENT_SAVE)]
327 HRESULT save(
328 [in] VARIANT var1);
330 [propget, id(DISPID_XMLDOM_DOCUMENT_VALIDATE)]
331 HRESULT validateOnParse([retval, out] VARIANT_BOOL *pbool);
333 [propput, id(DISPID_XMLDOM_DOCUMENT_VALIDATE)]
334 HRESULT validateOnParse([in] VARIANT_BOOL pbool);
336 [propget, id(DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE)]
337 HRESULT resolveExternals([retval,out] VARIANT_BOOL *pbool);
339 [propput, id(DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE)]
340 HRESULT resolveExternals([in] VARIANT_BOOL pbool);
342 [propget, id(DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE)]
343 HRESULT preserveWhiteSpace([retval,out] VARIANT_BOOL *pbool);
345 [propput, id(DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE)]
346 HRESULT preserveWhiteSpace([in] VARIANT_BOOL pbool);
348 [propput, id(DISPID_XMLDOM_DOCUMENT_ONREADYSTATECHANGE)]
349 HRESULT onreadystatechange([in] VARIANT var1);
351 [propput, id(DISPID_XMLDOM_DOCUMENT_ONDATAAVAILABLE)]
352 HRESULT ondataavailable([in] VARIANT var1);
354 [propput, id(DISPID_XMLDOM_DOCUMENT_ONTRANSFORMNODE)]
355 HRESULT ontransformnode([in] VARIANT var1);
359 local,
360 object,
361 dual,
362 oleautomation,
363 uuid (373984c8-b845-449b-91e7-45ac83036ade)
365 interface IXMLDOMSchemaCollection : IDispatch
367 [id(DISPID_XMLDOM_SCHEMACOLLECTION_ADD)]
368 HRESULT add(
369 [in] BSTR uri,
370 [in] VARIANT var);
372 [id(DISPID_XMLDOM_SCHEMACOLLECTION_GET)]
373 HRESULT get(
374 [in] BSTR uri,
375 [retval, out] IXMLDOMNode **node);
377 [id(DISPID_XMLDOM_SCHEMACOLLECTION_REMOVE)]
378 HRESULT remove(
379 [in] BSTR uri);
381 [propget, id(DISPID_XMLDOM_SCHEMACOLLECTION_LENGTH)]
382 HRESULT length(
383 [retval, out] LONG *length);
385 [propget, id(DISPID_VALUE)]
386 HRESULT namespaceURI([in] LONG index, [out, retval] BSTR *len);
388 [id(DISPID_XMLDOM_SCHEMACOLLECTION_ADDCOLLECTION)]
389 HRESULT addCollection(
390 [in] IXMLDOMSchemaCollection *otherCollection);
392 [propget, id(DISPID_NEWENUM)]
393 HRESULT _newEnum([retval, out] IUnknown **ppUnk);
397 local,
398 object,
399 dual,
400 oleautomation,
401 uuid (2933BF95-7B36-11d2-B20E-00C04F983E60)
403 interface IXMLDOMDocument2 : IXMLDOMDocument
405 [propget, id(DISPID_XMLDOM_DOCUMENT2_NAMESPACES)]
406 HRESULT namespaces([retval, out] IXMLDOMSchemaCollection **schemaCollection);
408 [propget, id(DISPID_XMLDOM_DOCUMENT2_SCHEMAS)]
409 HRESULT schemas([retval, out] VARIANT *var1);
411 [propputref, id(DISPID_XMLDOM_DOCUMENT2_SCHEMAS)]
412 HRESULT schemas([in] VARIANT var1);
414 [id(DISPID_XMLDOM_DOCUMENT2_VALIDATE)]
415 HRESULT validate(
416 [retval, out] IXMLDOMParseError **err);
418 [id(DISPID_XMLDOM_DOCUMENT2_SETPROPERTY)]
419 HRESULT setProperty(
420 [in] BSTR p,
421 [in] VARIANT var);
423 [id(DISPID_XMLDOM_DOCUMENT2_GETPROPERTY)]
424 HRESULT getProperty(
425 [in] BSTR p,
426 [retval, out] VARIANT *var);
430 local,
431 object,
432 dual,
433 oleautomation,
434 uuid (2933BF82-7B36-11d2-B20E-00C04F983E60)
436 interface IXMLDOMNodeList : IDispatch
438 [propget, id(DISPID_VALUE)]
439 HRESULT item([in] LONG lIndex, [retval, out] IXMLDOMNode **outNode);
441 [propget, id(DISPID_DOM_NODELIST_LENGTH)]
442 HRESULT length([retval, out] LONG *lLength);
444 [id(DISPID_XMLDOM_NODELIST_NEXTNODE)]
445 HRESULT nextNode(
446 [retval, out] IXMLDOMNode **outNode);
448 [id(DISPID_XMLDOM_NODELIST_RESET)]
449 HRESULT reset();
451 [propget, id(DISPID_NEWENUM)]
452 HRESULT _newEnum([retval, out] IUnknown **ppUnk);
456 local,
457 object,
458 dual,
459 oleautomation,
460 uuid (AA634FC7-5888-44a7-A257-3A47150D3A0E)
462 interface IXMLDOMSelection : IXMLDOMNodeList
464 [propget, id(DISPID_XMLDOM_SELECTION_EXPR)]
465 HRESULT expr([retval, out] BSTR *p);
467 [propput, id(DISPID_XMLDOM_SELECTION_EXPR)]
468 HRESULT expr([in] BSTR p);
470 [propget, id(DISPID_XMLDOM_SELECTION_CONTEXT)]
471 HRESULT context([retval, out] IXMLDOMNode **ppNode);
473 [propputref, id(DISPID_XMLDOM_SELECTION_CONTEXT)]
474 HRESULT context([in] IXMLDOMNode * pNode);
476 [id(DISPID_XMLDOM_SELECTION_PEEKNODE)]
477 HRESULT peekNode(
478 [retval, out] IXMLDOMNode **ppNode);
480 [id(DISPID_XMLDOM_SELECTION_MATCHES)]
481 HRESULT matches(
482 [in] IXMLDOMNode *pNode,
483 [retval, out] IXMLDOMNode **ppNode);
485 [id(DISPID_XMLDOM_SELECTION_REMOVENEXT)]
486 HRESULT removeNext(
487 [retval, out] IXMLDOMNode **ppNode);
489 [id(DISPID_XMLDOM_SELECTION_REMOVEALL)]
490 HRESULT removeAll();
492 [id(DISPID_XMLDOM_SELECTION_CLONE)]
493 HRESULT clone(
494 [retval, out] IXMLDOMSelection **ppNode);
496 [id(DISPID_XMLDOM_SELECTION_GETPROPERTY)]
497 HRESULT getProperty(
498 [in] BSTR p,
499 [retval, out] VARIANT * var);
501 [id(DISPID_XMLDOM_SELECTION_SETPROPERTY)]
502 HRESULT setProperty(
503 [in] BSTR p,
504 [in] VARIANT var);
508 local,
509 object,
510 dual,
511 oleautomation,
512 uuid (2933BF83-7B36-11d2-B20E-00C04F983E60)
514 interface IXMLDOMNamedNodeMap : IDispatch
516 [id(DISPID_DOM_NAMEDNODEMAP_GETNAMEDITEM)]
517 HRESULT getNamedItem(
518 [in] BSTR p,
519 [retval, out] IXMLDOMNode **outNode);
521 [id(DISPID_DOM_NAMEDNODEMAP_SETNAMEDITEM)]
522 HRESULT setNamedItem(
523 [in] IXMLDOMNode *newNode,
524 [retval, out] IXMLDOMNode **outNode);
526 [id(DISPID_DOM_NAMEDNODEMAP_REMOVENAMEDITEM)]
527 HRESULT removeNamedItem(
528 [in] BSTR p,
529 [retval, out] IXMLDOMNode **outNode);
531 [propget, id(DISPID_VALUE)]
532 HRESULT item([in] LONG lIndex, [retval, out] IXMLDOMNode **outNode);
534 [propget, id(DISPID_DOM_NODELIST_LENGTH)]
535 HRESULT length([retval, out] LONG *lLength);
537 [id(DISPID_XMLDOM_NAMEDNODEMAP_GETQUALIFIEDITEM)]
538 HRESULT getQualifiedItem(
539 [in] BSTR name,
540 [in] BSTR uri,
541 [retval, out] IXMLDOMNode **outNode);
543 [id(DISPID_XMLDOM_NAMEDNODEMAP_REMOVEQUALIFIEDITEM)]
544 HRESULT removeQualifiedItem(
545 [in] BSTR name,
546 [in] BSTR uri,
547 [retval, out] IXMLDOMNode **outNode);
549 [id(DISPID_XMLDOM_NAMEDNODEMAP_NEXTNODE)]
550 HRESULT nextNode(
551 [retval, out] IXMLDOMNode **outNode);
553 [id(DISPID_XMLDOM_NAMEDNODEMAP_RESET)]
554 HRESULT reset();
556 [propget, id(DISPID_NEWENUM)]
557 HRESULT _newEnum([retval, out] IUnknown **ppUnk);
561 local,
562 object,
563 dual,
564 oleautomation,
565 uuid (3efaa413-272f-11d2-836f-0000f87a7782)
567 interface IXMLDOMDocumentFragment : IXMLDOMNode
572 local,
573 object,
574 dual,
575 oleautomation,
576 uuid (2933BF84-7B36-11d2-B20E-00C04F983E60)
578 interface IXMLDOMCharacterData : IXMLDOMNode
580 [propget, id(DISPID_DOM_DATA_DATA)]
581 HRESULT data([retval, out] BSTR *p);
583 [propput, id(DISPID_DOM_DATA_DATA)]
584 HRESULT data([in] BSTR data);
586 [propget, id(DISPID_DOM_DATA_LENGTH)]
587 HRESULT length([retval, out] LONG *len);
589 [id(DISPID_DOM_DATA_SUBSTRING)]
590 HRESULT substringData(
591 [in] LONG offset,
592 [in] LONG count,
593 [retval, out] BSTR *p);
595 [id(DISPID_DOM_DATA_APPEND)]
596 HRESULT appendData(
597 [in] BSTR p);
599 [id(DISPID_DOM_DATA_INSERT)]
600 HRESULT insertData(
601 [in] LONG offset,
602 [in] BSTR p);
604 [id(DISPID_DOM_DATA_DELETE)]
605 HRESULT deleteData(
606 [in] LONG offset,
607 [in] LONG count);
609 [id(DISPID_DOM_DATA_REPLACE)]
610 HRESULT replaceData(
611 [in] LONG offset,
612 [in] LONG count,
613 [in] BSTR p);
617 local,
618 object,
619 dual,
620 oleautomation,
621 uuid (2933BF85-7B36-11d2-B20E-00C04F983E60)
623 interface IXMLDOMAttribute : IXMLDOMNode
625 [propget, id(DISPID_DOM_ATTRIBUTE_GETNAME)]
626 HRESULT name([retval, out] BSTR *p);
628 [propget, id(DISPID_DOM_ATTRIBUTE_VALUE)]
629 HRESULT value([retval, out] VARIANT *var1);
631 [propput, id(DISPID_DOM_ATTRIBUTE_VALUE)]
632 HRESULT value([in] VARIANT var1);
636 local,
637 object,
638 dual,
639 oleautomation,
640 uuid (2933BF86-7B36-11d2-B20E-00C04F983E60)
642 interface IXMLDOMElement : IXMLDOMNode
644 [propget, id(DISPID_DOM_ELEMENT_GETTAGNAME)]
645 HRESULT tagName([retval, out] BSTR *p);
647 [id(DISPID_DOM_ELEMENT_GETATTRIBUTE)]
648 HRESULT getAttribute(
649 [in] BSTR p,
650 [retval, out] VARIANT *var);
652 [id(DISPID_DOM_ELEMENT_SETATTRIBUTE)]
653 HRESULT setAttribute(
654 [in] BSTR p,
655 [in] VARIANT var);
657 [id(DISPID_DOM_ELEMENT_REMOVEATTRIBUTE)]
658 HRESULT removeAttribute(
659 [in] BSTR p);
661 [id(DISPID_DOM_ELEMENT_GETATTRIBUTENODE)]
662 HRESULT getAttributeNode(
663 [in] BSTR p,
664 [retval, out] IXMLDOMAttribute **attributeNode);
666 [id(DISPID_DOM_ELEMENT_SETATTRIBUTENODE)]
667 HRESULT setAttributeNode(
668 [in] IXMLDOMAttribute *domAttribute,
669 [retval, out] IXMLDOMAttribute **attributeNode);
671 [id(DISPID_DOM_ELEMENT_REMOVEATTRIBUTENODE)]
672 HRESULT removeAttributeNode(
673 [in] IXMLDOMAttribute *domAttribute,
674 [retval, out] IXMLDOMAttribute **attributeNode);
676 [id(DISPID_DOM_ELEMENT_GETELEMENTSBYTAGNAME)]
677 HRESULT getElementsByTagName(
678 [in] BSTR p,
679 [retval, out] IXMLDOMNodeList **resultList);
681 [id(DISPID_DOM_ELEMENT_NORMALIZE)]
682 HRESULT normalize();
686 local,
687 object,
688 dual,
689 oleautomation,
690 uuid (2933BF87-7B36-11d2-B20E-00C04F983E60)
692 interface IXMLDOMText : IXMLDOMCharacterData
694 [id(DISPID_DOM_TEXT_SPLITTEXT)]
695 HRESULT splitText(
696 [in] LONG offset,
697 [retval, out] IXMLDOMText **txtNode);
701 local,
702 object,
703 dual,
704 oleautomation,
705 uuid (2933BF88-7B36-11d2-B20E-00C04F983E60)
707 interface IXMLDOMComment : IXMLDOMCharacterData
712 local,
713 object,
714 dual,
715 oleautomation,
716 uuid (2933BF89-7B36-11d2-B20E-00C04F983E60)
718 interface IXMLDOMProcessingInstruction : IXMLDOMNode
720 [propget, id(DISPID_DOM_PI_TARGET)]
721 HRESULT target([retval, out] BSTR *p);
723 [propget, id(DISPID_DOM_PI_DATA)]
724 HRESULT data([retval, out] BSTR *p);
726 [propput, id(DISPID_DOM_PI_DATA)]
727 HRESULT data([in] BSTR p);
731 local,
732 object,
733 dual,
734 oleautomation,
735 uuid (2933BF8A-7B36-11d2-B20E-00C04F983E60)
737 interface IXMLDOMCDATASection : IXMLDOMText
742 local,
743 object,
744 dual,
745 oleautomation,
746 uuid (2933BF8B-7B36-11d2-B20E-00C04F983E60)
748 interface IXMLDOMDocumentType : IXMLDOMNode
750 [propget, id(DISPID_DOM_DOCUMENTTYPE_NAME)]
751 HRESULT name([retval, out] BSTR *p);
753 [propget, id(DISPID_DOM_DOCUMENTTYPE_ENTITIES)]
754 HRESULT entities([retval, out] IXMLDOMNamedNodeMap **entityMap);
756 [propget, id(DISPID_DOM_DOCUMENTTYPE_NOTATIONS)]
757 HRESULT notations([retval, out] IXMLDOMNamedNodeMap **notationMap);
761 local,
762 object,
763 dual,
764 oleautomation,
765 uuid (2933BF8C-7B36-11d2-B20E-00C04F983E60)
767 interface IXMLDOMNotation : IXMLDOMNode
769 [propget, id(DISPID_DOM_NOTATION_PUBLICID)]
770 HRESULT publicId([retval, out] VARIANT *id);
772 [propget, id(DISPID_DOM_NOTATION_SYSTEMID)]
773 HRESULT systemId([retval, out] VARIANT *id);
777 local,
778 object,
779 dual,
780 oleautomation,
781 uuid (2933BF8D-7B36-11d2-B20E-00C04F983E60)
783 interface IXMLDOMEntity : IXMLDOMNode
785 [propget, id(DISPID_DOM_ENTITY_PUBLICID)]
786 HRESULT publicId([retval, out] VARIANT *id1);
788 [propget, id(DISPID_DOM_ENTITY_SYSTEMID)]
789 HRESULT systemId([retval, out] VARIANT *id1);
791 [propget, id(DISPID_DOM_ENTITY_NOTATIONNAME)]
792 HRESULT notationName([retval, out] BSTR *p);
796 local,
797 object,
798 dual,
799 oleautomation,
800 uuid (2933BF8E-7B36-11d2-B20E-00C04F983E60)
802 interface IXMLDOMEntityReference : IXMLDOMNode
807 local,
808 object,
809 dual,
810 oleautomation,
811 uuid (2933BF8F-7B36-11d2-B20E-00C04F983E60)
813 interface IXMLDOMImplementation : IDispatch
815 [id(DISPID_DOM_IMPLEMENTATION_HASFEATURE)]
816 HRESULT hasFeature(
817 [in] BSTR feature,
818 [in] BSTR version,
819 [retval, out] VARIANT_BOOL *pbool);
823 local,
824 object,
825 dual,
826 oleautomation,
827 uuid (3efaa425-272f-11d2-836f-0000f87a7782)
829 interface IXTLRuntime : IXMLDOMNode
831 [id(DISPID_XTLRUNTIME_UNIQUEID)]
832 HRESULT uniqueID(
833 [in]IXMLDOMNode *pNode,
834 [retval, out]LONG *pID);
836 [id(DISPID_XTLRUNTIME_DEPTH)]
837 HRESULT depth(
838 [in] IXMLDOMNode *pNode,
839 [retval, out]LONG * pDepth);
841 [id(DISPID_XTLRUNTIME_CHILDNUMBER)]
842 HRESULT childNumber(
843 [in]IXMLDOMNode *pNode,
844 [retval, out] LONG *pNumber);
846 [id(DISPID_XTLRUNTIME_ANCESTORCHILDNUMBER)]
847 HRESULT ancestorChildNumber(
848 [in]BSTR bstr,
849 [in]IXMLDOMNode *pNode,
850 [retval, out]LONG *pNumber);
852 [id(DISPID_XTLRUNTIME_ABSOLUTECHILDNUMBER)]
853 HRESULT absoluteChildNumber(
854 [in]IXMLDOMNode *pNode,
855 [retval, out]LONG *pNumber);
857 [id(DISPID_XTLRUNTIME_FORMATINDEX)]
858 HRESULT formatIndex(
859 [in] LONG lIndex,
860 [in] BSTR bstr,
861 [retval, out]BSTR *pbstr);
863 [id(DISPID_XTLRUNTIME_FORMATNUMBER)]
864 HRESULT formatNumber(
865 [in] double dblNumber,
866 [in] BSTR bstr,
867 [retval, out]BSTR *pbstr);
869 [id(DISPID_XTLRUNTIME_FORMATDATE)]
870 HRESULT formatDate(
871 [in] VARIANT var1,
872 [in] BSTR bstr,
873 [optional, in] VARIANT var2,
874 [retval, out]BSTR *pbstr);
876 [id(DISPID_XTLRUNTIME_FORMATTIME)]
877 HRESULT formatTime(
878 [in] VARIANT var1,
879 [in] BSTR bstr,
880 [optional, in] VARIANT var2,
881 [retval, out]BSTR *pbstr);
886 uuid(3efaa427-272f-11d2-836f-0000f87a7782)
888 dispinterface XMLDOMDocumentEvents
890 properties:
891 methods:
892 [id (DISPID_XMLDOMEVENT_ONDATAAVAILABLE)]
893 HRESULT ondataavailable();
895 [id (DISPID_XMLDOMEVENT_ONREADYSTATECHANGE)]
896 HRESULT onreadystatechange();
900 local,
901 object,
902 dual,
903 oleautomation,
904 uuid (2933BF92-7B36-11d2-B20E-00C04F983E60)
906 interface IXSLProcessor : IDispatch
908 [propput, id(DISPID_XMLDOM_PROCESSOR_INPUT)]
909 HRESULT input([in] VARIANT var);
911 [propget, id(DISPID_XMLDOM_PROCESSOR_INPUT)]
912 HRESULT input([retval, out] VARIANT *var);
914 [propget, id(DISPID_XMLDOM_PROCESSOR_XSLTEMPLATE)]
915 HRESULT ownerTemplate([retval, out] IXSLTemplate **ppTemplate);
917 [id(DISPID_XMLDOM_PROCESSOR_SETSTARTMODE)]
918 HRESULT setStartMode(
919 [in] BSTR p,
920 [in, defaultvalue("")] BSTR uri);
922 [propget, id(DISPID_XMLDOM_PROCESSOR_STARTMODE)]
923 HRESULT startMode([retval, out] BSTR *p);
925 [propget, id(DISPID_XMLDOM_PROCESSOR_STARTMODEURI)]
926 HRESULT startModeURI([retval, out] BSTR *uri);
928 [propput, id(DISPID_XMLDOM_PROCESSOR_OUTPUT)]
929 HRESULT output([in] VARIANT var);
931 [propget, id(DISPID_XMLDOM_PROCESSOR_OUTPUT)]
932 HRESULT output([retval, out] VARIANT *var);
934 [id(DISPID_XMLDOM_PROCESSOR_TRANSFORM)]
935 HRESULT transform(
936 [retval, out] VARIANT_BOOL *pbool);
938 [id(DISPID_XMLDOM_PROCESSOR_RESET)]
939 HRESULT reset();
941 [propget, id(DISPID_XMLDOM_PROCESSOR_READYSTATE)]
942 HRESULT readyState([retval, out] LONG *pstate);
944 [id(DISPID_XMLDOM_PROCESSOR_ADDPARAMETER)]
945 HRESULT addParameter(
946 [in] BSTR p,
947 [in] VARIANT var,
948 [in, defaultvalue("")] BSTR uri);
950 [id(DISPID_XMLDOM_PROCESSOR_ADDOBJECT)]
951 HRESULT addObject(
952 [in] IDispatch* obj,
953 [in] BSTR uri);
955 [propget, id(DISPID_XMLDOM_PROCESSOR_STYLESHEET)]
956 HRESULT stylesheet([retval, out] IXMLDOMNode **node);
960 local,
961 object,
962 dual,
963 oleautomation,
964 uuid (2933BF93-7B36-11d2-B20E-00C04F983E60)
966 interface IXSLTemplate : IDispatch
968 [propputref, id(DISPID_XMLDOM_TEMPLATE_STYLESHEET)]
969 HRESULT stylesheet([in] IXMLDOMNode *node);
971 [propget, id(DISPID_XMLDOM_TEMPLATE_STYLESHEET)]
972 HRESULT stylesheet([retval, out] IXMLDOMNode **node);
974 [id(DISPID_XMLDOM_TEMPLATE_CREATEPROCESSOR)]
975 HRESULT createProcessor(
976 [retval, out] IXSLProcessor **ppProcessor);
980 object,
981 uuid(ED8C108D-4349-11D2-91A4-00C04F7969E8),
982 odl,
983 dual,
984 oleautomation,
985 pointer_default(unique)
987 interface IXMLHTTPRequest : IDispatch
989 [id(1)]
990 HRESULT open([in] BSTR bstrMethod, [in] BSTR bstrUrl, [in, optional] VARIANT varAsync,
991 [in,optional] VARIANT username, [in,optional] VARIANT password);
993 [id(2)]
994 HRESULT setRequestHeader([in] BSTR bstrHeader, [in] BSTR bstrValue);
996 [id(3)]
997 HRESULT getResponseHeader([in] BSTR bstrHeader, [out, retval] BSTR * value);
999 [id(4)]
1000 HRESULT getAllResponseHeaders([out, retval] BSTR * pbstrHeaders);
1002 [id(5)]
1003 HRESULT send([in, optional] VARIANT body);
1005 [id(6)]
1006 HRESULT abort();
1008 [propget, id(7)]
1009 HRESULT status([out, retval] LONG *pStatus);
1011 [propget, id(8)]
1012 HRESULT statusText([out, retval] BSTR *pStatus);
1014 [propget, id(9)]
1015 HRESULT responseXML([out, retval] IDispatch **pBody);
1017 [propget, id(10)]
1018 HRESULT responseText([out, retval] BSTR *pBody);
1020 [propget, id(11)]
1021 HRESULT responseBody([out, retval] VARIANT *pBody);
1023 [propget, id(12)]
1024 HRESULT responseStream([out, retval] VARIANT *pBody);
1026 [propget, id(13)]
1027 HRESULT readyState([out, retval] LONG *pState);
1029 [propput, id(14)]
1030 HRESULT onreadystatechange([in] IDispatch *pReadyStateSink);
1034 local,
1035 object,
1036 dual,
1037 oleautomation,
1038 uuid (3efaa426-272f-11d2-836f-0000f87a7782)
1040 interface IXMLDOMParseError : IDispatch
1042 [propget, id(DISPID_VALUE)]
1043 HRESULT errorCode([retval, out] LONG *errCode);
1045 [propget, id(DISPID_DOM_ERROR_URL)]
1046 HRESULT url([retval, out] BSTR *p);
1048 [propget, id(DISPID_DOM_ERROR_REASON)]
1049 HRESULT reason([retval, out] BSTR *p);
1051 [propget, id(DISPID_DOM_ERROR_SRCTEXT)]
1052 HRESULT srcText([retval, out] BSTR *p);
1054 [propget, id(DISPID_DOM_ERROR_LINE)]
1055 HRESULT line([retval, out] LONG *lineNo);
1057 [propget, id(DISPID_DOM_ERROR_LINEPOS)]
1058 HRESULT linepos([retval, out] LONG * linePos);
1060 [propget, id(DISPID_DOM_ERROR_FILEPOS)]
1061 HRESULT filepos([retval, out] LONG * filePos);
1065 uuid(F6D90F11-9C73-11D3-B32E-00C04F990BB4)
1067 coclass DOMDocument
1069 [default] interface IXMLDOMDocument2;
1070 [default, source] dispinterface XMLDOMDocumentEvents;
1074 helpstring("XML DOM Document 2.6"),
1075 progid("Msxml2.DOMDocument.2.6"),
1076 vi_progid("Msxml2.DOMDocument"),
1077 threading(both),
1078 uuid(f5078f1b-c551-11d3-89b9-0000f81fe221)
1080 coclass DOMDocument26
1082 [default] interface IXMLDOMDocument2;
1083 [default, source] dispinterface XMLDOMDocumentEvents;
1087 uuid(F6D90F12-9C73-11D3-B32E-00C04F990BB4)
1089 coclass FreeThreadedDOMDocument
1091 [default] interface IXMLDOMDocument2;
1092 [default, source] dispinterface XMLDOMDocumentEvents;
1096 helpstring("Free Threaded XML DOM Document 2.6"),
1097 progid("Msxml2.FreeThreadedDOMDocument.2.6"),
1098 vi_progid("Msxml2.FreeThreadedDOMDocument"),
1099 threading(both),
1100 uuid(f5078f1c-c551-11d3-89b9-0000f81fe221)
1102 coclass FreeThreadedDOMDocument26
1104 [default] interface IXMLDOMDocument2;
1105 [default, source] dispinterface XMLDOMDocumentEvents;
1109 uuid(f6d90f16-9c73-11d3-b32e-00c04f990bb4)
1111 coclass XMLHTTP
1113 [default] interface IXMLHTTPRequest;
1117 helpstring("XML HTTP 2.6"),
1118 progid("Msxml2.XMLHTTP.2.6"),
1119 vi_progid("Msxml2.XMLHTTP"),
1120 threading(apartment),
1121 uuid(f5078f1e-c551-11d3-89b9-0000f81fe221)
1123 coclass XMLHTTP26
1125 [default] interface IXMLHTTPRequest;
1129 uuid(373984c9-b845-449b-91e7-45ac83036ade)
1131 coclass XMLSchemaCache
1133 [default] interface IXMLDOMSchemaCollection;
1137 helpstring("XML Schema Cache 2.6"),
1138 progid("Msxml2.XMLSchemaCache.2.6"),
1139 vi_progid("Msxml2.XMLSchemaCache"),
1140 threading(both),
1141 uuid(f5078f1d-c551-11d3-89b9-0000f81fe221)
1143 coclass XMLSchemaCache26
1145 [default] interface IXMLDOMSchemaCollection;
1149 uuid(2933BF94-7B36-11d2-B20E-00C04F983E60)
1151 coclass XSLTemplate
1153 [default] interface IXSLTemplate;
1157 helpstring("XSL Template 2.6"),
1158 progid("Msxml2.XSLTemplate.2.6"),
1159 vi_progid("Msxml2.XSLTemplate"),
1160 threading(both),
1161 uuid(f5078f21-c551-11d3-89b9-0000f81fe221)
1163 coclass XSLTemplate26
1165 [default] interface IXSLTemplate;
1168 } /* Library MSXML */