d3d10/effect: Add a helper to read raw variable values.
[wine.git] / include / msxml6.idl
blob4948de39f1f8449d810593ac3135c56f410064e1
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 <msxml6did.h>
22 #include <idispids.h>
24 import "unknwn.idl";
25 import "objidl.idl";
26 import "oaidl.idl";
28 #ifndef __WIDL__
29 #define threading(model)
30 #define progid(str)
31 #define vi_progid(str)
32 #endif
34 interface IXMLDOMImplementation;
35 interface IXMLDOMNode;
36 interface IXMLDOMDocumentFragment;
37 interface IXMLDOMDocument;
38 interface IXMLDOMSchemaCollection;
39 interface IXMLDOMDocument2;
40 interface IXMLDOMNodeList;
41 interface IXMLDOMNamedNodeMap;
42 interface IXMLDOMCharacterData;
43 interface IXMLDOMAttribute;
44 interface IXMLDOMElement;
45 interface IXMLDOMText;
46 interface IXMLDOMComment;
47 interface IXMLDOMProcessingInstruction;
48 interface IXMLDOMCDATASection;
49 interface IXMLDOMDocumentType;
50 interface IXMLDOMNotation;
51 interface IXMLDOMEntity;
52 interface IXMLDOMEntityReference;
53 interface IXMLDOMParseError;
54 interface IXMLDOMParseErrorCollection;
55 interface IXMLHTTPRequest2Callback;
56 interface IXMLHTTPRequest3Callback;
57 interface IXTLRuntime;
58 interface IXSLTemplate;
59 interface IXSLProcessor;
61 /* SAX Interfaces */
62 interface ISAXAttributes;
63 interface ISAXContentHandler;
64 interface ISAXDeclHandler;
65 interface ISAXDTDHandler;
66 interface ISAXEntityResolver;
67 interface ISAXErrorHandler;
68 interface ISAXLexicalHandler;
69 interface ISAXLocator;
70 interface ISAXXMLFilter;
71 interface ISAXXMLReader;
73 interface IVBSAXAttributes;
74 interface IVBSAXContentHandler;
75 interface IVBSAXDeclHandler;
76 interface IVBSAXDTDHandler;
77 interface IVBSAXEntityResolver;
78 interface IVBSAXErrorHandler;
79 interface IVBSAXLexicalHandler;
80 interface IVBSAXLocator;
81 interface IVBSAXXMLFilter;
82 interface IVBSAXXMLReader;
84 interface IMXAttributes;
85 interface IMXReaderControl;
86 interface IMXWriter;
88 interface IXMLDOMSchemaCollection2;
89 interface ISchemaStringCollection;
90 interface ISchemaItemCollection;
91 interface ISchemaItem;
92 interface ISchema;
93 interface ISchemaParticle;
94 interface ISchemaAttribute;
95 interface ISchemaElement;
96 interface ISchemaType;
97 interface ISchemaComplexType;
98 interface ISchemaAttributeGroup;
99 interface ISchemaModelGroup;
100 interface ISchemaAny;
101 interface ISchemaIdentityConstraint;
102 interface ISchemaNotation;
104 cpp_quote("#ifdef __ISAXXMLReader_INTERFACE_DEFINED__")
105 cpp_quote("#undef __MSXML2_LIBRARY_DEFINED__")
106 cpp_quote("#endif")
108 cpp_quote("#ifndef __MSXML_DOMNODETYPE_DEFINED")
109 cpp_quote("#define __MSXML_DOMNODETYPE_DEFINED")
110 typedef enum tagDOMNodeType
112 NODE_INVALID = 0,
113 NODE_ELEMENT = 1,
114 NODE_ATTRIBUTE = 2,
115 NODE_TEXT = 3,
116 NODE_CDATA_SECTION = 4,
117 NODE_ENTITY_REFERENCE = 5,
118 NODE_ENTITY = 6,
119 NODE_PROCESSING_INSTRUCTION = 7,
120 NODE_COMMENT = 8,
121 NODE_DOCUMENT = 9,
122 NODE_DOCUMENT_TYPE = 10,
123 NODE_DOCUMENT_FRAGMENT = 11,
124 NODE_NOTATION = 12
125 } DOMNodeType;
126 cpp_quote("#endif")
128 cpp_quote("#ifndef __msxml_som_enums__")
129 cpp_quote("#define __msxml_som_enums__")
130 typedef enum _SOMITEMTYPE
132 SOMITEM_SCHEMA = 0x1000,
133 SOMITEM_ATTRIBUTE = 0x1001,
134 SOMITEM_ATTRIBUTEGROUP = 0x1002,
135 SOMITEM_NOTATION = 0x1003,
136 SOMITEM_IDENTITYCONSTRAINT = 0x1100,
137 SOMITEM_KEY = 0x1101,
138 SOMITEM_KEYREF = 0x1102,
139 SOMITEM_UNIQUE = 0x1103,
140 SOMITEM_ANYTYPE = 0x2000,
141 SOMITEM_DATATYPE = 0x2100,
142 SOMITEM_DATATYPE_ANYTYPE = 0x2101,
143 SOMITEM_DATATYPE_ANYURI = 0x2102,
144 SOMITEM_DATATYPE_BASE64BINARY = 0x2103,
145 SOMITEM_DATATYPE_BOOLEAN = 0x2104,
146 SOMITEM_DATATYPE_BYTE = 0x2105,
147 SOMITEM_DATATYPE_DATE = 0x2106,
148 SOMITEM_DATATYPE_DATETIME = 0x2107,
149 SOMITEM_DATATYPE_DAY = 0x2108,
150 SOMITEM_DATATYPE_DECIMAL = 0x2109,
151 SOMITEM_DATATYPE_DOUBLE = 0x210A,
152 SOMITEM_DATATYPE_DURATION = 0x210B,
153 SOMITEM_DATATYPE_ENTITIES = 0x210C,
154 SOMITEM_DATATYPE_ENTITY = 0x210D,
155 SOMITEM_DATATYPE_FLOAT = 0x210E,
156 SOMITEM_DATATYPE_HEXBINARY = 0x210F,
157 SOMITEM_DATATYPE_ID = 0x2110,
158 SOMITEM_DATATYPE_IDREF = 0x2111,
159 SOMITEM_DATATYPE_IDREFS = 0x2112,
160 SOMITEM_DATATYPE_INT = 0x2113,
161 SOMITEM_DATATYPE_INTEGER = 0x2114,
162 SOMITEM_DATATYPE_LANGUAGE = 0x2115,
163 SOMITEM_DATATYPE_LONG = 0x2116,
164 SOMITEM_DATATYPE_MONTH = 0x2117,
165 SOMITEM_DATATYPE_MONTHDAY = 0x2118,
166 SOMITEM_DATATYPE_NAME = 0x2119,
167 SOMITEM_DATATYPE_NCNAME = 0x211A,
168 SOMITEM_DATATYPE_NEGATIVEINTEGER = 0x211B,
169 SOMITEM_DATATYPE_NMTOKEN = 0x211C,
170 SOMITEM_DATATYPE_NMTOKENS = 0x211D,
171 SOMITEM_DATATYPE_NONNEGATIVEINTEGER = 0x211E,
172 SOMITEM_DATATYPE_NONPOSITIVEINTEGER = 0x211F,
173 SOMITEM_DATATYPE_NORMALIZEDSTRING = 0x2120,
174 SOMITEM_DATATYPE_NOTATION = 0x2121,
175 SOMITEM_DATATYPE_POSITIVEINTEGER = 0x2122,
176 SOMITEM_DATATYPE_QNAME = 0x2123,
177 SOMITEM_DATATYPE_SHORT = 0x2124,
178 SOMITEM_DATATYPE_STRING = 0x2125,
179 SOMITEM_DATATYPE_TIME = 0x2126,
180 SOMITEM_DATATYPE_TOKEN = 0x2127,
181 SOMITEM_DATATYPE_UNSIGNEDBYTE = 0x2128,
182 SOMITEM_DATATYPE_UNSIGNEDINT = 0x2129,
183 SOMITEM_DATATYPE_UNSIGNEDLONG = 0x212A,
184 SOMITEM_DATATYPE_UNSIGNEDSHORT = 0x212B,
185 SOMITEM_DATATYPE_YEAR = 0x212C,
186 SOMITEM_DATATYPE_YEARMONTH = 0x212D,
187 SOMITEM_DATATYPE_ANYSIMPLETYPE = 0x21FF,
188 SOMITEM_SIMPLETYPE = 0x2200,
189 SOMITEM_COMPLEXTYPE = 0x2400,
190 SOMITEM_PARTICLE = 0x4000,
191 SOMITEM_ANY = 0x4001,
192 SOMITEM_ANYATTRIBUTE = 0x4002,
193 SOMITEM_ELEMENT = 0x4003,
194 SOMITEM_GROUP = 0x4100,
195 SOMITEM_ALL = 0x4101,
196 SOMITEM_CHOICE = 0x4102,
197 SOMITEM_SEQUENCE = 0x4103,
198 SOMITEM_EMPTYPARTICLE = 0x4104,
199 SOMITEM_NULL = 0x0800,
200 SOMITEM_NULL_TYPE = 0x2800,
201 SOMITEM_NULL_ANY = 0x4801,
202 SOMITEM_NULL_ANYATTRIBUTE = 0x4802,
203 SOMITEM_NULL_ELEMENT = 0x4803,
204 } SOMITEMTYPE;
206 typedef enum _SCHEMAUSE
208 SCHEMAUSE_OPTIONAL,
209 SCHEMAUSE_PROHIBITED,
210 SCHEMAUSE_REQUIRED,
211 } SCHEMAUSE;
213 typedef enum _SCHEMADERIVATIONMETHOD
215 SCHEMADERIVATIONMETHOD_EMPTY = 0x0000,
216 SCHEMADERIVATIONMETHOD_SUBSTITUTION = 0x0001,
217 SCHEMADERIVATIONMETHOD_EXTENSION = 0x0002,
218 SCHEMADERIVATIONMETHOD_RESTRICTION = 0x0004,
219 SCHEMADERIVATIONMETHOD_LIST = 0x0008,
220 SCHEMADERIVATIONMETHOD_UNION = 0x0010,
221 SCHEMADERIVATIONMETHOD_ALL = 0x00FF,
222 SCHEMADERIVATIONMETHOD_NONE = 0x0100,
223 } SCHEMADERIVATIONMETHOD;
225 typedef enum _SCHEMACONTENTTYPE
227 SCHEMACONTENTTYPE_EMPTY,
228 SCHEMACONTENTTYPE_TEXTONLY,
229 SCHEMACONTENTTYPE_ELEMENTONLY,
230 SCHEMACONTENTTYPE_MIXED,
231 } SCHEMACONTENTTYPE;
233 typedef enum _SCHEMAPROCESSCONTENTS
235 SCHEMAPROCESSCONTENTS_NONE,
236 SCHEMAPROCESSCONTENTS_SKIP,
237 SCHEMAPROCESSCONTENTS_LAX,
238 SCHEMAPROCESSCONTENTS_STRICT,
239 } SCHEMAPROCESSCONTENTS;
241 typedef enum _SCHEMAWHITESPACE
243 SCHEMAWHITESPACE_NONE = -1,
244 SCHEMAWHITESPACE_PRESERVE = 0,
245 SCHEMAWHITESPACE_REPLACE = 1,
246 SCHEMAWHITESPACE_COLLAPSE = 2,
247 } SCHEMAWHITESPACE;
250 typedef enum _SCHEMATYPEVARIETY
252 SCHEMATYPEVARIETY_NONE = -1,
253 SCHEMATYPEVARIETY_ATOMIC = 0,
254 SCHEMATYPEVARIETY_LIST = 1,
255 SCHEMATYPEVARIETY_UNION = 2,
256 } SCHEMATYPEVARIETY;
257 cpp_quote("#endif /* __msxml_som_enums__ */")
259 typedef [v1_enum] enum _XHR_PROPERTY
261 XHR_PROP_NO_CRED_PROMPT,
262 XHR_PROP_NO_AUTH,
263 XHR_PROP_TIMEOUT,
264 XHR_PROP_NO_DEFAULT_HEADERS,
265 XHR_PROP_REPORT_REDIRECT_STATUS,
266 XHR_PROP_NO_CACHE,
267 XHR_PROP_EXTENDED_ERROR,
268 XHR_PROP_QUERY_STRING_UTF8,
269 XHR_PROP_IGNORE_CERT_ERRORS,
270 } XHR_PROPERTY;
272 typedef struct tagXHR_COOKIE
274 [ref, string] WCHAR *pwszUrl;
275 [ref, string] WCHAR *pwszName;
276 [unique, string] WCHAR *pwszValue;
277 [unique, string] WCHAR *pwszP3PPolicy;
278 FILETIME ftExpires;
279 DWORD dwFlags;
280 } XHR_COOKIE;
282 typedef struct tagXHR_CERT
284 DWORD cbCert;
285 [ref, size_is(cbCert)] BYTE *pbCert;
286 } XHR_CERT;
289 local,
290 object,
291 dual,
292 oleautomation,
293 uuid (2933BF80-7B36-11d2-B20E-00C04F983E60)
295 interface IXMLDOMNode : IDispatch
297 [propget, id(DISPID_DOM_NODE_NODENAME)]
298 HRESULT nodeName([retval, out] BSTR *p);
300 [propget, id(DISPID_DOM_NODE_NODEVALUE)]
301 HRESULT nodeValue([retval, out] VARIANT *var1);
303 [propput, id(DISPID_DOM_NODE_NODEVALUE)]
304 HRESULT nodeValue([in] VARIANT var1);
306 [propget, id(DISPID_DOM_NODE_NODETYPE)]
307 HRESULT nodeType([retval, out] DOMNodeType *domNodeType);
309 [propget, id(DISPID_DOM_NODE_PARENTNODE)]
310 HRESULT parentNode([retval, out] IXMLDOMNode **parent);
312 [propget, id(DISPID_DOM_NODE_CHILDNODES)]
313 HRESULT childNodes([retval, out] IXMLDOMNodeList **outList);
315 [propget, id(DISPID_DOM_NODE_FIRSTCHILD)]
316 HRESULT firstChild([retval, out] IXMLDOMNode **domNode);
318 [propget, id(DISPID_DOM_NODE_LASTCHILD)]
319 HRESULT lastChild([retval, out] IXMLDOMNode **domNode);
321 [propget, id(DISPID_DOM_NODE_PREVIOUSSIBLING)]
322 HRESULT previousSibling([retval, out] IXMLDOMNode **domNode);
324 [propget, id(DISPID_DOM_NODE_NEXTSIBLING)]
325 HRESULT nextSibling([retval, out] IXMLDOMNode **domNode);
327 [propget, id(DISPID_DOM_NODE_ATTRIBUTES)]
328 HRESULT attributes([retval, out] IXMLDOMNamedNodeMap **attributeMap);
330 [id(DISPID_DOM_NODE_INSERTBEFORE)]
331 HRESULT insertBefore(
332 [in] IXMLDOMNode *newNode,
333 [in] VARIANT var1,
334 [retval, out] IXMLDOMNode **outOldNode);
336 [id(DISPID_DOM_NODE_REPLACECHILD)]
337 HRESULT replaceChild(
338 [in] IXMLDOMNode *newNode,
339 [in] IXMLDOMNode *oldNode,
340 [retval, out] IXMLDOMNode **outOldNode);
342 [id(DISPID_DOM_NODE_REMOVECHILD)]
343 HRESULT removeChild(
344 [in] IXMLDOMNode *domNode,
345 [retval, out] IXMLDOMNode **oldNode);
347 [id(DISPID_DOM_NODE_APPENDCHILD)]
348 HRESULT appendChild(
349 [in] IXMLDOMNode *newNode,
350 [retval, out] IXMLDOMNode **outNewNode);
352 [id(DISPID_DOM_NODE_HASCHILDNODES)]
353 HRESULT hasChildNodes(
354 [retval, out] VARIANT_BOOL *pbool);
356 [propget, id(DISPID_DOM_NODE_OWNERDOC)]
357 HRESULT ownerDocument([retval, out] IXMLDOMDocument **domDocument);
359 [id(DISPID_DOM_NODE_CLONENODE)]
360 HRESULT cloneNode(
361 [in] VARIANT_BOOL pbool,
362 [retval, out] IXMLDOMNode **outNode);
364 [propget, id(DISPID_XMLDOM_NODE_STRINGTYPE)]
365 HRESULT nodeTypeString([retval, out] BSTR *p);
367 [propget, id(DISPID_XMLDOM_NODE_TEXT)]
368 HRESULT text([retval, out] BSTR *p);
370 [propput, id(DISPID_XMLDOM_NODE_TEXT)]
371 HRESULT text([in] BSTR p);
373 [propget, id(DISPID_XMLDOM_NODE_SPECIFIED)]
374 HRESULT specified([retval, out] VARIANT_BOOL *pbool);
376 [propget, id(DISPID_XMLDOM_NODE_DEFINITION)]
377 HRESULT definition([retval,out] IXMLDOMNode **domNode);
379 [propget, id(DISPID_XMLDOM_NODE_NODETYPEDVALUE)]
380 HRESULT nodeTypedValue([retval, out] VARIANT *var1);
382 [propput, id(DISPID_XMLDOM_NODE_NODETYPEDVALUE)]
383 HRESULT nodeTypedValue([in] VARIANT var1);
385 [propget, id(DISPID_XMLDOM_NODE_DATATYPE)]
386 HRESULT dataType([retval, out] VARIANT *var1);
388 [propput, id(DISPID_XMLDOM_NODE_DATATYPE)]
389 HRESULT dataType([in] BSTR p);
391 [propget, id(DISPID_XMLDOM_NODE_XML)]
392 HRESULT xml([retval, out] BSTR *p);
394 [id(DISPID_XMLDOM_NODE_TRANSFORMNODE)]
395 HRESULT transformNode(
396 [in] IXMLDOMNode *domNode,
397 [retval, out] BSTR *p);
399 [id(DISPID_XMLDOM_NODE_SELECTNODES)]
400 HRESULT selectNodes(
401 [in] BSTR p,
402 [retval, out] IXMLDOMNodeList **outList);
404 [id(DISPID_XMLDOM_NODE_SELECTSINGLENODE)]
405 HRESULT selectSingleNode(
406 [in] BSTR p,
407 [retval, out] IXMLDOMNode **outNode);
409 [propget,id(DISPID_XMLDOM_NODE_PARSED)]
410 HRESULT parsed([retval, out] VARIANT_BOOL *pbool);
412 [propget, id(DISPID_XMLDOM_NODE_NAMESPACE)]
413 HRESULT namespaceURI([retval, out] BSTR *p);
415 [propget, id(DISPID_XMLDOM_NODE_PREFIX)]
416 HRESULT prefix([retval, out] BSTR *p);
418 [propget, id(DISPID_XMLDOM_NODE_BASENAME)]
419 HRESULT baseName([retval, out] BSTR *p);
421 [id(DISPID_XMLDOM_NODE_TRANSFORMNODETOOBJECT)]
422 HRESULT transformNodeToObject(
423 [in] IXMLDOMNode *domNode,
424 [in] VARIANT var1);
428 local,
429 object,
430 dual,
431 oleautomation,
432 uuid (2933BF81-7B36-11d2-B20E-00C04F983E60)
434 interface IXMLDOMDocument : IXMLDOMNode
436 [propget, id(DISPID_DOM_DOCUMENT_DOCTYPE)]
437 HRESULT doctype([retval, out] IXMLDOMDocumentType **docType);
439 [propget, id(DISPID_DOM_DOCUMENT_IMPLEMENTATION)]
440 HRESULT implementation([retval, out] IXMLDOMImplementation **impl);
442 [propget, id(DISPID_DOM_DOCUMENT_DOCUMENTELEMENT)]
443 HRESULT documentElement([retval, out] IXMLDOMElement **domElement);
445 [propputref, id(DISPID_DOM_DOCUMENT_DOCUMENTELEMENT)]
446 HRESULT documentElement([in] IXMLDOMElement *domElement);
448 [id(DISPID_DOM_DOCUMENT_CREATEELEMENT)]
449 HRESULT createElement(
450 [in] BSTR p,
451 [retval, out] IXMLDOMElement **domElement);
453 [id(DISPID_DOM_DOCUMENT_CREATEDOCUMENTFRAGMENT)]
454 HRESULT createDocumentFragment(
455 [retval, out] IXMLDOMDocumentFragment **docFrag);
457 [id(DISPID_DOM_DOCUMENT_CREATETEXTNODE)]
458 HRESULT createTextNode(
459 [in] BSTR p,
460 [retval, out] IXMLDOMText **text);
462 [id(DISPID_DOM_DOCUMENT_CREATECOMMENT)]
463 HRESULT createComment(
464 [in] BSTR p,
465 [retval, out] IXMLDOMComment **comment);
467 [id(DISPID_DOM_DOCUMENT_CREATECDATASECTION)]
468 HRESULT createCDATASection(
469 [in] BSTR p,
470 [retval, out] IXMLDOMCDATASection **cdata);
472 [id(DISPID_DOM_DOCUMENT_CREATEPROCESSINGINSTRUCTION)]
473 HRESULT createProcessingInstruction(
474 [in] BSTR target,
475 [in] BSTR data,
476 [retval, out] IXMLDOMProcessingInstruction **pi);
478 [id(DISPID_DOM_DOCUMENT_CREATEATTRIBUTE)]
479 HRESULT createAttribute(
480 [in] BSTR p,
481 [retval, out] IXMLDOMAttribute **attribute);
483 [id(DISPID_DOM_DOCUMENT_CREATEENTITYREFERENCE)]
484 HRESULT createEntityReference(
485 [in] BSTR p,
486 [retval, out] IXMLDOMEntityReference **entityRef);
488 [id(DISPID_DOM_DOCUMENT_GETELEMENTSBYTAGNAME)]
489 HRESULT getElementsByTagName(
490 [in] BSTR p,
491 [retval, out] IXMLDOMNodeList **resultList);
493 [id(DISPID_XMLDOM_DOCUMENT_CREATENODE)]
494 HRESULT createNode(
495 [in] VARIANT var,
496 [in] BSTR name,
497 [in] BSTR uri,
498 [retval, out] IXMLDOMNode **node);
500 [id(DISPID_XMLDOM_DOCUMENT_NODEFROMID)]
501 HRESULT nodeFromID(
502 [in] BSTR id,
503 [retval, out] IXMLDOMNode **node);
505 [id(DISPID_XMLDOM_DOCUMENT_LOAD)]
506 HRESULT load(
507 [in] VARIANT var1,
508 [retval, out] VARIANT_BOOL *pbool);
510 [propget, id(DISPID_READYSTATE)]
511 HRESULT readyState([retval, out] LONG *value);
513 [propget, id(DISPID_XMLDOM_DOCUMENT_PARSEERROR)]
514 HRESULT parseError([retval, out] IXMLDOMParseError **err);
516 [propget, id(DISPID_XMLDOM_DOCUMENT_URL)]
517 HRESULT url([retval, out] BSTR *p);
519 [propget, id(DISPID_XMLDOM_DOCUMENT_ASYNC)]
520 HRESULT async([retval, out] VARIANT_BOOL *pbool);
522 [propput, id(DISPID_XMLDOM_DOCUMENT_ASYNC)]
523 HRESULT async([in] VARIANT_BOOL pbool);
525 [id(DISPID_XMLDOM_DOCUMENT_ABORT)]
526 HRESULT abort();
528 [id(DISPID_XMLDOM_DOCUMENT_LOADXML)]
529 HRESULT loadXML(
530 [in] BSTR p,
531 [out, retval] VARIANT_BOOL *pbool);
533 [id(DISPID_XMLDOM_DOCUMENT_SAVE)]
534 HRESULT save(
535 [in] VARIANT var1);
537 [propget, id(DISPID_XMLDOM_DOCUMENT_VALIDATE)]
538 HRESULT validateOnParse([retval, out] VARIANT_BOOL *pbool);
540 [propput, id(DISPID_XMLDOM_DOCUMENT_VALIDATE)]
541 HRESULT validateOnParse([in] VARIANT_BOOL pbool);
543 [propget, id(DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE)]
544 HRESULT resolveExternals([retval,out] VARIANT_BOOL *pbool);
546 [propput, id(DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE)]
547 HRESULT resolveExternals([in] VARIANT_BOOL pbool);
549 [propget, id(DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE)]
550 HRESULT preserveWhiteSpace([retval,out] VARIANT_BOOL *pbool);
552 [propput, id(DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE)]
553 HRESULT preserveWhiteSpace([in] VARIANT_BOOL pbool);
555 [propput, id(DISPID_XMLDOM_DOCUMENT_ONREADYSTATECHANGE)]
556 HRESULT onreadystatechange([in] VARIANT var1);
558 [propput, id(DISPID_XMLDOM_DOCUMENT_ONDATAAVAILABLE)]
559 HRESULT ondataavailable([in] VARIANT var1);
561 [propput, id(DISPID_XMLDOM_DOCUMENT_ONTRANSFORMNODE)]
562 HRESULT ontransformnode([in] VARIANT var1);
566 local,
567 object,
568 dual,
569 oleautomation,
570 uuid (373984c8-b845-449b-91e7-45ac83036ade)
572 interface IXMLDOMSchemaCollection : IDispatch
574 [id(DISPID_XMLDOM_SCHEMACOLLECTION_ADD)]
575 HRESULT add(
576 [in] BSTR uri,
577 [in] VARIANT var);
579 [id(DISPID_XMLDOM_SCHEMACOLLECTION_GET)]
580 HRESULT get(
581 [in] BSTR uri,
582 [retval, out] IXMLDOMNode **node);
584 [id(DISPID_XMLDOM_SCHEMACOLLECTION_REMOVE)]
585 HRESULT remove(
586 [in] BSTR uri);
588 [propget, id(DISPID_XMLDOM_SCHEMACOLLECTION_LENGTH)]
589 HRESULT length(
590 [retval, out] LONG *length);
592 [propget, id(DISPID_VALUE)]
593 HRESULT namespaceURI([in] LONG index, [out, retval] BSTR *len);
595 [id(DISPID_XMLDOM_SCHEMACOLLECTION_ADDCOLLECTION)]
596 HRESULT addCollection(
597 [in] IXMLDOMSchemaCollection *otherCollection);
599 [propget, id(DISPID_NEWENUM)]
600 HRESULT _newEnum([retval, out] IUnknown **ppUnk);
604 local,
605 object,
606 dual,
607 oleautomation,
608 uuid(50ea08b0-dd1b-4664-9a50-c2f40f4bd79a),
610 interface IXMLDOMSchemaCollection2 : IXMLDOMSchemaCollection
612 [id(DISPID_SOM_VALIDATE)]
613 HRESULT validate();
615 [propput, id(DISPID_SOM_VALIDATEONLOAD)]
616 HRESULT validateOnLoad(
617 [in] VARIANT_BOOL validateOnLoad);
619 [propget, id(DISPID_SOM_VALIDATEONLOAD)]
620 HRESULT validateOnLoad(
621 [out,retval] VARIANT_BOOL* validateOnLoad);
623 [id(DISPID_SOM_GETSCHEMA)]
624 HRESULT getSchema(
625 [in] BSTR namespaceURI,
626 [out,retval] ISchema** schema);
628 [id(DISPID_SOM_GETDECLARATION)]
629 HRESULT getDeclaration(
630 [in] IXMLDOMNode* node,
631 [out,retval]ISchemaItem** item);
635 local,
636 object,
637 dual,
638 oleautomation,
639 uuid (2933BF95-7B36-11d2-B20E-00C04F983E60)
641 interface IXMLDOMDocument2 : IXMLDOMDocument
643 [propget, id(DISPID_XMLDOM_DOCUMENT2_NAMESPACES)]
644 HRESULT namespaces([retval, out] IXMLDOMSchemaCollection **schemaCollection);
646 [propget, id(DISPID_XMLDOM_DOCUMENT2_SCHEMAS)]
647 HRESULT schemas([retval, out] VARIANT *var1);
649 [propputref, id(DISPID_XMLDOM_DOCUMENT2_SCHEMAS)]
650 HRESULT schemas([in] VARIANT var1);
652 [id(DISPID_XMLDOM_DOCUMENT2_VALIDATE)]
653 HRESULT validate(
654 [retval, out] IXMLDOMParseError **err);
656 [id(DISPID_XMLDOM_DOCUMENT2_SETPROPERTY)]
657 HRESULT setProperty(
658 [in] BSTR p,
659 [in] VARIANT var);
661 [id(DISPID_XMLDOM_DOCUMENT2_GETPROPERTY)]
662 HRESULT getProperty(
663 [in] BSTR p,
664 [retval, out] VARIANT *var);
668 local,
669 object,
670 dual,
671 uuid(2933bf96-7b36-11d2-b20e-00c04f983e60),
672 oleautomation,
674 interface IXMLDOMDocument3 : IXMLDOMDocument2
676 [id(DISPID_XMLDOM_DOCUMENT3_VALIDATENODE)]
677 HRESULT validateNode(
678 [in] IXMLDOMNode *node,
679 [out, retval] IXMLDOMParseError **error);
681 [id(DISPID_XMLDOM_DOCUMENT3_IMPORTNODE)]
682 HRESULT importNode(
683 [in] IXMLDOMNode *node,
684 [in] VARIANT_BOOL deep,
685 [out, retval] IXMLDOMNode **clone);
689 local,
690 object,
691 dual,
692 oleautomation,
693 uuid (2933BF82-7B36-11d2-B20E-00C04F983E60)
695 interface IXMLDOMNodeList : IDispatch
697 [propget, id(DISPID_VALUE)]
698 HRESULT item([in] LONG lIndex, [retval, out] IXMLDOMNode **outNode);
700 [propget, id(DISPID_DOM_NODELIST_LENGTH)]
701 HRESULT length([retval, out] LONG *lLength);
703 [id(DISPID_XMLDOM_NODELIST_NEXTNODE)]
704 HRESULT nextNode(
705 [retval, out] IXMLDOMNode **outNode);
707 [id(DISPID_XMLDOM_NODELIST_RESET)]
708 HRESULT reset();
710 [propget, id(DISPID_NEWENUM)]
711 HRESULT _newEnum([retval, out] IUnknown **ppUnk);
715 local,
716 object,
717 dual,
718 oleautomation,
719 uuid (AA634FC7-5888-44a7-A257-3A47150D3A0E)
721 interface IXMLDOMSelection : IXMLDOMNodeList
723 [propget, id(DISPID_XMLDOM_SELECTION_EXPR)]
724 HRESULT expr([retval, out] BSTR *p);
726 [propput, id(DISPID_XMLDOM_SELECTION_EXPR)]
727 HRESULT expr([in] BSTR p);
729 [propget, id(DISPID_XMLDOM_SELECTION_CONTEXT)]
730 HRESULT context([retval, out] IXMLDOMNode **ppNode);
732 [propputref, id(DISPID_XMLDOM_SELECTION_CONTEXT)]
733 HRESULT context([in] IXMLDOMNode * pNode);
735 [id(DISPID_XMLDOM_SELECTION_PEEKNODE)]
736 HRESULT peekNode(
737 [retval, out] IXMLDOMNode **ppNode);
739 [id(DISPID_XMLDOM_SELECTION_MATCHES)]
740 HRESULT matches(
741 [in] IXMLDOMNode *pNode,
742 [retval, out] IXMLDOMNode **ppNode);
744 [id(DISPID_XMLDOM_SELECTION_REMOVENEXT)]
745 HRESULT removeNext(
746 [retval, out] IXMLDOMNode **ppNode);
748 [id(DISPID_XMLDOM_SELECTION_REMOVEALL)]
749 HRESULT removeAll();
751 [id(DISPID_XMLDOM_SELECTION_CLONE)]
752 HRESULT clone(
753 [retval, out] IXMLDOMSelection **ppNode);
755 [id(DISPID_XMLDOM_SELECTION_GETPROPERTY)]
756 HRESULT getProperty(
757 [in] BSTR p,
758 [retval, out] VARIANT * var);
760 [id(DISPID_XMLDOM_SELECTION_SETPROPERTY)]
761 HRESULT setProperty(
762 [in] BSTR p,
763 [in] VARIANT var);
767 local,
768 object,
769 dual,
770 oleautomation,
771 uuid (2933BF83-7B36-11d2-B20E-00C04F983E60)
773 interface IXMLDOMNamedNodeMap : IDispatch
775 [id(DISPID_DOM_NAMEDNODEMAP_GETNAMEDITEM)]
776 HRESULT getNamedItem(
777 [in] BSTR p,
778 [retval, out] IXMLDOMNode **outNode);
780 [id(DISPID_DOM_NAMEDNODEMAP_SETNAMEDITEM)]
781 HRESULT setNamedItem(
782 [in] IXMLDOMNode *newNode,
783 [retval, out] IXMLDOMNode **outNode);
785 [id(DISPID_DOM_NAMEDNODEMAP_REMOVENAMEDITEM)]
786 HRESULT removeNamedItem(
787 [in] BSTR p,
788 [retval, out] IXMLDOMNode **outNode);
790 [propget, id(DISPID_VALUE)]
791 HRESULT item([in] LONG lIndex, [retval, out] IXMLDOMNode **outNode);
793 [propget, id(DISPID_DOM_NODELIST_LENGTH)]
794 HRESULT length([retval, out] LONG *lLength);
796 [id(DISPID_XMLDOM_NAMEDNODEMAP_GETQUALIFIEDITEM)]
797 HRESULT getQualifiedItem(
798 [in] BSTR name,
799 [in] BSTR uri,
800 [retval, out] IXMLDOMNode **outNode);
802 [id(DISPID_XMLDOM_NAMEDNODEMAP_REMOVEQUALIFIEDITEM)]
803 HRESULT removeQualifiedItem(
804 [in] BSTR name,
805 [in] BSTR uri,
806 [retval, out] IXMLDOMNode **outNode);
808 [id(DISPID_XMLDOM_NAMEDNODEMAP_NEXTNODE)]
809 HRESULT nextNode(
810 [retval, out] IXMLDOMNode **outNode);
812 [id(DISPID_XMLDOM_NAMEDNODEMAP_RESET)]
813 HRESULT reset();
815 [propget, id(DISPID_NEWENUM)]
816 HRESULT _newEnum([retval, out] IUnknown **ppUnk);
820 local,
821 object,
822 dual,
823 oleautomation,
824 uuid (3efaa413-272f-11d2-836f-0000f87a7782)
826 interface IXMLDOMDocumentFragment : IXMLDOMNode
831 local,
832 object,
833 dual,
834 oleautomation,
835 uuid (2933BF84-7B36-11d2-B20E-00C04F983E60)
837 interface IXMLDOMCharacterData : IXMLDOMNode
839 [propget, id(DISPID_DOM_DATA_DATA)]
840 HRESULT data([retval, out] BSTR *p);
842 [propput, id(DISPID_DOM_DATA_DATA)]
843 HRESULT data([in] BSTR data);
845 [propget, id(DISPID_DOM_DATA_LENGTH)]
846 HRESULT length([retval, out] LONG *len);
848 [id(DISPID_DOM_DATA_SUBSTRING)]
849 HRESULT substringData(
850 [in] LONG offset,
851 [in] LONG count,
852 [retval, out] BSTR *p);
854 [id(DISPID_DOM_DATA_APPEND)]
855 HRESULT appendData(
856 [in] BSTR p);
858 [id(DISPID_DOM_DATA_INSERT)]
859 HRESULT insertData(
860 [in] LONG offset,
861 [in] BSTR p);
863 [id(DISPID_DOM_DATA_DELETE)]
864 HRESULT deleteData(
865 [in] LONG offset,
866 [in] LONG count);
868 [id(DISPID_DOM_DATA_REPLACE)]
869 HRESULT replaceData(
870 [in] LONG offset,
871 [in] LONG count,
872 [in] BSTR p);
876 local,
877 object,
878 dual,
879 oleautomation,
880 uuid (2933BF85-7B36-11d2-B20E-00C04F983E60)
882 interface IXMLDOMAttribute : IXMLDOMNode
884 [propget, id(DISPID_DOM_ATTRIBUTE_GETNAME)]
885 HRESULT name([retval, out] BSTR *p);
887 [propget, id(DISPID_DOM_ATTRIBUTE_VALUE)]
888 HRESULT value([retval, out] VARIANT *var1);
890 [propput, id(DISPID_DOM_ATTRIBUTE_VALUE)]
891 HRESULT value([in] VARIANT var1);
895 local,
896 object,
897 dual,
898 oleautomation,
899 uuid (2933BF86-7B36-11d2-B20E-00C04F983E60)
901 interface IXMLDOMElement : IXMLDOMNode
903 [propget, id(DISPID_DOM_ELEMENT_GETTAGNAME)]
904 HRESULT tagName([retval, out] BSTR *p);
906 [id(DISPID_DOM_ELEMENT_GETATTRIBUTE)]
907 HRESULT getAttribute(
908 [in] BSTR p,
909 [retval, out] VARIANT *var);
911 [id(DISPID_DOM_ELEMENT_SETATTRIBUTE)]
912 HRESULT setAttribute(
913 [in] BSTR p,
914 [in] VARIANT var);
916 [id(DISPID_DOM_ELEMENT_REMOVEATTRIBUTE)]
917 HRESULT removeAttribute(
918 [in] BSTR p);
920 [id(DISPID_DOM_ELEMENT_GETATTRIBUTENODE)]
921 HRESULT getAttributeNode(
922 [in] BSTR p,
923 [retval, out] IXMLDOMAttribute **attributeNode);
925 [id(DISPID_DOM_ELEMENT_SETATTRIBUTENODE)]
926 HRESULT setAttributeNode(
927 [in] IXMLDOMAttribute *domAttribute,
928 [retval, out] IXMLDOMAttribute **attributeNode);
930 [id(DISPID_DOM_ELEMENT_REMOVEATTRIBUTENODE)]
931 HRESULT removeAttributeNode(
932 [in] IXMLDOMAttribute *domAttribute,
933 [retval, out] IXMLDOMAttribute **attributeNode);
935 [id(DISPID_DOM_ELEMENT_GETELEMENTSBYTAGNAME)]
936 HRESULT getElementsByTagName(
937 [in] BSTR p,
938 [retval, out] IXMLDOMNodeList **resultList);
940 [id(DISPID_DOM_ELEMENT_NORMALIZE)]
941 HRESULT normalize();
945 local,
946 object,
947 dual,
948 oleautomation,
949 uuid (2933BF87-7B36-11d2-B20E-00C04F983E60)
951 interface IXMLDOMText : IXMLDOMCharacterData
953 [id(DISPID_DOM_TEXT_SPLITTEXT)]
954 HRESULT splitText(
955 [in] LONG offset,
956 [retval, out] IXMLDOMText **txtNode);
960 local,
961 object,
962 dual,
963 oleautomation,
964 uuid (2933BF88-7B36-11d2-B20E-00C04F983E60)
966 interface IXMLDOMComment : IXMLDOMCharacterData
971 local,
972 object,
973 dual,
974 oleautomation,
975 uuid (2933BF89-7B36-11d2-B20E-00C04F983E60)
977 interface IXMLDOMProcessingInstruction : IXMLDOMNode
979 [propget, id(DISPID_DOM_PI_TARGET)]
980 HRESULT target([retval, out] BSTR *p);
982 [propget, id(DISPID_DOM_PI_DATA)]
983 HRESULT data([retval, out] BSTR *p);
985 [propput, id(DISPID_DOM_PI_DATA)]
986 HRESULT data([in] BSTR p);
990 local,
991 object,
992 dual,
993 oleautomation,
994 uuid (2933BF8A-7B36-11d2-B20E-00C04F983E60)
996 interface IXMLDOMCDATASection : IXMLDOMText
1001 local,
1002 object,
1003 dual,
1004 oleautomation,
1005 uuid (2933BF8B-7B36-11d2-B20E-00C04F983E60)
1007 interface IXMLDOMDocumentType : IXMLDOMNode
1009 [propget, id(DISPID_DOM_DOCUMENTTYPE_NAME)]
1010 HRESULT name([retval, out] BSTR *p);
1012 [propget, id(DISPID_DOM_DOCUMENTTYPE_ENTITIES)]
1013 HRESULT entities([retval, out] IXMLDOMNamedNodeMap **entityMap);
1015 [propget, id(DISPID_DOM_DOCUMENTTYPE_NOTATIONS)]
1016 HRESULT notations([retval, out] IXMLDOMNamedNodeMap **notationMap);
1020 local,
1021 object,
1022 dual,
1023 oleautomation,
1024 uuid (2933BF8C-7B36-11d2-B20E-00C04F983E60)
1026 interface IXMLDOMNotation : IXMLDOMNode
1028 [propget, id(DISPID_DOM_NOTATION_PUBLICID)]
1029 HRESULT publicId([retval, out] VARIANT *id);
1031 [propget, id(DISPID_DOM_NOTATION_SYSTEMID)]
1032 HRESULT systemId([retval, out] VARIANT *id);
1036 local,
1037 object,
1038 dual,
1039 oleautomation,
1040 uuid (2933BF8D-7B36-11d2-B20E-00C04F983E60)
1042 interface IXMLDOMEntity : IXMLDOMNode
1044 [propget, id(DISPID_DOM_ENTITY_PUBLICID)]
1045 HRESULT publicId([retval, out] VARIANT *id1);
1047 [propget, id(DISPID_DOM_ENTITY_SYSTEMID)]
1048 HRESULT systemId([retval, out] VARIANT *id1);
1050 [propget, id(DISPID_DOM_ENTITY_NOTATIONNAME)]
1051 HRESULT notationName([retval, out] BSTR *p);
1055 local,
1056 object,
1057 dual,
1058 oleautomation,
1059 uuid (2933BF8E-7B36-11d2-B20E-00C04F983E60)
1061 interface IXMLDOMEntityReference : IXMLDOMNode
1066 local,
1067 object,
1068 dual,
1069 oleautomation,
1070 uuid (2933BF8F-7B36-11d2-B20E-00C04F983E60)
1072 interface IXMLDOMImplementation : IDispatch
1074 [id(DISPID_DOM_IMPLEMENTATION_HASFEATURE)]
1075 HRESULT hasFeature(
1076 [in] BSTR feature,
1077 [in] BSTR version,
1078 [retval, out] VARIANT_BOOL *pbool);
1082 local,
1083 object,
1084 dual,
1085 oleautomation,
1086 uuid (3efaa425-272f-11d2-836f-0000f87a7782)
1088 interface IXTLRuntime : IXMLDOMNode
1090 [id(DISPID_XTLRUNTIME_UNIQUEID)]
1091 HRESULT uniqueID(
1092 [in]IXMLDOMNode *pNode,
1093 [retval, out]LONG *pID);
1095 [id(DISPID_XTLRUNTIME_DEPTH)]
1096 HRESULT depth(
1097 [in] IXMLDOMNode *pNode,
1098 [retval, out]LONG * pDepth);
1100 [id(DISPID_XTLRUNTIME_CHILDNUMBER)]
1101 HRESULT childNumber(
1102 [in]IXMLDOMNode *pNode,
1103 [retval, out] LONG *pNumber);
1105 [id(DISPID_XTLRUNTIME_ANCESTORCHILDNUMBER)]
1106 HRESULT ancestorChildNumber(
1107 [in]BSTR bstr,
1108 [in]IXMLDOMNode *pNode,
1109 [retval, out]LONG *pNumber);
1111 [id(DISPID_XTLRUNTIME_ABSOLUTECHILDNUMBER)]
1112 HRESULT absoluteChildNumber(
1113 [in]IXMLDOMNode *pNode,
1114 [retval, out]LONG *pNumber);
1116 [id(DISPID_XTLRUNTIME_FORMATINDEX)]
1117 HRESULT formatIndex(
1118 [in] LONG lIndex,
1119 [in] BSTR bstr,
1120 [retval, out]BSTR *pbstr);
1122 [id(DISPID_XTLRUNTIME_FORMATNUMBER)]
1123 HRESULT formatNumber(
1124 [in] double dblNumber,
1125 [in] BSTR bstr,
1126 [retval, out]BSTR *pbstr);
1128 [id(DISPID_XTLRUNTIME_FORMATDATE)]
1129 HRESULT formatDate(
1130 [in] VARIANT var1,
1131 [in] BSTR bstr,
1132 [optional, in] VARIANT var2,
1133 [retval, out]BSTR *pbstr);
1135 [id(DISPID_XTLRUNTIME_FORMATTIME)]
1136 HRESULT formatTime(
1137 [in] VARIANT var1,
1138 [in] BSTR bstr,
1139 [optional, in] VARIANT var2,
1140 [retval, out]BSTR *pbstr);
1145 uuid(3efaa427-272f-11d2-836f-0000f87a7782)
1147 dispinterface XMLDOMDocumentEvents
1149 properties:
1150 methods:
1151 [id (DISPID_XMLDOMEVENT_ONDATAAVAILABLE)]
1152 HRESULT ondataavailable();
1154 [id (DISPID_XMLDOMEVENT_ONREADYSTATECHANGE)]
1155 HRESULT onreadystatechange();
1159 local,
1160 object,
1161 dual,
1162 oleautomation,
1163 uuid (2933BF92-7B36-11d2-B20E-00C04F983E60)
1165 interface IXSLProcessor : IDispatch
1167 [propput, id(DISPID_XMLDOM_PROCESSOR_INPUT)]
1168 HRESULT input([in] VARIANT var);
1170 [propget, id(DISPID_XMLDOM_PROCESSOR_INPUT)]
1171 HRESULT input([retval, out] VARIANT *var);
1173 [propget, id(DISPID_XMLDOM_PROCESSOR_XSLTEMPLATE)]
1174 HRESULT ownerTemplate([retval, out] IXSLTemplate **ppTemplate);
1176 [id(DISPID_XMLDOM_PROCESSOR_SETSTARTMODE)]
1177 HRESULT setStartMode(
1178 [in] BSTR p,
1179 [in, defaultvalue("")] BSTR uri);
1181 [propget, id(DISPID_XMLDOM_PROCESSOR_STARTMODE)]
1182 HRESULT startMode([retval, out] BSTR *p);
1184 [propget, id(DISPID_XMLDOM_PROCESSOR_STARTMODEURI)]
1185 HRESULT startModeURI([retval, out] BSTR *uri);
1187 [propput, id(DISPID_XMLDOM_PROCESSOR_OUTPUT)]
1188 HRESULT output([in] VARIANT var);
1190 [propget, id(DISPID_XMLDOM_PROCESSOR_OUTPUT)]
1191 HRESULT output([retval, out] VARIANT *var);
1193 [id(DISPID_XMLDOM_PROCESSOR_TRANSFORM)]
1194 HRESULT transform(
1195 [retval, out] VARIANT_BOOL *pbool);
1197 [id(DISPID_XMLDOM_PROCESSOR_RESET)]
1198 HRESULT reset();
1200 [propget, id(DISPID_XMLDOM_PROCESSOR_READYSTATE)]
1201 HRESULT readyState([retval, out] LONG *pstate);
1203 [id(DISPID_XMLDOM_PROCESSOR_ADDPARAMETER)]
1204 HRESULT addParameter(
1205 [in] BSTR p,
1206 [in] VARIANT var,
1207 [in, defaultvalue("")] BSTR uri);
1209 [id(DISPID_XMLDOM_PROCESSOR_ADDOBJECT)]
1210 HRESULT addObject(
1211 [in] IDispatch* obj,
1212 [in] BSTR uri);
1214 [propget, id(DISPID_XMLDOM_PROCESSOR_STYLESHEET)]
1215 HRESULT stylesheet([retval, out] IXMLDOMNode **node);
1219 local,
1220 object,
1221 dual,
1222 oleautomation,
1223 uuid (2933BF93-7B36-11d2-B20E-00C04F983E60)
1225 interface IXSLTemplate : IDispatch
1227 [propputref, id(DISPID_XMLDOM_TEMPLATE_STYLESHEET)]
1228 HRESULT stylesheet([in] IXMLDOMNode *node);
1230 [propget, id(DISPID_XMLDOM_TEMPLATE_STYLESHEET)]
1231 HRESULT stylesheet([retval, out] IXMLDOMNode **node);
1233 [id(DISPID_XMLDOM_TEMPLATE_CREATEPROCESSOR)]
1234 HRESULT createProcessor(
1235 [retval, out] IXSLProcessor **ppProcessor);
1239 object,
1240 uuid(ED8C108D-4349-11D2-91A4-00C04F7969E8),
1241 odl,
1242 dual,
1243 oleautomation,
1244 pointer_default(unique)
1246 interface IXMLHTTPRequest : IDispatch
1248 [id(1)]
1249 HRESULT open([in] BSTR bstrMethod, [in] BSTR bstrUrl, [in, optional] VARIANT varAsync,
1250 [in,optional] VARIANT username, [in,optional] VARIANT password);
1252 [id(2)]
1253 HRESULT setRequestHeader([in] BSTR bstrHeader, [in] BSTR bstrValue);
1255 [id(3)]
1256 HRESULT getResponseHeader([in] BSTR bstrHeader, [out, retval] BSTR * value);
1258 [id(4)]
1259 HRESULT getAllResponseHeaders([out, retval] BSTR * pbstrHeaders);
1261 [id(5)]
1262 HRESULT send([in, optional] VARIANT body);
1264 [id(6)]
1265 HRESULT abort();
1267 [propget, id(7)]
1268 HRESULT status([out, retval] LONG *pStatus);
1270 [propget, id(8)]
1271 HRESULT statusText([out, retval] BSTR *pStatus);
1273 [propget, id(9)]
1274 HRESULT responseXML([out, retval] IDispatch **pBody);
1276 [propget, id(10)]
1277 HRESULT responseText([out, retval] BSTR *pBody);
1279 [propget, id(11)]
1280 HRESULT responseBody([out, retval] VARIANT *pBody);
1282 [propget, id(12)]
1283 HRESULT responseStream([out, retval] VARIANT *pBody);
1285 [propget, id(13)]
1286 HRESULT readyState([out, retval] LONG *pState);
1288 [propput, id(14)]
1289 HRESULT onreadystatechange([in] IDispatch *pReadyStateSink);
1292 typedef enum _SXH_SERVER_CERT_OPTION
1294 SXH_SERVER_CERT_IGNORE_UNKNOWN_CA = 0x00000100,
1295 SXH_SERVER_CERT_IGNORE_WRONG_USAGE = 0x00000200,
1296 SXH_SERVER_CERT_IGNORE_CERT_CN_INVALID = 0x00001000,
1297 SXH_SERVER_CERT_IGNORE_CERT_DATE_INVALID = 0x00002000,
1298 SXH_SERVER_CERT_IGNORE_ALL_SERVER_ERRORS =
1299 (SXH_SERVER_CERT_IGNORE_UNKNOWN_CA | SXH_SERVER_CERT_IGNORE_WRONG_USAGE |
1300 SXH_SERVER_CERT_IGNORE_CERT_CN_INVALID | SXH_SERVER_CERT_IGNORE_CERT_DATE_INVALID),
1301 } SXH_SERVER_CERT_OPTION;
1304 object,
1305 dual,
1306 oleautomation,
1307 uuid(2e9196bf-13ba-4dd4-91ca-6c571f281495)
1309 interface IServerXMLHTTPRequest : IXMLHTTPRequest
1311 typedef enum _SERVERXMLHTTP_OPTION
1313 SXH_OPTION_URL = -1,
1314 SXH_OPTION_URL_CODEPAGE,
1315 SXH_OPTION_ESCAPE_PERCENT_IN_URL,
1316 SXH_OPTION_IGNORE_SERVER_SSL_CERT_ERROR_FLAGS,
1317 SXH_OPTION_SELECT_CLIENT_SSL_CERT
1318 } SERVERXMLHTTP_OPTION;
1320 [id(15)]
1321 HRESULT setTimeouts(
1322 [in] long resolveTimeout,
1323 [in] long connectTimeout,
1324 [in] long sendTimeout,
1325 [in] long receiveTimeout);
1327 [id(16)]
1328 HRESULT waitForResponse(
1329 [in, optional] VARIANT timeoutInSeconds,
1330 [out, retval] VARIANT_BOOL * isSuccessful);
1332 [id(17)]
1333 HRESULT getOption(
1334 [in] SERVERXMLHTTP_OPTION option,
1335 [out, retval] VARIANT * value);
1337 [id(18)]
1338 HRESULT setOption(
1339 [in] SERVERXMLHTTP_OPTION option,
1340 [in] VARIANT value);
1344 object,
1345 uuid(e5d37dc0-552a-4d52-9cc0-a14d546fbd04),
1347 interface IXMLHTTPRequest2 : IUnknown
1349 HRESULT Open([in, string, ref] const WCHAR *method, [in, string, ref] const WCHAR *url,
1350 [in] IXMLHTTPRequest2Callback *callback,
1351 [in, string, unique] const WCHAR *username, [in, string, unique] const WCHAR *password,
1352 [in, string, unique] const WCHAR *proxyuser, [in, string, unique] const WCHAR *proxypassword);
1354 HRESULT Send([in, unique] ISequentialStream *body, [in] ULONGLONG length);
1355 HRESULT Abort();
1356 HRESULT SetCookie([in, ref] const XHR_COOKIE *cookie, [out] DWORD *state);
1357 HRESULT SetCustomResponseStream([in] ISequentialStream *stream);
1358 HRESULT SetProperty([in] XHR_PROPERTY property, [in] ULONGLONG value);
1359 HRESULT SetRequestHeader([in, string, ref] const WCHAR *header, [in, string, unique] const WCHAR *value);
1360 HRESULT GetAllResponseHeaders([out, string] WCHAR **headers);
1361 HRESULT GetCookie( [in, ref, string] const WCHAR *url, [in, unique, string] const WCHAR *name,
1362 [in] DWORD flags, [out] ULONG *cookies_cnt, [out, size_is(,*cookies_cnt)] XHR_COOKIE **cookies);
1363 HRESULT GetResponseHeader([in, string, ref] const WCHAR *header, [out, string] WCHAR **value);
1367 object,
1368 uuid(a1c9feee-0617-4f23-9d58-8961ea43567c)
1370 interface IXMLHTTPRequest3 : IXMLHTTPRequest2
1372 HRESULT SetClientCertificate([in] DWORD count, [in, unique, size_is(count)] const BYTE *hashes,
1373 [in, string, unique] const WCHAR *pin);
1377 object,
1378 uuid(a44a9299-e321-40de-8866-341b41669162),
1379 pointer_default(ref)
1381 interface IXMLHTTPRequest2Callback : IUnknown
1383 HRESULT OnRedirect([in] IXMLHTTPRequest2 *xhr, [in, string] const WCHAR *url);
1384 HRESULT OnHeadersAvailable([in] IXMLHTTPRequest2 *xhr, [in] DWORD status, [in, string] const WCHAR *msg);
1385 HRESULT OnDataAvailable([in] IXMLHTTPRequest2 *xhr, [in] ISequentialStream *stream);
1386 HRESULT OnResponseReceived([in] IXMLHTTPRequest2 *xhr, [in] ISequentialStream *stream);
1387 HRESULT OnError([in] IXMLHTTPRequest2 *xhr, [in] HRESULT error);
1391 object,
1392 uuid(b9e57830-8c6c-4a6f-9c13-47772bb047bb)
1394 interface IXMLHTTPRequest3Callback : IXMLHTTPRequest2Callback
1396 HRESULT OnServerCertificateReceived([in] IXMLHTTPRequest3 *xhr, [in] DWORD errors,
1397 [in] DWORD count, [in, unique, size_is(count)] const XHR_CERT *certificates);
1399 HRESULT OnClientCertificateRequested([in] IXMLHTTPRequest3 *xhr,
1400 [in] DWORD count, [in, string, unique, size_is(count)] const WCHAR **list);
1404 object,
1405 dual,
1406 oleautomation,
1407 uuid(2e01311b-c322-4b0a-bd77-b90cfdc8dce7)
1409 interface IServerXMLHTTPRequest2 : IServerXMLHTTPRequest
1411 typedef enum _SXH_PROXY_SETTING
1413 SXH_PROXY_SET_DEFAULT = 0,
1414 SXH_PROXY_SET_PRECONFIG = 0,
1415 SXH_PROXY_SET_DIRECT,
1416 SXH_PROXY_SET_PROXY
1417 } SXH_PROXY_SETTING;
1419 [id(19)]
1420 HRESULT setProxy(
1421 [in] SXH_PROXY_SETTING proxySetting,
1422 [in, optional] VARIANT varProxyServer,
1423 [in, optional] VARIANT varBypassList);
1425 [id(20)]
1426 HRESULT setProxyCredentials(
1427 [in] BSTR bstrUserName,
1428 [in] BSTR bstrPassword);
1432 local,
1433 object,
1434 dual,
1435 oleautomation,
1436 uuid (3efaa426-272f-11d2-836f-0000f87a7782)
1438 interface IXMLDOMParseError : IDispatch
1440 [propget, id(DISPID_VALUE)]
1441 HRESULT errorCode([retval, out] LONG *errCode);
1443 [propget, id(DISPID_DOM_ERROR_URL)]
1444 HRESULT url([retval, out] BSTR *p);
1446 [propget, id(DISPID_DOM_ERROR_REASON)]
1447 HRESULT reason([retval, out] BSTR *p);
1449 [propget, id(DISPID_DOM_ERROR_SRCTEXT)]
1450 HRESULT srcText([retval, out] BSTR *p);
1452 [propget, id(DISPID_DOM_ERROR_LINE)]
1453 HRESULT line([retval, out] LONG *lineNo);
1455 [propget, id(DISPID_DOM_ERROR_LINEPOS)]
1456 HRESULT linepos([retval, out] LONG * linePos);
1458 [propget, id(DISPID_DOM_ERROR_FILEPOS)]
1459 HRESULT filepos([retval, out] LONG * filePos);
1463 local,
1464 object,
1465 dual,
1466 oleautomation,
1467 uuid (3efaa428-272f-11d2-836f-0000f87a7782)
1469 interface IXMLDOMParseError2 : IXMLDOMParseError
1471 [propget, id(DISPID_DOM_ERROR2_ERRORXPATH)]
1472 HRESULT errorXPath([retval, out] BSTR *xpathexpr);
1474 [propget, id(DISPID_DOM_ERROR2_ALLERRORS)]
1475 HRESULT allErrors([retval, out] IXMLDOMParseErrorCollection **allErrors);
1477 [id(DISPID_DOM_ERROR2_ERRORPARAMETERS)]
1478 HRESULT errorParameters(
1479 [in] long index,
1480 [retval, out] BSTR *param);
1482 [propget, id(DISPID_DOM_ERROR2_ERRORPARAMETERSCOUNT)]
1483 HRESULT errorParametersCount([retval, out] long *count);
1487 local,
1488 object,
1489 dual,
1490 oleautomation,
1491 uuid (3efaa429-272f-11d2-836f-0000f87a7782)
1493 interface IXMLDOMParseErrorCollection : IDispatch
1495 [propget, id(DISPID_VALUE)]
1496 HRESULT item(
1497 [in] long index,
1498 [retval, out] IXMLDOMParseError2 **error);
1500 [propget, id(DISPID_DOM_ERRORCOLLECTION_LENGTH)]
1501 HRESULT length( [retval, out] long *length);
1503 [propget, id(DISPID_DOM_ERRORCOLLECTION_NEXT)]
1504 HRESULT next( [retval, out] IXMLDOMParseError2 **error);
1506 [id(DISPID_DOM_ERRORCOLLECTION_RESET)]
1507 HRESULT reset();
1509 [propget, hidden, restricted, id(DISPID_NEWENUM)]
1510 HRESULT _newEnum( [retval, out] IUnknown **ppunk);
1514 * Sax Interfaces
1517 object,
1518 local,
1519 uuid(f078abe1-45d2-4832-91ea-4466ce2f25c9)
1521 interface ISAXAttributes : IUnknown
1523 HRESULT getLength(
1524 [out, retval] int *length);
1526 HRESULT getURI(
1527 [in] int nIndex,
1528 [out] const WCHAR **pUrl,
1529 [out] int *pUriSize);
1531 HRESULT getLocalName(
1532 [in] int nIndex,
1533 [out] const WCHAR **pLocalName,
1534 [out] int *pLocalNameLength);
1536 HRESULT getQName(
1537 [in] int nIndex,
1538 [out] const WCHAR **pQName,
1539 [out] int *pQNameLength);
1541 HRESULT getName(
1542 [in] int nIndex,
1543 [out] const WCHAR **pUri,
1544 [out] int * pUriLength,
1545 [out] const WCHAR ** pLocalName,
1546 [out] int * pLocalNameSize,
1547 [out] const WCHAR ** pQName,
1548 [out] int * pQNameLength);
1550 HRESULT getIndexFromName(
1551 [in] const WCHAR * pUri,
1552 [in] int cUriLength,
1553 [in] const WCHAR * pLocalName,
1554 [in] int cocalNameLength,
1555 [out, retval] int * index);
1557 HRESULT getIndexFromQName(
1558 [in] const WCHAR * pQName,
1559 [in] int nQNameLength,
1560 [out, retval] int * index);
1562 HRESULT getType(
1563 [in] int nIndex,
1564 [out] const WCHAR ** pType,
1565 [out] int * pTypeLength);
1567 HRESULT getTypeFromName(
1568 [in] const WCHAR * pUri,
1569 [in] int nUri,
1570 [in] const WCHAR * pLocalName,
1571 [in] int nLocalName,
1572 [out] const WCHAR ** pType,
1573 [out] int * nType);
1575 HRESULT getTypeFromQName(
1576 [in] const WCHAR * pQName,
1577 [in] int nQName,
1578 [out] const WCHAR ** pType,
1579 [out] int * nType);
1581 HRESULT getValue(
1582 [in] int nIndex,
1583 [out] const WCHAR ** pValue,
1584 [out] int * nValue);
1586 HRESULT getValueFromName(
1587 [in] const WCHAR * pUri,
1588 [in] int nUri,
1589 [in] const WCHAR * pLocalName,
1590 [in] int nLocalName,
1591 [out] const WCHAR ** pValue,
1592 [out] int * nValue);
1594 HRESULT getValueFromQName(
1595 [in] const WCHAR * pQName,
1596 [in] int nQName,
1597 [out] const WCHAR ** pValue,
1598 [out] int * nValue);
1602 object,
1603 local,
1604 uuid(1545cdfa-9e4e-4497-a8a4-2bf7d0112c44)
1606 interface ISAXContentHandler : IUnknown
1608 HRESULT putDocumentLocator(
1609 [in] ISAXLocator * pLocator);
1611 HRESULT startDocument();
1613 HRESULT endDocument();
1615 HRESULT startPrefixMapping(
1616 [in] const WCHAR * pPrefix,
1617 [in] int nPrefix,
1618 [in] const WCHAR * pUri,
1619 [in] int nUri);
1621 HRESULT endPrefixMapping(
1622 [in] const WCHAR * pPrefix,
1623 [in] int nPrefix);
1625 HRESULT startElement(
1626 [in] const WCHAR * pNamespaceUri,
1627 [in] int nNamespaceUri,
1628 [in] const WCHAR * pLocalName,
1629 [in] int nLocalName,
1630 [in] const WCHAR * pQName,
1631 [in] int nQName,
1632 [in] ISAXAttributes * pAttr);
1634 HRESULT endElement(
1635 [in] const WCHAR * pNamespaceUri,
1636 [in] int nNamespaceUri,
1637 [in] const WCHAR * pLocalName,
1638 [in] int nLocalName,
1639 [in] const WCHAR * pQName,
1640 [in] int nQName);
1642 HRESULT characters(
1643 [in] const WCHAR * pChars,
1644 [in] int nChars);
1646 HRESULT ignorableWhitespace(
1647 [in] const WCHAR * pChars,
1648 [in] int nChars);
1650 HRESULT processingInstruction(
1651 [in] const WCHAR * pTarget,
1652 [in] int nTarget,
1653 [in] const WCHAR * pData,
1654 [in] int nData);
1656 HRESULT skippedEntity(
1657 [in] const WCHAR * pName,
1658 [in] int nName);
1662 object,
1663 local,
1664 uuid(862629ac-771a-47b2-8337-4e6843c1be90)
1666 interface ISAXDeclHandler : IUnknown
1668 HRESULT elementDecl(
1669 [in] const WCHAR * pName,
1670 [in] int nName,
1671 [in] const WCHAR * pModel,
1672 [in] int nModel);
1674 HRESULT attributeDecl(
1675 [in] const WCHAR * pElementName,
1676 [in] int nElementName,
1677 [in] const WCHAR * pAttributeName,
1678 [in] int nAttributeName,
1679 [in] const WCHAR * pType,
1680 [in] int nType,
1681 [in] const WCHAR * pValueDefault,
1682 [in] int nValueDefault,
1683 [in] const WCHAR * pValue,
1684 [in] int nValue);
1686 HRESULT internalEntityDecl(
1687 [in] const WCHAR * pName,
1688 [in] int nName,
1689 [in] const WCHAR * pValue,
1690 [in] int nValue);
1692 HRESULT externalEntityDecl(
1693 [in] const WCHAR * pName,
1694 [in] int nName,
1695 [in] const WCHAR * pPublicId,
1696 [in] int nPublicId,
1697 [in] const WCHAR * pSystemId,
1698 [in] int nSystemId);
1702 helpstring("Free Threaded XML HTTP Request class 6.0"),
1703 progid("Msxml2.FreeThreadedXMLHTTP60.6.0"),
1704 threading(both),
1705 uuid(88d96a09-f192-11d4-a65f-0040963251e5)
1707 coclass FreeThreadedXMLHTTP60
1709 [default] interface IXMLHTTPRequest2;
1713 object,
1714 local,
1715 uuid(e15c1baf-afb3-4d60-8c36-19a8c45defed)
1717 interface ISAXDTDHandler : IUnknown
1719 HRESULT notationDecl(
1720 [in] const WCHAR * pName,
1721 [in] int nName,
1722 [in] const WCHAR * pPublicId,
1723 [in] int nPublicId,
1724 [in] const WCHAR * pSystemId,
1725 [in] int nSystemId);
1727 HRESULT unparsedEntityDecl(
1728 [in] const WCHAR * pName,
1729 [in] int nName,
1730 [in] const WCHAR * pPublicId,
1731 [in] int nPublicId,
1732 [in] const WCHAR * pSystemId,
1733 [in] int nSystemId,
1734 [in] const WCHAR * pNotationName,
1735 [in] int nNotationName);
1739 object,
1740 local,
1741 uuid(99bca7bd-e8c4-4d5f-a0cf-6d907901ff07),
1743 interface ISAXEntityResolver : IUnknown
1745 HRESULT resolveEntity(
1746 [in] const WCHAR * pPublicId,
1747 [in] const WCHAR * pSystemId,
1748 [out, retval] VARIANT * ret);
1752 object,
1753 local,
1754 uuid(a60511c4-ccf5-479e-98a3-dc8dc545b7d0)
1756 interface ISAXErrorHandler : IUnknown
1758 HRESULT error(
1759 [in] ISAXLocator * pLocator,
1760 [in] const WCHAR * pErrorMessage,
1761 [in] HRESULT hrErrorCode);
1763 HRESULT fatalError(
1764 [in] ISAXLocator * pLocator,
1765 [in] const WCHAR * pErrorMessage,
1766 [in] HRESULT hrErrorCode);
1768 HRESULT ignorableWarning(
1769 [in] ISAXLocator * pLocator,
1770 [in] const WCHAR * pErrorMessage,
1771 [in] HRESULT hrErrorCode);
1775 object,
1776 local,
1777 uuid(7f85d5f5-47a8-4497-bda5-84ba04819ea6)
1779 interface ISAXLexicalHandler : IUnknown
1781 HRESULT startDTD(
1782 [in] const WCHAR * pName,
1783 [in] int nName,
1784 [in] const WCHAR * pPublicId,
1785 [in] int nPublicId,
1786 [in] const WCHAR * pSystemId,
1787 [in] int nSystemId);
1789 HRESULT endDTD();
1791 HRESULT startEntity(
1792 [in] const WCHAR * pName,
1793 [in] int nName);
1795 HRESULT endEntity(
1796 [in] const WCHAR * pName,
1797 [in] int nName);
1799 HRESULT startCDATA();
1801 HRESULT endCDATA();
1803 HRESULT comment(
1804 [in] const WCHAR * pChars,
1805 [in] int nChars);
1809 object,
1810 local,
1811 uuid(9b7e472a-0de4-4640-bff3-84d38a051c31)
1813 interface ISAXLocator : IUnknown
1815 HRESULT getColumnNumber(
1816 [out, retval] int * nColumn);
1818 HRESULT getLineNumber(
1819 [out, retval] int * nLine);
1821 HRESULT getPublicId(
1822 [out, retval] const WCHAR ** publicId);
1824 HRESULT getSystemId(
1825 [out, retval] const WCHAR ** systemId);
1829 local,
1830 object,
1831 uuid(70409222-ca09-4475-acb8-40312fe8d145)
1833 interface ISAXXMLFilter : ISAXXMLReader
1835 HRESULT getParent(
1836 [out, retval] ISAXXMLReader ** pReader);
1837 HRESULT putParent(
1838 [in] ISAXXMLReader * reader);
1842 local,
1843 object,
1844 uuid (a4f96ed0-f829-476e-81c0-cdc7bd2a0802)
1846 interface ISAXXMLReader : IUnknown
1848 HRESULT getFeature(
1849 [in] const WCHAR * pFeature,
1850 [out, retval] VARIANT_BOOL * pValue);
1851 HRESULT putFeature(
1852 [in] const WCHAR * pFeature,
1853 [in] VARIANT_BOOL vfValue);
1855 HRESULT getProperty(
1856 [in] const WCHAR * pProp,
1857 [out, retval] VARIANT * pValue);
1858 HRESULT putProperty(
1859 [in] const WCHAR * pProp,
1860 [in] VARIANT value);
1862 HRESULT getEntityResolver(
1863 [out, retval] ISAXEntityResolver ** ppEntityResolver);
1864 HRESULT putEntityResolver(
1865 [in] ISAXEntityResolver * pEntityResolver);
1867 HRESULT getContentHandler(
1868 [out, retval] ISAXContentHandler ** pContentHandler);
1869 HRESULT putContentHandler(
1870 [in] ISAXContentHandler * contentHandler);
1872 HRESULT getDTDHandler(
1873 [out, retval] ISAXDTDHandler ** pDTDHandler);
1874 HRESULT putDTDHandler(
1875 [in] ISAXDTDHandler * pDTDHandler);
1877 HRESULT getErrorHandler(
1878 [out, retval] ISAXErrorHandler ** pErrorHandler);
1879 HRESULT putErrorHandler(
1880 [in] ISAXErrorHandler * errorHandler);
1882 HRESULT getBaseURL(
1883 [out, retval] const WCHAR ** pBaseUrl);
1884 HRESULT putBaseURL(
1885 [in] const WCHAR * pBaseUrl);
1887 HRESULT getSecureBaseURL(
1888 [out, retval] const WCHAR ** pSecureBaseUrl);
1889 HRESULT putSecureBaseURL(
1890 [in] const WCHAR * secureBaseUrl);
1892 HRESULT parse(
1893 [in] VARIANT varInput);
1894 HRESULT parseURL(
1895 [in] const WCHAR * url);
1899 object,
1900 dual,
1901 oleautomation,
1902 uuid(10dc0586-132b-4cac-8bb3-db00ac8b7ee0)
1904 interface IVBSAXAttributes : IDispatch
1906 [propget, id(DISPID_SAX_ATTRIBUTES_LENGTH)]
1907 HRESULT length( [out, retval] int * nLength);
1909 [id(DISPID_SAX_ATTRIBUTES_GETURI)]
1910 HRESULT getURI( [in] int nIndex, [out, retval] BSTR * uri);
1912 [id(DISPID_SAX_ATTRIBUTES_GETLOCALNAME)]
1913 HRESULT getLocalName( [in] int nIndex, [out, retval] BSTR * localName);
1915 [id(DISPID_SAX_ATTRIBUTES_GETQNAME)]
1916 HRESULT getQName( [in] int nIndex, [out, retval] BSTR * QName);
1918 [id(DISPID_SAX_ATTRIBUTES_GETINDEXFROMNAME)]
1919 HRESULT getIndexFromName( [in] BSTR uri,
1920 [in] BSTR localName, [out, retval] int * nIndex);
1922 [id(DISPID_SAX_ATTRIBUTES_GETINDEXFROMQNAME)]
1923 HRESULT getIndexFromQName( [in] BSTR QName, [out, retval] int * nIndex);
1925 [id(DISPID_SAX_ATTRIBUTES_GETTYPE)]
1926 HRESULT getType( [in] int nIndex, [out, retval] BSTR * type);
1928 [id(DISPID_SAX_ATTRIBUTES_GETTYPEFROMNAME)]
1929 HRESULT getTypeFromName( [in] BSTR uri, [in] BSTR localName,
1930 [out, retval] BSTR * type);
1932 [id(DISPID_SAX_ATTRIBUTES_GETTYPEFROMQNAME)]
1933 HRESULT getTypeFromQName( [in] BSTR QName, [out, retval] BSTR * type);
1935 [id(DISPID_SAX_ATTRIBUTES_GETVALUE)]
1936 HRESULT getValue( [in] int nIndex, [out, retval] BSTR * value);
1938 [id(DISPID_SAX_ATTRIBUTES_GETVALUEFROMNAME)]
1939 HRESULT getValueFromName( [in] BSTR uri,
1940 [in] BSTR localName,
1941 [out, retval] BSTR * value);
1943 [id(DISPID_SAX_ATTRIBUTES_GETVALUEFROMQNAME)]
1944 HRESULT getValueFromQName( [in] BSTR QName, [out, retval] BSTR * value);
1948 object,
1949 dual,
1950 oleautomation,
1951 uuid(2ed7290a-4dd5-4b46-bb26-4e4155e77faa)
1953 interface IVBSAXContentHandler : IDispatch
1955 [propputref, id(DISPID_SAX_CONTENTHANDLER_DOCUMENTLOCATOR)]
1956 HRESULT documentLocator( [in] IVBSAXLocator * oLocator);
1958 [id(DISPID_SAX_CONTENTHANDLER_STARTDOCUMENT)]
1959 HRESULT startDocument();
1961 [id(DISPID_SAX_CONTENTHANDLER_ENDDOCUMENT)]
1962 HRESULT endDocument();
1964 [id(DISPID_SAX_CONTENTHANDLER_STARTPREFIXMAPPING)]
1965 HRESULT startPrefixMapping( [in, out] BSTR * prefix, [in, out] BSTR * uri);
1967 [id(DISPID_SAX_CONTENTHANDLER_ENDPREFIXMAPPING)]
1968 HRESULT endPrefixMapping( [in, out] BSTR * prefix);
1970 [id(DISPID_SAX_CONTENTHANDLER_STARTELEMENT)]
1971 HRESULT startElement( [in, out] BSTR * namespaceURI,
1972 [in, out] BSTR * localName,
1973 [in, out] BSTR * QName,
1974 [in] IVBSAXAttributes * oAttributes);
1976 [id(DISPID_SAX_CONTENTHANDLER_ENDELEMENT)]
1977 HRESULT endElement( [in, out] BSTR * namespaceURI,
1978 [in, out] BSTR * localName, [in, out] BSTR * strQName);
1980 [id(DISPID_SAX_CONTENTHANDLER_CHARACTERS)]
1981 HRESULT characters( [in, out] BSTR * chars);
1983 [id(DISPID_SAX_CONTENTHANDLER_IGNORABLEWHITESPACE)]
1984 HRESULT ignorableWhitespace( [in, out] BSTR * chars);
1986 [id(DISPID_SAX_CONTENTHANDLER_PROCESSINGINSTRUCTION)]
1987 HRESULT processingInstruction( [in, out] BSTR * target,
1988 [in, out] BSTR * data);
1990 [id(DISPID_SAX_CONTENTHANDLER_SKIPPEDENTITY)]
1991 HRESULT skippedEntity( [in, out] BSTR * name);
1995 object,
1996 dual,
1997 oleautomation,
1998 uuid(e8917260-7579-4be1-b5dd-7afbfa6f077b)
2000 interface IVBSAXDeclHandler : IDispatch
2002 [id(DISPID_SAX_DECLHANDLER_ELEMENTDECL)]
2003 HRESULT elementDecl(
2004 [in, out] BSTR * name,
2005 [in, out] BSTR * model);
2007 [id(DISPID_SAX_DECLHANDLER_ATTRIBUTEDECL)]
2008 HRESULT attributeDecl(
2009 [in, out] BSTR * elementName,
2010 [in, out] BSTR * attributeName,
2011 [in, out] BSTR * type,
2012 [in, out] BSTR * valueDefault,
2013 [in, out] BSTR * value);
2015 [id(DISPID_SAX_DECLHANDLER_INTERNALENTITYDECL)]
2016 HRESULT internalEntityDecl(
2017 [in, out] BSTR * name,
2018 [in, out] BSTR * value);
2020 [id(DISPID_SAX_DECLHANDLER_EXTERNALENTITYDECL)]
2021 HRESULT externalEntityDecl(
2022 [in, out] BSTR * name,
2023 [in, out] BSTR * publicId,
2024 [in, out] BSTR * systemId);
2028 object,
2029 dual,
2030 oleautomation,
2031 uuid(24fb3297-302d-4620-ba39-3a732d850558)
2033 interface IVBSAXDTDHandler : IDispatch
2035 [id(DISPID_SAX_DTDHANDLER_NOTATIONDECL)]
2036 HRESULT notationDecl(
2037 [in, out] BSTR * name,
2038 [in, out] BSTR * publicId,
2039 [in, out] BSTR * systemId);
2041 [id(DISPID_SAX_DTDHANDLER_UNPARSEDENTITYDECL)]
2042 HRESULT unparsedEntityDecl(
2043 [in, out] BSTR * name,
2044 [in, out] BSTR * publicId,
2045 [in, out] BSTR * systemId,
2046 [in, out] BSTR * notationName);
2050 object,
2051 dual,
2052 oleautomation,
2053 uuid(0c05d096-f45b-4aca-ad1a-aa0bc25518dc)
2055 interface IVBSAXEntityResolver : IDispatch
2057 [id(DISPID_SAX_ENTITYRESOLVER_RESOLVEENTITY)]
2058 HRESULT resolveEntity(
2059 [in, out] BSTR * publicId,
2060 [in, out] BSTR * systemId,
2061 [out, retval] VARIANT * ret);
2065 object,
2066 dual,
2067 oleautomation,
2068 uuid(d963d3fe-173c-4862-9095-b92f66995f52)
2070 interface IVBSAXErrorHandler : IDispatch
2072 [id(DISPID_SAX_ERRORHANDLER_ERROR)]
2073 HRESULT error(
2074 [in] IVBSAXLocator * locator,
2075 [in, out] BSTR * errorMessage,
2076 [in] LONG errorCode);
2078 [id(DISPID_SAX_ERRORHANDLER_FATALERROR)]
2079 HRESULT fatalError(
2080 [in] IVBSAXLocator * locator,
2081 [in, out] BSTR * errorMessage,
2082 [in] LONG errorCode);
2084 [id(DISPID_SAX_ERRORHANDLER_IGNORABLEWARNING)]
2085 HRESULT ignorableWarning(
2086 [in] IVBSAXLocator * locator,
2087 [in, out] BSTR * errorMessage,
2088 [in] LONG errorCode);
2092 object,
2093 dual,
2094 oleautomation,
2095 uuid(032aac35-8c0e-4d9d-979f-e3b702935576)
2097 interface IVBSAXLexicalHandler : IDispatch
2099 [id(DISPID_SAX_LEXICALHANDLER_STARTDTD)]
2100 HRESULT startDTD(
2101 [in, out] BSTR * name,
2102 [in, out] BSTR * publicId,
2103 [in, out] BSTR * systemId);
2104 [id(DISPID_SAX_LEXICALHANDLER_ENDDTD)]
2105 HRESULT endDTD();
2107 [id(DISPID_SAX_LEXICALHANDLER_STARTENTITY)]
2108 HRESULT startEntity([in, out] BSTR * name);
2109 [id(DISPID_SAX_LEXICALHANDLER_ENDENTITY)]
2110 HRESULT endEntity([in, out] BSTR * name);
2112 [id(DISPID_SAX_LEXICALHANDLER_STARTCDATA)]
2113 HRESULT startCDATA();
2114 [id(DISPID_SAX_LEXICALHANDLER_ENDCDATA)]
2115 HRESULT endCDATA();
2117 [id(DISPID_SAX_LEXICALHANDLER_COMMENT)]
2118 HRESULT comment( [in, out] BSTR * chars);
2122 object,
2123 dual,
2124 oleautomation,
2125 uuid(796e7ac5-5aa2-4eff-acad-3faaf01a3288)
2127 interface IVBSAXLocator : IDispatch
2129 [propget, id(DISPID_SAX_LOCATOR_COLUMNNUMBER)]
2130 HRESULT columnNumber( [out, retval] int * column);
2132 [propget, id(DISPID_SAX_LOCATOR_LINENUMBER)]
2133 HRESULT lineNumber( [out, retval] int * line);
2135 [propget, id(DISPID_SAX_LOCATOR_PUBLICID)]
2136 HRESULT publicId( [out, retval] BSTR * publicId);
2138 [propget, id(DISPID_SAX_LOCATOR_SYSTEMID)]
2139 HRESULT systemId( [out, retval] BSTR * systemId);
2143 object,
2144 dual,
2145 oleautomation,
2146 uuid(1299eb1b-5b88-433e-82de-82ca75ad4e04)
2148 interface IVBSAXXMLFilter : IDispatch
2150 [propget, id(DISPID_SAX_XMLFILTER_PARENT)]
2151 HRESULT parent( [out, retval] IVBSAXXMLReader ** reader);
2152 [propputref, id(DISPID_SAX_XMLFILTER_PARENT)]
2153 HRESULT parent( [in] IVBSAXXMLReader * reader);
2158 dual,
2159 oleautomation,
2160 object,
2161 uuid (8c033caa-6cd6-4f73-b728-4531af74945f)
2163 interface IVBSAXXMLReader : IDispatch
2165 [id(DISPID_SAX_XMLREADER_GETFEATURE)]
2166 HRESULT getFeature( [in] BSTR pFeature,
2167 [out, retval] VARIANT_BOOL * pValue);
2168 [id(DISPID_SAX_XMLREADER_PUTFEATURE)]
2169 HRESULT putFeature( [in] BSTR pFeature,
2170 [in] VARIANT_BOOL vfValue);
2172 [id(DISPID_SAX_XMLREADER_GETPROPERTY)]
2173 HRESULT getProperty( [in] BSTR pProp,
2174 [out, retval] VARIANT * pValue);
2175 [id(DISPID_SAX_XMLREADER_PUTPROPERTY)]
2176 HRESULT putProperty( [in] BSTR pProp, [in] VARIANT value);
2178 [propget, id(DISPID_SAX_XMLREADER_ENTITYRESOLVER)]
2179 HRESULT entityResolver(
2180 [out, retval] IVBSAXEntityResolver ** ppEntityResolver);
2181 [propputref, id(DISPID_SAX_XMLREADER_ENTITYRESOLVER)]
2182 HRESULT entityResolver( [in] IVBSAXEntityResolver * pEntityResolver);
2184 [propget, id(DISPID_SAX_XMLREADER_CONTENTHANDLER)]
2185 HRESULT contentHandler(
2186 [out, retval] IVBSAXContentHandler ** pContentHandler);
2187 [propputref, id(DISPID_SAX_XMLREADER_CONTENTHANDLER)]
2188 HRESULT contentHandler([in] IVBSAXContentHandler * contentHandler);
2190 [propget, id(DISPID_SAX_XMLREADER_DTDHANDLER)]
2191 HRESULT dtdHandler([out, retval] IVBSAXDTDHandler ** pDTDHandler);
2192 [propputref, id(DISPID_SAX_XMLREADER_DTDHANDLER)]
2193 HRESULT dtdHandler([in] IVBSAXDTDHandler * pDTDHandler);
2195 [propget, id(DISPID_SAX_XMLREADER_ERRORHANDLER)]
2196 HRESULT errorHandler([out, retval] IVBSAXErrorHandler ** pErrorHandler);
2197 [propputref, id(DISPID_SAX_XMLREADER_ERRORHANDLER)]
2198 HRESULT errorHandler([in] IVBSAXErrorHandler * errorHandler);
2200 [propget, id(DISPID_SAX_XMLREADER_BASEURL)]
2201 HRESULT baseURL([out, retval] BSTR *pBaseUrl);
2202 [propput, id(DISPID_SAX_XMLREADER_BASEURL)]
2203 HRESULT baseURL([in] BSTR pBaseUrl);
2205 [propget, id(DISPID_SAX_XMLREADER_SECUREBASEURL)]
2206 HRESULT secureBaseURL([out, retval] BSTR *pSecureBaseUrl);
2207 [propput, id(DISPID_SAX_XMLREADER_SECUREBASEURL)]
2208 HRESULT secureBaseURL([in] BSTR secureBaseUrl);
2210 [id(DISPID_SAX_XMLREADER_PARSE)]
2211 HRESULT parse( [in] VARIANT varInput);
2212 [id(DISPID_SAX_XMLREADER_PARSEURL)]
2213 HRESULT parseURL([in] BSTR url);
2217 object,
2218 dual,
2219 oleautomation,
2220 uuid(f10d27cc-3ec0-415c-8ed8-77ab1c5e7262)
2222 interface IMXAttributes : IDispatch
2224 [id(DISPID_MX_ATTRIBUTES_ADDATTRIBUTE)]
2225 HRESULT addAttribute(
2226 [in] BSTR uri,
2227 [in] BSTR localName,
2228 [in] BSTR QName,
2229 [in] BSTR type,
2230 [in] BSTR value);
2232 [id(DISPID_MX_ATTRIBUTES_ADDATTRIBUTEFROMINDEX)]
2233 HRESULT addAttributeFromIndex( [in] VARIANT atts,
2234 [in] int index);
2236 [id(DISPID_MX_ATTRIBUTES_CLEAR)]
2237 HRESULT clear();
2239 [id(DISPID_MX_ATTRIBUTES_REMOVEATTRIBUTE)]
2240 HRESULT removeAttribute( [in] int index);
2242 [id(DISPID_MX_ATTRIBUTES_SETATTRIBUTE)]
2243 HRESULT setAttribute(
2244 [in] int index,
2245 [in] BSTR uri,
2246 [in] BSTR localName,
2247 [in] BSTR QName,
2248 [in] BSTR type,
2249 [in] BSTR value);
2251 [id(DISPID_MX_ATTRIBUTES_SETATTRIBUTES)]
2252 HRESULT setAttributes( [in] VARIANT atts);
2254 [id(DISPID_MX_ATTRIBUTES_SETLOCALNAME)]
2255 HRESULT setLocalName( [in] int index,
2256 [in] BSTR localName);
2258 [id(DISPID_MX_ATTRIBUTES_SETQNAME)]
2259 HRESULT setQName(
2260 [in] int index,
2261 [in] BSTR QName);
2263 [id(DISPID_MX_ATTRIBUTES_SETTYPE)]
2264 HRESULT setType( [in] int index, [in] BSTR type);
2266 [id(DISPID_MX_ATTRIBUTES_SETURI)]
2267 HRESULT setURI( [in] int index, [in] BSTR uri);
2269 [id(DISPID_MX_ATTRIBUTES_SETVALUE)]
2270 HRESULT setValue([in] int index, [in] BSTR value);
2274 local,
2275 object,
2276 dual,
2277 oleautomation,
2278 uuid(fa4bb38c-faf9-4cca-9302-d1dd0fe520db)
2280 interface IMXSchemaDeclHandler : IDispatch
2282 [id(DISPID_MX_SCHEMADECLHANDLER_SCHEMAELEMENTDECL)]
2283 HRESULT schemaElementDecl( [in] ISchemaElement *oSchemaElement );
2287 object,
2288 dual,
2289 oleautomation,
2290 uuid(808f4e35-8d5a-4fbe-8466-33a41279ed30)
2292 interface IMXReaderControl : IDispatch
2294 [id(DISPID_MX_READER_CONTROL_ABORT)]
2295 HRESULT abort();
2297 [id(DISPID_MX_READER_CONTROL_RESUME)]
2298 HRESULT resume();
2300 [id(DISPID_MX_READER_CONTROL_SUSPEND)]
2301 HRESULT suspend();
2305 object,
2306 dual,
2307 oleautomation,
2308 uuid(4d7ff4ba-1565-4ea8-94e1-6e724a46f98d)
2310 interface IMXWriter : IDispatch
2312 [propput, id(DISPID_MX_WRITER_OUTPUT)]
2313 HRESULT output ( [in] VARIANT Destination);
2314 [propget, id(DISPID_MX_WRITER_OUTPUT)]
2315 HRESULT output ( [out, retval] VARIANT * Destination);
2317 [propput, id(DISPID_MX_WRITER_ENCODING)]
2318 HRESULT encoding ([in] BSTR encoding);
2319 [propget, id(DISPID_MX_WRITER_ENCODING)]
2320 HRESULT encoding ([out, retval] BSTR * encoding);
2322 [propput, id(DISPID_MX_WRITER_BYTEORDERMARK)]
2323 HRESULT byteOrderMark ([in] VARIANT_BOOL writeByteOrderMark);
2324 [propget, id(DISPID_MX_WRITER_BYTEORDERMARK)]
2325 HRESULT byteOrderMark ([out, retval] VARIANT_BOOL * writeByteOrderMark);
2327 [propput, id(DISPID_MX_WRITER_INDENT)]
2328 HRESULT indent ([in] VARIANT_BOOL indentMode);
2329 [propget, id(DISPID_MX_WRITER_INDENT)]
2330 HRESULT indent ([out, retval] VARIANT_BOOL * indentMode);
2332 [propput, id(DISPID_MX_WRITER_STANDALONE)]
2333 HRESULT standalone ([in] VARIANT_BOOL value);
2334 [propget, id(DISPID_MX_WRITER_STANDALONE)]
2335 HRESULT standalone ([out, retval] VARIANT_BOOL * value);
2337 [propput, id(DISPID_MX_WRITER_OMITXMLDECLARATION)]
2338 HRESULT omitXMLDeclaration ([in] VARIANT_BOOL value);
2339 [propget, id(DISPID_MX_WRITER_OMITXMLDECLARATION)]
2340 HRESULT omitXMLDeclaration ([out, retval] VARIANT_BOOL * value);
2342 [propput, id(DISPID_MX_WRITER_VERSION)]
2343 HRESULT version ([in] BSTR version);
2344 [propget, id(DISPID_MX_WRITER_VERSION)]
2345 HRESULT version ([out, retval] BSTR * version);
2347 [propput, id(DISPID_MX_WRITER_DISABLEOUTPUTESCAPING)]
2348 HRESULT disableOutputEscaping([in] VARIANT_BOOL value);
2349 [propget, id(DISPID_MX_WRITER_DISABLEOUTPUTESCAPING)]
2350 HRESULT disableOutputEscaping([out, retval] VARIANT_BOOL * value);
2352 [id(DISPID_MX_WRITER_FLUSH)]
2353 HRESULT flush();
2357 local,
2358 object,
2359 dual,
2360 oleautomation,
2361 uuid(c90352f4-643c-4fbc-bb23-e996eb2d51fd)
2363 interface IMXNamespacePrefixes : IDispatch
2365 [propget, id(DISPID_VALUE)]
2366 HRESULT item(
2367 [in] long index,
2368 [out, retval] BSTR *prefix);
2370 [propget, id(DISPID_MX_NSMGR_LENGTH)]
2371 HRESULT length( [out,retval] long *length );
2373 [propget, restricted, hidden, id(DISPID_NEWENUM)]
2374 HRESULT _newEnum( [out, retval] IUnknown **ppUnk );
2378 local,
2379 object,
2380 hidden,
2381 uuid(c90352f6-643c-4fbc-bb23-e996eb2d51fd)
2383 interface IMXNamespaceManager : IUnknown
2385 HRESULT putAllowOverride([in] VARIANT_BOOL fOverride);
2387 HRESULT getAllowOverride([out, retval] VARIANT_BOOL *fOverride);
2389 HRESULT reset();
2391 HRESULT pushContext();
2393 HRESULT pushNodeContext(
2394 [in] IXMLDOMNode *contextNode,
2395 [in] VARIANT_BOOL fDeep);
2397 HRESULT popContext();
2399 HRESULT declarePrefix(
2400 [in] const WCHAR *prefix,
2401 [in] const WCHAR *namespaceURI);
2403 HRESULT getDeclaredPrefix(
2404 [in] long nIndex,
2405 [in, out] WCHAR *pwchPrefix,
2406 [in, out] int *pcchPrefix);
2408 HRESULT getPrefix(
2409 [in] const WCHAR *pwszNamespaceURI,
2410 [in] long nIndex,
2411 [in, out] WCHAR *pwchPrefix,
2412 [in, out] int *pcchPrefix);
2414 HRESULT getURI(
2415 [in] const WCHAR *pwchPrefix,
2416 [in] IXMLDOMNode* pContextNode,
2417 [in, out] WCHAR *pwchUri,
2418 [in, out] int *pcchUri);
2422 local,
2423 object,
2424 dual,
2425 oleautomation,
2426 uuid(c90352f5-643c-4fbc-bb23-e996eb2d51fd)
2428 interface IVBMXNamespaceManager : IDispatch
2430 [propput, id(DISPID_MX_NSMGR_ALLOWOVERRIDE)]
2431 HRESULT allowOverride([in] VARIANT_BOOL fOverride);
2433 [propget, id(DISPID_MX_NSMGR_ALLOWOVERRIDE)]
2434 HRESULT allowOverride([out,retval] VARIANT_BOOL* fOverride);
2436 [id(DISPID_MX_NSMGR_RESET)]
2437 HRESULT reset();
2439 [id(DISPID_MX_NSMGR_PUSHCONTEXT)]
2440 HRESULT pushContext();
2442 [id(DISPID_MX_NSMGR_PUSHNODECONTEXT)]
2443 HRESULT pushNodeContext(
2444 [in] IXMLDOMNode* contextNode,
2445 [in, defaultvalue(-1)] VARIANT_BOOL fDeep);
2447 [id(DISPID_MX_NSMGR_POPCONTEXT)]
2448 HRESULT popContext();
2450 [id(DISPID_MX_NSMGR_DECLAREPREFIX)]
2451 HRESULT declarePrefix(
2452 [in] BSTR prefix,
2453 [in] BSTR namespaceURI);
2455 [id(DISPID_MX_NSMGR_GETDECLAREDPREFIXES)]
2456 HRESULT getDeclaredPrefixes([out, retval] IMXNamespacePrefixes** prefixes);
2458 [id(DISPID_MX_NSMGR_GETPREFIXES)]
2459 HRESULT getPrefixes(
2460 [in] BSTR namespaceURI,
2461 [out, retval] IMXNamespacePrefixes** prefixes);
2463 [id(DISPID_MX_NSMGR_GETURI)]
2464 HRESULT getURI(
2465 [in] BSTR prefix,
2466 [out, retval] VARIANT* uri);
2468 [id(DISPID_MX_NSMGR_GETURIFROMNODE)]
2469 HRESULT getURIFromNode(
2470 [in] BSTR strPrefix,
2471 [in] IXMLDOMNode* contextNode,
2472 [out, retval] VARIANT* uri);
2476 local,
2477 object,
2478 dual,
2479 oleautomation,
2480 uuid(c90352f7-643c-4fbc-bb23-e996eb2d51fd)
2482 interface IMXXMLFilter : IDispatch
2484 [id(DISPID_MXXML_FILTER_GETFEATURE)]
2485 HRESULT getFeature(
2486 [in] BSTR strName,
2487 [out, retval] VARIANT_BOOL * fValue);
2489 [id(DISPID_MXXML_FILTER_PUTFEATURE)]
2490 HRESULT putFeature(
2491 [in] BSTR strName,
2492 [in] VARIANT_BOOL fValue);
2494 [id(DISPID_MXXML_FILTER_GETPROPERTY)]
2495 HRESULT getProperty(
2496 [in] BSTR strName,
2497 [out, retval] VARIANT * varValue);
2499 [id(DISPID_MXXML_FILTER_PUTPROPERTY)]
2500 HRESULT putProperty(
2501 [in] BSTR strName,
2502 [in] VARIANT varValue);
2504 [id(DISPID_MXXML_FILTER_ENTITYRESOLVER), propget]
2505 HRESULT entityResolver( [out, retval] IUnknown **oResolver );
2507 [id(DISPID_MXXML_FILTER_ENTITYRESOLVER), propputref]
2508 HRESULT entityResolver( [in] IUnknown *oResolver );
2510 [id(DISPID_MXXML_FILTER_CONTENTHANDLER), propget]
2511 HRESULT contentHandler( [out, retval] IUnknown **oHandler );
2513 [id(DISPID_MXXML_FILTER_CONTENTHANDLER), propputref]
2514 HRESULT contentHandler( [in] IUnknown *oHandler );
2516 [id(DISPID_MXXML_FILTER_DTDHANDLER), propget]
2517 HRESULT dtdHandler( [out, retval] IUnknown **oHandler );
2519 [id(DISPID_MXXML_FILTER_DTDHANDLER), propputref]
2520 HRESULT dtdHandler( [in] IUnknown *oHandler );
2522 [id(DISPID_MXXML_FILTER_ERRORHANDLER), propget]
2523 HRESULT errorHandler( [out, retval] IUnknown **oHandler );
2525 [id(DISPID_MXXML_FILTER_ERRORHANDLER), propputref]
2526 HRESULT errorHandler( [in] IUnknown *oHandler );
2530 local,
2531 object,
2532 uuid(50ea08b1-dd1b-4664-9a50-c2f40f4bd79a),
2533 oleautomation,
2534 dual
2536 interface ISchemaStringCollection : IDispatch
2538 [id(DISPID_VALUE), propget]
2539 HRESULT item(
2540 [in] long index,
2541 [out,retval] BSTR* bstr);
2543 [id(DISPID_SOM_LENGTH), propget]
2544 HRESULT length(
2545 [out,retval] long* length);
2547 [id(DISPID_NEWENUM), hidden, restricted, propget]
2548 HRESULT _newEnum(
2549 [out,retval] IUnknown** ppunk);
2553 local,
2554 object,
2555 uuid(50ea08b2-dd1b-4664-9a50-c2f40f4bd79a),
2556 oleautomation,
2557 dual
2559 interface ISchemaItemCollection : IDispatch
2561 [id(DISPID_VALUE), propget]
2562 HRESULT item(
2563 [in] long index,
2564 [out,retval]ISchemaItem** item);
2566 [id(DISPID_SOM_ITEMBYNAME)]
2567 HRESULT itemByName(
2568 [in] BSTR name,
2569 [out,retval] ISchemaItem** item);
2571 [id(DISPID_SOM_ITEMBYQNAME)]
2572 HRESULT itemByQName(
2573 [in] BSTR name,
2574 [in] BSTR namespaceURI,
2575 [out,retval] ISchemaItem** item);
2577 [id(DISPID_SOM_LENGTH), propget]
2578 HRESULT length(
2579 [out,retval]long* length);
2581 [id(DISPID_NEWENUM), hidden, restricted, propget]
2582 HRESULT _newEnum(
2583 [out,retval]IUnknown** ppunk);
2587 local,
2588 object,
2589 uuid(50ea08b3-dd1b-4664-9a50-c2f40f4bd79a),
2590 oleautomation,
2591 dual
2593 interface ISchemaItem : IDispatch
2595 [id(DISPID_SOM_NAME), propget]
2596 HRESULT name(
2597 [out,retval] BSTR* name);
2599 [id(DISPID_SOM_NAMESPACEURI), propget]
2600 HRESULT namespaceURI(
2601 [out,retval] BSTR* namespaceURI);
2603 [id(DISPID_SOM_SCHEMA), propget]
2604 HRESULT schema(
2605 [out,retval] ISchema** schema);
2607 [id(DISPID_SOM_ID), propget]
2608 HRESULT id(
2609 [out,retval] BSTR* id);
2611 [id(DISPID_SOM_ITEMTYPE), propget]
2612 HRESULT itemType(
2613 [out,retval] SOMITEMTYPE* itemType);
2615 [id(DISPID_SOM_UNHANDLEDATTRS), propget]
2616 HRESULT unhandledAttributes(
2617 [out,retval] IVBSAXAttributes** attributes);
2619 [id(DISPID_SOM_WRITEANNOTATION)]
2620 HRESULT writeAnnotation(
2621 [in] IUnknown* annotationSink,
2622 [out,retval] VARIANT_BOOL* isWritten);
2626 local,
2627 object,
2628 uuid(50ea08b4-dd1b-4664-9a50-c2f40f4bd79a),
2629 oleautomation,
2630 dual
2632 interface ISchema : ISchemaItem
2634 [id(DISPID_SOM_TARGETNAMESPACE), propget]
2635 HRESULT targetNamespace(
2636 [out,retval] BSTR* targetNamespace);
2638 [id(DISPID_SOM_VERSION), propget]
2639 HRESULT version(
2640 [out,retval] BSTR* version);
2642 [id(DISPID_SOM_TYPES), propget]
2643 HRESULT types(
2644 [out,retval] ISchemaItemCollection** types);
2646 [id(DISPID_SOM_ELEMENTS), propget]
2647 HRESULT elements(
2648 [out,retval] ISchemaItemCollection** elements);
2650 [id(DISPID_SOM_ATTRIBUTES), propget]
2651 HRESULT attributes(
2652 [out,retval] ISchemaItemCollection** attributes);
2654 [id(DISPID_SOM_ATTRIBUTEGROUPS), propget]
2655 HRESULT attributeGroups(
2656 [out,retval] ISchemaItemCollection** attributeGroups);
2658 [id(DISPID_SOM_MODELGROUPS), propget]
2659 HRESULT modelGroups(
2660 [out,retval] ISchemaItemCollection** modelGroups);
2662 [id(DISPID_SOM_NOTATIONS), propget]
2663 HRESULT notations(
2664 [out,retval] ISchemaItemCollection** notations);
2666 [id(DISPID_SOM_SCHEMALOCATIONS), propget]
2667 HRESULT schemaLocations(
2668 [out,retval] ISchemaStringCollection** schemaLocations);
2672 local,
2673 object,
2674 uuid(50ea08b5-dd1b-4664-9a50-c2f40f4bd79a),
2675 oleautomation,
2676 dual
2678 interface ISchemaParticle : ISchemaItem
2680 [id(DISPID_SOM_MINOCCURS), propget]
2681 HRESULT minOccurs(
2682 [out,retval] VARIANT* minOccurs);
2684 [id(DISPID_SOM_MAXOCCURS), propget]
2685 HRESULT maxOccurs(
2686 [out,retval] VARIANT* maxOccurs);
2690 object,
2691 uuid(50ea08b6-dd1b-4664-9a50-c2f40f4bd79a),
2692 oleautomation,
2693 dual,
2695 interface ISchemaAttribute : ISchemaItem
2697 [id(DISPID_SOM_TYPE), propget]
2698 HRESULT type(
2699 [out,retval] ISchemaType** type);
2701 [id(DISPID_SOM_SCOPE), propget]
2702 HRESULT scope(
2703 [out,retval] ISchemaComplexType** scope);
2705 [id(DISPID_SOM_DEFAULTVALUE), propget]
2706 HRESULT defaultValue(
2707 [out,retval]BSTR* defaultValue);
2709 [id(DISPID_SOM_FIXEDVALUE), propget]
2710 HRESULT fixedValue(
2711 [out,retval] BSTR* fixedValue);
2713 [id(DISPID_SOM_USE), propget]
2714 HRESULT use(
2715 [out,retval] SCHEMAUSE* use);
2717 [id(DISPID_SOM_ISREFERENCE), propget]
2718 HRESULT isReference(
2719 [out,retval] VARIANT_BOOL* reference);
2723 local,
2724 object,
2725 uuid(50ea08b7-dd1b-4664-9a50-c2f40f4bd79a),
2726 oleautomation,
2727 dual
2729 interface ISchemaElement : ISchemaParticle
2731 [id(DISPID_SOM_TYPE), propget]
2732 HRESULT type(
2733 [out,retval] ISchemaType** type);
2735 [id(DISPID_SOM_SCOPE), propget]
2736 HRESULT scope(
2737 [out,retval] ISchemaComplexType** scope);
2739 [id(DISPID_SOM_DEFAULTVALUE), propget]
2740 HRESULT defaultValue(
2741 [out,retval] BSTR* defaultValue);
2743 [id(DISPID_SOM_FIXEDVALUE), propget]
2744 HRESULT fixedValue(
2745 [out,retval] BSTR* fixedValue);
2747 [id(DISPID_SOM_ISNILLABLE), propget]
2748 HRESULT isNillable(
2749 [out,retval] VARIANT_BOOL* nillable);
2751 [id(DISPID_SOM_IDCONSTRAINTS), propget]
2752 HRESULT identityConstraints(
2753 [out,retval] ISchemaItemCollection** constraints);
2755 [id(DISPID_SOM_SUBSTITUTIONGROUP), propget]
2756 HRESULT substitutionGroup(
2757 [out,retval] ISchemaElement** element);
2759 [id(DISPID_SOM_EXCLUSIONS), propget]
2760 HRESULT substitutionGroupExclusions(
2761 [out,retval] SCHEMADERIVATIONMETHOD* exclusions);
2763 [id(DISPID_SOM_DISALLOWED), propget]
2764 HRESULT disallowedSubstitutions(
2765 [out,retval] SCHEMADERIVATIONMETHOD* disallowed);
2767 [id(DISPID_SOM_ISABSTRACT), propget]
2768 HRESULT isAbstract(
2769 [out,retval] VARIANT_BOOL* abstract);
2771 [id(DISPID_SOM_ISREFERENCE), propget]
2772 HRESULT isReference(
2773 [out,retval] VARIANT_BOOL* reference);
2777 local,
2778 object,
2779 uuid(50ea08b8-dd1b-4664-9a50-c2f40f4bd79a),
2780 oleautomation,
2781 dual
2783 interface ISchemaType : ISchemaItem
2785 [id(DISPID_SOM_BASETYPES), propget]
2786 HRESULT baseTypes(
2787 [out,retval] ISchemaItemCollection** baseTypes);
2789 [id(DISPID_SOM_FINAL), propget]
2790 HRESULT final(
2791 [out,retval] SCHEMADERIVATIONMETHOD* final);
2793 [id(DISPID_SOM_VARIETY), propget]
2794 HRESULT variety(
2795 [out,retval] SCHEMATYPEVARIETY* variety);
2797 [id(DISPID_SOM_DERIVEDBY), propget]
2798 HRESULT derivedBy(
2799 [out,retval] SCHEMADERIVATIONMETHOD* derivedBy);
2801 [id(DISPID_SOM_ISVALID)]
2802 HRESULT isValid(
2803 [in] BSTR data,
2804 [out,retval] VARIANT_BOOL* valid);
2806 [id(DISPID_SOM_MINEXCLUSIVE), propget]
2807 HRESULT minExclusive(
2808 [out,retval]BSTR* minExclusive);
2810 [id(DISPID_SOM_MININCLUSIVE), propget]
2811 HRESULT minInclusive(
2812 [out,retval] BSTR* minInclusive);
2814 [id(DISPID_SOM_MAXEXCLUSIVE), propget]
2815 HRESULT maxExclusive(
2816 [out,retval] BSTR* maxExclusive);
2818 [id(DISPID_SOM_MAXINCLUSIVE), propget]
2819 HRESULT maxInclusive(
2820 [out,retval] BSTR* maxInclusive);
2822 [id(DISPID_SOM_TOTALDIGITS), propget]
2823 HRESULT totalDigits(
2824 [out,retval] VARIANT* totalDigits);
2826 [id(DISPID_SOM_FRACTIONDIGITS), propget]
2827 HRESULT fractionDigits(
2828 [out,retval] VARIANT* fractionDigits);
2830 [id(DISPID_SOM_LENGTH), propget]
2831 HRESULT length(
2832 [out,retval] VARIANT* length);
2834 [id(DISPID_SOM_MINLENGTH), propget]
2835 HRESULT minLength(
2836 [out,retval]VARIANT* minLength);
2838 [id(DISPID_SOM_MAXLENGTH), propget]
2839 HRESULT maxLength(
2840 [out,retval]VARIANT* maxLength);
2842 [id(DISPID_SOM_ENUMERATION), propget]
2843 HRESULT enumeration(
2844 [out,retval] ISchemaStringCollection** enumeration);
2846 [id(DISPID_SOM_WHITESPACE), propget]
2847 HRESULT whitespace(
2848 [out,retval]SCHEMAWHITESPACE* whitespace);
2850 [id(DISPID_SOM_PATTERNS), propget]
2851 HRESULT patterns(
2852 [out,retval] ISchemaStringCollection** patterns);
2856 local,
2857 object,
2858 uuid(50ea08b9-dd1b-4664-9a50-c2f40f4bd79a),
2859 oleautomation,
2860 dual,
2862 interface ISchemaComplexType : ISchemaType
2864 [id(DISPID_SOM_ISABSTRACT), propget]
2865 HRESULT isAbstract(
2866 [out,retval] VARIANT_BOOL* abstract);
2868 [id(DISPID_SOM_ANYATTRIBUTE), propget]
2869 HRESULT anyAttribute(
2870 [out,retval] ISchemaAny** anyAttribute);
2872 [id(DISPID_SOM_ATTRIBUTES), propget]
2873 HRESULT attributes(
2874 [out,retval] ISchemaItemCollection** attributes);
2876 [id(DISPID_SOM_CONTENTTYPE), propget]
2877 HRESULT contentType(
2878 [out,retval] SCHEMACONTENTTYPE* contentType);
2880 [id(DISPID_SOM_CONTENTMODEL), propget]
2881 HRESULT contentModel(
2882 [out,retval] ISchemaModelGroup** contentModel);
2884 [id(DISPID_SOM_PROHIBITED), propget]
2885 HRESULT prohibitedSubstitutions(
2886 [out,retval] SCHEMADERIVATIONMETHOD* prohibited);
2890 local,
2891 object,
2892 uuid(50ea08ba-dd1b-4664-9a50-c2f40f4bd79a),
2893 oleautomation,
2894 dual,
2896 interface ISchemaAttributeGroup : ISchemaItem
2898 [id(DISPID_SOM_ANYATTRIBUTE), propget]
2899 HRESULT anyAttribute(
2900 [out,retval] ISchemaAny** anyAttribute);
2902 [id(DISPID_SOM_ATTRIBUTES), propget]
2903 HRESULT attributes(
2904 [out,retval] ISchemaItemCollection** attributes);
2908 local,
2909 object,
2910 uuid(50ea08bb-dd1b-4664-9a50-c2f40f4bd79a),
2911 oleautomation,
2912 dual,
2914 interface ISchemaModelGroup : ISchemaParticle
2916 [id(DISPID_SOM_PARTICLES), propget]
2917 HRESULT particles(
2918 [out,retval] ISchemaItemCollection** particles);
2922 local,
2923 object,
2924 uuid(50ea08bc-dd1b-4664-9a50-c2f40f4bd79a),
2925 oleautomation,
2926 dual
2928 interface ISchemaAny : ISchemaParticle
2930 [id(DISPID_SOM_NAMESPACES), propget]
2931 HRESULT namespaces(
2932 [out,retval] ISchemaStringCollection** namespaces);
2934 [id(DISPID_SOM_PROCESSCONTENTS), propget]
2935 HRESULT processContents(
2936 [out,retval] SCHEMAPROCESSCONTENTS* processContents);
2940 local,
2941 object,
2942 uuid(50ea08bd-dd1b-4664-9a50-c2f40f4bd79a),
2943 oleautomation,
2944 dual
2946 interface ISchemaIdentityConstraint : ISchemaItem
2948 [id(DISPID_SOM_SELECTOR), propget]
2949 HRESULT selector(
2950 [out,retval] BSTR* selector);
2952 [id(DISPID_SOM_FIELDS), propget]
2953 HRESULT fields(
2954 [out,retval] ISchemaStringCollection** fields);
2956 [id(DISPID_SOM_REFERENCEDKEY), propget]
2957 HRESULT referencedKey(
2958 [out,retval] ISchemaIdentityConstraint** key);
2962 local,
2963 object,
2964 uuid(50ea08be-dd1b-4664-9a50-c2f40f4bd79a),
2965 oleautomation,
2966 dual
2968 interface ISchemaNotation : ISchemaItem
2970 [id(DISPID_SOM_SYSTEMIDENTIFIER), propget]
2971 HRESULT systemIdentifier(
2972 [out,retval] BSTR* uri);
2974 [id(DISPID_SOM_PUBLICIDENTIFIER), propget]
2975 HRESULT publicIdentifier(
2976 [out,retval] BSTR* uri);
2980 uuid(f5078f18-c551-11d3-89b9-0000f81fe221),
2981 version(6.0),
2982 helpstring("Microsoft XML, v6.0")
2984 library MSXML2
2987 importlib("stdole2.tlb");
2989 interface IXMLDOMNotation;
2990 interface IXMLDOMEntity;
2991 interface IXMLDOMEntityReference;
2992 interface IXMLDOMParseError2;
2993 interface IXMLDOMParseErrorCollection;
2994 interface IXMLDOMSelection;
2995 interface IXTLRuntime;
2996 dispinterface XMLDOMDocumentEvents;
2997 interface ISAXXMLFilter;
2998 interface IVBSAXXMLFilter;
2999 interface IMXReaderControl;
3000 interface IMXSchemaDeclHandler;
3001 interface IMXXMLFilter;
3002 interface ISchemaElement;
3003 interface ISchemaParticle;
3004 interface ISchemaType;
3005 interface ISchemaComplexType;
3006 interface ISchemaAny;
3007 interface ISchemaModelGroup;
3008 interface ISchemaAttribute;
3009 interface ISchemaAttributeGroup;
3010 interface ISchemaIdentityConstraint;
3011 interface ISchemaNotation;
3013 [hidden] typedef struct __msxml6_ReferenceRemainingTypes__
3015 enum tagDOMNodeType __tagDomNodeType__;
3016 DOMNodeType __domNodeType__;
3017 enum _SERVERXMLHTTP_OPTION __serverXmlHttpOptionEnum__;
3018 SERVERXMLHTTP_OPTION __serverXmlHttpOption__;
3019 enum _SXH_SERVER_CERT_OPTION __serverCertOptionEnum__;
3020 SXH_SERVER_CERT_OPTION __serverCertOption__;
3021 enum _SXH_PROXY_SETTING __proxySettingEnum__;
3022 SXH_PROXY_SETTING __proxySetting__;
3023 enum _SOMITEMTYPE __somItemTypeEnum__;
3024 SOMITEMTYPE __somItemType__;
3025 enum _SCHEMAUSE __schemaUseEnum__;
3026 SCHEMAUSE __schemaUse__;
3027 enum _SCHEMADERIVATIONMETHOD __schemaDerivationMethodEnum__;
3028 SCHEMADERIVATIONMETHOD __schemaDerivationMethod__;
3029 enum _SCHEMACONTENTTYPE __schemaContentTypeEnum__;
3030 SCHEMACONTENTTYPE __schemaContentType__;
3031 enum _SCHEMAPROCESSCONTENTS __schemaProcessContentsEnum__;
3032 SCHEMAPROCESSCONTENTS __schemaProcessContents__;
3033 enum _SCHEMAWHITESPACE __schemaWhitespaceEnum__;
3034 SCHEMAWHITESPACE __schemaWhitespace__;
3035 enum _SCHEMATYPEVARIETY __schemaTypeVarietyEnum__;
3036 SCHEMATYPEVARIETY __schemaTypeVariety__;
3037 } __msxml6_ReferenceRemainingTypes__;
3040 helpstring("XML DOM Document 6.0"),
3041 progid("Msxml2.DOMDocument.6.0"),
3042 threading(both),
3043 uuid(88d96a05-f192-11d4-a65f-0040963251e5)
3045 coclass DOMDocument60
3047 [default] interface IXMLDOMDocument3;
3048 [default, source] dispinterface XMLDOMDocumentEvents;
3052 helpstring("Free threaded XML DOM Document 6.0"),
3053 progid("Msxml2.FreeThreadedDOMDocument.6.0"),
3054 threading(both),
3055 uuid(88d96a06-f192-11d4-a65f-0040963251e5),
3057 coclass FreeThreadedDOMDocument60
3059 [default] interface IXMLDOMDocument3;
3060 [default, source] dispinterface XMLDOMDocumentEvents;
3064 helpstring("SAX XML Reader 6.0"),
3065 progid("Msxml2.SAXXMLReader.6.0"),
3066 threading(both),
3067 uuid(88d96a0c-f192-11d4-a65f-0040963251e5)
3069 coclass SAXXMLReader60
3071 [default] interface IVBSAXXMLReader;
3072 interface ISAXXMLReader;
3076 helpstring("XML Schema Cache 6.0"),
3077 progid("Msxml2.XMLSchemaCache.6.0"),
3078 threading(both),
3079 uuid(88d96a07-f192-11d4-a65f-0040963251e5)
3081 coclass XMLSchemaCache60
3083 [default] interface IXMLDOMSchemaCollection2;
3087 helpstring("MXHTMLWriter 6.0"),
3088 progid("Msxml2.MXHTMLWriter.6.0"),
3089 threading(both),
3090 uuid(88d96a10-f192-11d4-a65f-0040963251e5)
3092 coclass MXHTMLWriter60
3094 [default] interface IMXWriter;
3096 interface ISAXContentHandler;
3097 interface ISAXDeclHandler;
3098 interface ISAXDTDHandler;
3099 interface ISAXErrorHandler;
3100 interface ISAXLexicalHandler;
3102 interface IVBSAXContentHandler;
3103 interface IVBSAXDeclHandler;
3104 interface IVBSAXDTDHandler;
3105 interface IVBSAXErrorHandler;
3106 interface IVBSAXLexicalHandler;
3110 helpstring("MXXMLWriter 6.0"),
3111 progid("Msxml2.MXXMLWriter.6.0"),
3112 threading(both),
3113 uuid(88d96a0f-f192-11d4-a65f-0040963251e5)
3115 coclass MXXMLWriter60
3117 [default] interface IMXWriter;
3119 interface ISAXContentHandler;
3120 interface ISAXDeclHandler;
3121 interface ISAXDTDHandler;
3122 interface ISAXErrorHandler;
3123 interface ISAXLexicalHandler;
3125 interface IVBSAXContentHandler;
3126 interface IVBSAXDeclHandler;
3127 interface IVBSAXDTDHandler;
3128 interface IVBSAXErrorHandler;
3129 interface IVBSAXLexicalHandler;
3133 helpstring("MXNamespaceManager 6.0"),
3134 progid("Msxml2.MXNamespaceManager.6.0"),
3135 threading(both),
3136 uuid(88d96a11-f192-11d4-a65f-0040963251e5)
3138 coclass MXNamespaceManager60
3140 [default] interface IVBMXNamespaceManager;
3141 interface IMXNamespaceManager;
3145 helpstring("SAXAttributes 6.0"),
3146 progid("Msxml2.SAXAttributes.6.0"),
3147 threading(both),
3148 uuid(88d96a0e-f192-11d4-a65f-0040963251e5)
3150 coclass SAXAttributes60
3152 [default] interface IMXAttributes;
3153 interface IVBSAXAttributes;
3154 interface ISAXAttributes;
3158 helpstring("XSL Template 6.0"),
3159 progid("Msxml2.XSLTemplate.6.0"),
3160 threading(both),
3161 uuid(88d96a08-f192-11d4-a65f-0040963251e5)
3163 coclass XSLTemplate60
3165 [default] interface IXSLTemplate;
3169 helpstring("XML HTTP 6.0"),
3170 progid("Msxml2.XMLHTTP.6.0"),
3171 threading(apartment),
3172 uuid(88d96a0a-f192-11d4-a65f-0040963251e5)
3174 coclass XMLHTTP60
3176 [default] interface IXMLHTTPRequest;
3180 helpstring("Server XML HTTP 6.0"),
3181 progid("Msxml2.ServerXMLHTTP.6.0"),
3182 threading(apartment),
3183 uuid(88d96a0b-f192-11d4-a65f-0040963251e5)
3185 coclass ServerXMLHTTP60
3187 [default] interface IServerXMLHTTPRequest2;
3190 } /* Library MSXML */
3193 * Error Codes
3195 cpp_quote("#define E_XML_NOTWF 0xC00CE223")
3196 cpp_quote("#define E_XML_NODTD 0xC00CE224")
3197 cpp_quote("#define E_XML_INVALID 0xC00CE225")
3198 cpp_quote("#define E_XML_BUFFERTOOSMALL 0xC00CE226")