scrrun: Register Scripting interfaces.
[wine.git] / dlls / msxml2 / msxml2_tlb.idl
blob9826496d25e323e73d9b246a4f24c39dc79f0ca1
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 #include <msxml2did.h>
22 #include <idispids.h>
24 import "unknwn.idl";
25 import "objidl.idl";
26 import "oaidl.idl";
29 uuid(f5078f18-c551-11d3-89b9-0000f81fe221),
30 version(2.6),
31 helpstring("Microsoft XML, v2.6")
33 library MSXML2
36 importlib("stdole2.tlb");
38 interface IXMLDOMImplementation;
39 interface IXMLDOMNode;
40 interface IXMLDOMDocumentFragment;
41 interface IXMLDOMDocument;
42 interface IXMLDOMSchemaCollection;
43 interface IXMLDOMDocument2;
44 interface IXMLDOMNodeList;
45 interface IXMLDOMNamedNodeMap;
46 interface IXMLDOMCharacterData;
47 interface IXMLDOMAttribute;
48 interface IXMLDOMElement;
49 interface IXMLDOMText;
50 interface IXMLDOMComment;
51 interface IXMLDOMProcessingInstruction;
52 interface IXMLDOMCDATASection;
53 interface IXMLDOMDocumentType;
54 interface IXMLDOMNotation;
55 interface IXMLDOMEntity;
56 interface IXMLDOMEntityReference;
57 interface IXMLDOMParseError;
58 interface IXTLRuntime;
59 interface IXSLTemplate;
60 interface IXSLProcessor;
62 typedef enum tagDOMNodeType
64 NODE_INVALID = 0,
65 NODE_ELEMENT = 1,
66 NODE_ATTRIBUTE = 2,
67 NODE_TEXT = 3,
68 NODE_CDATA_SECTION = 4,
69 NODE_ENTITY_REFERENCE = 5,
70 NODE_ENTITY = 6,
71 NODE_PROCESSING_INSTRUCTION = 7,
72 NODE_COMMENT = 8,
73 NODE_DOCUMENT = 9,
74 NODE_DOCUMENT_TYPE = 10,
75 NODE_DOCUMENT_FRAGMENT = 11,
76 NODE_NOTATION = 12
77 } DOMNodeType;
80 local,
81 object,
82 dual,
83 oleautomation,
84 uuid (2933BF80-7B36-11d2-B20E-00C04F983E60)
86 interface IXMLDOMNode : IDispatch
88 [propget, id(DISPID_DOM_NODE_NODENAME)]
89 HRESULT nodeName([retval, out] BSTR *p);
91 [propget, id(DISPID_DOM_NODE_NODEVALUE)]
92 HRESULT nodeValue([retval, out] VARIANT *var1);
94 [propput, id(DISPID_DOM_NODE_NODEVALUE)]
95 HRESULT nodeValue([in] VARIANT var1);
97 [propget, id(DISPID_DOM_NODE_NODETYPE)]
98 HRESULT nodeType([retval, out] DOMNodeType *domNodeType);
100 [propget, id(DISPID_DOM_NODE_PARENTNODE)]
101 HRESULT parentNode([retval, out] IXMLDOMNode **parent);
103 [propget, id(DISPID_DOM_NODE_CHILDNODES)]
104 HRESULT childNodes([retval, out] IXMLDOMNodeList **outList);
106 [propget, id(DISPID_DOM_NODE_FIRSTCHILD)]
107 HRESULT firstChild([retval, out] IXMLDOMNode **domNode);
109 [propget, id(DISPID_DOM_NODE_LASTCHILD)]
110 HRESULT lastChild([retval, out] IXMLDOMNode **domNode);
112 [propget, id(DISPID_DOM_NODE_PREVIOUSSIBLING)]
113 HRESULT previousSibling([retval, out] IXMLDOMNode **domNode);
115 [propget, id(DISPID_DOM_NODE_NEXTSIBLING)]
116 HRESULT nextSibling([retval, out] IXMLDOMNode **domNode);
118 [propget, id(DISPID_DOM_NODE_ATTRIBUTES)]
119 HRESULT attributes([retval, out] IXMLDOMNamedNodeMap **attributeMap);
121 [id(DISPID_DOM_NODE_INSERTBEFORE)]
122 HRESULT insertBefore(
123 [in] IXMLDOMNode *newNode,
124 [in] VARIANT var1,
125 [retval, out] IXMLDOMNode **outOldNode);
127 [id(DISPID_DOM_NODE_REPLACECHILD)]
128 HRESULT replaceChild(
129 [in] IXMLDOMNode *newNode,
130 [in] IXMLDOMNode *oldNode,
131 [retval, out] IXMLDOMNode **outOldNode);
133 [id(DISPID_DOM_NODE_REMOVECHILD)]
134 HRESULT removeChild(
135 [in] IXMLDOMNode *domNode,
136 [retval, out] IXMLDOMNode **oldNode);
138 [id(DISPID_DOM_NODE_APPENDCHILD)]
139 HRESULT appendChild(
140 [in] IXMLDOMNode *newNode,
141 [retval, out] IXMLDOMNode **outNewNode);
143 [id(DISPID_DOM_NODE_HASCHILDNODES)]
144 HRESULT hasChildNodes(
145 [retval, out] VARIANT_BOOL *pbool);
147 [propget, id(DISPID_DOM_NODE_OWNERDOC)]
148 HRESULT ownerDocument([retval, out] IXMLDOMDocument **domDocument);
150 [id(DISPID_DOM_NODE_CLONENODE)]
151 HRESULT cloneNode(
152 [in] VARIANT_BOOL pbool,
153 [retval, out] IXMLDOMNode **outNode);
155 [propget, id(DISPID_XMLDOM_NODE_STRINGTYPE)]
156 HRESULT nodeTypeString([retval, out] BSTR *p);
158 [propget, id(DISPID_XMLDOM_NODE_TEXT)]
159 HRESULT text([retval, out] BSTR *p);
161 [propput, id(DISPID_XMLDOM_NODE_TEXT)]
162 HRESULT text([in] BSTR p);
164 [propget, id(DISPID_XMLDOM_NODE_SPECIFIED)]
165 HRESULT specified([retval, out] VARIANT_BOOL *pbool);
167 [propget, id(DISPID_XMLDOM_NODE_DEFINITION)]
168 HRESULT definition([retval,out] IXMLDOMNode **domNode);
170 [propget, id(DISPID_XMLDOM_NODE_NODETYPEDVALUE)]
171 HRESULT nodeTypedValue([retval, out] VARIANT *var1);
173 [propput, id(DISPID_XMLDOM_NODE_NODETYPEDVALUE)]
174 HRESULT nodeTypedValue([in] VARIANT var1);
176 [propget, id(DISPID_XMLDOM_NODE_DATATYPE)]
177 HRESULT dataType([retval, out] VARIANT *var1);
179 [propput, id(DISPID_XMLDOM_NODE_DATATYPE)]
180 HRESULT dataType([in] BSTR p);
182 [propget, id(DISPID_XMLDOM_NODE_XML)]
183 HRESULT xml([retval, out] BSTR *p);
185 [id(DISPID_XMLDOM_NODE_TRANSFORMNODE)]
186 HRESULT transformNode(
187 [in] IXMLDOMNode *domNode,
188 [retval, out] BSTR *p);
190 [id(DISPID_XMLDOM_NODE_SELECTNODES)]
191 HRESULT selectNodes(
192 [in] BSTR p,
193 [retval, out] IXMLDOMNodeList **outList);
195 [id(DISPID_XMLDOM_NODE_SELECTSINGLENODE)]
196 HRESULT selectSingleNode(
197 [in] BSTR p,
198 [retval, out] IXMLDOMNode **outNode);
200 [propget,id(DISPID_XMLDOM_NODE_PARSED)]
201 HRESULT parsed([retval, out] VARIANT_BOOL *pbool);
203 [propget, id(DISPID_XMLDOM_NODE_NAMESPACE)]
204 HRESULT namespaceURI([retval, out] BSTR *p);
206 [propget, id(DISPID_XMLDOM_NODE_PREFIX)]
207 HRESULT prefix([retval, out] BSTR *p);
209 [propget, id(DISPID_XMLDOM_NODE_BASENAME)]
210 HRESULT baseName([retval, out] BSTR *p);
212 [id(DISPID_XMLDOM_NODE_TRANSFORMNODETOOBJECT)]
213 HRESULT transformNodeToObject(
214 [in] IXMLDOMNode *domNode,
215 [in] VARIANT var1);
219 local,
220 object,
221 dual,
222 oleautomation,
223 uuid (2933BF81-7B36-11d2-B20E-00C04F983E60)
225 interface IXMLDOMDocument : IXMLDOMNode
227 [propget, id(DISPID_DOM_DOCUMENT_DOCTYPE)]
228 HRESULT doctype([retval, out] IXMLDOMDocumentType **docType);
230 [propget, id(DISPID_DOM_DOCUMENT_IMPLEMENTATION)]
231 HRESULT implementation([retval, out] IXMLDOMImplementation **impl);
233 [propget, id(DISPID_DOM_DOCUMENT_DOCUMENTELEMENT)]
234 HRESULT documentElement([retval, out] IXMLDOMElement **domElement);
236 [propputref, id(DISPID_DOM_DOCUMENT_DOCUMENTELEMENT)]
237 HRESULT documentElement([in] IXMLDOMElement *domElement);
239 [id(DISPID_DOM_DOCUMENT_CREATEELEMENT)]
240 HRESULT createElement(
241 [in] BSTR p,
242 [retval, out] IXMLDOMElement **domElement);
244 [id(DISPID_DOM_DOCUMENT_CREATEDOCUMENTFRAGMENT)]
245 HRESULT createDocumentFragment(
246 [retval, out] IXMLDOMDocumentFragment **docFrag);
248 [id(DISPID_DOM_DOCUMENT_CREATETEXTNODE)]
249 HRESULT createTextNode(
250 [in] BSTR p,
251 [retval, out] IXMLDOMText **text);
253 [id(DISPID_DOM_DOCUMENT_CREATECOMMENT)]
254 HRESULT createComment(
255 [in] BSTR p,
256 [retval, out] IXMLDOMComment **comment);
258 [id(DISPID_DOM_DOCUMENT_CREATECDATASECTION)]
259 HRESULT createCDATASection(
260 [in] BSTR p,
261 [retval, out] IXMLDOMCDATASection **cdata);
263 [id(DISPID_DOM_DOCUMENT_CREATEPROCESSINGINSTRUCTION)]
264 HRESULT createProcessingInstruction(
265 [in] BSTR target,
266 [in] BSTR data,
267 [retval, out] IXMLDOMProcessingInstruction **pi);
269 [id(DISPID_DOM_DOCUMENT_CREATEATTRIBUTE)]
270 HRESULT createAttribute(
271 [in] BSTR p,
272 [retval, out] IXMLDOMAttribute **attribute);
274 [id(DISPID_DOM_DOCUMENT_CREATEENTITYREFERENCE)]
275 HRESULT createEntityReference(
276 [in] BSTR p,
277 [retval, out] IXMLDOMEntityReference **entityRef);
279 [id(DISPID_DOM_DOCUMENT_GETELEMENTSBYTAGNAME)]
280 HRESULT getElementsByTagName(
281 [in] BSTR p,
282 [retval, out] IXMLDOMNodeList **resultList);
284 [id(DISPID_XMLDOM_DOCUMENT_CREATENODE)]
285 HRESULT createNode(
286 [in] VARIANT var,
287 [in] BSTR name,
288 [in] BSTR uri,
289 [retval, out] IXMLDOMNode **node);
291 [id(DISPID_XMLDOM_DOCUMENT_NODEFROMID)]
292 HRESULT nodeFromID(
293 [in] BSTR id,
294 [retval, out] IXMLDOMNode **node);
296 [id(DISPID_XMLDOM_DOCUMENT_LOAD)]
297 HRESULT load(
298 [in] VARIANT var1,
299 [retval, out] VARIANT_BOOL *pbool);
301 [propget, id(DISPID_READYSTATE)]
302 HRESULT readyState([retval, out] LONG *value);
304 [propget, id(DISPID_XMLDOM_DOCUMENT_PARSEERROR)]
305 HRESULT parseError([retval, out] IXMLDOMParseError **err);
307 [propget, id(DISPID_XMLDOM_DOCUMENT_URL)]
308 HRESULT url([retval, out] BSTR *p);
310 [propget, id(DISPID_XMLDOM_DOCUMENT_ASYNC)]
311 HRESULT async([retval, out] VARIANT_BOOL *pbool);
313 [propput, id(DISPID_XMLDOM_DOCUMENT_ASYNC)]
314 HRESULT async([in] VARIANT_BOOL pbool);
316 [id(DISPID_XMLDOM_DOCUMENT_ABORT)]
317 HRESULT abort();
319 [id(DISPID_XMLDOM_DOCUMENT_LOADXML)]
320 HRESULT loadXML(
321 [in] BSTR p,
322 [out, retval] VARIANT_BOOL *pbool);
324 [id(DISPID_XMLDOM_DOCUMENT_SAVE)]
325 HRESULT save(
326 [in] VARIANT var1);
328 [propget, id(DISPID_XMLDOM_DOCUMENT_VALIDATE)]
329 HRESULT validateOnParse([retval, out] VARIANT_BOOL *pbool);
331 [propput, id(DISPID_XMLDOM_DOCUMENT_VALIDATE)]
332 HRESULT validateOnParse([in] VARIANT_BOOL pbool);
334 [propget, id(DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE)]
335 HRESULT resolveExternals([retval,out] VARIANT_BOOL *pbool);
337 [propput, id(DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE)]
338 HRESULT resolveExternals([in] VARIANT_BOOL pbool);
340 [propget, id(DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE)]
341 HRESULT preserveWhiteSpace([retval,out] VARIANT_BOOL *pbool);
343 [propput, id(DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE)]
344 HRESULT preserveWhiteSpace([in] VARIANT_BOOL pbool);
346 [propput, id(DISPID_XMLDOM_DOCUMENT_ONREADYSTATECHANGE)]
347 HRESULT onreadystatechange([in] VARIANT var1);
349 [propput, id(DISPID_XMLDOM_DOCUMENT_ONDATAAVAILABLE)]
350 HRESULT ondataavailable([in] VARIANT var1);
352 [propput, id(DISPID_XMLDOM_DOCUMENT_ONTRANSFORMNODE)]
353 HRESULT ontransformnode([in] VARIANT var1);
357 local,
358 object,
359 dual,
360 oleautomation,
361 uuid (373984c8-b845-449b-91e7-45ac83036ade)
363 interface IXMLDOMSchemaCollection : IDispatch
365 [id(DISPID_XMLDOM_SCHEMACOLLECTION_ADD)]
366 HRESULT add(
367 [in] BSTR uri,
368 [in] VARIANT var);
370 [id(DISPID_XMLDOM_SCHEMACOLLECTION_GET)]
371 HRESULT get(
372 [in] BSTR uri,
373 [retval, out] IXMLDOMNode **node);
375 [id(DISPID_XMLDOM_SCHEMACOLLECTION_REMOVE)]
376 HRESULT remove(
377 [in] BSTR uri);
379 [propget, id(DISPID_XMLDOM_SCHEMACOLLECTION_LENGTH)]
380 HRESULT length(
381 [retval, out] LONG *length);
383 [propget, id(DISPID_VALUE)]
384 HRESULT namespaceURI([in] LONG index, [out, retval] BSTR *len);
386 [id(DISPID_XMLDOM_SCHEMACOLLECTION_ADDCOLLECTION)]
387 HRESULT addCollection(
388 [in] IXMLDOMSchemaCollection *otherCollection);
390 [propget, id(DISPID_NEWENUM)]
391 HRESULT _newEnum([retval, out] IUnknown **ppUnk);
395 local,
396 object,
397 dual,
398 oleautomation,
399 uuid (2933BF95-7B36-11d2-B20E-00C04F983E60)
401 interface IXMLDOMDocument2 : IXMLDOMDocument
403 [propget, id(DISPID_XMLDOM_DOCUMENT2_NAMESPACES)]
404 HRESULT namespaces([retval, out] IXMLDOMSchemaCollection **schemaCollection);
406 [propget, id(DISPID_XMLDOM_DOCUMENT2_SCHEMAS)]
407 HRESULT schemas([retval, out] VARIANT *var1);
409 [propputref, id(DISPID_XMLDOM_DOCUMENT2_SCHEMAS)]
410 HRESULT schemas([in] VARIANT var1);
412 [id(DISPID_XMLDOM_DOCUMENT2_VALIDATE)]
413 HRESULT validate(
414 [retval, out] IXMLDOMParseError **err);
416 [id(DISPID_XMLDOM_DOCUMENT2_SETPROPERTY)]
417 HRESULT setProperty(
418 [in] BSTR p,
419 [in] VARIANT var);
421 [id(DISPID_XMLDOM_DOCUMENT2_GETPROPERTY)]
422 HRESULT getProperty(
423 [in] BSTR p,
424 [retval, out] VARIANT *var);
428 local,
429 object,
430 dual,
431 oleautomation,
432 uuid (2933BF82-7B36-11d2-B20E-00C04F983E60)
434 interface IXMLDOMNodeList : IDispatch
436 [propget, id(DISPID_VALUE)]
437 HRESULT item([in] LONG lIndex, [retval, out] IXMLDOMNode **outNode);
439 [propget, id(DISPID_DOM_NODELIST_LENGTH)]
440 HRESULT length([retval, out] LONG *lLength);
442 [id(DISPID_XMLDOM_NODELIST_NEXTNODE)]
443 HRESULT nextNode(
444 [retval, out] IXMLDOMNode **outNode);
446 [id(DISPID_XMLDOM_NODELIST_RESET)]
447 HRESULT reset();
449 [propget, id(DISPID_NEWENUM)]
450 HRESULT _newEnum([retval, out] IUnknown **ppUnk);
454 local,
455 object,
456 dual,
457 oleautomation,
458 uuid (AA634FC7-5888-44a7-A257-3A47150D3A0E)
460 interface IXMLDOMSelection : IXMLDOMNodeList
462 [propget, id(DISPID_XMLDOM_SELECTION_EXPR)]
463 HRESULT expr([retval, out] BSTR *p);
465 [propput, id(DISPID_XMLDOM_SELECTION_EXPR)]
466 HRESULT expr([in] BSTR p);
468 [propget, id(DISPID_XMLDOM_SELECTION_CONTEXT)]
469 HRESULT context([retval, out] IXMLDOMNode **ppNode);
471 [propputref, id(DISPID_XMLDOM_SELECTION_CONTEXT)]
472 HRESULT context([in] IXMLDOMNode * pNode);
474 [id(DISPID_XMLDOM_SELECTION_PEEKNODE)]
475 HRESULT peekNode(
476 [retval, out] IXMLDOMNode **ppNode);
478 [id(DISPID_XMLDOM_SELECTION_MATCHES)]
479 HRESULT matches(
480 [in] IXMLDOMNode *pNode,
481 [retval, out] IXMLDOMNode **ppNode);
483 [id(DISPID_XMLDOM_SELECTION_REMOVENEXT)]
484 HRESULT removeNext(
485 [retval, out] IXMLDOMNode **ppNode);
487 [id(DISPID_XMLDOM_SELECTION_REMOVEALL)]
488 HRESULT removeAll();
490 [id(DISPID_XMLDOM_SELECTION_CLONE)]
491 HRESULT clone(
492 [retval, out] IXMLDOMSelection **ppNode);
494 [id(DISPID_XMLDOM_SELECTION_GETPROPERTY)]
495 HRESULT getProperty(
496 [in] BSTR p,
497 [retval, out] VARIANT * var);
499 [id(DISPID_XMLDOM_SELECTION_SETPROPERTY)]
500 HRESULT setProperty(
501 [in] BSTR p,
502 [in] VARIANT var);
506 local,
507 object,
508 dual,
509 oleautomation,
510 uuid (2933BF83-7B36-11d2-B20E-00C04F983E60)
512 interface IXMLDOMNamedNodeMap : IDispatch
514 [id(DISPID_DOM_NAMEDNODEMAP_GETNAMEDITEM)]
515 HRESULT getNamedItem(
516 [in] BSTR p,
517 [retval, out] IXMLDOMNode **outNode);
519 [id(DISPID_DOM_NAMEDNODEMAP_SETNAMEDITEM)]
520 HRESULT setNamedItem(
521 [in] IXMLDOMNode *newNode,
522 [retval, out] IXMLDOMNode **outNode);
524 [id(DISPID_DOM_NAMEDNODEMAP_REMOVENAMEDITEM)]
525 HRESULT removeNamedItem(
526 [in] BSTR p,
527 [retval, out] IXMLDOMNode **outNode);
529 [propget, id(DISPID_VALUE)]
530 HRESULT item([in] LONG lIndex, [retval, out] IXMLDOMNode **outNode);
532 [propget, id(DISPID_DOM_NODELIST_LENGTH)]
533 HRESULT length([retval, out] LONG *lLength);
535 [id(DISPID_XMLDOM_NAMEDNODEMAP_GETQUALIFIEDITEM)]
536 HRESULT getQualifiedItem(
537 [in] BSTR name,
538 [in] BSTR uri,
539 [retval, out] IXMLDOMNode **outNode);
541 [id(DISPID_XMLDOM_NAMEDNODEMAP_REMOVEQUALIFIEDITEM)]
542 HRESULT removeQualifiedItem(
543 [in] BSTR name,
544 [in] BSTR uri,
545 [retval, out] IXMLDOMNode **outNode);
547 [id(DISPID_XMLDOM_NAMEDNODEMAP_NEXTNODE)]
548 HRESULT nextNode(
549 [retval, out] IXMLDOMNode **outNode);
551 [id(DISPID_XMLDOM_NAMEDNODEMAP_RESET)]
552 HRESULT reset();
554 [propget, id(DISPID_NEWENUM)]
555 HRESULT _newEnum([retval, out] IUnknown **ppUnk);
559 local,
560 object,
561 dual,
562 oleautomation,
563 uuid (3efaa413-272f-11d2-836f-0000f87a7782)
565 interface IXMLDOMDocumentFragment : IXMLDOMNode
570 local,
571 object,
572 dual,
573 oleautomation,
574 uuid (2933BF84-7B36-11d2-B20E-00C04F983E60)
576 interface IXMLDOMCharacterData : IXMLDOMNode
578 [propget, id(DISPID_DOM_DATA_DATA)]
579 HRESULT data([retval, out] BSTR *p);
581 [propput, id(DISPID_DOM_DATA_DATA)]
582 HRESULT data([in] BSTR data);
584 [propget, id(DISPID_DOM_DATA_LENGTH)]
585 HRESULT length([retval, out] LONG *len);
587 [id(DISPID_DOM_DATA_SUBSTRING)]
588 HRESULT substringData(
589 [in] LONG offset,
590 [in] LONG count,
591 [retval, out] BSTR *p);
593 [id(DISPID_DOM_DATA_APPEND)]
594 HRESULT appendData(
595 [in] BSTR p);
597 [id(DISPID_DOM_DATA_INSERT)]
598 HRESULT insertData(
599 [in] LONG offset,
600 [in] BSTR p);
602 [id(DISPID_DOM_DATA_DELETE)]
603 HRESULT deleteData(
604 [in] LONG offset,
605 [in] LONG count);
607 [id(DISPID_DOM_DATA_REPLACE)]
608 HRESULT replaceData(
609 [in] LONG offset,
610 [in] LONG count,
611 [in] BSTR p);
615 local,
616 object,
617 dual,
618 oleautomation,
619 uuid (2933BF85-7B36-11d2-B20E-00C04F983E60)
621 interface IXMLDOMAttribute : IXMLDOMNode
623 [propget, id(DISPID_DOM_ATTRIBUTE_GETNAME)]
624 HRESULT name([retval, out] BSTR *p);
626 [propget, id(DISPID_DOM_ATTRIBUTE_VALUE)]
627 HRESULT value([retval, out] VARIANT *var1);
629 [propput, id(DISPID_DOM_ATTRIBUTE_VALUE)]
630 HRESULT value([in] VARIANT var1);
634 local,
635 object,
636 dual,
637 oleautomation,
638 uuid (2933BF86-7B36-11d2-B20E-00C04F983E60)
640 interface IXMLDOMElement : IXMLDOMNode
642 [propget, id(DISPID_DOM_ELEMENT_GETTAGNAME)]
643 HRESULT tagName([retval, out] BSTR *p);
645 [id(DISPID_DOM_ELEMENT_GETATTRIBUTE)]
646 HRESULT getAttribute(
647 [in] BSTR p,
648 [retval, out] VARIANT *var);
650 [id(DISPID_DOM_ELEMENT_SETATTRIBUTE)]
651 HRESULT setAttribute(
652 [in] BSTR p,
653 [in] VARIANT var);
655 [id(DISPID_DOM_ELEMENT_REMOVEATTRIBUTE)]
656 HRESULT removeAttribute(
657 [in] BSTR p);
659 [id(DISPID_DOM_ELEMENT_GETATTRIBUTENODE)]
660 HRESULT getAttributeNode(
661 [in] BSTR p,
662 [retval, out] IXMLDOMAttribute **attributeNode);
664 [id(DISPID_DOM_ELEMENT_SETATTRIBUTENODE)]
665 HRESULT setAttributeNode(
666 [in] IXMLDOMAttribute *domAttribute,
667 [retval, out] IXMLDOMAttribute **attributeNode);
669 [id(DISPID_DOM_ELEMENT_REMOVEATTRIBUTENODE)]
670 HRESULT removeAttributeNode(
671 [in] IXMLDOMAttribute *domAttribute,
672 [retval, out] IXMLDOMAttribute **attributeNode);
674 [id(DISPID_DOM_ELEMENT_GETELEMENTSBYTAGNAME)]
675 HRESULT getElementsByTagName(
676 [in] BSTR p,
677 [retval, out] IXMLDOMNodeList **resultList);
679 [id(DISPID_DOM_ELEMENT_NORMALIZE)]
680 HRESULT normalize();
684 local,
685 object,
686 dual,
687 oleautomation,
688 uuid (2933BF87-7B36-11d2-B20E-00C04F983E60)
690 interface IXMLDOMText : IXMLDOMCharacterData
692 [id(DISPID_DOM_TEXT_SPLITTEXT)]
693 HRESULT splitText(
694 [in] LONG offset,
695 [retval, out] IXMLDOMText **txtNode);
699 local,
700 object,
701 dual,
702 oleautomation,
703 uuid (2933BF88-7B36-11d2-B20E-00C04F983E60)
705 interface IXMLDOMComment : IXMLDOMCharacterData
710 local,
711 object,
712 dual,
713 oleautomation,
714 uuid (2933BF89-7B36-11d2-B20E-00C04F983E60)
716 interface IXMLDOMProcessingInstruction : IXMLDOMNode
718 [propget, id(DISPID_DOM_PI_TARGET)]
719 HRESULT target([retval, out] BSTR *p);
721 [propget, id(DISPID_DOM_PI_DATA)]
722 HRESULT data([retval, out] BSTR *p);
724 [propput, id(DISPID_DOM_PI_DATA)]
725 HRESULT data([in] BSTR p);
729 local,
730 object,
731 dual,
732 oleautomation,
733 uuid (2933BF8A-7B36-11d2-B20E-00C04F983E60)
735 interface IXMLDOMCDATASection : IXMLDOMText
740 local,
741 object,
742 dual,
743 oleautomation,
744 uuid (2933BF8B-7B36-11d2-B20E-00C04F983E60)
746 interface IXMLDOMDocumentType : IXMLDOMNode
748 [propget, id(DISPID_DOM_DOCUMENTTYPE_NAME)]
749 HRESULT name([retval, out] BSTR *p);
751 [propget, id(DISPID_DOM_DOCUMENTTYPE_ENTITIES)]
752 HRESULT entities([retval, out] IXMLDOMNamedNodeMap **entityMap);
754 [propget, id(DISPID_DOM_DOCUMENTTYPE_NOTATIONS)]
755 HRESULT notations([retval, out] IXMLDOMNamedNodeMap **notationMap);
759 local,
760 object,
761 dual,
762 oleautomation,
763 uuid (2933BF8C-7B36-11d2-B20E-00C04F983E60)
765 interface IXMLDOMNotation : IXMLDOMNode
767 [propget, id(DISPID_DOM_NOTATION_PUBLICID)]
768 HRESULT publicId([retval, out] VARIANT *id);
770 [propget, id(DISPID_DOM_NOTATION_SYSTEMID)]
771 HRESULT systemId([retval, out] VARIANT *id);
775 local,
776 object,
777 dual,
778 oleautomation,
779 uuid (2933BF8D-7B36-11d2-B20E-00C04F983E60)
781 interface IXMLDOMEntity : IXMLDOMNode
783 [propget, id(DISPID_DOM_ENTITY_PUBLICID)]
784 HRESULT publicId([retval, out] VARIANT *id1);
786 [propget, id(DISPID_DOM_ENTITY_SYSTEMID)]
787 HRESULT systemId([retval, out] VARIANT *id1);
789 [propget, id(DISPID_DOM_ENTITY_NOTATIONNAME)]
790 HRESULT notationName([retval, out] BSTR *p);
794 local,
795 object,
796 dual,
797 oleautomation,
798 uuid (2933BF8E-7B36-11d2-B20E-00C04F983E60)
800 interface IXMLDOMEntityReference : IXMLDOMNode
805 local,
806 object,
807 dual,
808 oleautomation,
809 uuid (2933BF8F-7B36-11d2-B20E-00C04F983E60)
811 interface IXMLDOMImplementation : IDispatch
813 [id(DISPID_DOM_IMPLEMENTATION_HASFEATURE)]
814 HRESULT hasFeature(
815 [in] BSTR feature,
816 [in] BSTR version,
817 [retval, out] VARIANT_BOOL *pbool);
821 local,
822 object,
823 dual,
824 oleautomation,
825 uuid (3efaa425-272f-11d2-836f-0000f87a7782)
827 interface IXTLRuntime : IXMLDOMNode
829 [id(DISPID_XTLRUNTIME_UNIQUEID)]
830 HRESULT uniqueID(
831 [in]IXMLDOMNode *pNode,
832 [retval, out]LONG *pID);
834 [id(DISPID_XTLRUNTIME_DEPTH)]
835 HRESULT depth(
836 [in] IXMLDOMNode *pNode,
837 [retval, out]LONG * pDepth);
839 [id(DISPID_XTLRUNTIME_CHILDNUMBER)]
840 HRESULT childNumber(
841 [in]IXMLDOMNode *pNode,
842 [retval, out] LONG *pNumber);
844 [id(DISPID_XTLRUNTIME_ANCESTORCHILDNUMBER)]
845 HRESULT ancestorChildNumber(
846 [in]BSTR bstr,
847 [in]IXMLDOMNode *pNode,
848 [retval, out]LONG *pNumber);
850 [id(DISPID_XTLRUNTIME_ABSOLUTECHILDNUMBER)]
851 HRESULT absoluteChildNumber(
852 [in]IXMLDOMNode *pNode,
853 [retval, out]LONG *pNumber);
855 [id(DISPID_XTLRUNTIME_FORMATINDEX)]
856 HRESULT formatIndex(
857 [in] LONG lIndex,
858 [in] BSTR bstr,
859 [retval, out]BSTR *pbstr);
861 [id(DISPID_XTLRUNTIME_FORMATNUMBER)]
862 HRESULT formatNumber(
863 [in] double dblNumber,
864 [in] BSTR bstr,
865 [retval, out]BSTR *pbstr);
867 [id(DISPID_XTLRUNTIME_FORMATDATE)]
868 HRESULT formatDate(
869 [in] VARIANT var1,
870 [in] BSTR bstr,
871 [optional, in] VARIANT var2,
872 [retval, out]BSTR *pbstr);
874 [id(DISPID_XTLRUNTIME_FORMATTIME)]
875 HRESULT formatTime(
876 [in] VARIANT var1,
877 [in] BSTR bstr,
878 [optional, in] VARIANT var2,
879 [retval, out]BSTR *pbstr);
884 uuid(3efaa427-272f-11d2-836f-0000f87a7782)
886 dispinterface XMLDOMDocumentEvents
888 properties:
889 methods:
890 [id (DISPID_XMLDOMEVENT_ONDATAAVAILABLE)]
891 HRESULT ondataavailable();
893 [id (DISPID_XMLDOMEVENT_ONREADYSTATECHANGE)]
894 HRESULT onreadystatechange();
898 local,
899 object,
900 dual,
901 oleautomation,
902 uuid (2933BF92-7B36-11d2-B20E-00C04F983E60)
904 interface IXSLProcessor : IDispatch
906 [propput, id(DISPID_XMLDOM_PROCESSOR_INPUT)]
907 HRESULT input([in] VARIANT var);
909 [propget, id(DISPID_XMLDOM_PROCESSOR_INPUT)]
910 HRESULT input([retval, out] VARIANT *var);
912 [propget, id(DISPID_XMLDOM_PROCESSOR_XSLTEMPLATE)]
913 HRESULT ownerTemplate([retval, out] IXSLTemplate **ppTemplate);
915 [id(DISPID_XMLDOM_PROCESSOR_SETSTARTMODE)]
916 HRESULT setStartMode(
917 [in] BSTR p,
918 [in, defaultvalue("")] BSTR uri);
920 [propget, id(DISPID_XMLDOM_PROCESSOR_STARTMODE)]
921 HRESULT startMode([retval, out] BSTR *p);
923 [propget, id(DISPID_XMLDOM_PROCESSOR_STARTMODEURI)]
924 HRESULT startModeURI([retval, out] BSTR *uri);
926 [propput, id(DISPID_XMLDOM_PROCESSOR_OUTPUT)]
927 HRESULT output([in] VARIANT var);
929 [propget, id(DISPID_XMLDOM_PROCESSOR_OUTPUT)]
930 HRESULT output([retval, out] VARIANT *var);
932 [id(DISPID_XMLDOM_PROCESSOR_TRANSFORM)]
933 HRESULT transform(
934 [retval, out] VARIANT_BOOL *pbool);
936 [id(DISPID_XMLDOM_PROCESSOR_RESET)]
937 HRESULT reset();
939 [propget, id(DISPID_XMLDOM_PROCESSOR_READYSTATE)]
940 HRESULT readyState([retval, out] LONG *pstate);
942 [id(DISPID_XMLDOM_PROCESSOR_ADDPARAMETER)]
943 HRESULT addParameter(
944 [in] BSTR p,
945 [in] VARIANT var,
946 [in, defaultvalue("")] BSTR uri);
948 [id(DISPID_XMLDOM_PROCESSOR_ADDOBJECT)]
949 HRESULT addObject(
950 [in] IDispatch* obj,
951 [in] BSTR uri);
953 [propget, id(DISPID_XMLDOM_PROCESSOR_STYLESHEET)]
954 HRESULT stylesheet([retval, out] IXMLDOMNode **node);
958 local,
959 object,
960 dual,
961 oleautomation,
962 uuid (2933BF93-7B36-11d2-B20E-00C04F983E60)
964 interface IXSLTemplate : IDispatch
966 [propputref, id(DISPID_XMLDOM_TEMPLATE_STYLESHEET)]
967 HRESULT stylesheet([in] IXMLDOMNode *node);
969 [propget, id(DISPID_XMLDOM_TEMPLATE_STYLESHEET)]
970 HRESULT stylesheet([retval, out] IXMLDOMNode **node);
972 [id(DISPID_XMLDOM_TEMPLATE_CREATEPROCESSOR)]
973 HRESULT createProcessor(
974 [retval, out] IXSLProcessor **ppProcessor);
978 object,
979 uuid(ED8C108D-4349-11D2-91A4-00C04F7969E8),
980 odl,
981 dual,
982 oleautomation,
983 pointer_default(unique)
985 interface IXMLHTTPRequest : IDispatch
987 [id(1)]
988 HRESULT open([in] BSTR bstrMethod, [in] BSTR bstrUrl, [in, optional] VARIANT varAsync,
989 [in,optional] VARIANT username, [in,optional] VARIANT password);
991 [id(2)]
992 HRESULT setRequestHeader([in] BSTR bstrHeader, [in] BSTR bstrValue);
994 [id(3)]
995 HRESULT getResponseHeader([in] BSTR bstrHeader, [out, retval] BSTR * value);
997 [id(4)]
998 HRESULT getAllResponseHeaders([out, retval] BSTR * pbstrHeaders);
1000 [id(5)]
1001 HRESULT send([in, optional] VARIANT body);
1003 [id(6)]
1004 HRESULT abort();
1006 [propget, id(7)]
1007 HRESULT status([out, retval] LONG *pStatus);
1009 [propget, id(8)]
1010 HRESULT statusText([out, retval] BSTR *pStatus);
1012 [propget, id(9)]
1013 HRESULT responseXML([out, retval] IDispatch **pBody);
1015 [propget, id(10)]
1016 HRESULT responseText([out, retval] BSTR *pBody);
1018 [propget, id(11)]
1019 HRESULT responseBody([out, retval] VARIANT *pBody);
1021 [propget, id(12)]
1022 HRESULT responseStream([out, retval] VARIANT *pBody);
1024 [propget, id(13)]
1025 HRESULT readyState([out, retval] LONG *pState);
1027 [propput, id(14)]
1028 HRESULT onreadystatechange([in] IDispatch *pReadyStateSink);
1032 local,
1033 object,
1034 dual,
1035 oleautomation,
1036 uuid (3efaa426-272f-11d2-836f-0000f87a7782)
1038 interface IXMLDOMParseError : IDispatch
1040 [propget, id(DISPID_VALUE)]
1041 HRESULT errorCode([retval, out] LONG *errCode);
1043 [propget, id(DISPID_DOM_ERROR_URL)]
1044 HRESULT url([retval, out] BSTR *p);
1046 [propget, id(DISPID_DOM_ERROR_REASON)]
1047 HRESULT reason([retval, out] BSTR *p);
1049 [propget, id(DISPID_DOM_ERROR_SRCTEXT)]
1050 HRESULT srcText([retval, out] BSTR *p);
1052 [propget, id(DISPID_DOM_ERROR_LINE)]
1053 HRESULT line([retval, out] LONG *lineNo);
1055 [propget, id(DISPID_DOM_ERROR_LINEPOS)]
1056 HRESULT linepos([retval, out] LONG * linePos);
1058 [propget, id(DISPID_DOM_ERROR_FILEPOS)]
1059 HRESULT filepos([retval, out] LONG * filePos);
1063 uuid(F6D90F11-9C73-11D3-B32E-00C04F990BB4)
1065 coclass DOMDocument
1067 [default] interface IXMLDOMDocument2;
1068 [default, source] dispinterface XMLDOMDocumentEvents;
1072 helpstring("XML DOM Document 2.6"),
1073 progid("Msxml2.DOMDocument.2.6"),
1074 vi_progid("Msxml2.DOMDocument"),
1075 threading(both),
1076 uuid(f5078f1b-c551-11d3-89b9-0000f81fe221)
1078 coclass DOMDocument26
1080 [default] interface IXMLDOMDocument2;
1081 [default, source] dispinterface XMLDOMDocumentEvents;
1085 uuid(F6D90F12-9C73-11D3-B32E-00C04F990BB4)
1087 coclass FreeThreadedDOMDocument
1089 [default] interface IXMLDOMDocument2;
1090 [default, source] dispinterface XMLDOMDocumentEvents;
1094 helpstring("Free Threaded XML DOM Document 2.6"),
1095 progid("Msxml2.FreeThreadedDOMDocument.2.6"),
1096 vi_progid("Msxml2.FreeThreadedDOMDocument"),
1097 threading(both),
1098 uuid(f5078f1c-c551-11d3-89b9-0000f81fe221)
1100 coclass FreeThreadedDOMDocument26
1102 [default] interface IXMLDOMDocument2;
1103 [default, source] dispinterface XMLDOMDocumentEvents;
1107 uuid(f6d90f16-9c73-11d3-b32e-00c04f990bb4)
1109 coclass XMLHTTP
1111 [default] interface IXMLHTTPRequest;
1115 helpstring("XML HTTP 2.6"),
1116 progid("Msxml2.XMLHTTP.2.6"),
1117 vi_progid("Msxml2.XMLHTTP"),
1118 threading(apartment),
1119 uuid(f5078f1e-c551-11d3-89b9-0000f81fe221)
1121 coclass XMLHTTP26
1123 [default] interface IXMLHTTPRequest;
1127 uuid(373984c9-b845-449b-91e7-45ac83036ade)
1129 coclass XMLSchemaCache
1131 [default] interface IXMLDOMSchemaCollection;
1135 helpstring("XML Schema Cache 2.6"),
1136 progid("Msxml2.XMLSchemaCache.2.6"),
1137 vi_progid("Msxml2.XMLSchemaCache"),
1138 threading(both),
1139 uuid(f5078f1d-c551-11d3-89b9-0000f81fe221)
1141 coclass XMLSchemaCache26
1143 [default] interface IXMLDOMSchemaCollection;
1147 uuid(2933BF94-7B36-11d2-B20E-00C04F983E60)
1149 coclass XSLTemplate
1151 [default] interface IXSLTemplate;
1155 helpstring("XSL Template 2.6"),
1156 progid("Msxml2.XSLTemplate.2.6"),
1157 vi_progid("Msxml2.XSLTemplate"),
1158 threading(both),
1159 uuid(f5078f21-c551-11d3-89b9-0000f81fe221)
1161 coclass XSLTemplate26
1163 [default] interface IXSLTemplate;
1166 } /* Library MSXML */