gdiplus/metafile: Fully initialize record header on allocation.
[wine/zf.git] / include / msxml6.idl
blob5bfb21d04ae466c0c45817e0fa4e47c2b1fa1a47
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 IXTLRuntime;
56 interface IXSLTemplate;
57 interface IXSLProcessor;
59 /* SAX Interfaces */
60 interface ISAXAttributes;
61 interface ISAXContentHandler;
62 interface ISAXDeclHandler;
63 interface ISAXDTDHandler;
64 interface ISAXEntityResolver;
65 interface ISAXErrorHandler;
66 interface ISAXLexicalHandler;
67 interface ISAXLocator;
68 interface ISAXXMLFilter;
69 interface ISAXXMLReader;
71 interface IVBSAXAttributes;
72 interface IVBSAXContentHandler;
73 interface IVBSAXDeclHandler;
74 interface IVBSAXDTDHandler;
75 interface IVBSAXEntityResolver;
76 interface IVBSAXErrorHandler;
77 interface IVBSAXLexicalHandler;
78 interface IVBSAXLocator;
79 interface IVBSAXXMLFilter;
80 interface IVBSAXXMLReader;
82 interface IMXAttributes;
83 interface IMXReaderControl;
84 interface IMXWriter;
86 interface IXMLDOMSchemaCollection2;
87 interface ISchemaStringCollection;
88 interface ISchemaItemCollection;
89 interface ISchemaItem;
90 interface ISchema;
91 interface ISchemaParticle;
92 interface ISchemaAttribute;
93 interface ISchemaElement;
94 interface ISchemaType;
95 interface ISchemaComplexType;
96 interface ISchemaAttributeGroup;
97 interface ISchemaModelGroup;
98 interface ISchemaAny;
99 interface ISchemaIdentityConstraint;
100 interface ISchemaNotation;
102 cpp_quote("#ifdef __ISAXXMLReader_INTERFACE_DEFINED__")
103 cpp_quote("#undef __MSXML2_LIBRARY_DEFINED__")
104 cpp_quote("#endif")
106 cpp_quote("#ifndef __MSXML_DOMNODETYPE_DEFINED")
107 cpp_quote("#define __MSXML_DOMNODETYPE_DEFINED")
108 typedef enum tagDOMNodeType
110 NODE_INVALID = 0,
111 NODE_ELEMENT = 1,
112 NODE_ATTRIBUTE = 2,
113 NODE_TEXT = 3,
114 NODE_CDATA_SECTION = 4,
115 NODE_ENTITY_REFERENCE = 5,
116 NODE_ENTITY = 6,
117 NODE_PROCESSING_INSTRUCTION = 7,
118 NODE_COMMENT = 8,
119 NODE_DOCUMENT = 9,
120 NODE_DOCUMENT_TYPE = 10,
121 NODE_DOCUMENT_FRAGMENT = 11,
122 NODE_NOTATION = 12
123 } DOMNodeType;
124 cpp_quote("#endif")
126 cpp_quote("#ifndef __msxml_som_enums__")
127 cpp_quote("#define __msxml_som_enums__")
128 typedef enum _SOMITEMTYPE
130 SOMITEM_SCHEMA = 0x1000,
131 SOMITEM_ATTRIBUTE = 0x1001,
132 SOMITEM_ATTRIBUTEGROUP = 0x1002,
133 SOMITEM_NOTATION = 0x1003,
134 SOMITEM_IDENTITYCONSTRAINT = 0x1100,
135 SOMITEM_KEY = 0x1101,
136 SOMITEM_KEYREF = 0x1102,
137 SOMITEM_UNIQUE = 0x1103,
138 SOMITEM_ANYTYPE = 0x2000,
139 SOMITEM_DATATYPE = 0x2100,
140 SOMITEM_DATATYPE_ANYTYPE = 0x2101,
141 SOMITEM_DATATYPE_ANYURI = 0x2102,
142 SOMITEM_DATATYPE_BASE64BINARY = 0x2103,
143 SOMITEM_DATATYPE_BOOLEAN = 0x2104,
144 SOMITEM_DATATYPE_BYTE = 0x2105,
145 SOMITEM_DATATYPE_DATE = 0x2106,
146 SOMITEM_DATATYPE_DATETIME = 0x2107,
147 SOMITEM_DATATYPE_DAY = 0x2108,
148 SOMITEM_DATATYPE_DECIMAL = 0x2109,
149 SOMITEM_DATATYPE_DOUBLE = 0x210A,
150 SOMITEM_DATATYPE_DURATION = 0x210B,
151 SOMITEM_DATATYPE_ENTITIES = 0x210C,
152 SOMITEM_DATATYPE_ENTITY = 0x210D,
153 SOMITEM_DATATYPE_FLOAT = 0x210E,
154 SOMITEM_DATATYPE_HEXBINARY = 0x210F,
155 SOMITEM_DATATYPE_ID = 0x2110,
156 SOMITEM_DATATYPE_IDREF = 0x2111,
157 SOMITEM_DATATYPE_IDREFS = 0x2112,
158 SOMITEM_DATATYPE_INT = 0x2113,
159 SOMITEM_DATATYPE_INTEGER = 0x2114,
160 SOMITEM_DATATYPE_LANGUAGE = 0x2115,
161 SOMITEM_DATATYPE_LONG = 0x2116,
162 SOMITEM_DATATYPE_MONTH = 0x2117,
163 SOMITEM_DATATYPE_MONTHDAY = 0x2118,
164 SOMITEM_DATATYPE_NAME = 0x2119,
165 SOMITEM_DATATYPE_NCNAME = 0x211A,
166 SOMITEM_DATATYPE_NEGATIVEINTEGER = 0x211B,
167 SOMITEM_DATATYPE_NMTOKEN = 0x211C,
168 SOMITEM_DATATYPE_NMTOKENS = 0x211D,
169 SOMITEM_DATATYPE_NONNEGATIVEINTEGER = 0x211E,
170 SOMITEM_DATATYPE_NONPOSITIVEINTEGER = 0x211F,
171 SOMITEM_DATATYPE_NORMALIZEDSTRING = 0x2120,
172 SOMITEM_DATATYPE_NOTATION = 0x2121,
173 SOMITEM_DATATYPE_POSITIVEINTEGER = 0x2122,
174 SOMITEM_DATATYPE_QNAME = 0x2123,
175 SOMITEM_DATATYPE_SHORT = 0x2124,
176 SOMITEM_DATATYPE_STRING = 0x2125,
177 SOMITEM_DATATYPE_TIME = 0x2126,
178 SOMITEM_DATATYPE_TOKEN = 0x2127,
179 SOMITEM_DATATYPE_UNSIGNEDBYTE = 0x2128,
180 SOMITEM_DATATYPE_UNSIGNEDINT = 0x2129,
181 SOMITEM_DATATYPE_UNSIGNEDLONG = 0x212A,
182 SOMITEM_DATATYPE_UNSIGNEDSHORT = 0x212B,
183 SOMITEM_DATATYPE_YEAR = 0x212C,
184 SOMITEM_DATATYPE_YEARMONTH = 0x212D,
185 SOMITEM_DATATYPE_ANYSIMPLETYPE = 0x21FF,
186 SOMITEM_SIMPLETYPE = 0x2200,
187 SOMITEM_COMPLEXTYPE = 0x2400,
188 SOMITEM_PARTICLE = 0x4000,
189 SOMITEM_ANY = 0x4001,
190 SOMITEM_ANYATTRIBUTE = 0x4002,
191 SOMITEM_ELEMENT = 0x4003,
192 SOMITEM_GROUP = 0x4100,
193 SOMITEM_ALL = 0x4101,
194 SOMITEM_CHOICE = 0x4102,
195 SOMITEM_SEQUENCE = 0x4103,
196 SOMITEM_EMPTYPARTICLE = 0x4104,
197 SOMITEM_NULL = 0x0800,
198 SOMITEM_NULL_TYPE = 0x2800,
199 SOMITEM_NULL_ANY = 0x4801,
200 SOMITEM_NULL_ANYATTRIBUTE = 0x4802,
201 SOMITEM_NULL_ELEMENT = 0x4803,
202 } SOMITEMTYPE;
204 typedef enum _SCHEMAUSE
206 SCHEMAUSE_OPTIONAL,
207 SCHEMAUSE_PROHIBITED,
208 SCHEMAUSE_REQUIRED,
209 } SCHEMAUSE;
211 typedef enum _SCHEMADERIVATIONMETHOD
213 SCHEMADERIVATIONMETHOD_EMPTY = 0x0000,
214 SCHEMADERIVATIONMETHOD_SUBSTITUTION = 0x0001,
215 SCHEMADERIVATIONMETHOD_EXTENSION = 0x0002,
216 SCHEMADERIVATIONMETHOD_RESTRICTION = 0x0004,
217 SCHEMADERIVATIONMETHOD_LIST = 0x0008,
218 SCHEMADERIVATIONMETHOD_UNION = 0x0010,
219 SCHEMADERIVATIONMETHOD_ALL = 0x00FF,
220 SCHEMADERIVATIONMETHOD_NONE = 0x0100,
221 } SCHEMADERIVATIONMETHOD;
223 typedef enum _SCHEMACONTENTTYPE
225 SCHEMACONTENTTYPE_EMPTY,
226 SCHEMACONTENTTYPE_TEXTONLY,
227 SCHEMACONTENTTYPE_ELEMENTONLY,
228 SCHEMACONTENTTYPE_MIXED,
229 } SCHEMACONTENTTYPE;
231 typedef enum _SCHEMAPROCESSCONTENTS
233 SCHEMAPROCESSCONTENTS_NONE,
234 SCHEMAPROCESSCONTENTS_SKIP,
235 SCHEMAPROCESSCONTENTS_LAX,
236 SCHEMAPROCESSCONTENTS_STRICT,
237 } SCHEMAPROCESSCONTENTS;
239 typedef enum _SCHEMAWHITESPACE
241 SCHEMAWHITESPACE_NONE = -1,
242 SCHEMAWHITESPACE_PRESERVE = 0,
243 SCHEMAWHITESPACE_REPLACE = 1,
244 SCHEMAWHITESPACE_COLLAPSE = 2,
245 } SCHEMAWHITESPACE;
248 typedef enum _SCHEMATYPEVARIETY
250 SCHEMATYPEVARIETY_NONE = -1,
251 SCHEMATYPEVARIETY_ATOMIC = 0,
252 SCHEMATYPEVARIETY_LIST = 1,
253 SCHEMATYPEVARIETY_UNION = 2,
254 } SCHEMATYPEVARIETY;
255 cpp_quote("#endif /* __msxml_som_enums__ */")
258 local,
259 object,
260 dual,
261 oleautomation,
262 uuid (2933BF80-7B36-11d2-B20E-00C04F983E60)
264 interface IXMLDOMNode : IDispatch
266 [propget, id(DISPID_DOM_NODE_NODENAME)]
267 HRESULT nodeName([retval, out] BSTR *p);
269 [propget, id(DISPID_DOM_NODE_NODEVALUE)]
270 HRESULT nodeValue([retval, out] VARIANT *var1);
272 [propput, id(DISPID_DOM_NODE_NODEVALUE)]
273 HRESULT nodeValue([in] VARIANT var1);
275 [propget, id(DISPID_DOM_NODE_NODETYPE)]
276 HRESULT nodeType([retval, out] DOMNodeType *domNodeType);
278 [propget, id(DISPID_DOM_NODE_PARENTNODE)]
279 HRESULT parentNode([retval, out] IXMLDOMNode **parent);
281 [propget, id(DISPID_DOM_NODE_CHILDNODES)]
282 HRESULT childNodes([retval, out] IXMLDOMNodeList **outList);
284 [propget, id(DISPID_DOM_NODE_FIRSTCHILD)]
285 HRESULT firstChild([retval, out] IXMLDOMNode **domNode);
287 [propget, id(DISPID_DOM_NODE_LASTCHILD)]
288 HRESULT lastChild([retval, out] IXMLDOMNode **domNode);
290 [propget, id(DISPID_DOM_NODE_PREVIOUSSIBLING)]
291 HRESULT previousSibling([retval, out] IXMLDOMNode **domNode);
293 [propget, id(DISPID_DOM_NODE_NEXTSIBLING)]
294 HRESULT nextSibling([retval, out] IXMLDOMNode **domNode);
296 [propget, id(DISPID_DOM_NODE_ATTRIBUTES)]
297 HRESULT attributes([retval, out] IXMLDOMNamedNodeMap **attributeMap);
299 [id(DISPID_DOM_NODE_INSERTBEFORE)]
300 HRESULT insertBefore(
301 [in] IXMLDOMNode *newNode,
302 [in] VARIANT var1,
303 [retval, out] IXMLDOMNode **outOldNode);
305 [id(DISPID_DOM_NODE_REPLACECHILD)]
306 HRESULT replaceChild(
307 [in] IXMLDOMNode *newNode,
308 [in] IXMLDOMNode *oldNode,
309 [retval, out] IXMLDOMNode **outOldNode);
311 [id(DISPID_DOM_NODE_REMOVECHILD)]
312 HRESULT removeChild(
313 [in] IXMLDOMNode *domNode,
314 [retval, out] IXMLDOMNode **oldNode);
316 [id(DISPID_DOM_NODE_APPENDCHILD)]
317 HRESULT appendChild(
318 [in] IXMLDOMNode *newNode,
319 [retval, out] IXMLDOMNode **outNewNode);
321 [id(DISPID_DOM_NODE_HASCHILDNODES)]
322 HRESULT hasChildNodes(
323 [retval, out] VARIANT_BOOL *pbool);
325 [propget, id(DISPID_DOM_NODE_OWNERDOC)]
326 HRESULT ownerDocument([retval, out] IXMLDOMDocument **domDocument);
328 [id(DISPID_DOM_NODE_CLONENODE)]
329 HRESULT cloneNode(
330 [in] VARIANT_BOOL pbool,
331 [retval, out] IXMLDOMNode **outNode);
333 [propget, id(DISPID_XMLDOM_NODE_STRINGTYPE)]
334 HRESULT nodeTypeString([retval, out] BSTR *p);
336 [propget, id(DISPID_XMLDOM_NODE_TEXT)]
337 HRESULT text([retval, out] BSTR *p);
339 [propput, id(DISPID_XMLDOM_NODE_TEXT)]
340 HRESULT text([in] BSTR p);
342 [propget, id(DISPID_XMLDOM_NODE_SPECIFIED)]
343 HRESULT specified([retval, out] VARIANT_BOOL *pbool);
345 [propget, id(DISPID_XMLDOM_NODE_DEFINITION)]
346 HRESULT definition([retval,out] IXMLDOMNode **domNode);
348 [propget, id(DISPID_XMLDOM_NODE_NODETYPEDVALUE)]
349 HRESULT nodeTypedValue([retval, out] VARIANT *var1);
351 [propput, id(DISPID_XMLDOM_NODE_NODETYPEDVALUE)]
352 HRESULT nodeTypedValue([in] VARIANT var1);
354 [propget, id(DISPID_XMLDOM_NODE_DATATYPE)]
355 HRESULT dataType([retval, out] VARIANT *var1);
357 [propput, id(DISPID_XMLDOM_NODE_DATATYPE)]
358 HRESULT dataType([in] BSTR p);
360 [propget, id(DISPID_XMLDOM_NODE_XML)]
361 HRESULT xml([retval, out] BSTR *p);
363 [id(DISPID_XMLDOM_NODE_TRANSFORMNODE)]
364 HRESULT transformNode(
365 [in] IXMLDOMNode *domNode,
366 [retval, out] BSTR *p);
368 [id(DISPID_XMLDOM_NODE_SELECTNODES)]
369 HRESULT selectNodes(
370 [in] BSTR p,
371 [retval, out] IXMLDOMNodeList **outList);
373 [id(DISPID_XMLDOM_NODE_SELECTSINGLENODE)]
374 HRESULT selectSingleNode(
375 [in] BSTR p,
376 [retval, out] IXMLDOMNode **outNode);
378 [propget,id(DISPID_XMLDOM_NODE_PARSED)]
379 HRESULT parsed([retval, out] VARIANT_BOOL *pbool);
381 [propget, id(DISPID_XMLDOM_NODE_NAMESPACE)]
382 HRESULT namespaceURI([retval, out] BSTR *p);
384 [propget, id(DISPID_XMLDOM_NODE_PREFIX)]
385 HRESULT prefix([retval, out] BSTR *p);
387 [propget, id(DISPID_XMLDOM_NODE_BASENAME)]
388 HRESULT baseName([retval, out] BSTR *p);
390 [id(DISPID_XMLDOM_NODE_TRANSFORMNODETOOBJECT)]
391 HRESULT transformNodeToObject(
392 [in] IXMLDOMNode *domNode,
393 [in] VARIANT var1);
397 local,
398 object,
399 dual,
400 oleautomation,
401 uuid (2933BF81-7B36-11d2-B20E-00C04F983E60)
403 interface IXMLDOMDocument : IXMLDOMNode
405 [propget, id(DISPID_DOM_DOCUMENT_DOCTYPE)]
406 HRESULT doctype([retval, out] IXMLDOMDocumentType **docType);
408 [propget, id(DISPID_DOM_DOCUMENT_IMPLEMENTATION)]
409 HRESULT implementation([retval, out] IXMLDOMImplementation **impl);
411 [propget, id(DISPID_DOM_DOCUMENT_DOCUMENTELEMENT)]
412 HRESULT documentElement([retval, out] IXMLDOMElement **domElement);
414 [propputref, id(DISPID_DOM_DOCUMENT_DOCUMENTELEMENT)]
415 HRESULT documentElement([in] IXMLDOMElement *domElement);
417 [id(DISPID_DOM_DOCUMENT_CREATEELEMENT)]
418 HRESULT createElement(
419 [in] BSTR p,
420 [retval, out] IXMLDOMElement **domElement);
422 [id(DISPID_DOM_DOCUMENT_CREATEDOCUMENTFRAGMENT)]
423 HRESULT createDocumentFragment(
424 [retval, out] IXMLDOMDocumentFragment **docFrag);
426 [id(DISPID_DOM_DOCUMENT_CREATETEXTNODE)]
427 HRESULT createTextNode(
428 [in] BSTR p,
429 [retval, out] IXMLDOMText **text);
431 [id(DISPID_DOM_DOCUMENT_CREATECOMMENT)]
432 HRESULT createComment(
433 [in] BSTR p,
434 [retval, out] IXMLDOMComment **comment);
436 [id(DISPID_DOM_DOCUMENT_CREATECDATASECTION)]
437 HRESULT createCDATASection(
438 [in] BSTR p,
439 [retval, out] IXMLDOMCDATASection **cdata);
441 [id(DISPID_DOM_DOCUMENT_CREATEPROCESSINGINSTRUCTION)]
442 HRESULT createProcessingInstruction(
443 [in] BSTR target,
444 [in] BSTR data,
445 [retval, out] IXMLDOMProcessingInstruction **pi);
447 [id(DISPID_DOM_DOCUMENT_CREATEATTRIBUTE)]
448 HRESULT createAttribute(
449 [in] BSTR p,
450 [retval, out] IXMLDOMAttribute **attribute);
452 [id(DISPID_DOM_DOCUMENT_CREATEENTITYREFERENCE)]
453 HRESULT createEntityReference(
454 [in] BSTR p,
455 [retval, out] IXMLDOMEntityReference **entityRef);
457 [id(DISPID_DOM_DOCUMENT_GETELEMENTSBYTAGNAME)]
458 HRESULT getElementsByTagName(
459 [in] BSTR p,
460 [retval, out] IXMLDOMNodeList **resultList);
462 [id(DISPID_XMLDOM_DOCUMENT_CREATENODE)]
463 HRESULT createNode(
464 [in] VARIANT var,
465 [in] BSTR name,
466 [in] BSTR uri,
467 [retval, out] IXMLDOMNode **node);
469 [id(DISPID_XMLDOM_DOCUMENT_NODEFROMID)]
470 HRESULT nodeFromID(
471 [in] BSTR id,
472 [retval, out] IXMLDOMNode **node);
474 [id(DISPID_XMLDOM_DOCUMENT_LOAD)]
475 HRESULT load(
476 [in] VARIANT var1,
477 [retval, out] VARIANT_BOOL *pbool);
479 [propget, id(DISPID_READYSTATE)]
480 HRESULT readyState([retval, out] LONG *value);
482 [propget, id(DISPID_XMLDOM_DOCUMENT_PARSEERROR)]
483 HRESULT parseError([retval, out] IXMLDOMParseError **err);
485 [propget, id(DISPID_XMLDOM_DOCUMENT_URL)]
486 HRESULT url([retval, out] BSTR *p);
488 [propget, id(DISPID_XMLDOM_DOCUMENT_ASYNC)]
489 HRESULT async([retval, out] VARIANT_BOOL *pbool);
491 [propput, id(DISPID_XMLDOM_DOCUMENT_ASYNC)]
492 HRESULT async([in] VARIANT_BOOL pbool);
494 [id(DISPID_XMLDOM_DOCUMENT_ABORT)]
495 HRESULT abort();
497 [id(DISPID_XMLDOM_DOCUMENT_LOADXML)]
498 HRESULT loadXML(
499 [in] BSTR p,
500 [out, retval] VARIANT_BOOL *pbool);
502 [id(DISPID_XMLDOM_DOCUMENT_SAVE)]
503 HRESULT save(
504 [in] VARIANT var1);
506 [propget, id(DISPID_XMLDOM_DOCUMENT_VALIDATE)]
507 HRESULT validateOnParse([retval, out] VARIANT_BOOL *pbool);
509 [propput, id(DISPID_XMLDOM_DOCUMENT_VALIDATE)]
510 HRESULT validateOnParse([in] VARIANT_BOOL pbool);
512 [propget, id(DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE)]
513 HRESULT resolveExternals([retval,out] VARIANT_BOOL *pbool);
515 [propput, id(DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE)]
516 HRESULT resolveExternals([in] VARIANT_BOOL pbool);
518 [propget, id(DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE)]
519 HRESULT preserveWhiteSpace([retval,out] VARIANT_BOOL *pbool);
521 [propput, id(DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE)]
522 HRESULT preserveWhiteSpace([in] VARIANT_BOOL pbool);
524 [propput, id(DISPID_XMLDOM_DOCUMENT_ONREADYSTATECHANGE)]
525 HRESULT onreadystatechange([in] VARIANT var1);
527 [propput, id(DISPID_XMLDOM_DOCUMENT_ONDATAAVAILABLE)]
528 HRESULT ondataavailable([in] VARIANT var1);
530 [propput, id(DISPID_XMLDOM_DOCUMENT_ONTRANSFORMNODE)]
531 HRESULT ontransformnode([in] VARIANT var1);
535 local,
536 object,
537 dual,
538 oleautomation,
539 uuid (373984c8-b845-449b-91e7-45ac83036ade)
541 interface IXMLDOMSchemaCollection : IDispatch
543 [id(DISPID_XMLDOM_SCHEMACOLLECTION_ADD)]
544 HRESULT add(
545 [in] BSTR uri,
546 [in] VARIANT var);
548 [id(DISPID_XMLDOM_SCHEMACOLLECTION_GET)]
549 HRESULT get(
550 [in] BSTR uri,
551 [retval, out] IXMLDOMNode **node);
553 [id(DISPID_XMLDOM_SCHEMACOLLECTION_REMOVE)]
554 HRESULT remove(
555 [in] BSTR uri);
557 [propget, id(DISPID_XMLDOM_SCHEMACOLLECTION_LENGTH)]
558 HRESULT length(
559 [retval, out] LONG *length);
561 [propget, id(DISPID_VALUE)]
562 HRESULT namespaceURI([in] LONG index, [out, retval] BSTR *len);
564 [id(DISPID_XMLDOM_SCHEMACOLLECTION_ADDCOLLECTION)]
565 HRESULT addCollection(
566 [in] IXMLDOMSchemaCollection *otherCollection);
568 [propget, id(DISPID_NEWENUM)]
569 HRESULT _newEnum([retval, out] IUnknown **ppUnk);
573 local,
574 object,
575 dual,
576 oleautomation,
577 uuid(50ea08b0-dd1b-4664-9a50-c2f40f4bd79a),
579 interface IXMLDOMSchemaCollection2 : IXMLDOMSchemaCollection
581 [id(DISPID_SOM_VALIDATE)]
582 HRESULT validate();
584 [propput, id(DISPID_SOM_VALIDATEONLOAD)]
585 HRESULT validateOnLoad(
586 [in] VARIANT_BOOL validateOnLoad);
588 [propget, id(DISPID_SOM_VALIDATEONLOAD)]
589 HRESULT validateOnLoad(
590 [out,retval] VARIANT_BOOL* validateOnLoad);
592 [id(DISPID_SOM_GETSCHEMA)]
593 HRESULT getSchema(
594 [in] BSTR namespaceURI,
595 [out,retval] ISchema** schema);
597 [id(DISPID_SOM_GETDECLARATION)]
598 HRESULT getDeclaration(
599 [in] IXMLDOMNode* node,
600 [out,retval]ISchemaItem** item);
604 local,
605 object,
606 dual,
607 oleautomation,
608 uuid (2933BF95-7B36-11d2-B20E-00C04F983E60)
610 interface IXMLDOMDocument2 : IXMLDOMDocument
612 [propget, id(DISPID_XMLDOM_DOCUMENT2_NAMESPACES)]
613 HRESULT namespaces([retval, out] IXMLDOMSchemaCollection **schemaCollection);
615 [propget, id(DISPID_XMLDOM_DOCUMENT2_SCHEMAS)]
616 HRESULT schemas([retval, out] VARIANT *var1);
618 [propputref, id(DISPID_XMLDOM_DOCUMENT2_SCHEMAS)]
619 HRESULT schemas([in] VARIANT var1);
621 [id(DISPID_XMLDOM_DOCUMENT2_VALIDATE)]
622 HRESULT validate(
623 [retval, out] IXMLDOMParseError **err);
625 [id(DISPID_XMLDOM_DOCUMENT2_SETPROPERTY)]
626 HRESULT setProperty(
627 [in] BSTR p,
628 [in] VARIANT var);
630 [id(DISPID_XMLDOM_DOCUMENT2_GETPROPERTY)]
631 HRESULT getProperty(
632 [in] BSTR p,
633 [retval, out] VARIANT *var);
637 local,
638 object,
639 dual,
640 uuid(2933bf96-7b36-11d2-b20e-00c04f983e60),
641 oleautomation,
643 interface IXMLDOMDocument3 : IXMLDOMDocument2
645 [id(DISPID_XMLDOM_DOCUMENT3_VALIDATENODE)]
646 HRESULT validateNode(
647 [in] IXMLDOMNode *node,
648 [out, retval] IXMLDOMParseError **error);
650 [id(DISPID_XMLDOM_DOCUMENT3_IMPORTNODE)]
651 HRESULT importNode(
652 [in] IXMLDOMNode *node,
653 [in] VARIANT_BOOL deep,
654 [out, retval] IXMLDOMNode **clone);
658 local,
659 object,
660 dual,
661 oleautomation,
662 uuid (2933BF82-7B36-11d2-B20E-00C04F983E60)
664 interface IXMLDOMNodeList : IDispatch
666 [propget, id(DISPID_VALUE)]
667 HRESULT item([in] LONG lIndex, [retval, out] IXMLDOMNode **outNode);
669 [propget, id(DISPID_DOM_NODELIST_LENGTH)]
670 HRESULT length([retval, out] LONG *lLength);
672 [id(DISPID_XMLDOM_NODELIST_NEXTNODE)]
673 HRESULT nextNode(
674 [retval, out] IXMLDOMNode **outNode);
676 [id(DISPID_XMLDOM_NODELIST_RESET)]
677 HRESULT reset();
679 [propget, id(DISPID_NEWENUM)]
680 HRESULT _newEnum([retval, out] IUnknown **ppUnk);
684 local,
685 object,
686 dual,
687 oleautomation,
688 uuid (AA634FC7-5888-44a7-A257-3A47150D3A0E)
690 interface IXMLDOMSelection : IXMLDOMNodeList
692 [propget, id(DISPID_XMLDOM_SELECTION_EXPR)]
693 HRESULT expr([retval, out] BSTR *p);
695 [propput, id(DISPID_XMLDOM_SELECTION_EXPR)]
696 HRESULT expr([in] BSTR p);
698 [propget, id(DISPID_XMLDOM_SELECTION_CONTEXT)]
699 HRESULT context([retval, out] IXMLDOMNode **ppNode);
701 [propputref, id(DISPID_XMLDOM_SELECTION_CONTEXT)]
702 HRESULT context([in] IXMLDOMNode * pNode);
704 [id(DISPID_XMLDOM_SELECTION_PEEKNODE)]
705 HRESULT peekNode(
706 [retval, out] IXMLDOMNode **ppNode);
708 [id(DISPID_XMLDOM_SELECTION_MATCHES)]
709 HRESULT matches(
710 [in] IXMLDOMNode *pNode,
711 [retval, out] IXMLDOMNode **ppNode);
713 [id(DISPID_XMLDOM_SELECTION_REMOVENEXT)]
714 HRESULT removeNext(
715 [retval, out] IXMLDOMNode **ppNode);
717 [id(DISPID_XMLDOM_SELECTION_REMOVEALL)]
718 HRESULT removeAll();
720 [id(DISPID_XMLDOM_SELECTION_CLONE)]
721 HRESULT clone(
722 [retval, out] IXMLDOMSelection **ppNode);
724 [id(DISPID_XMLDOM_SELECTION_GETPROPERTY)]
725 HRESULT getProperty(
726 [in] BSTR p,
727 [retval, out] VARIANT * var);
729 [id(DISPID_XMLDOM_SELECTION_SETPROPERTY)]
730 HRESULT setProperty(
731 [in] BSTR p,
732 [in] VARIANT var);
736 local,
737 object,
738 dual,
739 oleautomation,
740 uuid (2933BF83-7B36-11d2-B20E-00C04F983E60)
742 interface IXMLDOMNamedNodeMap : IDispatch
744 [id(DISPID_DOM_NAMEDNODEMAP_GETNAMEDITEM)]
745 HRESULT getNamedItem(
746 [in] BSTR p,
747 [retval, out] IXMLDOMNode **outNode);
749 [id(DISPID_DOM_NAMEDNODEMAP_SETNAMEDITEM)]
750 HRESULT setNamedItem(
751 [in] IXMLDOMNode *newNode,
752 [retval, out] IXMLDOMNode **outNode);
754 [id(DISPID_DOM_NAMEDNODEMAP_REMOVENAMEDITEM)]
755 HRESULT removeNamedItem(
756 [in] BSTR p,
757 [retval, out] IXMLDOMNode **outNode);
759 [propget, id(DISPID_VALUE)]
760 HRESULT item([in] LONG lIndex, [retval, out] IXMLDOMNode **outNode);
762 [propget, id(DISPID_DOM_NODELIST_LENGTH)]
763 HRESULT length([retval, out] LONG *lLength);
765 [id(DISPID_XMLDOM_NAMEDNODEMAP_GETQUALIFIEDITEM)]
766 HRESULT getQualifiedItem(
767 [in] BSTR name,
768 [in] BSTR uri,
769 [retval, out] IXMLDOMNode **outNode);
771 [id(DISPID_XMLDOM_NAMEDNODEMAP_REMOVEQUALIFIEDITEM)]
772 HRESULT removeQualifiedItem(
773 [in] BSTR name,
774 [in] BSTR uri,
775 [retval, out] IXMLDOMNode **outNode);
777 [id(DISPID_XMLDOM_NAMEDNODEMAP_NEXTNODE)]
778 HRESULT nextNode(
779 [retval, out] IXMLDOMNode **outNode);
781 [id(DISPID_XMLDOM_NAMEDNODEMAP_RESET)]
782 HRESULT reset();
784 [propget, id(DISPID_NEWENUM)]
785 HRESULT _newEnum([retval, out] IUnknown **ppUnk);
789 local,
790 object,
791 dual,
792 oleautomation,
793 uuid (3efaa413-272f-11d2-836f-0000f87a7782)
795 interface IXMLDOMDocumentFragment : IXMLDOMNode
800 local,
801 object,
802 dual,
803 oleautomation,
804 uuid (2933BF84-7B36-11d2-B20E-00C04F983E60)
806 interface IXMLDOMCharacterData : IXMLDOMNode
808 [propget, id(DISPID_DOM_DATA_DATA)]
809 HRESULT data([retval, out] BSTR *p);
811 [propput, id(DISPID_DOM_DATA_DATA)]
812 HRESULT data([in] BSTR data);
814 [propget, id(DISPID_DOM_DATA_LENGTH)]
815 HRESULT length([retval, out] LONG *len);
817 [id(DISPID_DOM_DATA_SUBSTRING)]
818 HRESULT substringData(
819 [in] LONG offset,
820 [in] LONG count,
821 [retval, out] BSTR *p);
823 [id(DISPID_DOM_DATA_APPEND)]
824 HRESULT appendData(
825 [in] BSTR p);
827 [id(DISPID_DOM_DATA_INSERT)]
828 HRESULT insertData(
829 [in] LONG offset,
830 [in] BSTR p);
832 [id(DISPID_DOM_DATA_DELETE)]
833 HRESULT deleteData(
834 [in] LONG offset,
835 [in] LONG count);
837 [id(DISPID_DOM_DATA_REPLACE)]
838 HRESULT replaceData(
839 [in] LONG offset,
840 [in] LONG count,
841 [in] BSTR p);
845 local,
846 object,
847 dual,
848 oleautomation,
849 uuid (2933BF85-7B36-11d2-B20E-00C04F983E60)
851 interface IXMLDOMAttribute : IXMLDOMNode
853 [propget, id(DISPID_DOM_ATTRIBUTE_GETNAME)]
854 HRESULT name([retval, out] BSTR *p);
856 [propget, id(DISPID_DOM_ATTRIBUTE_VALUE)]
857 HRESULT value([retval, out] VARIANT *var1);
859 [propput, id(DISPID_DOM_ATTRIBUTE_VALUE)]
860 HRESULT value([in] VARIANT var1);
864 local,
865 object,
866 dual,
867 oleautomation,
868 uuid (2933BF86-7B36-11d2-B20E-00C04F983E60)
870 interface IXMLDOMElement : IXMLDOMNode
872 [propget, id(DISPID_DOM_ELEMENT_GETTAGNAME)]
873 HRESULT tagName([retval, out] BSTR *p);
875 [id(DISPID_DOM_ELEMENT_GETATTRIBUTE)]
876 HRESULT getAttribute(
877 [in] BSTR p,
878 [retval, out] VARIANT *var);
880 [id(DISPID_DOM_ELEMENT_SETATTRIBUTE)]
881 HRESULT setAttribute(
882 [in] BSTR p,
883 [in] VARIANT var);
885 [id(DISPID_DOM_ELEMENT_REMOVEATTRIBUTE)]
886 HRESULT removeAttribute(
887 [in] BSTR p);
889 [id(DISPID_DOM_ELEMENT_GETATTRIBUTENODE)]
890 HRESULT getAttributeNode(
891 [in] BSTR p,
892 [retval, out] IXMLDOMAttribute **attributeNode);
894 [id(DISPID_DOM_ELEMENT_SETATTRIBUTENODE)]
895 HRESULT setAttributeNode(
896 [in] IXMLDOMAttribute *domAttribute,
897 [retval, out] IXMLDOMAttribute **attributeNode);
899 [id(DISPID_DOM_ELEMENT_REMOVEATTRIBUTENODE)]
900 HRESULT removeAttributeNode(
901 [in] IXMLDOMAttribute *domAttribute,
902 [retval, out] IXMLDOMAttribute **attributeNode);
904 [id(DISPID_DOM_ELEMENT_GETELEMENTSBYTAGNAME)]
905 HRESULT getElementsByTagName(
906 [in] BSTR p,
907 [retval, out] IXMLDOMNodeList **resultList);
909 [id(DISPID_DOM_ELEMENT_NORMALIZE)]
910 HRESULT normalize();
914 local,
915 object,
916 dual,
917 oleautomation,
918 uuid (2933BF87-7B36-11d2-B20E-00C04F983E60)
920 interface IXMLDOMText : IXMLDOMCharacterData
922 [id(DISPID_DOM_TEXT_SPLITTEXT)]
923 HRESULT splitText(
924 [in] LONG offset,
925 [retval, out] IXMLDOMText **txtNode);
929 local,
930 object,
931 dual,
932 oleautomation,
933 uuid (2933BF88-7B36-11d2-B20E-00C04F983E60)
935 interface IXMLDOMComment : IXMLDOMCharacterData
940 local,
941 object,
942 dual,
943 oleautomation,
944 uuid (2933BF89-7B36-11d2-B20E-00C04F983E60)
946 interface IXMLDOMProcessingInstruction : IXMLDOMNode
948 [propget, id(DISPID_DOM_PI_TARGET)]
949 HRESULT target([retval, out] BSTR *p);
951 [propget, id(DISPID_DOM_PI_DATA)]
952 HRESULT data([retval, out] BSTR *p);
954 [propput, id(DISPID_DOM_PI_DATA)]
955 HRESULT data([in] BSTR p);
959 local,
960 object,
961 dual,
962 oleautomation,
963 uuid (2933BF8A-7B36-11d2-B20E-00C04F983E60)
965 interface IXMLDOMCDATASection : IXMLDOMText
970 local,
971 object,
972 dual,
973 oleautomation,
974 uuid (2933BF8B-7B36-11d2-B20E-00C04F983E60)
976 interface IXMLDOMDocumentType : IXMLDOMNode
978 [propget, id(DISPID_DOM_DOCUMENTTYPE_NAME)]
979 HRESULT name([retval, out] BSTR *p);
981 [propget, id(DISPID_DOM_DOCUMENTTYPE_ENTITIES)]
982 HRESULT entities([retval, out] IXMLDOMNamedNodeMap **entityMap);
984 [propget, id(DISPID_DOM_DOCUMENTTYPE_NOTATIONS)]
985 HRESULT notations([retval, out] IXMLDOMNamedNodeMap **notationMap);
989 local,
990 object,
991 dual,
992 oleautomation,
993 uuid (2933BF8C-7B36-11d2-B20E-00C04F983E60)
995 interface IXMLDOMNotation : IXMLDOMNode
997 [propget, id(DISPID_DOM_NOTATION_PUBLICID)]
998 HRESULT publicId([retval, out] VARIANT *id);
1000 [propget, id(DISPID_DOM_NOTATION_SYSTEMID)]
1001 HRESULT systemId([retval, out] VARIANT *id);
1005 local,
1006 object,
1007 dual,
1008 oleautomation,
1009 uuid (2933BF8D-7B36-11d2-B20E-00C04F983E60)
1011 interface IXMLDOMEntity : IXMLDOMNode
1013 [propget, id(DISPID_DOM_ENTITY_PUBLICID)]
1014 HRESULT publicId([retval, out] VARIANT *id1);
1016 [propget, id(DISPID_DOM_ENTITY_SYSTEMID)]
1017 HRESULT systemId([retval, out] VARIANT *id1);
1019 [propget, id(DISPID_DOM_ENTITY_NOTATIONNAME)]
1020 HRESULT notationName([retval, out] BSTR *p);
1024 local,
1025 object,
1026 dual,
1027 oleautomation,
1028 uuid (2933BF8E-7B36-11d2-B20E-00C04F983E60)
1030 interface IXMLDOMEntityReference : IXMLDOMNode
1035 local,
1036 object,
1037 dual,
1038 oleautomation,
1039 uuid (2933BF8F-7B36-11d2-B20E-00C04F983E60)
1041 interface IXMLDOMImplementation : IDispatch
1043 [id(DISPID_DOM_IMPLEMENTATION_HASFEATURE)]
1044 HRESULT hasFeature(
1045 [in] BSTR feature,
1046 [in] BSTR version,
1047 [retval, out] VARIANT_BOOL *pbool);
1051 local,
1052 object,
1053 dual,
1054 oleautomation,
1055 uuid (3efaa425-272f-11d2-836f-0000f87a7782)
1057 interface IXTLRuntime : IXMLDOMNode
1059 [id(DISPID_XTLRUNTIME_UNIQUEID)]
1060 HRESULT uniqueID(
1061 [in]IXMLDOMNode *pNode,
1062 [retval, out]LONG *pID);
1064 [id(DISPID_XTLRUNTIME_DEPTH)]
1065 HRESULT depth(
1066 [in] IXMLDOMNode *pNode,
1067 [retval, out]LONG * pDepth);
1069 [id(DISPID_XTLRUNTIME_CHILDNUMBER)]
1070 HRESULT childNumber(
1071 [in]IXMLDOMNode *pNode,
1072 [retval, out] LONG *pNumber);
1074 [id(DISPID_XTLRUNTIME_ANCESTORCHILDNUMBER)]
1075 HRESULT ancestorChildNumber(
1076 [in]BSTR bstr,
1077 [in]IXMLDOMNode *pNode,
1078 [retval, out]LONG *pNumber);
1080 [id(DISPID_XTLRUNTIME_ABSOLUTECHILDNUMBER)]
1081 HRESULT absoluteChildNumber(
1082 [in]IXMLDOMNode *pNode,
1083 [retval, out]LONG *pNumber);
1085 [id(DISPID_XTLRUNTIME_FORMATINDEX)]
1086 HRESULT formatIndex(
1087 [in] LONG lIndex,
1088 [in] BSTR bstr,
1089 [retval, out]BSTR *pbstr);
1091 [id(DISPID_XTLRUNTIME_FORMATNUMBER)]
1092 HRESULT formatNumber(
1093 [in] double dblNumber,
1094 [in] BSTR bstr,
1095 [retval, out]BSTR *pbstr);
1097 [id(DISPID_XTLRUNTIME_FORMATDATE)]
1098 HRESULT formatDate(
1099 [in] VARIANT var1,
1100 [in] BSTR bstr,
1101 [optional, in] VARIANT var2,
1102 [retval, out]BSTR *pbstr);
1104 [id(DISPID_XTLRUNTIME_FORMATTIME)]
1105 HRESULT formatTime(
1106 [in] VARIANT var1,
1107 [in] BSTR bstr,
1108 [optional, in] VARIANT var2,
1109 [retval, out]BSTR *pbstr);
1114 uuid(3efaa427-272f-11d2-836f-0000f87a7782)
1116 dispinterface XMLDOMDocumentEvents
1118 properties:
1119 methods:
1120 [id (DISPID_XMLDOMEVENT_ONDATAAVAILABLE)]
1121 HRESULT ondataavailable();
1123 [id (DISPID_XMLDOMEVENT_ONREADYSTATECHANGE)]
1124 HRESULT onreadystatechange();
1128 local,
1129 object,
1130 dual,
1131 oleautomation,
1132 uuid (2933BF92-7B36-11d2-B20E-00C04F983E60)
1134 interface IXSLProcessor : IDispatch
1136 [propput, id(DISPID_XMLDOM_PROCESSOR_INPUT)]
1137 HRESULT input([in] VARIANT var);
1139 [propget, id(DISPID_XMLDOM_PROCESSOR_INPUT)]
1140 HRESULT input([retval, out] VARIANT *var);
1142 [propget, id(DISPID_XMLDOM_PROCESSOR_XSLTEMPLATE)]
1143 HRESULT ownerTemplate([retval, out] IXSLTemplate **ppTemplate);
1145 [id(DISPID_XMLDOM_PROCESSOR_SETSTARTMODE)]
1146 HRESULT setStartMode(
1147 [in] BSTR p,
1148 [in, defaultvalue("")] BSTR uri);
1150 [propget, id(DISPID_XMLDOM_PROCESSOR_STARTMODE)]
1151 HRESULT startMode([retval, out] BSTR *p);
1153 [propget, id(DISPID_XMLDOM_PROCESSOR_STARTMODEURI)]
1154 HRESULT startModeURI([retval, out] BSTR *uri);
1156 [propput, id(DISPID_XMLDOM_PROCESSOR_OUTPUT)]
1157 HRESULT output([in] VARIANT var);
1159 [propget, id(DISPID_XMLDOM_PROCESSOR_OUTPUT)]
1160 HRESULT output([retval, out] VARIANT *var);
1162 [id(DISPID_XMLDOM_PROCESSOR_TRANSFORM)]
1163 HRESULT transform(
1164 [retval, out] VARIANT_BOOL *pbool);
1166 [id(DISPID_XMLDOM_PROCESSOR_RESET)]
1167 HRESULT reset();
1169 [propget, id(DISPID_XMLDOM_PROCESSOR_READYSTATE)]
1170 HRESULT readyState([retval, out] LONG *pstate);
1172 [id(DISPID_XMLDOM_PROCESSOR_ADDPARAMETER)]
1173 HRESULT addParameter(
1174 [in] BSTR p,
1175 [in] VARIANT var,
1176 [in, defaultvalue("")] BSTR uri);
1178 [id(DISPID_XMLDOM_PROCESSOR_ADDOBJECT)]
1179 HRESULT addObject(
1180 [in] IDispatch* obj,
1181 [in] BSTR uri);
1183 [propget, id(DISPID_XMLDOM_PROCESSOR_STYLESHEET)]
1184 HRESULT stylesheet([retval, out] IXMLDOMNode **node);
1188 local,
1189 object,
1190 dual,
1191 oleautomation,
1192 uuid (2933BF93-7B36-11d2-B20E-00C04F983E60)
1194 interface IXSLTemplate : IDispatch
1196 [propputref, id(DISPID_XMLDOM_TEMPLATE_STYLESHEET)]
1197 HRESULT stylesheet([in] IXMLDOMNode *node);
1199 [propget, id(DISPID_XMLDOM_TEMPLATE_STYLESHEET)]
1200 HRESULT stylesheet([retval, out] IXMLDOMNode **node);
1202 [id(DISPID_XMLDOM_TEMPLATE_CREATEPROCESSOR)]
1203 HRESULT createProcessor(
1204 [retval, out] IXSLProcessor **ppProcessor);
1208 object,
1209 uuid(ED8C108D-4349-11D2-91A4-00C04F7969E8),
1210 odl,
1211 dual,
1212 oleautomation,
1213 pointer_default(unique)
1215 interface IXMLHTTPRequest : IDispatch
1217 [id(1)]
1218 HRESULT open([in] BSTR bstrMethod, [in] BSTR bstrUrl, [in, optional] VARIANT varAsync,
1219 [in,optional] VARIANT username, [in,optional] VARIANT password);
1221 [id(2)]
1222 HRESULT setRequestHeader([in] BSTR bstrHeader, [in] BSTR bstrValue);
1224 [id(3)]
1225 HRESULT getResponseHeader([in] BSTR bstrHeader, [out, retval] BSTR * value);
1227 [id(4)]
1228 HRESULT getAllResponseHeaders([out, retval] BSTR * pbstrHeaders);
1230 [id(5)]
1231 HRESULT send([in, optional] VARIANT body);
1233 [id(6)]
1234 HRESULT abort();
1236 [propget, id(7)]
1237 HRESULT status([out, retval] LONG *pStatus);
1239 [propget, id(8)]
1240 HRESULT statusText([out, retval] BSTR *pStatus);
1242 [propget, id(9)]
1243 HRESULT responseXML([out, retval] IDispatch **pBody);
1245 [propget, id(10)]
1246 HRESULT responseText([out, retval] BSTR *pBody);
1248 [propget, id(11)]
1249 HRESULT responseBody([out, retval] VARIANT *pBody);
1251 [propget, id(12)]
1252 HRESULT responseStream([out, retval] VARIANT *pBody);
1254 [propget, id(13)]
1255 HRESULT readyState([out, retval] LONG *pState);
1257 [propput, id(14)]
1258 HRESULT onreadystatechange([in] IDispatch *pReadyStateSink);
1261 typedef enum _SXH_SERVER_CERT_OPTION
1263 SXH_SERVER_CERT_IGNORE_UNKNOWN_CA = 0x00000100,
1264 SXH_SERVER_CERT_IGNORE_WRONG_USAGE = 0x00000200,
1265 SXH_SERVER_CERT_IGNORE_CERT_CN_INVALID = 0x00001000,
1266 SXH_SERVER_CERT_IGNORE_CERT_DATE_INVALID = 0x00002000,
1267 SXH_SERVER_CERT_IGNORE_ALL_SERVER_ERRORS =
1268 (SXH_SERVER_CERT_IGNORE_UNKNOWN_CA | SXH_SERVER_CERT_IGNORE_WRONG_USAGE |
1269 SXH_SERVER_CERT_IGNORE_CERT_CN_INVALID | SXH_SERVER_CERT_IGNORE_CERT_DATE_INVALID),
1270 } SXH_SERVER_CERT_OPTION;
1273 object,
1274 dual,
1275 oleautomation,
1276 uuid(2e9196bf-13ba-4dd4-91ca-6c571f281495)
1278 interface IServerXMLHTTPRequest : IXMLHTTPRequest
1280 typedef enum _SERVERXMLHTTP_OPTION
1282 SXH_OPTION_URL = -1,
1283 SXH_OPTION_URL_CODEPAGE,
1284 SXH_OPTION_ESCAPE_PERCENT_IN_URL,
1285 SXH_OPTION_IGNORE_SERVER_SSL_CERT_ERROR_FLAGS,
1286 SXH_OPTION_SELECT_CLIENT_SSL_CERT
1287 } SERVERXMLHTTP_OPTION;
1289 [id(15)]
1290 HRESULT setTimeouts(
1291 [in] long resolveTimeout,
1292 [in] long connectTimeout,
1293 [in] long sendTimeout,
1294 [in] long receiveTimeout);
1296 [id(16)]
1297 HRESULT waitForResponse(
1298 [in, optional] VARIANT timeoutInSeconds,
1299 [out, retval] VARIANT_BOOL * isSuccessful);
1301 [id(17)]
1302 HRESULT getOption(
1303 [in] SERVERXMLHTTP_OPTION option,
1304 [out, retval] VARIANT * value);
1306 [id(18)]
1307 HRESULT setOption(
1308 [in] SERVERXMLHTTP_OPTION option,
1309 [in] VARIANT value);
1313 object,
1314 dual,
1315 oleautomation,
1316 uuid(2e01311b-c322-4b0a-bd77-b90cfdc8dce7)
1318 interface IServerXMLHTTPRequest2 : IServerXMLHTTPRequest
1320 typedef enum _SXH_PROXY_SETTING
1322 SXH_PROXY_SET_DEFAULT = 0,
1323 SXH_PROXY_SET_PRECONFIG = 0,
1324 SXH_PROXY_SET_DIRECT,
1325 SXH_PROXY_SET_PROXY
1326 } SXH_PROXY_SETTING;
1328 [id(19)]
1329 HRESULT setProxy(
1330 [in] SXH_PROXY_SETTING proxySetting,
1331 [in, optional] VARIANT varProxyServer,
1332 [in, optional] VARIANT varBypassList);
1334 [id(20)]
1335 HRESULT setProxyCredentials(
1336 [in] BSTR bstrUserName,
1337 [in] BSTR bstrPassword);
1341 local,
1342 object,
1343 dual,
1344 oleautomation,
1345 uuid (3efaa426-272f-11d2-836f-0000f87a7782)
1347 interface IXMLDOMParseError : IDispatch
1349 [propget, id(DISPID_VALUE)]
1350 HRESULT errorCode([retval, out] LONG *errCode);
1352 [propget, id(DISPID_DOM_ERROR_URL)]
1353 HRESULT url([retval, out] BSTR *p);
1355 [propget, id(DISPID_DOM_ERROR_REASON)]
1356 HRESULT reason([retval, out] BSTR *p);
1358 [propget, id(DISPID_DOM_ERROR_SRCTEXT)]
1359 HRESULT srcText([retval, out] BSTR *p);
1361 [propget, id(DISPID_DOM_ERROR_LINE)]
1362 HRESULT line([retval, out] LONG *lineNo);
1364 [propget, id(DISPID_DOM_ERROR_LINEPOS)]
1365 HRESULT linepos([retval, out] LONG * linePos);
1367 [propget, id(DISPID_DOM_ERROR_FILEPOS)]
1368 HRESULT filepos([retval, out] LONG * filePos);
1372 local,
1373 object,
1374 dual,
1375 oleautomation,
1376 uuid (3efaa428-272f-11d2-836f-0000f87a7782)
1378 interface IXMLDOMParseError2 : IXMLDOMParseError
1380 [propget, id(DISPID_DOM_ERROR2_ERRORXPATH)]
1381 HRESULT errorXPath([retval, out] BSTR *xpathexpr);
1383 [propget, id(DISPID_DOM_ERROR2_ALLERRORS)]
1384 HRESULT allErrors([retval, out] IXMLDOMParseErrorCollection **allErrors);
1386 [id(DISPID_DOM_ERROR2_ERRORPARAMETERS)]
1387 HRESULT errorParameters(
1388 [in] long index,
1389 [retval, out] BSTR *param);
1391 [propget, id(DISPID_DOM_ERROR2_ERRORPARAMETERSCOUNT)]
1392 HRESULT errorParametersCount([retval, out] long *count);
1396 local,
1397 object,
1398 dual,
1399 oleautomation,
1400 uuid (3efaa429-272f-11d2-836f-0000f87a7782)
1402 interface IXMLDOMParseErrorCollection : IDispatch
1404 [propget, id(DISPID_VALUE)]
1405 HRESULT item(
1406 [in] long index,
1407 [retval, out] IXMLDOMParseError2 **error);
1409 [propget, id(DISPID_DOM_ERRORCOLLECTION_LENGTH)]
1410 HRESULT length( [retval, out] long *length);
1412 [propget, id(DISPID_DOM_ERRORCOLLECTION_NEXT)]
1413 HRESULT next( [retval, out] IXMLDOMParseError2 **error);
1415 [id(DISPID_DOM_ERRORCOLLECTION_RESET)]
1416 HRESULT reset();
1418 [propget, hidden, restricted, id(DISPID_NEWENUM)]
1419 HRESULT _newEnum( [retval, out] IUnknown **ppunk);
1423 * Sax Interfaces
1426 object,
1427 local,
1428 uuid(f078abe1-45d2-4832-91ea-4466ce2f25c9)
1430 interface ISAXAttributes : IUnknown
1432 HRESULT getLength(
1433 [out, retval] int *length);
1435 HRESULT getURI(
1436 [in] int nIndex,
1437 [out] const WCHAR **pUrl,
1438 [out] int *pUriSize);
1440 HRESULT getLocalName(
1441 [in] int nIndex,
1442 [out] const WCHAR **pLocalName,
1443 [out] int *pLocalNameLength);
1445 HRESULT getQName(
1446 [in] int nIndex,
1447 [out] const WCHAR **pQName,
1448 [out] int *pQNameLength);
1450 HRESULT getName(
1451 [in] int nIndex,
1452 [out] const WCHAR **pUri,
1453 [out] int * pUriLength,
1454 [out] const WCHAR ** pLocalName,
1455 [out] int * pLocalNameSize,
1456 [out] const WCHAR ** pQName,
1457 [out] int * pQNameLength);
1459 HRESULT getIndexFromName(
1460 [in] const WCHAR * pUri,
1461 [in] int cUriLength,
1462 [in] const WCHAR * pLocalName,
1463 [in] int cocalNameLength,
1464 [out, retval] int * index);
1466 HRESULT getIndexFromQName(
1467 [in] const WCHAR * pQName,
1468 [in] int nQNameLength,
1469 [out, retval] int * index);
1471 HRESULT getType(
1472 [in] int nIndex,
1473 [out] const WCHAR ** pType,
1474 [out] int * pTypeLength);
1476 HRESULT getTypeFromName(
1477 [in] const WCHAR * pUri,
1478 [in] int nUri,
1479 [in] const WCHAR * pLocalName,
1480 [in] int nLocalName,
1481 [out] const WCHAR ** pType,
1482 [out] int * nType);
1484 HRESULT getTypeFromQName(
1485 [in] const WCHAR * pQName,
1486 [in] int nQName,
1487 [out] const WCHAR ** pType,
1488 [out] int * nType);
1490 HRESULT getValue(
1491 [in] int nIndex,
1492 [out] const WCHAR ** pValue,
1493 [out] int * nValue);
1495 HRESULT getValueFromName(
1496 [in] const WCHAR * pUri,
1497 [in] int nUri,
1498 [in] const WCHAR * pLocalName,
1499 [in] int nLocalName,
1500 [out] const WCHAR ** pValue,
1501 [out] int * nValue);
1503 HRESULT getValueFromQName(
1504 [in] const WCHAR * pQName,
1505 [in] int nQName,
1506 [out] const WCHAR ** pValue,
1507 [out] int * nValue);
1511 object,
1512 local,
1513 uuid(1545cdfa-9e4e-4497-a8a4-2bf7d0112c44)
1515 interface ISAXContentHandler : IUnknown
1517 HRESULT putDocumentLocator(
1518 [in] ISAXLocator * pLocator);
1520 HRESULT startDocument();
1522 HRESULT endDocument();
1524 HRESULT startPrefixMapping(
1525 [in] const WCHAR * pPrefix,
1526 [in] int nPrefix,
1527 [in] const WCHAR * pUri,
1528 [in] int nUri);
1530 HRESULT endPrefixMapping(
1531 [in] const WCHAR * pPrefix,
1532 [in] int nPrefix);
1534 HRESULT startElement(
1535 [in] const WCHAR * pNamespaceUri,
1536 [in] int nNamespaceUri,
1537 [in] const WCHAR * pLocalName,
1538 [in] int nLocalName,
1539 [in] const WCHAR * pQName,
1540 [in] int nQName,
1541 [in] ISAXAttributes * pAttr);
1543 HRESULT endElement(
1544 [in] const WCHAR * pNamespaceUri,
1545 [in] int nNamespaceUri,
1546 [in] const WCHAR * pLocalName,
1547 [in] int nLocalName,
1548 [in] const WCHAR * pQName,
1549 [in] int nQName);
1551 HRESULT characters(
1552 [in] const WCHAR * pChars,
1553 [in] int nChars);
1555 HRESULT ignorableWhitespace(
1556 [in] const WCHAR * pChars,
1557 [in] int nChars);
1559 HRESULT processingInstruction(
1560 [in] const WCHAR * pTarget,
1561 [in] int nTarget,
1562 [in] const WCHAR * pData,
1563 [in] int nData);
1565 HRESULT skippedEntity(
1566 [in] const WCHAR * pName,
1567 [in] int nName);
1571 object,
1572 local,
1573 uuid(862629ac-771a-47b2-8337-4e6843c1be90)
1575 interface ISAXDeclHandler : IUnknown
1577 HRESULT elementDecl(
1578 [in] const WCHAR * pName,
1579 [in] int nName,
1580 [in] const WCHAR * pModel,
1581 [in] int nModel);
1583 HRESULT attributeDecl(
1584 [in] const WCHAR * pElementName,
1585 [in] int nElementName,
1586 [in] const WCHAR * pAttributeName,
1587 [in] int nAttributeName,
1588 [in] const WCHAR * pType,
1589 [in] int nType,
1590 [in] const WCHAR * pValueDefault,
1591 [in] int nValueDefault,
1592 [in] const WCHAR * pValue,
1593 [in] int nValue);
1595 HRESULT internalEntityDecl(
1596 [in] const WCHAR * pName,
1597 [in] int nName,
1598 [in] const WCHAR * pValue,
1599 [in] int nValue);
1601 HRESULT externalEntityDecl(
1602 [in] const WCHAR * pName,
1603 [in] int nName,
1604 [in] const WCHAR * pPublicId,
1605 [in] int nPublicId,
1606 [in] const WCHAR * pSystemId,
1607 [in] int nSystemId);
1611 object,
1612 local,
1613 uuid(e15c1baf-afb3-4d60-8c36-19a8c45defed)
1615 interface ISAXDTDHandler : IUnknown
1617 HRESULT notationDecl(
1618 [in] const WCHAR * pName,
1619 [in] int nName,
1620 [in] const WCHAR * pPublicId,
1621 [in] int nPublicId,
1622 [in] const WCHAR * pSystemId,
1623 [in] int nSystemId);
1625 HRESULT unparsedEntityDecl(
1626 [in] const WCHAR * pName,
1627 [in] int nName,
1628 [in] const WCHAR * pPublicId,
1629 [in] int nPublicId,
1630 [in] const WCHAR * pSystemId,
1631 [in] int nSystemId,
1632 [in] const WCHAR * pNotationName,
1633 [in] int nNotationName);
1637 object,
1638 local,
1639 uuid(99bca7bd-e8c4-4d5f-a0cf-6d907901ff07),
1641 interface ISAXEntityResolver : IUnknown
1643 HRESULT resolveEntity(
1644 [in] const WCHAR * pPublicId,
1645 [in] const WCHAR * pSystemId,
1646 [out, retval] VARIANT * ret);
1650 object,
1651 local,
1652 uuid(a60511c4-ccf5-479e-98a3-dc8dc545b7d0)
1654 interface ISAXErrorHandler : IUnknown
1656 HRESULT error(
1657 [in] ISAXLocator * pLocator,
1658 [in] const WCHAR * pErrorMessage,
1659 [in] HRESULT hrErrorCode);
1661 HRESULT fatalError(
1662 [in] ISAXLocator * pLocator,
1663 [in] const WCHAR * pErrorMessage,
1664 [in] HRESULT hrErrorCode);
1666 HRESULT ignorableWarning(
1667 [in] ISAXLocator * pLocator,
1668 [in] const WCHAR * pErrorMessage,
1669 [in] HRESULT hrErrorCode);
1673 object,
1674 local,
1675 uuid(7f85d5f5-47a8-4497-bda5-84ba04819ea6)
1677 interface ISAXLexicalHandler : IUnknown
1679 HRESULT startDTD(
1680 [in] const WCHAR * pName,
1681 [in] int nName,
1682 [in] const WCHAR * pPublicId,
1683 [in] int nPublicId,
1684 [in] const WCHAR * pSystemId,
1685 [in] int nSystemId);
1687 HRESULT endDTD();
1689 HRESULT startEntity(
1690 [in] const WCHAR * pName,
1691 [in] int nName);
1693 HRESULT endEntity(
1694 [in] const WCHAR * pName,
1695 [in] int nName);
1697 HRESULT startCDATA();
1699 HRESULT endCDATA();
1701 HRESULT comment(
1702 [in] const WCHAR * pChars,
1703 [in] int nChars);
1707 object,
1708 local,
1709 uuid(9b7e472a-0de4-4640-bff3-84d38a051c31)
1711 interface ISAXLocator : IUnknown
1713 HRESULT getColumnNumber(
1714 [out, retval] int * nColumn);
1716 HRESULT getLineNumber(
1717 [out, retval] int * nLine);
1719 HRESULT getPublicId(
1720 [out, retval] const WCHAR ** publicId);
1722 HRESULT getSystemId(
1723 [out, retval] const WCHAR ** systemId);
1727 local,
1728 object,
1729 uuid(70409222-ca09-4475-acb8-40312fe8d145)
1731 interface ISAXXMLFilter : ISAXXMLReader
1733 HRESULT getParent(
1734 [out, retval] ISAXXMLReader ** pReader);
1735 HRESULT putParent(
1736 [in] ISAXXMLReader * reader);
1740 local,
1741 object,
1742 uuid (a4f96ed0-f829-476e-81c0-cdc7bd2a0802)
1744 interface ISAXXMLReader : IUnknown
1746 HRESULT getFeature(
1747 [in] const WCHAR * pFeature,
1748 [out, retval] VARIANT_BOOL * pValue);
1749 HRESULT putFeature(
1750 [in] const WCHAR * pFeature,
1751 [in] VARIANT_BOOL vfValue);
1753 HRESULT getProperty(
1754 [in] const WCHAR * pProp,
1755 [out, retval] VARIANT * pValue);
1756 HRESULT putProperty(
1757 [in] const WCHAR * pProp,
1758 [in] VARIANT value);
1760 HRESULT getEntityResolver(
1761 [out, retval] ISAXEntityResolver ** ppEntityResolver);
1762 HRESULT putEntityResolver(
1763 [in] ISAXEntityResolver * pEntityResolver);
1765 HRESULT getContentHandler(
1766 [out, retval] ISAXContentHandler ** pContentHandler);
1767 HRESULT putContentHandler(
1768 [in] ISAXContentHandler * contentHandler);
1770 HRESULT getDTDHandler(
1771 [out, retval] ISAXDTDHandler ** pDTDHandler);
1772 HRESULT putDTDHandler(
1773 [in] ISAXDTDHandler * pDTDHandler);
1775 HRESULT getErrorHandler(
1776 [out, retval] ISAXErrorHandler ** pErrorHandler);
1777 HRESULT putErrorHandler(
1778 [in] ISAXErrorHandler * errorHandler);
1780 HRESULT getBaseURL(
1781 [out, retval] const WCHAR ** pBaseUrl);
1782 HRESULT putBaseURL(
1783 [in] const WCHAR * pBaseUrl);
1785 HRESULT getSecureBaseURL(
1786 [out, retval] const WCHAR ** pSecureBaseUrl);
1787 HRESULT putSecureBaseURL(
1788 [in] const WCHAR * secureBaseUrl);
1790 HRESULT parse(
1791 [in] VARIANT varInput);
1792 HRESULT parseURL(
1793 [in] const WCHAR * url);
1797 object,
1798 dual,
1799 oleautomation,
1800 uuid(10dc0586-132b-4cac-8bb3-db00ac8b7ee0)
1802 interface IVBSAXAttributes : IDispatch
1804 [propget, id(DISPID_SAX_ATTRIBUTES_LENGTH)]
1805 HRESULT length( [out, retval] int * nLength);
1807 [id(DISPID_SAX_ATTRIBUTES_GETURI)]
1808 HRESULT getURI( [in] int nIndex, [out, retval] BSTR * uri);
1810 [id(DISPID_SAX_ATTRIBUTES_GETLOCALNAME)]
1811 HRESULT getLocalName( [in] int nIndex, [out, retval] BSTR * localName);
1813 [id(DISPID_SAX_ATTRIBUTES_GETQNAME)]
1814 HRESULT getQName( [in] int nIndex, [out, retval] BSTR * QName);
1816 [id(DISPID_SAX_ATTRIBUTES_GETINDEXFROMNAME)]
1817 HRESULT getIndexFromName( [in] BSTR uri,
1818 [in] BSTR localName, [out, retval] int * nIndex);
1820 [id(DISPID_SAX_ATTRIBUTES_GETINDEXFROMQNAME)]
1821 HRESULT getIndexFromQName( [in] BSTR QName, [out, retval] int * nIndex);
1823 [id(DISPID_SAX_ATTRIBUTES_GETTYPE)]
1824 HRESULT getType( [in] int nIndex, [out, retval] BSTR * type);
1826 [id(DISPID_SAX_ATTRIBUTES_GETTYPEFROMNAME)]
1827 HRESULT getTypeFromName( [in] BSTR uri, [in] BSTR localName,
1828 [out, retval] BSTR * type);
1830 [id(DISPID_SAX_ATTRIBUTES_GETTYPEFROMQNAME)]
1831 HRESULT getTypeFromQName( [in] BSTR QName, [out, retval] BSTR * type);
1833 [id(DISPID_SAX_ATTRIBUTES_GETVALUE)]
1834 HRESULT getValue( [in] int nIndex, [out, retval] BSTR * value);
1836 [id(DISPID_SAX_ATTRIBUTES_GETVALUEFROMNAME)]
1837 HRESULT getValueFromName( [in] BSTR uri,
1838 [in] BSTR localName,
1839 [out, retval] BSTR * value);
1841 [id(DISPID_SAX_ATTRIBUTES_GETVALUEFROMQNAME)]
1842 HRESULT getValueFromQName( [in] BSTR QName, [out, retval] BSTR * value);
1846 object,
1847 dual,
1848 oleautomation,
1849 uuid(2ed7290a-4dd5-4b46-bb26-4e4155e77faa)
1851 interface IVBSAXContentHandler : IDispatch
1853 [propputref, id(DISPID_SAX_CONTENTHANDLER_DOCUMENTLOCATOR)]
1854 HRESULT documentLocator( [in] IVBSAXLocator * oLocator);
1856 [id(DISPID_SAX_CONTENTHANDLER_STARTDOCUMENT)]
1857 HRESULT startDocument();
1859 [id(DISPID_SAX_CONTENTHANDLER_ENDDOCUMENT)]
1860 HRESULT endDocument();
1862 [id(DISPID_SAX_CONTENTHANDLER_STARTPREFIXMAPPING)]
1863 HRESULT startPrefixMapping( [in, out] BSTR * prefix, [in, out] BSTR * uri);
1865 [id(DISPID_SAX_CONTENTHANDLER_ENDPREFIXMAPPING)]
1866 HRESULT endPrefixMapping( [in, out] BSTR * prefix);
1868 [id(DISPID_SAX_CONTENTHANDLER_STARTELEMENT)]
1869 HRESULT startElement( [in, out] BSTR * namespaceURI,
1870 [in, out] BSTR * localName,
1871 [in, out] BSTR * QName,
1872 [in] IVBSAXAttributes * oAttributes);
1874 [id(DISPID_SAX_CONTENTHANDLER_ENDELEMENT)]
1875 HRESULT endElement( [in, out] BSTR * namespaceURI,
1876 [in, out] BSTR * localName, [in, out] BSTR * strQName);
1878 [id(DISPID_SAX_CONTENTHANDLER_CHARACTERS)]
1879 HRESULT characters( [in, out] BSTR * chars);
1881 [id(DISPID_SAX_CONTENTHANDLER_IGNORABLEWHITESPACE)]
1882 HRESULT ignorableWhitespace( [in, out] BSTR * chars);
1884 [id(DISPID_SAX_CONTENTHANDLER_PROCESSINGINSTRUCTION)]
1885 HRESULT processingInstruction( [in, out] BSTR * target,
1886 [in, out] BSTR * data);
1888 [id(DISPID_SAX_CONTENTHANDLER_SKIPPEDENTITY)]
1889 HRESULT skippedEntity( [in, out] BSTR * name);
1893 object,
1894 dual,
1895 oleautomation,
1896 uuid(e8917260-7579-4be1-b5dd-7afbfa6f077b)
1898 interface IVBSAXDeclHandler : IDispatch
1900 [id(DISPID_SAX_DECLHANDLER_ELEMENTDECL)]
1901 HRESULT elementDecl(
1902 [in, out] BSTR * name,
1903 [in, out] BSTR * model);
1905 [id(DISPID_SAX_DECLHANDLER_ATTRIBUTEDECL)]
1906 HRESULT attributeDecl(
1907 [in, out] BSTR * elementName,
1908 [in, out] BSTR * attributeName,
1909 [in, out] BSTR * type,
1910 [in, out] BSTR * valueDefault,
1911 [in, out] BSTR * value);
1913 [id(DISPID_SAX_DECLHANDLER_INTERNALENTITYDECL)]
1914 HRESULT internalEntityDecl(
1915 [in, out] BSTR * name,
1916 [in, out] BSTR * value);
1918 [id(DISPID_SAX_DECLHANDLER_EXTERNALENTITYDECL)]
1919 HRESULT externalEntityDecl(
1920 [in, out] BSTR * name,
1921 [in, out] BSTR * publicId,
1922 [in, out] BSTR * systemId);
1926 object,
1927 dual,
1928 oleautomation,
1929 uuid(24fb3297-302d-4620-ba39-3a732d850558)
1931 interface IVBSAXDTDHandler : IDispatch
1933 [id(DISPID_SAX_DTDHANDLER_NOTATIONDECL)]
1934 HRESULT notationDecl(
1935 [in, out] BSTR * name,
1936 [in, out] BSTR * publicId,
1937 [in, out] BSTR * systemId);
1939 [id(DISPID_SAX_DTDHANDLER_UNPARSEDENTITYDECL)]
1940 HRESULT unparsedEntityDecl(
1941 [in, out] BSTR * name,
1942 [in, out] BSTR * publicId,
1943 [in, out] BSTR * systemId,
1944 [in, out] BSTR * notationName);
1948 object,
1949 dual,
1950 oleautomation,
1951 uuid(0c05d096-f45b-4aca-ad1a-aa0bc25518dc)
1953 interface IVBSAXEntityResolver : IDispatch
1955 [id(DISPID_SAX_ENTITYRESOLVER_RESOLVEENTITY)]
1956 HRESULT resolveEntity(
1957 [in, out] BSTR * publicId,
1958 [in, out] BSTR * systemId,
1959 [out, retval] VARIANT * ret);
1963 object,
1964 dual,
1965 oleautomation,
1966 uuid(d963d3fe-173c-4862-9095-b92f66995f52)
1968 interface IVBSAXErrorHandler : IDispatch
1970 [id(DISPID_SAX_ERRORHANDLER_ERROR)]
1971 HRESULT error(
1972 [in] IVBSAXLocator * locator,
1973 [in, out] BSTR * errorMessage,
1974 [in] LONG errorCode);
1976 [id(DISPID_SAX_ERRORHANDLER_FATALERROR)]
1977 HRESULT fatalError(
1978 [in] IVBSAXLocator * locator,
1979 [in, out] BSTR * errorMessage,
1980 [in] LONG errorCode);
1982 [id(DISPID_SAX_ERRORHANDLER_IGNORABLEWARNING)]
1983 HRESULT ignorableWarning(
1984 [in] IVBSAXLocator * locator,
1985 [in, out] BSTR * errorMessage,
1986 [in] LONG errorCode);
1990 object,
1991 dual,
1992 oleautomation,
1993 uuid(032aac35-8c0e-4d9d-979f-e3b702935576)
1995 interface IVBSAXLexicalHandler : IDispatch
1997 [id(DISPID_SAX_LEXICALHANDLER_STARTDTD)]
1998 HRESULT startDTD(
1999 [in, out] BSTR * name,
2000 [in, out] BSTR * publicId,
2001 [in, out] BSTR * systemId);
2002 [id(DISPID_SAX_LEXICALHANDLER_ENDDTD)]
2003 HRESULT endDTD();
2005 [id(DISPID_SAX_LEXICALHANDLER_STARTENTITY)]
2006 HRESULT startEntity([in, out] BSTR * name);
2007 [id(DISPID_SAX_LEXICALHANDLER_ENDENTITY)]
2008 HRESULT endEntity([in, out] BSTR * name);
2010 [id(DISPID_SAX_LEXICALHANDLER_STARTCDATA)]
2011 HRESULT startCDATA();
2012 [id(DISPID_SAX_LEXICALHANDLER_ENDCDATA)]
2013 HRESULT endCDATA();
2015 [id(DISPID_SAX_LEXICALHANDLER_COMMENT)]
2016 HRESULT comment( [in, out] BSTR * chars);
2020 object,
2021 dual,
2022 oleautomation,
2023 uuid(796e7ac5-5aa2-4eff-acad-3faaf01a3288)
2025 interface IVBSAXLocator : IDispatch
2027 [propget, id(DISPID_SAX_LOCATOR_COLUMNNUMBER)]
2028 HRESULT columnNumber( [out, retval] int * column);
2030 [propget, id(DISPID_SAX_LOCATOR_LINENUMBER)]
2031 HRESULT lineNumber( [out, retval] int * line);
2033 [propget, id(DISPID_SAX_LOCATOR_PUBLICID)]
2034 HRESULT publicId( [out, retval] BSTR * publicId);
2036 [propget, id(DISPID_SAX_LOCATOR_SYSTEMID)]
2037 HRESULT systemId( [out, retval] BSTR * systemId);
2041 object,
2042 dual,
2043 oleautomation,
2044 uuid(1299eb1b-5b88-433e-82de-82ca75ad4e04)
2046 interface IVBSAXXMLFilter : IDispatch
2048 [propget, id(DISPID_SAX_XMLFILTER_PARENT)]
2049 HRESULT parent( [out, retval] IVBSAXXMLReader ** reader);
2050 [propputref, id(DISPID_SAX_XMLFILTER_PARENT)]
2051 HRESULT parent( [in] IVBSAXXMLReader * reader);
2056 dual,
2057 oleautomation,
2058 object,
2059 uuid (8c033caa-6cd6-4f73-b728-4531af74945f)
2061 interface IVBSAXXMLReader : IDispatch
2063 [id(DISPID_SAX_XMLREADER_GETFEATURE)]
2064 HRESULT getFeature( [in] BSTR pFeature,
2065 [out, retval] VARIANT_BOOL * pValue);
2066 [id(DISPID_SAX_XMLREADER_PUTFEATURE)]
2067 HRESULT putFeature( [in] BSTR pFeature,
2068 [in] VARIANT_BOOL vfValue);
2070 [id(DISPID_SAX_XMLREADER_GETPROPERTY)]
2071 HRESULT getProperty( [in] BSTR pProp,
2072 [out, retval] VARIANT * pValue);
2073 [id(DISPID_SAX_XMLREADER_PUTPROPERTY)]
2074 HRESULT putProperty( [in] BSTR pProp, [in] VARIANT value);
2076 [propget, id(DISPID_SAX_XMLREADER_ENTITYRESOLVER)]
2077 HRESULT entityResolver(
2078 [out, retval] IVBSAXEntityResolver ** ppEntityResolver);
2079 [propputref, id(DISPID_SAX_XMLREADER_ENTITYRESOLVER)]
2080 HRESULT entityResolver( [in] IVBSAXEntityResolver * pEntityResolver);
2082 [propget, id(DISPID_SAX_XMLREADER_CONTENTHANDLER)]
2083 HRESULT contentHandler(
2084 [out, retval] IVBSAXContentHandler ** pContentHandler);
2085 [propputref, id(DISPID_SAX_XMLREADER_CONTENTHANDLER)]
2086 HRESULT contentHandler([in] IVBSAXContentHandler * contentHandler);
2088 [propget, id(DISPID_SAX_XMLREADER_DTDHANDLER)]
2089 HRESULT dtdHandler([out, retval] IVBSAXDTDHandler ** pDTDHandler);
2090 [propputref, id(DISPID_SAX_XMLREADER_DTDHANDLER)]
2091 HRESULT dtdHandler([in] IVBSAXDTDHandler * pDTDHandler);
2093 [propget, id(DISPID_SAX_XMLREADER_ERRORHANDLER)]
2094 HRESULT errorHandler([out, retval] IVBSAXErrorHandler ** pErrorHandler);
2095 [propputref, id(DISPID_SAX_XMLREADER_ERRORHANDLER)]
2096 HRESULT errorHandler([in] IVBSAXErrorHandler * errorHandler);
2098 [propget, id(DISPID_SAX_XMLREADER_BASEURL)]
2099 HRESULT baseURL([out, retval] BSTR *pBaseUrl);
2100 [propput, id(DISPID_SAX_XMLREADER_BASEURL)]
2101 HRESULT baseURL([in] BSTR pBaseUrl);
2103 [propget, id(DISPID_SAX_XMLREADER_SECUREBASEURL)]
2104 HRESULT secureBaseURL([out, retval] BSTR *pSecureBaseUrl);
2105 [propput, id(DISPID_SAX_XMLREADER_SECUREBASEURL)]
2106 HRESULT secureBaseURL([in] BSTR secureBaseUrl);
2108 [id(DISPID_SAX_XMLREADER_PARSE)]
2109 HRESULT parse( [in] VARIANT varInput);
2110 [id(DISPID_SAX_XMLREADER_PARSEURL)]
2111 HRESULT parseURL([in] BSTR url);
2115 object,
2116 dual,
2117 oleautomation,
2118 uuid(f10d27cc-3ec0-415c-8ed8-77ab1c5e7262)
2120 interface IMXAttributes : IDispatch
2122 [id(DISPID_MX_ATTRIBUTES_ADDATTRIBUTE)]
2123 HRESULT addAttribute(
2124 [in] BSTR uri,
2125 [in] BSTR localName,
2126 [in] BSTR QName,
2127 [in] BSTR type,
2128 [in] BSTR value);
2130 [id(DISPID_MX_ATTRIBUTES_ADDATTRIBUTEFROMINDEX)]
2131 HRESULT addAttributeFromIndex( [in] VARIANT atts,
2132 [in] int index);
2134 [id(DISPID_MX_ATTRIBUTES_CLEAR)]
2135 HRESULT clear();
2137 [id(DISPID_MX_ATTRIBUTES_REMOVEATTRIBUTE)]
2138 HRESULT removeAttribute( [in] int index);
2140 [id(DISPID_MX_ATTRIBUTES_SETATTRIBUTE)]
2141 HRESULT setAttribute(
2142 [in] int index,
2143 [in] BSTR uri,
2144 [in] BSTR localName,
2145 [in] BSTR QName,
2146 [in] BSTR type,
2147 [in] BSTR value);
2149 [id(DISPID_MX_ATTRIBUTES_SETATTRIBUTES)]
2150 HRESULT setAttributes( [in] VARIANT atts);
2152 [id(DISPID_MX_ATTRIBUTES_SETLOCALNAME)]
2153 HRESULT setLocalName( [in] int index,
2154 [in] BSTR localName);
2156 [id(DISPID_MX_ATTRIBUTES_SETQNAME)]
2157 HRESULT setQName(
2158 [in] int index,
2159 [in] BSTR QName);
2161 [id(DISPID_MX_ATTRIBUTES_SETTYPE)]
2162 HRESULT setType( [in] int index, [in] BSTR type);
2164 [id(DISPID_MX_ATTRIBUTES_SETURI)]
2165 HRESULT setURI( [in] int index, [in] BSTR uri);
2167 [id(DISPID_MX_ATTRIBUTES_SETVALUE)]
2168 HRESULT setValue([in] int index, [in] BSTR value);
2172 local,
2173 object,
2174 dual,
2175 oleautomation,
2176 uuid(fa4bb38c-faf9-4cca-9302-d1dd0fe520db)
2178 interface IMXSchemaDeclHandler : IDispatch
2180 [id(DISPID_MX_SCHEMADECLHANDLER_SCHEMAELEMENTDECL)]
2181 HRESULT schemaElementDecl( [in] ISchemaElement *oSchemaElement );
2185 object,
2186 dual,
2187 oleautomation,
2188 uuid(808f4e35-8d5a-4fbe-8466-33a41279ed30)
2190 interface IMXReaderControl : IDispatch
2192 [id(DISPID_MX_READER_CONTROL_ABORT)]
2193 HRESULT abort();
2195 [id(DISPID_MX_READER_CONTROL_RESUME)]
2196 HRESULT resume();
2198 [id(DISPID_MX_READER_CONTROL_SUSPEND)]
2199 HRESULT suspend();
2203 object,
2204 dual,
2205 oleautomation,
2206 uuid(4d7ff4ba-1565-4ea8-94e1-6e724a46f98d)
2208 interface IMXWriter : IDispatch
2210 [propput, id(DISPID_MX_WRITER_OUTPUT)]
2211 HRESULT output ( [in] VARIANT Destination);
2212 [propget, id(DISPID_MX_WRITER_OUTPUT)]
2213 HRESULT output ( [out, retval] VARIANT * Destination);
2215 [propput, id(DISPID_MX_WRITER_ENCODING)]
2216 HRESULT encoding ([in] BSTR encoding);
2217 [propget, id(DISPID_MX_WRITER_ENCODING)]
2218 HRESULT encoding ([out, retval] BSTR * encoding);
2220 [propput, id(DISPID_MX_WRITER_BYTEORDERMARK)]
2221 HRESULT byteOrderMark ([in] VARIANT_BOOL writeByteOrderMark);
2222 [propget, id(DISPID_MX_WRITER_BYTEORDERMARK)]
2223 HRESULT byteOrderMark ([out, retval] VARIANT_BOOL * writeByteOrderMark);
2225 [propput, id(DISPID_MX_WRITER_INDENT)]
2226 HRESULT indent ([in] VARIANT_BOOL indentMode);
2227 [propget, id(DISPID_MX_WRITER_INDENT)]
2228 HRESULT indent ([out, retval] VARIANT_BOOL * indentMode);
2230 [propput, id(DISPID_MX_WRITER_STANDALONE)]
2231 HRESULT standalone ([in] VARIANT_BOOL value);
2232 [propget, id(DISPID_MX_WRITER_STANDALONE)]
2233 HRESULT standalone ([out, retval] VARIANT_BOOL * value);
2235 [propput, id(DISPID_MX_WRITER_OMITXMLDECLARATION)]
2236 HRESULT omitXMLDeclaration ([in] VARIANT_BOOL value);
2237 [propget, id(DISPID_MX_WRITER_OMITXMLDECLARATION)]
2238 HRESULT omitXMLDeclaration ([out, retval] VARIANT_BOOL * value);
2240 [propput, id(DISPID_MX_WRITER_VERSION)]
2241 HRESULT version ([in] BSTR version);
2242 [propget, id(DISPID_MX_WRITER_VERSION)]
2243 HRESULT version ([out, retval] BSTR * version);
2245 [propput, id(DISPID_MX_WRITER_DISABLEOUTPUTESCAPING)]
2246 HRESULT disableOutputEscaping([in] VARIANT_BOOL value);
2247 [propget, id(DISPID_MX_WRITER_DISABLEOUTPUTESCAPING)]
2248 HRESULT disableOutputEscaping([out, retval] VARIANT_BOOL * value);
2250 [id(DISPID_MX_WRITER_FLUSH)]
2251 HRESULT flush();
2255 local,
2256 object,
2257 dual,
2258 oleautomation,
2259 uuid(c90352f4-643c-4fbc-bb23-e996eb2d51fd)
2261 interface IMXNamespacePrefixes : IDispatch
2263 [propget, id(DISPID_VALUE)]
2264 HRESULT item(
2265 [in] long index,
2266 [out, retval] BSTR *prefix);
2268 [propget, id(DISPID_MX_NSMGR_LENGTH)]
2269 HRESULT length( [out,retval] long *length );
2271 [propget, restricted, hidden, id(DISPID_NEWENUM)]
2272 HRESULT _newEnum( [out, retval] IUnknown **ppUnk );
2276 local,
2277 object,
2278 hidden,
2279 uuid(c90352f6-643c-4fbc-bb23-e996eb2d51fd)
2281 interface IMXNamespaceManager : IUnknown
2283 HRESULT putAllowOverride([in] VARIANT_BOOL fOverride);
2285 HRESULT getAllowOverride([out, retval] VARIANT_BOOL *fOverride);
2287 HRESULT reset();
2289 HRESULT pushContext();
2291 HRESULT pushNodeContext(
2292 [in] IXMLDOMNode *contextNode,
2293 [in] VARIANT_BOOL fDeep);
2295 HRESULT popContext();
2297 HRESULT declarePrefix(
2298 [in] const WCHAR *prefix,
2299 [in] const WCHAR *namespaceURI);
2301 HRESULT getDeclaredPrefix(
2302 [in] long nIndex,
2303 [in, out] WCHAR *pwchPrefix,
2304 [in, out] int *pcchPrefix);
2306 HRESULT getPrefix(
2307 [in] const WCHAR *pwszNamespaceURI,
2308 [in] long nIndex,
2309 [in, out] WCHAR *pwchPrefix,
2310 [in, out] int *pcchPrefix);
2312 HRESULT getURI(
2313 [in] const WCHAR *pwchPrefix,
2314 [in] IXMLDOMNode* pContextNode,
2315 [in, out] WCHAR *pwchUri,
2316 [in, out] int *pcchUri);
2320 local,
2321 object,
2322 dual,
2323 oleautomation,
2324 uuid(c90352f5-643c-4fbc-bb23-e996eb2d51fd)
2326 interface IVBMXNamespaceManager : IDispatch
2328 [propput, id(DISPID_MX_NSMGR_ALLOWOVERRIDE)]
2329 HRESULT allowOverride([in] VARIANT_BOOL fOverride);
2331 [propget, id(DISPID_MX_NSMGR_ALLOWOVERRIDE)]
2332 HRESULT allowOverride([out,retval] VARIANT_BOOL* fOverride);
2334 [id(DISPID_MX_NSMGR_RESET)]
2335 HRESULT reset();
2337 [id(DISPID_MX_NSMGR_PUSHCONTEXT)]
2338 HRESULT pushContext();
2340 [id(DISPID_MX_NSMGR_PUSHNODECONTEXT)]
2341 HRESULT pushNodeContext(
2342 [in] IXMLDOMNode* contextNode,
2343 [in, defaultvalue(-1)] VARIANT_BOOL fDeep);
2345 [id(DISPID_MX_NSMGR_POPCONTEXT)]
2346 HRESULT popContext();
2348 [id(DISPID_MX_NSMGR_DECLAREPREFIX)]
2349 HRESULT declarePrefix(
2350 [in] BSTR prefix,
2351 [in] BSTR namespaceURI);
2353 [id(DISPID_MX_NSMGR_GETDECLAREDPREFIXES)]
2354 HRESULT getDeclaredPrefixes([out, retval] IMXNamespacePrefixes** prefixes);
2356 [id(DISPID_MX_NSMGR_GETPREFIXES)]
2357 HRESULT getPrefixes(
2358 [in] BSTR namespaceURI,
2359 [out, retval] IMXNamespacePrefixes** prefixes);
2361 [id(DISPID_MX_NSMGR_GETURI)]
2362 HRESULT getURI(
2363 [in] BSTR prefix,
2364 [out, retval] VARIANT* uri);
2366 [id(DISPID_MX_NSMGR_GETURIFROMNODE)]
2367 HRESULT getURIFromNode(
2368 [in] BSTR strPrefix,
2369 [in] IXMLDOMNode* contextNode,
2370 [out, retval] VARIANT* uri);
2374 local,
2375 object,
2376 dual,
2377 oleautomation,
2378 uuid(c90352f7-643c-4fbc-bb23-e996eb2d51fd)
2380 interface IMXXMLFilter : IDispatch
2382 [id(DISPID_MXXML_FILTER_GETFEATURE)]
2383 HRESULT getFeature(
2384 [in] BSTR strName,
2385 [out, retval] VARIANT_BOOL * fValue);
2387 [id(DISPID_MXXML_FILTER_PUTFEATURE)]
2388 HRESULT putFeature(
2389 [in] BSTR strName,
2390 [in] VARIANT_BOOL fValue);
2392 [id(DISPID_MXXML_FILTER_GETPROPERTY)]
2393 HRESULT getProperty(
2394 [in] BSTR strName,
2395 [out, retval] VARIANT * varValue);
2397 [id(DISPID_MXXML_FILTER_PUTPROPERTY)]
2398 HRESULT putProperty(
2399 [in] BSTR strName,
2400 [in] VARIANT varValue);
2402 [id(DISPID_MXXML_FILTER_ENTITYRESOLVER), propget]
2403 HRESULT entityResolver( [out, retval] IUnknown **oResolver );
2405 [id(DISPID_MXXML_FILTER_ENTITYRESOLVER), propputref]
2406 HRESULT entityResolver( [in] IUnknown *oResolver );
2408 [id(DISPID_MXXML_FILTER_CONTENTHANDLER), propget]
2409 HRESULT contentHandler( [out, retval] IUnknown **oHandler );
2411 [id(DISPID_MXXML_FILTER_CONTENTHANDLER), propputref]
2412 HRESULT contentHandler( [in] IUnknown *oHandler );
2414 [id(DISPID_MXXML_FILTER_DTDHANDLER), propget]
2415 HRESULT dtdHandler( [out, retval] IUnknown **oHandler );
2417 [id(DISPID_MXXML_FILTER_DTDHANDLER), propputref]
2418 HRESULT dtdHandler( [in] IUnknown *oHandler );
2420 [id(DISPID_MXXML_FILTER_ERRORHANDLER), propget]
2421 HRESULT errorHandler( [out, retval] IUnknown **oHandler );
2423 [id(DISPID_MXXML_FILTER_ERRORHANDLER), propputref]
2424 HRESULT errorHandler( [in] IUnknown *oHandler );
2428 local,
2429 object,
2430 uuid(50ea08b1-dd1b-4664-9a50-c2f40f4bd79a),
2431 oleautomation,
2432 dual
2434 interface ISchemaStringCollection : IDispatch
2436 [id(DISPID_VALUE), propget]
2437 HRESULT item(
2438 [in] long index,
2439 [out,retval] BSTR* bstr);
2441 [id(DISPID_SOM_LENGTH), propget]
2442 HRESULT length(
2443 [out,retval] long* length);
2445 [id(DISPID_NEWENUM), hidden, restricted, propget]
2446 HRESULT _newEnum(
2447 [out,retval] IUnknown** ppunk);
2451 local,
2452 object,
2453 uuid(50ea08b2-dd1b-4664-9a50-c2f40f4bd79a),
2454 oleautomation,
2455 dual
2457 interface ISchemaItemCollection : IDispatch
2459 [id(DISPID_VALUE), propget]
2460 HRESULT item(
2461 [in] long index,
2462 [out,retval]ISchemaItem** item);
2464 [id(DISPID_SOM_ITEMBYNAME)]
2465 HRESULT itemByName(
2466 [in] BSTR name,
2467 [out,retval] ISchemaItem** item);
2469 [id(DISPID_SOM_ITEMBYQNAME)]
2470 HRESULT itemByQName(
2471 [in] BSTR name,
2472 [in] BSTR namespaceURI,
2473 [out,retval] ISchemaItem** item);
2475 [id(DISPID_SOM_LENGTH), propget]
2476 HRESULT length(
2477 [out,retval]long* length);
2479 [id(DISPID_NEWENUM), hidden, restricted, propget]
2480 HRESULT _newEnum(
2481 [out,retval]IUnknown** ppunk);
2485 local,
2486 object,
2487 uuid(50ea08b3-dd1b-4664-9a50-c2f40f4bd79a),
2488 oleautomation,
2489 dual
2491 interface ISchemaItem : IDispatch
2493 [id(DISPID_SOM_NAME), propget]
2494 HRESULT name(
2495 [out,retval] BSTR* name);
2497 [id(DISPID_SOM_NAMESPACEURI), propget]
2498 HRESULT namespaceURI(
2499 [out,retval] BSTR* namespaceURI);
2501 [id(DISPID_SOM_SCHEMA), propget]
2502 HRESULT schema(
2503 [out,retval] ISchema** schema);
2505 [id(DISPID_SOM_ID), propget]
2506 HRESULT id(
2507 [out,retval] BSTR* id);
2509 [id(DISPID_SOM_ITEMTYPE), propget]
2510 HRESULT itemType(
2511 [out,retval] SOMITEMTYPE* itemType);
2513 [id(DISPID_SOM_UNHANDLEDATTRS), propget]
2514 HRESULT unhandledAttributes(
2515 [out,retval] IVBSAXAttributes** attributes);
2517 [id(DISPID_SOM_WRITEANNOTATION)]
2518 HRESULT writeAnnotation(
2519 [in] IUnknown* annotationSink,
2520 [out,retval] VARIANT_BOOL* isWritten);
2524 local,
2525 object,
2526 uuid(50ea08b4-dd1b-4664-9a50-c2f40f4bd79a),
2527 oleautomation,
2528 dual
2530 interface ISchema : ISchemaItem
2532 [id(DISPID_SOM_TARGETNAMESPACE), propget]
2533 HRESULT targetNamespace(
2534 [out,retval] BSTR* targetNamespace);
2536 [id(DISPID_SOM_VERSION), propget]
2537 HRESULT version(
2538 [out,retval] BSTR* version);
2540 [id(DISPID_SOM_TYPES), propget]
2541 HRESULT types(
2542 [out,retval] ISchemaItemCollection** types);
2544 [id(DISPID_SOM_ELEMENTS), propget]
2545 HRESULT elements(
2546 [out,retval] ISchemaItemCollection** elements);
2548 [id(DISPID_SOM_ATTRIBUTES), propget]
2549 HRESULT attributes(
2550 [out,retval] ISchemaItemCollection** attributes);
2552 [id(DISPID_SOM_ATTRIBUTEGROUPS), propget]
2553 HRESULT attributeGroups(
2554 [out,retval] ISchemaItemCollection** attributeGroups);
2556 [id(DISPID_SOM_MODELGROUPS), propget]
2557 HRESULT modelGroups(
2558 [out,retval] ISchemaItemCollection** modelGroups);
2560 [id(DISPID_SOM_NOTATIONS), propget]
2561 HRESULT notations(
2562 [out,retval] ISchemaItemCollection** notations);
2564 [id(DISPID_SOM_SCHEMALOCATIONS), propget]
2565 HRESULT schemaLocations(
2566 [out,retval] ISchemaStringCollection** schemaLocations);
2570 local,
2571 object,
2572 uuid(50ea08b5-dd1b-4664-9a50-c2f40f4bd79a),
2573 oleautomation,
2574 dual
2576 interface ISchemaParticle : ISchemaItem
2578 [id(DISPID_SOM_MINOCCURS), propget]
2579 HRESULT minOccurs(
2580 [out,retval] VARIANT* minOccurs);
2582 [id(DISPID_SOM_MAXOCCURS), propget]
2583 HRESULT maxOccurs(
2584 [out,retval] VARIANT* maxOccurs);
2588 object,
2589 uuid(50ea08b6-dd1b-4664-9a50-c2f40f4bd79a),
2590 oleautomation,
2591 dual,
2593 interface ISchemaAttribute : ISchemaItem
2595 [id(DISPID_SOM_TYPE), propget]
2596 HRESULT type(
2597 [out,retval] ISchemaType** type);
2599 [id(DISPID_SOM_SCOPE), propget]
2600 HRESULT scope(
2601 [out,retval] ISchemaComplexType** scope);
2603 [id(DISPID_SOM_DEFAULTVALUE), propget]
2604 HRESULT defaultValue(
2605 [out,retval]BSTR* defaultValue);
2607 [id(DISPID_SOM_FIXEDVALUE), propget]
2608 HRESULT fixedValue(
2609 [out,retval] BSTR* fixedValue);
2611 [id(DISPID_SOM_USE), propget]
2612 HRESULT use(
2613 [out,retval] SCHEMAUSE* use);
2615 [id(DISPID_SOM_ISREFERENCE), propget]
2616 HRESULT isReference(
2617 [out,retval] VARIANT_BOOL* reference);
2621 local,
2622 object,
2623 uuid(50ea08b7-dd1b-4664-9a50-c2f40f4bd79a),
2624 oleautomation,
2625 dual
2627 interface ISchemaElement : ISchemaParticle
2629 [id(DISPID_SOM_TYPE), propget]
2630 HRESULT type(
2631 [out,retval] ISchemaType** type);
2633 [id(DISPID_SOM_SCOPE), propget]
2634 HRESULT scope(
2635 [out,retval] ISchemaComplexType** scope);
2637 [id(DISPID_SOM_DEFAULTVALUE), propget]
2638 HRESULT defaultValue(
2639 [out,retval] BSTR* defaultValue);
2641 [id(DISPID_SOM_FIXEDVALUE), propget]
2642 HRESULT fixedValue(
2643 [out,retval] BSTR* fixedValue);
2645 [id(DISPID_SOM_ISNILLABLE), propget]
2646 HRESULT isNillable(
2647 [out,retval] VARIANT_BOOL* nillable);
2649 [id(DISPID_SOM_IDCONSTRAINTS), propget]
2650 HRESULT identityConstraints(
2651 [out,retval] ISchemaItemCollection** constraints);
2653 [id(DISPID_SOM_SUBSTITUTIONGROUP), propget]
2654 HRESULT substitutionGroup(
2655 [out,retval] ISchemaElement** element);
2657 [id(DISPID_SOM_EXCLUSIONS), propget]
2658 HRESULT substitutionGroupExclusions(
2659 [out,retval] SCHEMADERIVATIONMETHOD* exclusions);
2661 [id(DISPID_SOM_DISALLOWED), propget]
2662 HRESULT disallowedSubstitutions(
2663 [out,retval] SCHEMADERIVATIONMETHOD* disallowed);
2665 [id(DISPID_SOM_ISABSTRACT), propget]
2666 HRESULT isAbstract(
2667 [out,retval] VARIANT_BOOL* abstract);
2669 [id(DISPID_SOM_ISREFERENCE), propget]
2670 HRESULT isReference(
2671 [out,retval] VARIANT_BOOL* reference);
2675 local,
2676 object,
2677 uuid(50ea08b8-dd1b-4664-9a50-c2f40f4bd79a),
2678 oleautomation,
2679 dual
2681 interface ISchemaType : ISchemaItem
2683 [id(DISPID_SOM_BASETYPES), propget]
2684 HRESULT baseTypes(
2685 [out,retval] ISchemaItemCollection** baseTypes);
2687 [id(DISPID_SOM_FINAL), propget]
2688 HRESULT final(
2689 [out,retval] SCHEMADERIVATIONMETHOD* final);
2691 [id(DISPID_SOM_VARIETY), propget]
2692 HRESULT variety(
2693 [out,retval] SCHEMATYPEVARIETY* variety);
2695 [id(DISPID_SOM_DERIVEDBY), propget]
2696 HRESULT derivedBy(
2697 [out,retval] SCHEMADERIVATIONMETHOD* derivedBy);
2699 [id(DISPID_SOM_ISVALID)]
2700 HRESULT isValid(
2701 [in] BSTR data,
2702 [out,retval] VARIANT_BOOL* valid);
2704 [id(DISPID_SOM_MINEXCLUSIVE), propget]
2705 HRESULT minExclusive(
2706 [out,retval]BSTR* minExclusive);
2708 [id(DISPID_SOM_MININCLUSIVE), propget]
2709 HRESULT minInclusive(
2710 [out,retval] BSTR* minInclusive);
2712 [id(DISPID_SOM_MAXEXCLUSIVE), propget]
2713 HRESULT maxExclusive(
2714 [out,retval] BSTR* maxExclusive);
2716 [id(DISPID_SOM_MAXINCLUSIVE), propget]
2717 HRESULT maxInclusive(
2718 [out,retval] BSTR* maxInclusive);
2720 [id(DISPID_SOM_TOTALDIGITS), propget]
2721 HRESULT totalDigits(
2722 [out,retval] VARIANT* totalDigits);
2724 [id(DISPID_SOM_FRACTIONDIGITS), propget]
2725 HRESULT fractionDigits(
2726 [out,retval] VARIANT* fractionDigits);
2728 [id(DISPID_SOM_LENGTH), propget]
2729 HRESULT length(
2730 [out,retval] VARIANT* length);
2732 [id(DISPID_SOM_MINLENGTH), propget]
2733 HRESULT minLength(
2734 [out,retval]VARIANT* minLength);
2736 [id(DISPID_SOM_MAXLENGTH), propget]
2737 HRESULT maxLength(
2738 [out,retval]VARIANT* maxLength);
2740 [id(DISPID_SOM_ENUMERATION), propget]
2741 HRESULT enumeration(
2742 [out,retval] ISchemaStringCollection** enumeration);
2744 [id(DISPID_SOM_WHITESPACE), propget]
2745 HRESULT whitespace(
2746 [out,retval]SCHEMAWHITESPACE* whitespace);
2748 [id(DISPID_SOM_PATTERNS), propget]
2749 HRESULT patterns(
2750 [out,retval] ISchemaStringCollection** patterns);
2754 local,
2755 object,
2756 uuid(50ea08b9-dd1b-4664-9a50-c2f40f4bd79a),
2757 oleautomation,
2758 dual,
2760 interface ISchemaComplexType : ISchemaType
2762 [id(DISPID_SOM_ISABSTRACT), propget]
2763 HRESULT isAbstract(
2764 [out,retval] VARIANT_BOOL* abstract);
2766 [id(DISPID_SOM_ANYATTRIBUTE), propget]
2767 HRESULT anyAttribute(
2768 [out,retval] ISchemaAny** anyAttribute);
2770 [id(DISPID_SOM_ATTRIBUTES), propget]
2771 HRESULT attributes(
2772 [out,retval] ISchemaItemCollection** attributes);
2774 [id(DISPID_SOM_CONTENTTYPE), propget]
2775 HRESULT contentType(
2776 [out,retval] SCHEMACONTENTTYPE* contentType);
2778 [id(DISPID_SOM_CONTENTMODEL), propget]
2779 HRESULT contentModel(
2780 [out,retval] ISchemaModelGroup** contentModel);
2782 [id(DISPID_SOM_PROHIBITED), propget]
2783 HRESULT prohibitedSubstitutions(
2784 [out,retval] SCHEMADERIVATIONMETHOD* prohibited);
2788 local,
2789 object,
2790 uuid(50ea08ba-dd1b-4664-9a50-c2f40f4bd79a),
2791 oleautomation,
2792 dual,
2794 interface ISchemaAttributeGroup : ISchemaItem
2796 [id(DISPID_SOM_ANYATTRIBUTE), propget]
2797 HRESULT anyAttribute(
2798 [out,retval] ISchemaAny** anyAttribute);
2800 [id(DISPID_SOM_ATTRIBUTES), propget]
2801 HRESULT attributes(
2802 [out,retval] ISchemaItemCollection** attributes);
2806 local,
2807 object,
2808 uuid(50ea08bb-dd1b-4664-9a50-c2f40f4bd79a),
2809 oleautomation,
2810 dual,
2812 interface ISchemaModelGroup : ISchemaParticle
2814 [id(DISPID_SOM_PARTICLES), propget]
2815 HRESULT particles(
2816 [out,retval] ISchemaItemCollection** particles);
2820 local,
2821 object,
2822 uuid(50ea08bc-dd1b-4664-9a50-c2f40f4bd79a),
2823 oleautomation,
2824 dual
2826 interface ISchemaAny : ISchemaParticle
2828 [id(DISPID_SOM_NAMESPACES), propget]
2829 HRESULT namespaces(
2830 [out,retval] ISchemaStringCollection** namespaces);
2832 [id(DISPID_SOM_PROCESSCONTENTS), propget]
2833 HRESULT processContents(
2834 [out,retval] SCHEMAPROCESSCONTENTS* processContents);
2838 local,
2839 object,
2840 uuid(50ea08bd-dd1b-4664-9a50-c2f40f4bd79a),
2841 oleautomation,
2842 dual
2844 interface ISchemaIdentityConstraint : ISchemaItem
2846 [id(DISPID_SOM_SELECTOR), propget]
2847 HRESULT selector(
2848 [out,retval] BSTR* selector);
2850 [id(DISPID_SOM_FIELDS), propget]
2851 HRESULT fields(
2852 [out,retval] ISchemaStringCollection** fields);
2854 [id(DISPID_SOM_REFERENCEDKEY), propget]
2855 HRESULT referencedKey(
2856 [out,retval] ISchemaIdentityConstraint** key);
2860 local,
2861 object,
2862 uuid(50ea08be-dd1b-4664-9a50-c2f40f4bd79a),
2863 oleautomation,
2864 dual
2866 interface ISchemaNotation : ISchemaItem
2868 [id(DISPID_SOM_SYSTEMIDENTIFIER), propget]
2869 HRESULT systemIdentifier(
2870 [out,retval] BSTR* uri);
2872 [id(DISPID_SOM_PUBLICIDENTIFIER), propget]
2873 HRESULT publicIdentifier(
2874 [out,retval] BSTR* uri);
2878 uuid(f5078f18-c551-11d3-89b9-0000f81fe221),
2879 version(6.0),
2880 helpstring("Microsoft XML, v6.0")
2882 library MSXML2
2885 importlib("stdole2.tlb");
2887 interface IXMLDOMNotation;
2888 interface IXMLDOMEntity;
2889 interface IXMLDOMEntityReference;
2890 interface IXMLDOMParseError2;
2891 interface IXMLDOMParseErrorCollection;
2892 interface IXMLDOMSelection;
2893 interface IXTLRuntime;
2894 dispinterface XMLDOMDocumentEvents;
2895 interface ISAXXMLFilter;
2896 interface IVBSAXXMLFilter;
2897 interface IMXReaderControl;
2898 interface IMXSchemaDeclHandler;
2899 interface IMXXMLFilter;
2900 interface ISchemaElement;
2901 interface ISchemaParticle;
2902 interface ISchemaType;
2903 interface ISchemaComplexType;
2904 interface ISchemaAny;
2905 interface ISchemaModelGroup;
2906 interface ISchemaAttribute;
2907 interface ISchemaAttributeGroup;
2908 interface ISchemaIdentityConstraint;
2909 interface ISchemaNotation;
2911 [hidden] typedef struct __msxml6_ReferenceRemainingTypes__
2913 enum tagDOMNodeType __tagDomNodeType__;
2914 DOMNodeType __domNodeType__;
2915 enum _SERVERXMLHTTP_OPTION __serverXmlHttpOptionEnum__;
2916 SERVERXMLHTTP_OPTION __serverXmlHttpOption__;
2917 enum _SXH_SERVER_CERT_OPTION __serverCertOptionEnum__;
2918 SXH_SERVER_CERT_OPTION __serverCertOption__;
2919 enum _SXH_PROXY_SETTING __proxySettingEnum__;
2920 SXH_PROXY_SETTING __proxySetting__;
2921 enum _SOMITEMTYPE __somItemTypeEnum__;
2922 SOMITEMTYPE __somItemType__;
2923 enum _SCHEMAUSE __schemaUseEnum__;
2924 SCHEMAUSE __schemaUse__;
2925 enum _SCHEMADERIVATIONMETHOD __schemaDerivationMethodEnum__;
2926 SCHEMADERIVATIONMETHOD __schemaDerivationMethod__;
2927 enum _SCHEMACONTENTTYPE __schemaContentTypeEnum__;
2928 SCHEMACONTENTTYPE __schemaContentType__;
2929 enum _SCHEMAPROCESSCONTENTS __schemaProcessContentsEnum__;
2930 SCHEMAPROCESSCONTENTS __schemaProcessContents__;
2931 enum _SCHEMAWHITESPACE __schemaWhitespaceEnum__;
2932 SCHEMAWHITESPACE __schemaWhitespace__;
2933 enum _SCHEMATYPEVARIETY __schemaTypeVarietyEnum__;
2934 SCHEMATYPEVARIETY __schemaTypeVariety__;
2935 } __msxml6_ReferenceRemainingTypes__;
2938 helpstring("XML DOM Document 6.0"),
2939 progid("Msxml2.DOMDocument.6.0"),
2940 threading(both),
2941 uuid(88d96a05-f192-11d4-a65f-0040963251e5)
2943 coclass DOMDocument60
2945 [default] interface IXMLDOMDocument3;
2946 [default, source] dispinterface XMLDOMDocumentEvents;
2950 helpstring("Free threaded XML DOM Document 6.0"),
2951 progid("Msxml2.FreeThreadedDOMDocument.6.0"),
2952 threading(both),
2953 uuid(88d96a06-f192-11d4-a65f-0040963251e5),
2955 coclass FreeThreadedDOMDocument60
2957 [default] interface IXMLDOMDocument3;
2958 [default, source] dispinterface XMLDOMDocumentEvents;
2962 helpstring("SAX XML Reader 6.0"),
2963 progid("Msxml2.SAXXMLReader.6.0"),
2964 threading(both),
2965 uuid(88d96a0c-f192-11d4-a65f-0040963251e5)
2967 coclass SAXXMLReader60
2969 [default] interface IVBSAXXMLReader;
2970 interface ISAXXMLReader;
2974 helpstring("XML Schema Cache 6.0"),
2975 progid("Msxml2.XMLSchemaCache.6.0"),
2976 threading(both),
2977 uuid(88d96a07-f192-11d4-a65f-0040963251e5)
2979 coclass XMLSchemaCache60
2981 [default] interface IXMLDOMSchemaCollection2;
2985 helpstring("MXHTMLWriter 6.0"),
2986 progid("Msxml2.MXHTMLWriter.6.0"),
2987 threading(both),
2988 uuid(88d96a10-f192-11d4-a65f-0040963251e5)
2990 coclass MXHTMLWriter60
2992 [default] interface IMXWriter;
2994 interface ISAXContentHandler;
2995 interface ISAXDeclHandler;
2996 interface ISAXDTDHandler;
2997 interface ISAXErrorHandler;
2998 interface ISAXLexicalHandler;
3000 interface IVBSAXContentHandler;
3001 interface IVBSAXDeclHandler;
3002 interface IVBSAXDTDHandler;
3003 interface IVBSAXErrorHandler;
3004 interface IVBSAXLexicalHandler;
3008 helpstring("MXXMLWriter 6.0"),
3009 progid("Msxml2.MXXMLWriter.6.0"),
3010 threading(both),
3011 uuid(88d96a0f-f192-11d4-a65f-0040963251e5)
3013 coclass MXXMLWriter60
3015 [default] interface IMXWriter;
3017 interface ISAXContentHandler;
3018 interface ISAXDeclHandler;
3019 interface ISAXDTDHandler;
3020 interface ISAXErrorHandler;
3021 interface ISAXLexicalHandler;
3023 interface IVBSAXContentHandler;
3024 interface IVBSAXDeclHandler;
3025 interface IVBSAXDTDHandler;
3026 interface IVBSAXErrorHandler;
3027 interface IVBSAXLexicalHandler;
3031 helpstring("MXNamespaceManager 6.0"),
3032 progid("Msxml2.MXNamespaceManager.6.0"),
3033 threading(both),
3034 uuid(88d96a11-f192-11d4-a65f-0040963251e5)
3036 coclass MXNamespaceManager60
3038 [default] interface IVBMXNamespaceManager;
3039 interface IMXNamespaceManager;
3043 helpstring("SAXAttributes 6.0"),
3044 progid("Msxml2.SAXAttributes.6.0"),
3045 threading(both),
3046 uuid(88d96a0e-f192-11d4-a65f-0040963251e5)
3048 coclass SAXAttributes60
3050 [default] interface IMXAttributes;
3051 interface IVBSAXAttributes;
3052 interface ISAXAttributes;
3056 helpstring("XSL Template 6.0"),
3057 progid("Msxml2.XSLTemplate.6.0"),
3058 threading(both),
3059 uuid(88d96a08-f192-11d4-a65f-0040963251e5)
3061 coclass XSLTemplate60
3063 [default] interface IXSLTemplate;
3067 helpstring("XML HTTP 6.0"),
3068 progid("Msxml2.XMLHTTP.6.0"),
3069 threading(apartment),
3070 uuid(88d96a0a-f192-11d4-a65f-0040963251e5)
3072 coclass XMLHTTP60
3074 [default] interface IXMLHTTPRequest;
3078 helpstring("Server XML HTTP 6.0"),
3079 progid("Msxml2.ServerXMLHTTP.6.0"),
3080 threading(apartment),
3081 uuid(88d96a0b-f192-11d4-a65f-0040963251e5)
3083 coclass ServerXMLHTTP60
3085 [default] interface IServerXMLHTTPRequest2;
3088 } /* Library MSXML */
3091 * Error Codes
3093 cpp_quote("#define E_XML_NOTWF 0xC00CE223")
3094 cpp_quote("#define E_XML_NODTD 0xC00CE224")
3095 cpp_quote("#define E_XML_INVALID 0xC00CE225")
3096 cpp_quote("#define E_XML_BUFFERTOOSMALL 0xC00CE226")