user32/tests: Account for some messages from dual-monitor setups.
[wine.git] / include / msxml6.idl
blobd4a5c490243baf7189155f57caec0275b509ab74
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_CRED_PROMPT
261 XHR_CRED_PROMPT_ALL,
262 XHR_CRED_PROMPT_NONE,
263 XHR_CRED_PROMPT_PROXY
264 } XHR_CRED_PROMPT;
266 typedef [v1_enum] enum _XHR_AUTH
268 XHR_AUTH_ALL,
269 XHR_AUTH_NONE,
270 XHR_AUTH_PROXY
271 } XHR_AUTH;
273 typedef [v1_enum] enum _XHR_PROPERTY
275 XHR_PROP_NO_CRED_PROMPT,
276 XHR_PROP_NO_AUTH,
277 XHR_PROP_TIMEOUT,
278 XHR_PROP_NO_DEFAULT_HEADERS,
279 XHR_PROP_REPORT_REDIRECT_STATUS,
280 XHR_PROP_NO_CACHE,
281 XHR_PROP_EXTENDED_ERROR,
282 XHR_PROP_QUERY_STRING_UTF8,
283 XHR_PROP_IGNORE_CERT_ERRORS,
284 XHR_PROP_ONDATA_THRESHOLD,
285 XHR_PROP_SET_ENTERPRISEID,
286 XHR_PROP_MAX_CONNECTIONS
287 } XHR_PROPERTY;
289 typedef struct tagXHR_COOKIE
291 [ref, string] WCHAR *pwszUrl;
292 [ref, string] WCHAR *pwszName;
293 [unique, string] WCHAR *pwszValue;
294 [unique, string] WCHAR *pwszP3PPolicy;
295 FILETIME ftExpires;
296 DWORD dwFlags;
297 } XHR_COOKIE;
299 typedef struct tagXHR_CERT
301 DWORD cbCert;
302 [ref, size_is(cbCert)] BYTE *pbCert;
303 } XHR_CERT;
306 local,
307 object,
308 dual,
309 oleautomation,
310 uuid (2933BF80-7B36-11d2-B20E-00C04F983E60)
312 interface IXMLDOMNode : IDispatch
314 [propget, id(DISPID_DOM_NODE_NODENAME)]
315 HRESULT nodeName([retval, out] BSTR *p);
317 [propget, id(DISPID_DOM_NODE_NODEVALUE)]
318 HRESULT nodeValue([retval, out] VARIANT *var1);
320 [propput, id(DISPID_DOM_NODE_NODEVALUE)]
321 HRESULT nodeValue([in] VARIANT var1);
323 [propget, id(DISPID_DOM_NODE_NODETYPE)]
324 HRESULT nodeType([retval, out] DOMNodeType *domNodeType);
326 [propget, id(DISPID_DOM_NODE_PARENTNODE)]
327 HRESULT parentNode([retval, out] IXMLDOMNode **parent);
329 [propget, id(DISPID_DOM_NODE_CHILDNODES)]
330 HRESULT childNodes([retval, out] IXMLDOMNodeList **outList);
332 [propget, id(DISPID_DOM_NODE_FIRSTCHILD)]
333 HRESULT firstChild([retval, out] IXMLDOMNode **domNode);
335 [propget, id(DISPID_DOM_NODE_LASTCHILD)]
336 HRESULT lastChild([retval, out] IXMLDOMNode **domNode);
338 [propget, id(DISPID_DOM_NODE_PREVIOUSSIBLING)]
339 HRESULT previousSibling([retval, out] IXMLDOMNode **domNode);
341 [propget, id(DISPID_DOM_NODE_NEXTSIBLING)]
342 HRESULT nextSibling([retval, out] IXMLDOMNode **domNode);
344 [propget, id(DISPID_DOM_NODE_ATTRIBUTES)]
345 HRESULT attributes([retval, out] IXMLDOMNamedNodeMap **attributeMap);
347 [id(DISPID_DOM_NODE_INSERTBEFORE)]
348 HRESULT insertBefore(
349 [in] IXMLDOMNode *newNode,
350 [in] VARIANT var1,
351 [retval, out] IXMLDOMNode **outOldNode);
353 [id(DISPID_DOM_NODE_REPLACECHILD)]
354 HRESULT replaceChild(
355 [in] IXMLDOMNode *newNode,
356 [in] IXMLDOMNode *oldNode,
357 [retval, out] IXMLDOMNode **outOldNode);
359 [id(DISPID_DOM_NODE_REMOVECHILD)]
360 HRESULT removeChild(
361 [in] IXMLDOMNode *domNode,
362 [retval, out] IXMLDOMNode **oldNode);
364 [id(DISPID_DOM_NODE_APPENDCHILD)]
365 HRESULT appendChild(
366 [in] IXMLDOMNode *newNode,
367 [retval, out] IXMLDOMNode **outNewNode);
369 [id(DISPID_DOM_NODE_HASCHILDNODES)]
370 HRESULT hasChildNodes(
371 [retval, out] VARIANT_BOOL *pbool);
373 [propget, id(DISPID_DOM_NODE_OWNERDOC)]
374 HRESULT ownerDocument([retval, out] IXMLDOMDocument **domDocument);
376 [id(DISPID_DOM_NODE_CLONENODE)]
377 HRESULT cloneNode(
378 [in] VARIANT_BOOL pbool,
379 [retval, out] IXMLDOMNode **outNode);
381 [propget, id(DISPID_XMLDOM_NODE_STRINGTYPE)]
382 HRESULT nodeTypeString([retval, out] BSTR *p);
384 [propget, id(DISPID_XMLDOM_NODE_TEXT)]
385 HRESULT text([retval, out] BSTR *p);
387 [propput, id(DISPID_XMLDOM_NODE_TEXT)]
388 HRESULT text([in] BSTR p);
390 [propget, id(DISPID_XMLDOM_NODE_SPECIFIED)]
391 HRESULT specified([retval, out] VARIANT_BOOL *pbool);
393 [propget, id(DISPID_XMLDOM_NODE_DEFINITION)]
394 HRESULT definition([retval,out] IXMLDOMNode **domNode);
396 [propget, id(DISPID_XMLDOM_NODE_NODETYPEDVALUE)]
397 HRESULT nodeTypedValue([retval, out] VARIANT *var1);
399 [propput, id(DISPID_XMLDOM_NODE_NODETYPEDVALUE)]
400 HRESULT nodeTypedValue([in] VARIANT var1);
402 [propget, id(DISPID_XMLDOM_NODE_DATATYPE)]
403 HRESULT dataType([retval, out] VARIANT *var1);
405 [propput, id(DISPID_XMLDOM_NODE_DATATYPE)]
406 HRESULT dataType([in] BSTR p);
408 [propget, id(DISPID_XMLDOM_NODE_XML)]
409 HRESULT xml([retval, out] BSTR *p);
411 [id(DISPID_XMLDOM_NODE_TRANSFORMNODE)]
412 HRESULT transformNode(
413 [in] IXMLDOMNode *domNode,
414 [retval, out] BSTR *p);
416 [id(DISPID_XMLDOM_NODE_SELECTNODES)]
417 HRESULT selectNodes(
418 [in] BSTR p,
419 [retval, out] IXMLDOMNodeList **outList);
421 [id(DISPID_XMLDOM_NODE_SELECTSINGLENODE)]
422 HRESULT selectSingleNode(
423 [in] BSTR p,
424 [retval, out] IXMLDOMNode **outNode);
426 [propget,id(DISPID_XMLDOM_NODE_PARSED)]
427 HRESULT parsed([retval, out] VARIANT_BOOL *pbool);
429 [propget, id(DISPID_XMLDOM_NODE_NAMESPACE)]
430 HRESULT namespaceURI([retval, out] BSTR *p);
432 [propget, id(DISPID_XMLDOM_NODE_PREFIX)]
433 HRESULT prefix([retval, out] BSTR *p);
435 [propget, id(DISPID_XMLDOM_NODE_BASENAME)]
436 HRESULT baseName([retval, out] BSTR *p);
438 [id(DISPID_XMLDOM_NODE_TRANSFORMNODETOOBJECT)]
439 HRESULT transformNodeToObject(
440 [in] IXMLDOMNode *domNode,
441 [in] VARIANT var1);
445 local,
446 object,
447 dual,
448 oleautomation,
449 uuid (2933BF81-7B36-11d2-B20E-00C04F983E60)
451 interface IXMLDOMDocument : IXMLDOMNode
453 [propget, id(DISPID_DOM_DOCUMENT_DOCTYPE)]
454 HRESULT doctype([retval, out] IXMLDOMDocumentType **docType);
456 [propget, id(DISPID_DOM_DOCUMENT_IMPLEMENTATION)]
457 HRESULT implementation([retval, out] IXMLDOMImplementation **impl);
459 [propget, id(DISPID_DOM_DOCUMENT_DOCUMENTELEMENT)]
460 HRESULT documentElement([retval, out] IXMLDOMElement **domElement);
462 [propputref, id(DISPID_DOM_DOCUMENT_DOCUMENTELEMENT)]
463 HRESULT documentElement([in] IXMLDOMElement *domElement);
465 [id(DISPID_DOM_DOCUMENT_CREATEELEMENT)]
466 HRESULT createElement(
467 [in] BSTR p,
468 [retval, out] IXMLDOMElement **domElement);
470 [id(DISPID_DOM_DOCUMENT_CREATEDOCUMENTFRAGMENT)]
471 HRESULT createDocumentFragment(
472 [retval, out] IXMLDOMDocumentFragment **docFrag);
474 [id(DISPID_DOM_DOCUMENT_CREATETEXTNODE)]
475 HRESULT createTextNode(
476 [in] BSTR p,
477 [retval, out] IXMLDOMText **text);
479 [id(DISPID_DOM_DOCUMENT_CREATECOMMENT)]
480 HRESULT createComment(
481 [in] BSTR p,
482 [retval, out] IXMLDOMComment **comment);
484 [id(DISPID_DOM_DOCUMENT_CREATECDATASECTION)]
485 HRESULT createCDATASection(
486 [in] BSTR p,
487 [retval, out] IXMLDOMCDATASection **cdata);
489 [id(DISPID_DOM_DOCUMENT_CREATEPROCESSINGINSTRUCTION)]
490 HRESULT createProcessingInstruction(
491 [in] BSTR target,
492 [in] BSTR data,
493 [retval, out] IXMLDOMProcessingInstruction **pi);
495 [id(DISPID_DOM_DOCUMENT_CREATEATTRIBUTE)]
496 HRESULT createAttribute(
497 [in] BSTR p,
498 [retval, out] IXMLDOMAttribute **attribute);
500 [id(DISPID_DOM_DOCUMENT_CREATEENTITYREFERENCE)]
501 HRESULT createEntityReference(
502 [in] BSTR p,
503 [retval, out] IXMLDOMEntityReference **entityRef);
505 [id(DISPID_DOM_DOCUMENT_GETELEMENTSBYTAGNAME)]
506 HRESULT getElementsByTagName(
507 [in] BSTR p,
508 [retval, out] IXMLDOMNodeList **resultList);
510 [id(DISPID_XMLDOM_DOCUMENT_CREATENODE)]
511 HRESULT createNode(
512 [in] VARIANT var,
513 [in] BSTR name,
514 [in] BSTR uri,
515 [retval, out] IXMLDOMNode **node);
517 [id(DISPID_XMLDOM_DOCUMENT_NODEFROMID)]
518 HRESULT nodeFromID(
519 [in] BSTR id,
520 [retval, out] IXMLDOMNode **node);
522 [id(DISPID_XMLDOM_DOCUMENT_LOAD)]
523 HRESULT load(
524 [in] VARIANT var1,
525 [retval, out] VARIANT_BOOL *pbool);
527 [propget, id(DISPID_READYSTATE)]
528 HRESULT readyState([retval, out] LONG *value);
530 [propget, id(DISPID_XMLDOM_DOCUMENT_PARSEERROR)]
531 HRESULT parseError([retval, out] IXMLDOMParseError **err);
533 [propget, id(DISPID_XMLDOM_DOCUMENT_URL)]
534 HRESULT url([retval, out] BSTR *p);
536 [propget, id(DISPID_XMLDOM_DOCUMENT_ASYNC)]
537 HRESULT async([retval, out] VARIANT_BOOL *pbool);
539 [propput, id(DISPID_XMLDOM_DOCUMENT_ASYNC)]
540 HRESULT async([in] VARIANT_BOOL pbool);
542 [id(DISPID_XMLDOM_DOCUMENT_ABORT)]
543 HRESULT abort();
545 [id(DISPID_XMLDOM_DOCUMENT_LOADXML)]
546 HRESULT loadXML(
547 [in] BSTR p,
548 [out, retval] VARIANT_BOOL *pbool);
550 [id(DISPID_XMLDOM_DOCUMENT_SAVE)]
551 HRESULT save(
552 [in] VARIANT var1);
554 [propget, id(DISPID_XMLDOM_DOCUMENT_VALIDATE)]
555 HRESULT validateOnParse([retval, out] VARIANT_BOOL *pbool);
557 [propput, id(DISPID_XMLDOM_DOCUMENT_VALIDATE)]
558 HRESULT validateOnParse([in] VARIANT_BOOL pbool);
560 [propget, id(DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE)]
561 HRESULT resolveExternals([retval,out] VARIANT_BOOL *pbool);
563 [propput, id(DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE)]
564 HRESULT resolveExternals([in] VARIANT_BOOL pbool);
566 [propget, id(DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE)]
567 HRESULT preserveWhiteSpace([retval,out] VARIANT_BOOL *pbool);
569 [propput, id(DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE)]
570 HRESULT preserveWhiteSpace([in] VARIANT_BOOL pbool);
572 [propput, id(DISPID_XMLDOM_DOCUMENT_ONREADYSTATECHANGE)]
573 HRESULT onreadystatechange([in] VARIANT var1);
575 [propput, id(DISPID_XMLDOM_DOCUMENT_ONDATAAVAILABLE)]
576 HRESULT ondataavailable([in] VARIANT var1);
578 [propput, id(DISPID_XMLDOM_DOCUMENT_ONTRANSFORMNODE)]
579 HRESULT ontransformnode([in] VARIANT var1);
583 local,
584 object,
585 dual,
586 oleautomation,
587 uuid (373984c8-b845-449b-91e7-45ac83036ade)
589 interface IXMLDOMSchemaCollection : IDispatch
591 [id(DISPID_XMLDOM_SCHEMACOLLECTION_ADD)]
592 HRESULT add(
593 [in] BSTR uri,
594 [in] VARIANT var);
596 [id(DISPID_XMLDOM_SCHEMACOLLECTION_GET)]
597 HRESULT get(
598 [in] BSTR uri,
599 [retval, out] IXMLDOMNode **node);
601 [id(DISPID_XMLDOM_SCHEMACOLLECTION_REMOVE)]
602 HRESULT remove(
603 [in] BSTR uri);
605 [propget, id(DISPID_XMLDOM_SCHEMACOLLECTION_LENGTH)]
606 HRESULT length(
607 [retval, out] LONG *length);
609 [propget, id(DISPID_VALUE)]
610 HRESULT namespaceURI([in] LONG index, [out, retval] BSTR *len);
612 [id(DISPID_XMLDOM_SCHEMACOLLECTION_ADDCOLLECTION)]
613 HRESULT addCollection(
614 [in] IXMLDOMSchemaCollection *otherCollection);
616 [propget, id(DISPID_NEWENUM)]
617 HRESULT _newEnum([retval, out] IUnknown **ppUnk);
621 local,
622 object,
623 dual,
624 oleautomation,
625 uuid(50ea08b0-dd1b-4664-9a50-c2f40f4bd79a),
627 interface IXMLDOMSchemaCollection2 : IXMLDOMSchemaCollection
629 [id(DISPID_SOM_VALIDATE)]
630 HRESULT validate();
632 [propput, id(DISPID_SOM_VALIDATEONLOAD)]
633 HRESULT validateOnLoad(
634 [in] VARIANT_BOOL validateOnLoad);
636 [propget, id(DISPID_SOM_VALIDATEONLOAD)]
637 HRESULT validateOnLoad(
638 [out,retval] VARIANT_BOOL* validateOnLoad);
640 [id(DISPID_SOM_GETSCHEMA)]
641 HRESULT getSchema(
642 [in] BSTR namespaceURI,
643 [out,retval] ISchema** schema);
645 [id(DISPID_SOM_GETDECLARATION)]
646 HRESULT getDeclaration(
647 [in] IXMLDOMNode* node,
648 [out,retval]ISchemaItem** item);
652 local,
653 object,
654 dual,
655 oleautomation,
656 uuid (2933BF95-7B36-11d2-B20E-00C04F983E60)
658 interface IXMLDOMDocument2 : IXMLDOMDocument
660 [propget, id(DISPID_XMLDOM_DOCUMENT2_NAMESPACES)]
661 HRESULT namespaces([retval, out] IXMLDOMSchemaCollection **schemaCollection);
663 [propget, id(DISPID_XMLDOM_DOCUMENT2_SCHEMAS)]
664 HRESULT schemas([retval, out] VARIANT *var1);
666 [propputref, id(DISPID_XMLDOM_DOCUMENT2_SCHEMAS)]
667 HRESULT schemas([in] VARIANT var1);
669 [id(DISPID_XMLDOM_DOCUMENT2_VALIDATE)]
670 HRESULT validate(
671 [retval, out] IXMLDOMParseError **err);
673 [id(DISPID_XMLDOM_DOCUMENT2_SETPROPERTY)]
674 HRESULT setProperty(
675 [in] BSTR p,
676 [in] VARIANT var);
678 [id(DISPID_XMLDOM_DOCUMENT2_GETPROPERTY)]
679 HRESULT getProperty(
680 [in] BSTR p,
681 [retval, out] VARIANT *var);
685 local,
686 object,
687 dual,
688 uuid(2933bf96-7b36-11d2-b20e-00c04f983e60),
689 oleautomation,
691 interface IXMLDOMDocument3 : IXMLDOMDocument2
693 [id(DISPID_XMLDOM_DOCUMENT3_VALIDATENODE)]
694 HRESULT validateNode(
695 [in] IXMLDOMNode *node,
696 [out, retval] IXMLDOMParseError **error);
698 [id(DISPID_XMLDOM_DOCUMENT3_IMPORTNODE)]
699 HRESULT importNode(
700 [in] IXMLDOMNode *node,
701 [in] VARIANT_BOOL deep,
702 [out, retval] IXMLDOMNode **clone);
706 local,
707 object,
708 dual,
709 oleautomation,
710 uuid (2933BF82-7B36-11d2-B20E-00C04F983E60)
712 interface IXMLDOMNodeList : IDispatch
714 [propget, id(DISPID_VALUE)]
715 HRESULT item([in] LONG lIndex, [retval, out] IXMLDOMNode **outNode);
717 [propget, id(DISPID_DOM_NODELIST_LENGTH)]
718 HRESULT length([retval, out] LONG *lLength);
720 [id(DISPID_XMLDOM_NODELIST_NEXTNODE)]
721 HRESULT nextNode(
722 [retval, out] IXMLDOMNode **outNode);
724 [id(DISPID_XMLDOM_NODELIST_RESET)]
725 HRESULT reset();
727 [propget, id(DISPID_NEWENUM)]
728 HRESULT _newEnum([retval, out] IUnknown **ppUnk);
732 local,
733 object,
734 dual,
735 oleautomation,
736 uuid (AA634FC7-5888-44a7-A257-3A47150D3A0E)
738 interface IXMLDOMSelection : IXMLDOMNodeList
740 [propget, id(DISPID_XMLDOM_SELECTION_EXPR)]
741 HRESULT expr([retval, out] BSTR *p);
743 [propput, id(DISPID_XMLDOM_SELECTION_EXPR)]
744 HRESULT expr([in] BSTR p);
746 [propget, id(DISPID_XMLDOM_SELECTION_CONTEXT)]
747 HRESULT context([retval, out] IXMLDOMNode **ppNode);
749 [propputref, id(DISPID_XMLDOM_SELECTION_CONTEXT)]
750 HRESULT context([in] IXMLDOMNode * pNode);
752 [id(DISPID_XMLDOM_SELECTION_PEEKNODE)]
753 HRESULT peekNode(
754 [retval, out] IXMLDOMNode **ppNode);
756 [id(DISPID_XMLDOM_SELECTION_MATCHES)]
757 HRESULT matches(
758 [in] IXMLDOMNode *pNode,
759 [retval, out] IXMLDOMNode **ppNode);
761 [id(DISPID_XMLDOM_SELECTION_REMOVENEXT)]
762 HRESULT removeNext(
763 [retval, out] IXMLDOMNode **ppNode);
765 [id(DISPID_XMLDOM_SELECTION_REMOVEALL)]
766 HRESULT removeAll();
768 [id(DISPID_XMLDOM_SELECTION_CLONE)]
769 HRESULT clone(
770 [retval, out] IXMLDOMSelection **ppNode);
772 [id(DISPID_XMLDOM_SELECTION_GETPROPERTY)]
773 HRESULT getProperty(
774 [in] BSTR p,
775 [retval, out] VARIANT * var);
777 [id(DISPID_XMLDOM_SELECTION_SETPROPERTY)]
778 HRESULT setProperty(
779 [in] BSTR p,
780 [in] VARIANT var);
784 local,
785 object,
786 dual,
787 oleautomation,
788 uuid (2933BF83-7B36-11d2-B20E-00C04F983E60)
790 interface IXMLDOMNamedNodeMap : IDispatch
792 [id(DISPID_DOM_NAMEDNODEMAP_GETNAMEDITEM)]
793 HRESULT getNamedItem(
794 [in] BSTR p,
795 [retval, out] IXMLDOMNode **outNode);
797 [id(DISPID_DOM_NAMEDNODEMAP_SETNAMEDITEM)]
798 HRESULT setNamedItem(
799 [in] IXMLDOMNode *newNode,
800 [retval, out] IXMLDOMNode **outNode);
802 [id(DISPID_DOM_NAMEDNODEMAP_REMOVENAMEDITEM)]
803 HRESULT removeNamedItem(
804 [in] BSTR p,
805 [retval, out] IXMLDOMNode **outNode);
807 [propget, id(DISPID_VALUE)]
808 HRESULT item([in] LONG lIndex, [retval, out] IXMLDOMNode **outNode);
810 [propget, id(DISPID_DOM_NODELIST_LENGTH)]
811 HRESULT length([retval, out] LONG *lLength);
813 [id(DISPID_XMLDOM_NAMEDNODEMAP_GETQUALIFIEDITEM)]
814 HRESULT getQualifiedItem(
815 [in] BSTR name,
816 [in] BSTR uri,
817 [retval, out] IXMLDOMNode **outNode);
819 [id(DISPID_XMLDOM_NAMEDNODEMAP_REMOVEQUALIFIEDITEM)]
820 HRESULT removeQualifiedItem(
821 [in] BSTR name,
822 [in] BSTR uri,
823 [retval, out] IXMLDOMNode **outNode);
825 [id(DISPID_XMLDOM_NAMEDNODEMAP_NEXTNODE)]
826 HRESULT nextNode(
827 [retval, out] IXMLDOMNode **outNode);
829 [id(DISPID_XMLDOM_NAMEDNODEMAP_RESET)]
830 HRESULT reset();
832 [propget, id(DISPID_NEWENUM)]
833 HRESULT _newEnum([retval, out] IUnknown **ppUnk);
837 local,
838 object,
839 dual,
840 oleautomation,
841 uuid (3efaa413-272f-11d2-836f-0000f87a7782)
843 interface IXMLDOMDocumentFragment : IXMLDOMNode
848 local,
849 object,
850 dual,
851 oleautomation,
852 uuid (2933BF84-7B36-11d2-B20E-00C04F983E60)
854 interface IXMLDOMCharacterData : IXMLDOMNode
856 [propget, id(DISPID_DOM_DATA_DATA)]
857 HRESULT data([retval, out] BSTR *p);
859 [propput, id(DISPID_DOM_DATA_DATA)]
860 HRESULT data([in] BSTR data);
862 [propget, id(DISPID_DOM_DATA_LENGTH)]
863 HRESULT length([retval, out] LONG *len);
865 [id(DISPID_DOM_DATA_SUBSTRING)]
866 HRESULT substringData(
867 [in] LONG offset,
868 [in] LONG count,
869 [retval, out] BSTR *p);
871 [id(DISPID_DOM_DATA_APPEND)]
872 HRESULT appendData(
873 [in] BSTR p);
875 [id(DISPID_DOM_DATA_INSERT)]
876 HRESULT insertData(
877 [in] LONG offset,
878 [in] BSTR p);
880 [id(DISPID_DOM_DATA_DELETE)]
881 HRESULT deleteData(
882 [in] LONG offset,
883 [in] LONG count);
885 [id(DISPID_DOM_DATA_REPLACE)]
886 HRESULT replaceData(
887 [in] LONG offset,
888 [in] LONG count,
889 [in] BSTR p);
893 local,
894 object,
895 dual,
896 oleautomation,
897 uuid (2933BF85-7B36-11d2-B20E-00C04F983E60)
899 interface IXMLDOMAttribute : IXMLDOMNode
901 [propget, id(DISPID_DOM_ATTRIBUTE_GETNAME)]
902 HRESULT name([retval, out] BSTR *p);
904 [propget, id(DISPID_DOM_ATTRIBUTE_VALUE)]
905 HRESULT value([retval, out] VARIANT *var1);
907 [propput, id(DISPID_DOM_ATTRIBUTE_VALUE)]
908 HRESULT value([in] VARIANT var1);
912 local,
913 object,
914 dual,
915 oleautomation,
916 uuid (2933BF86-7B36-11d2-B20E-00C04F983E60)
918 interface IXMLDOMElement : IXMLDOMNode
920 [propget, id(DISPID_DOM_ELEMENT_GETTAGNAME)]
921 HRESULT tagName([retval, out] BSTR *p);
923 [id(DISPID_DOM_ELEMENT_GETATTRIBUTE)]
924 HRESULT getAttribute(
925 [in] BSTR p,
926 [retval, out] VARIANT *var);
928 [id(DISPID_DOM_ELEMENT_SETATTRIBUTE)]
929 HRESULT setAttribute(
930 [in] BSTR p,
931 [in] VARIANT var);
933 [id(DISPID_DOM_ELEMENT_REMOVEATTRIBUTE)]
934 HRESULT removeAttribute(
935 [in] BSTR p);
937 [id(DISPID_DOM_ELEMENT_GETATTRIBUTENODE)]
938 HRESULT getAttributeNode(
939 [in] BSTR p,
940 [retval, out] IXMLDOMAttribute **attributeNode);
942 [id(DISPID_DOM_ELEMENT_SETATTRIBUTENODE)]
943 HRESULT setAttributeNode(
944 [in] IXMLDOMAttribute *domAttribute,
945 [retval, out] IXMLDOMAttribute **attributeNode);
947 [id(DISPID_DOM_ELEMENT_REMOVEATTRIBUTENODE)]
948 HRESULT removeAttributeNode(
949 [in] IXMLDOMAttribute *domAttribute,
950 [retval, out] IXMLDOMAttribute **attributeNode);
952 [id(DISPID_DOM_ELEMENT_GETELEMENTSBYTAGNAME)]
953 HRESULT getElementsByTagName(
954 [in] BSTR p,
955 [retval, out] IXMLDOMNodeList **resultList);
957 [id(DISPID_DOM_ELEMENT_NORMALIZE)]
958 HRESULT normalize();
962 local,
963 object,
964 dual,
965 oleautomation,
966 uuid (2933BF87-7B36-11d2-B20E-00C04F983E60)
968 interface IXMLDOMText : IXMLDOMCharacterData
970 [id(DISPID_DOM_TEXT_SPLITTEXT)]
971 HRESULT splitText(
972 [in] LONG offset,
973 [retval, out] IXMLDOMText **txtNode);
977 local,
978 object,
979 dual,
980 oleautomation,
981 uuid (2933BF88-7B36-11d2-B20E-00C04F983E60)
983 interface IXMLDOMComment : IXMLDOMCharacterData
988 local,
989 object,
990 dual,
991 oleautomation,
992 uuid (2933BF89-7B36-11d2-B20E-00C04F983E60)
994 interface IXMLDOMProcessingInstruction : IXMLDOMNode
996 [propget, id(DISPID_DOM_PI_TARGET)]
997 HRESULT target([retval, out] BSTR *p);
999 [propget, id(DISPID_DOM_PI_DATA)]
1000 HRESULT data([retval, out] BSTR *p);
1002 [propput, id(DISPID_DOM_PI_DATA)]
1003 HRESULT data([in] BSTR p);
1007 local,
1008 object,
1009 dual,
1010 oleautomation,
1011 uuid (2933BF8A-7B36-11d2-B20E-00C04F983E60)
1013 interface IXMLDOMCDATASection : IXMLDOMText
1018 local,
1019 object,
1020 dual,
1021 oleautomation,
1022 uuid (2933BF8B-7B36-11d2-B20E-00C04F983E60)
1024 interface IXMLDOMDocumentType : IXMLDOMNode
1026 [propget, id(DISPID_DOM_DOCUMENTTYPE_NAME)]
1027 HRESULT name([retval, out] BSTR *p);
1029 [propget, id(DISPID_DOM_DOCUMENTTYPE_ENTITIES)]
1030 HRESULT entities([retval, out] IXMLDOMNamedNodeMap **entityMap);
1032 [propget, id(DISPID_DOM_DOCUMENTTYPE_NOTATIONS)]
1033 HRESULT notations([retval, out] IXMLDOMNamedNodeMap **notationMap);
1037 local,
1038 object,
1039 dual,
1040 oleautomation,
1041 uuid (2933BF8C-7B36-11d2-B20E-00C04F983E60)
1043 interface IXMLDOMNotation : IXMLDOMNode
1045 [propget, id(DISPID_DOM_NOTATION_PUBLICID)]
1046 HRESULT publicId([retval, out] VARIANT *id);
1048 [propget, id(DISPID_DOM_NOTATION_SYSTEMID)]
1049 HRESULT systemId([retval, out] VARIANT *id);
1053 local,
1054 object,
1055 dual,
1056 oleautomation,
1057 uuid (2933BF8D-7B36-11d2-B20E-00C04F983E60)
1059 interface IXMLDOMEntity : IXMLDOMNode
1061 [propget, id(DISPID_DOM_ENTITY_PUBLICID)]
1062 HRESULT publicId([retval, out] VARIANT *id1);
1064 [propget, id(DISPID_DOM_ENTITY_SYSTEMID)]
1065 HRESULT systemId([retval, out] VARIANT *id1);
1067 [propget, id(DISPID_DOM_ENTITY_NOTATIONNAME)]
1068 HRESULT notationName([retval, out] BSTR *p);
1072 local,
1073 object,
1074 dual,
1075 oleautomation,
1076 uuid (2933BF8E-7B36-11d2-B20E-00C04F983E60)
1078 interface IXMLDOMEntityReference : IXMLDOMNode
1083 local,
1084 object,
1085 dual,
1086 oleautomation,
1087 uuid (2933BF8F-7B36-11d2-B20E-00C04F983E60)
1089 interface IXMLDOMImplementation : IDispatch
1091 [id(DISPID_DOM_IMPLEMENTATION_HASFEATURE)]
1092 HRESULT hasFeature(
1093 [in] BSTR feature,
1094 [in] BSTR version,
1095 [retval, out] VARIANT_BOOL *pbool);
1099 local,
1100 object,
1101 dual,
1102 oleautomation,
1103 uuid (3efaa425-272f-11d2-836f-0000f87a7782)
1105 interface IXTLRuntime : IXMLDOMNode
1107 [id(DISPID_XTLRUNTIME_UNIQUEID)]
1108 HRESULT uniqueID(
1109 [in]IXMLDOMNode *pNode,
1110 [retval, out]LONG *pID);
1112 [id(DISPID_XTLRUNTIME_DEPTH)]
1113 HRESULT depth(
1114 [in] IXMLDOMNode *pNode,
1115 [retval, out]LONG * pDepth);
1117 [id(DISPID_XTLRUNTIME_CHILDNUMBER)]
1118 HRESULT childNumber(
1119 [in]IXMLDOMNode *pNode,
1120 [retval, out] LONG *pNumber);
1122 [id(DISPID_XTLRUNTIME_ANCESTORCHILDNUMBER)]
1123 HRESULT ancestorChildNumber(
1124 [in]BSTR bstr,
1125 [in]IXMLDOMNode *pNode,
1126 [retval, out]LONG *pNumber);
1128 [id(DISPID_XTLRUNTIME_ABSOLUTECHILDNUMBER)]
1129 HRESULT absoluteChildNumber(
1130 [in]IXMLDOMNode *pNode,
1131 [retval, out]LONG *pNumber);
1133 [id(DISPID_XTLRUNTIME_FORMATINDEX)]
1134 HRESULT formatIndex(
1135 [in] LONG lIndex,
1136 [in] BSTR bstr,
1137 [retval, out]BSTR *pbstr);
1139 [id(DISPID_XTLRUNTIME_FORMATNUMBER)]
1140 HRESULT formatNumber(
1141 [in] double dblNumber,
1142 [in] BSTR bstr,
1143 [retval, out]BSTR *pbstr);
1145 [id(DISPID_XTLRUNTIME_FORMATDATE)]
1146 HRESULT formatDate(
1147 [in] VARIANT var1,
1148 [in] BSTR bstr,
1149 [optional, in] VARIANT var2,
1150 [retval, out]BSTR *pbstr);
1152 [id(DISPID_XTLRUNTIME_FORMATTIME)]
1153 HRESULT formatTime(
1154 [in] VARIANT var1,
1155 [in] BSTR bstr,
1156 [optional, in] VARIANT var2,
1157 [retval, out]BSTR *pbstr);
1162 uuid(3efaa427-272f-11d2-836f-0000f87a7782)
1164 dispinterface XMLDOMDocumentEvents
1166 properties:
1167 methods:
1168 [id (DISPID_XMLDOMEVENT_ONDATAAVAILABLE)]
1169 HRESULT ondataavailable();
1171 [id (DISPID_XMLDOMEVENT_ONREADYSTATECHANGE)]
1172 HRESULT onreadystatechange();
1176 local,
1177 object,
1178 dual,
1179 oleautomation,
1180 uuid (2933BF92-7B36-11d2-B20E-00C04F983E60)
1182 interface IXSLProcessor : IDispatch
1184 [propput, id(DISPID_XMLDOM_PROCESSOR_INPUT)]
1185 HRESULT input([in] VARIANT var);
1187 [propget, id(DISPID_XMLDOM_PROCESSOR_INPUT)]
1188 HRESULT input([retval, out] VARIANT *var);
1190 [propget, id(DISPID_XMLDOM_PROCESSOR_XSLTEMPLATE)]
1191 HRESULT ownerTemplate([retval, out] IXSLTemplate **ppTemplate);
1193 [id(DISPID_XMLDOM_PROCESSOR_SETSTARTMODE)]
1194 HRESULT setStartMode(
1195 [in] BSTR p,
1196 [in, defaultvalue("")] BSTR uri);
1198 [propget, id(DISPID_XMLDOM_PROCESSOR_STARTMODE)]
1199 HRESULT startMode([retval, out] BSTR *p);
1201 [propget, id(DISPID_XMLDOM_PROCESSOR_STARTMODEURI)]
1202 HRESULT startModeURI([retval, out] BSTR *uri);
1204 [propput, id(DISPID_XMLDOM_PROCESSOR_OUTPUT)]
1205 HRESULT output([in] VARIANT var);
1207 [propget, id(DISPID_XMLDOM_PROCESSOR_OUTPUT)]
1208 HRESULT output([retval, out] VARIANT *var);
1210 [id(DISPID_XMLDOM_PROCESSOR_TRANSFORM)]
1211 HRESULT transform(
1212 [retval, out] VARIANT_BOOL *pbool);
1214 [id(DISPID_XMLDOM_PROCESSOR_RESET)]
1215 HRESULT reset();
1217 [propget, id(DISPID_XMLDOM_PROCESSOR_READYSTATE)]
1218 HRESULT readyState([retval, out] LONG *pstate);
1220 [id(DISPID_XMLDOM_PROCESSOR_ADDPARAMETER)]
1221 HRESULT addParameter(
1222 [in] BSTR p,
1223 [in] VARIANT var,
1224 [in, defaultvalue("")] BSTR uri);
1226 [id(DISPID_XMLDOM_PROCESSOR_ADDOBJECT)]
1227 HRESULT addObject(
1228 [in] IDispatch* obj,
1229 [in] BSTR uri);
1231 [propget, id(DISPID_XMLDOM_PROCESSOR_STYLESHEET)]
1232 HRESULT stylesheet([retval, out] IXMLDOMNode **node);
1236 local,
1237 object,
1238 dual,
1239 oleautomation,
1240 uuid (2933BF93-7B36-11d2-B20E-00C04F983E60)
1242 interface IXSLTemplate : IDispatch
1244 [propputref, id(DISPID_XMLDOM_TEMPLATE_STYLESHEET)]
1245 HRESULT stylesheet([in] IXMLDOMNode *node);
1247 [propget, id(DISPID_XMLDOM_TEMPLATE_STYLESHEET)]
1248 HRESULT stylesheet([retval, out] IXMLDOMNode **node);
1250 [id(DISPID_XMLDOM_TEMPLATE_CREATEPROCESSOR)]
1251 HRESULT createProcessor(
1252 [retval, out] IXSLProcessor **ppProcessor);
1256 object,
1257 uuid(ED8C108D-4349-11D2-91A4-00C04F7969E8),
1258 odl,
1259 dual,
1260 oleautomation,
1261 pointer_default(unique)
1263 interface IXMLHTTPRequest : IDispatch
1265 [id(1)]
1266 HRESULT open([in] BSTR bstrMethod, [in] BSTR bstrUrl, [in, optional] VARIANT varAsync,
1267 [in,optional] VARIANT username, [in,optional] VARIANT password);
1269 [id(2)]
1270 HRESULT setRequestHeader([in] BSTR bstrHeader, [in] BSTR bstrValue);
1272 [id(3)]
1273 HRESULT getResponseHeader([in] BSTR bstrHeader, [out, retval] BSTR * value);
1275 [id(4)]
1276 HRESULT getAllResponseHeaders([out, retval] BSTR * pbstrHeaders);
1278 [id(5)]
1279 HRESULT send([in, optional] VARIANT body);
1281 [id(6)]
1282 HRESULT abort();
1284 [propget, id(7)]
1285 HRESULT status([out, retval] LONG *pStatus);
1287 [propget, id(8)]
1288 HRESULT statusText([out, retval] BSTR *pStatus);
1290 [propget, id(9)]
1291 HRESULT responseXML([out, retval] IDispatch **pBody);
1293 [propget, id(10)]
1294 HRESULT responseText([out, retval] BSTR *pBody);
1296 [propget, id(11)]
1297 HRESULT responseBody([out, retval] VARIANT *pBody);
1299 [propget, id(12)]
1300 HRESULT responseStream([out, retval] VARIANT *pBody);
1302 [propget, id(13)]
1303 HRESULT readyState([out, retval] LONG *pState);
1305 [propput, id(14)]
1306 HRESULT onreadystatechange([in] IDispatch *pReadyStateSink);
1309 typedef enum _SXH_SERVER_CERT_OPTION
1311 SXH_SERVER_CERT_IGNORE_UNKNOWN_CA = 0x00000100,
1312 SXH_SERVER_CERT_IGNORE_WRONG_USAGE = 0x00000200,
1313 SXH_SERVER_CERT_IGNORE_CERT_CN_INVALID = 0x00001000,
1314 SXH_SERVER_CERT_IGNORE_CERT_DATE_INVALID = 0x00002000,
1315 SXH_SERVER_CERT_IGNORE_ALL_SERVER_ERRORS =
1316 (SXH_SERVER_CERT_IGNORE_UNKNOWN_CA | SXH_SERVER_CERT_IGNORE_WRONG_USAGE |
1317 SXH_SERVER_CERT_IGNORE_CERT_CN_INVALID | SXH_SERVER_CERT_IGNORE_CERT_DATE_INVALID),
1318 } SXH_SERVER_CERT_OPTION;
1321 object,
1322 dual,
1323 oleautomation,
1324 uuid(2e9196bf-13ba-4dd4-91ca-6c571f281495)
1326 interface IServerXMLHTTPRequest : IXMLHTTPRequest
1328 typedef enum _SERVERXMLHTTP_OPTION
1330 SXH_OPTION_URL = -1,
1331 SXH_OPTION_URL_CODEPAGE,
1332 SXH_OPTION_ESCAPE_PERCENT_IN_URL,
1333 SXH_OPTION_IGNORE_SERVER_SSL_CERT_ERROR_FLAGS,
1334 SXH_OPTION_SELECT_CLIENT_SSL_CERT
1335 } SERVERXMLHTTP_OPTION;
1337 [id(15)]
1338 HRESULT setTimeouts(
1339 [in] long resolveTimeout,
1340 [in] long connectTimeout,
1341 [in] long sendTimeout,
1342 [in] long receiveTimeout);
1344 [id(16)]
1345 HRESULT waitForResponse(
1346 [in, optional] VARIANT timeoutInSeconds,
1347 [out, retval] VARIANT_BOOL * isSuccessful);
1349 [id(17)]
1350 HRESULT getOption(
1351 [in] SERVERXMLHTTP_OPTION option,
1352 [out, retval] VARIANT * value);
1354 [id(18)]
1355 HRESULT setOption(
1356 [in] SERVERXMLHTTP_OPTION option,
1357 [in] VARIANT value);
1361 object,
1362 uuid(e5d37dc0-552a-4d52-9cc0-a14d546fbd04),
1364 interface IXMLHTTPRequest2 : IUnknown
1366 HRESULT Open([in, string, ref] const WCHAR *method, [in, string, ref] const WCHAR *url,
1367 [in] IXMLHTTPRequest2Callback *callback,
1368 [in, string, unique] const WCHAR *username, [in, string, unique] const WCHAR *password,
1369 [in, string, unique] const WCHAR *proxyuser, [in, string, unique] const WCHAR *proxypassword);
1371 HRESULT Send([in, unique] ISequentialStream *body, [in] ULONGLONG length);
1372 HRESULT Abort();
1373 HRESULT SetCookie([in, ref] const XHR_COOKIE *cookie, [out] DWORD *state);
1374 HRESULT SetCustomResponseStream([in] ISequentialStream *stream);
1375 HRESULT SetProperty([in] XHR_PROPERTY property, [in] ULONGLONG value);
1376 HRESULT SetRequestHeader([in, string, ref] const WCHAR *header, [in, string, unique] const WCHAR *value);
1377 HRESULT GetAllResponseHeaders([out, string] WCHAR **headers);
1378 HRESULT GetCookie( [in, ref, string] const WCHAR *url, [in, unique, string] const WCHAR *name,
1379 [in] DWORD flags, [out] ULONG *cookies_cnt, [out, size_is(,*cookies_cnt)] XHR_COOKIE **cookies);
1380 HRESULT GetResponseHeader([in, string, ref] const WCHAR *header, [out, string] WCHAR **value);
1384 object,
1385 uuid(a1c9feee-0617-4f23-9d58-8961ea43567c)
1387 interface IXMLHTTPRequest3 : IXMLHTTPRequest2
1389 HRESULT SetClientCertificate([in] DWORD count, [in, unique, size_is(count)] const BYTE *hashes,
1390 [in, string, unique] const WCHAR *pin);
1394 object,
1395 uuid(a44a9299-e321-40de-8866-341b41669162),
1396 pointer_default(ref)
1398 interface IXMLHTTPRequest2Callback : IUnknown
1400 HRESULT OnRedirect([in] IXMLHTTPRequest2 *xhr, [in, string] const WCHAR *url);
1401 HRESULT OnHeadersAvailable([in] IXMLHTTPRequest2 *xhr, [in] DWORD status, [in, string] const WCHAR *msg);
1402 HRESULT OnDataAvailable([in] IXMLHTTPRequest2 *xhr, [in] ISequentialStream *stream);
1403 HRESULT OnResponseReceived([in] IXMLHTTPRequest2 *xhr, [in] ISequentialStream *stream);
1404 HRESULT OnError([in] IXMLHTTPRequest2 *xhr, [in] HRESULT error);
1408 object,
1409 uuid(b9e57830-8c6c-4a6f-9c13-47772bb047bb)
1411 interface IXMLHTTPRequest3Callback : IXMLHTTPRequest2Callback
1413 HRESULT OnServerCertificateReceived([in] IXMLHTTPRequest3 *xhr, [in] DWORD errors,
1414 [in] DWORD count, [in, unique, size_is(count)] const XHR_CERT *certificates);
1416 HRESULT OnClientCertificateRequested([in] IXMLHTTPRequest3 *xhr,
1417 [in] DWORD count, [in, string, unique, size_is(count)] const WCHAR **list);
1421 object,
1422 dual,
1423 oleautomation,
1424 uuid(2e01311b-c322-4b0a-bd77-b90cfdc8dce7)
1426 interface IServerXMLHTTPRequest2 : IServerXMLHTTPRequest
1428 typedef enum _SXH_PROXY_SETTING
1430 SXH_PROXY_SET_DEFAULT = 0,
1431 SXH_PROXY_SET_PRECONFIG = 0,
1432 SXH_PROXY_SET_DIRECT,
1433 SXH_PROXY_SET_PROXY
1434 } SXH_PROXY_SETTING;
1436 [id(19)]
1437 HRESULT setProxy(
1438 [in] SXH_PROXY_SETTING proxySetting,
1439 [in, optional] VARIANT varProxyServer,
1440 [in, optional] VARIANT varBypassList);
1442 [id(20)]
1443 HRESULT setProxyCredentials(
1444 [in] BSTR bstrUserName,
1445 [in] BSTR bstrPassword);
1449 local,
1450 object,
1451 dual,
1452 oleautomation,
1453 uuid (3efaa426-272f-11d2-836f-0000f87a7782)
1455 interface IXMLDOMParseError : IDispatch
1457 [propget, id(DISPID_VALUE)]
1458 HRESULT errorCode([retval, out] LONG *errCode);
1460 [propget, id(DISPID_DOM_ERROR_URL)]
1461 HRESULT url([retval, out] BSTR *p);
1463 [propget, id(DISPID_DOM_ERROR_REASON)]
1464 HRESULT reason([retval, out] BSTR *p);
1466 [propget, id(DISPID_DOM_ERROR_SRCTEXT)]
1467 HRESULT srcText([retval, out] BSTR *p);
1469 [propget, id(DISPID_DOM_ERROR_LINE)]
1470 HRESULT line([retval, out] LONG *lineNo);
1472 [propget, id(DISPID_DOM_ERROR_LINEPOS)]
1473 HRESULT linepos([retval, out] LONG * linePos);
1475 [propget, id(DISPID_DOM_ERROR_FILEPOS)]
1476 HRESULT filepos([retval, out] LONG * filePos);
1480 local,
1481 object,
1482 dual,
1483 oleautomation,
1484 uuid (3efaa428-272f-11d2-836f-0000f87a7782)
1486 interface IXMLDOMParseError2 : IXMLDOMParseError
1488 [propget, id(DISPID_DOM_ERROR2_ERRORXPATH)]
1489 HRESULT errorXPath([retval, out] BSTR *xpathexpr);
1491 [propget, id(DISPID_DOM_ERROR2_ALLERRORS)]
1492 HRESULT allErrors([retval, out] IXMLDOMParseErrorCollection **allErrors);
1494 [id(DISPID_DOM_ERROR2_ERRORPARAMETERS)]
1495 HRESULT errorParameters(
1496 [in] long index,
1497 [retval, out] BSTR *param);
1499 [propget, id(DISPID_DOM_ERROR2_ERRORPARAMETERSCOUNT)]
1500 HRESULT errorParametersCount([retval, out] long *count);
1504 local,
1505 object,
1506 dual,
1507 oleautomation,
1508 uuid (3efaa429-272f-11d2-836f-0000f87a7782)
1510 interface IXMLDOMParseErrorCollection : IDispatch
1512 [propget, id(DISPID_VALUE)]
1513 HRESULT item(
1514 [in] long index,
1515 [retval, out] IXMLDOMParseError2 **error);
1517 [propget, id(DISPID_DOM_ERRORCOLLECTION_LENGTH)]
1518 HRESULT length( [retval, out] long *length);
1520 [propget, id(DISPID_DOM_ERRORCOLLECTION_NEXT)]
1521 HRESULT next( [retval, out] IXMLDOMParseError2 **error);
1523 [id(DISPID_DOM_ERRORCOLLECTION_RESET)]
1524 HRESULT reset();
1526 [propget, hidden, restricted, id(DISPID_NEWENUM)]
1527 HRESULT _newEnum( [retval, out] IUnknown **ppunk);
1531 * Sax Interfaces
1534 object,
1535 local,
1536 uuid(f078abe1-45d2-4832-91ea-4466ce2f25c9)
1538 interface ISAXAttributes : IUnknown
1540 HRESULT getLength(
1541 [out, retval] int *length);
1543 HRESULT getURI(
1544 [in] int nIndex,
1545 [out] const WCHAR **pUrl,
1546 [out] int *pUriSize);
1548 HRESULT getLocalName(
1549 [in] int nIndex,
1550 [out] const WCHAR **pLocalName,
1551 [out] int *pLocalNameLength);
1553 HRESULT getQName(
1554 [in] int nIndex,
1555 [out] const WCHAR **pQName,
1556 [out] int *pQNameLength);
1558 HRESULT getName(
1559 [in] int nIndex,
1560 [out] const WCHAR **pUri,
1561 [out] int * pUriLength,
1562 [out] const WCHAR ** pLocalName,
1563 [out] int * pLocalNameSize,
1564 [out] const WCHAR ** pQName,
1565 [out] int * pQNameLength);
1567 HRESULT getIndexFromName(
1568 [in] const WCHAR * pUri,
1569 [in] int cUriLength,
1570 [in] const WCHAR * pLocalName,
1571 [in] int cocalNameLength,
1572 [out, retval] int * index);
1574 HRESULT getIndexFromQName(
1575 [in] const WCHAR * pQName,
1576 [in] int nQNameLength,
1577 [out, retval] int * index);
1579 HRESULT getType(
1580 [in] int nIndex,
1581 [out] const WCHAR ** pType,
1582 [out] int * pTypeLength);
1584 HRESULT getTypeFromName(
1585 [in] const WCHAR * pUri,
1586 [in] int nUri,
1587 [in] const WCHAR * pLocalName,
1588 [in] int nLocalName,
1589 [out] const WCHAR ** pType,
1590 [out] int * nType);
1592 HRESULT getTypeFromQName(
1593 [in] const WCHAR * pQName,
1594 [in] int nQName,
1595 [out] const WCHAR ** pType,
1596 [out] int * nType);
1598 HRESULT getValue(
1599 [in] int nIndex,
1600 [out] const WCHAR ** pValue,
1601 [out] int * nValue);
1603 HRESULT getValueFromName(
1604 [in] const WCHAR * pUri,
1605 [in] int nUri,
1606 [in] const WCHAR * pLocalName,
1607 [in] int nLocalName,
1608 [out] const WCHAR ** pValue,
1609 [out] int * nValue);
1611 HRESULT getValueFromQName(
1612 [in] const WCHAR * pQName,
1613 [in] int nQName,
1614 [out] const WCHAR ** pValue,
1615 [out] int * nValue);
1619 object,
1620 local,
1621 uuid(1545cdfa-9e4e-4497-a8a4-2bf7d0112c44)
1623 interface ISAXContentHandler : IUnknown
1625 HRESULT putDocumentLocator(
1626 [in] ISAXLocator * pLocator);
1628 HRESULT startDocument();
1630 HRESULT endDocument();
1632 HRESULT startPrefixMapping(
1633 [in] const WCHAR * pPrefix,
1634 [in] int nPrefix,
1635 [in] const WCHAR * pUri,
1636 [in] int nUri);
1638 HRESULT endPrefixMapping(
1639 [in] const WCHAR * pPrefix,
1640 [in] int nPrefix);
1642 HRESULT startElement(
1643 [in] const WCHAR * pNamespaceUri,
1644 [in] int nNamespaceUri,
1645 [in] const WCHAR * pLocalName,
1646 [in] int nLocalName,
1647 [in] const WCHAR * pQName,
1648 [in] int nQName,
1649 [in] ISAXAttributes * pAttr);
1651 HRESULT endElement(
1652 [in] const WCHAR * pNamespaceUri,
1653 [in] int nNamespaceUri,
1654 [in] const WCHAR * pLocalName,
1655 [in] int nLocalName,
1656 [in] const WCHAR * pQName,
1657 [in] int nQName);
1659 HRESULT characters(
1660 [in] const WCHAR * pChars,
1661 [in] int nChars);
1663 HRESULT ignorableWhitespace(
1664 [in] const WCHAR * pChars,
1665 [in] int nChars);
1667 HRESULT processingInstruction(
1668 [in] const WCHAR * pTarget,
1669 [in] int nTarget,
1670 [in] const WCHAR * pData,
1671 [in] int nData);
1673 HRESULT skippedEntity(
1674 [in] const WCHAR * pName,
1675 [in] int nName);
1679 object,
1680 local,
1681 uuid(862629ac-771a-47b2-8337-4e6843c1be90)
1683 interface ISAXDeclHandler : IUnknown
1685 HRESULT elementDecl(
1686 [in] const WCHAR * pName,
1687 [in] int nName,
1688 [in] const WCHAR * pModel,
1689 [in] int nModel);
1691 HRESULT attributeDecl(
1692 [in] const WCHAR * pElementName,
1693 [in] int nElementName,
1694 [in] const WCHAR * pAttributeName,
1695 [in] int nAttributeName,
1696 [in] const WCHAR * pType,
1697 [in] int nType,
1698 [in] const WCHAR * pValueDefault,
1699 [in] int nValueDefault,
1700 [in] const WCHAR * pValue,
1701 [in] int nValue);
1703 HRESULT internalEntityDecl(
1704 [in] const WCHAR * pName,
1705 [in] int nName,
1706 [in] const WCHAR * pValue,
1707 [in] int nValue);
1709 HRESULT externalEntityDecl(
1710 [in] const WCHAR * pName,
1711 [in] int nName,
1712 [in] const WCHAR * pPublicId,
1713 [in] int nPublicId,
1714 [in] const WCHAR * pSystemId,
1715 [in] int nSystemId);
1719 helpstring("Free Threaded XML HTTP Request class 6.0"),
1720 progid("Msxml2.FreeThreadedXMLHTTP60.6.0"),
1721 threading(both),
1722 uuid(88d96a09-f192-11d4-a65f-0040963251e5)
1724 coclass FreeThreadedXMLHTTP60
1726 [default] interface IXMLHTTPRequest2;
1730 object,
1731 local,
1732 uuid(e15c1baf-afb3-4d60-8c36-19a8c45defed)
1734 interface ISAXDTDHandler : IUnknown
1736 HRESULT notationDecl(
1737 [in] const WCHAR * pName,
1738 [in] int nName,
1739 [in] const WCHAR * pPublicId,
1740 [in] int nPublicId,
1741 [in] const WCHAR * pSystemId,
1742 [in] int nSystemId);
1744 HRESULT unparsedEntityDecl(
1745 [in] const WCHAR * pName,
1746 [in] int nName,
1747 [in] const WCHAR * pPublicId,
1748 [in] int nPublicId,
1749 [in] const WCHAR * pSystemId,
1750 [in] int nSystemId,
1751 [in] const WCHAR * pNotationName,
1752 [in] int nNotationName);
1756 object,
1757 local,
1758 uuid(99bca7bd-e8c4-4d5f-a0cf-6d907901ff07),
1760 interface ISAXEntityResolver : IUnknown
1762 HRESULT resolveEntity(
1763 [in] const WCHAR * pPublicId,
1764 [in] const WCHAR * pSystemId,
1765 [out, retval] VARIANT * ret);
1769 object,
1770 local,
1771 uuid(a60511c4-ccf5-479e-98a3-dc8dc545b7d0)
1773 interface ISAXErrorHandler : IUnknown
1775 HRESULT error(
1776 [in] ISAXLocator * pLocator,
1777 [in] const WCHAR * pErrorMessage,
1778 [in] HRESULT hrErrorCode);
1780 HRESULT fatalError(
1781 [in] ISAXLocator * pLocator,
1782 [in] const WCHAR * pErrorMessage,
1783 [in] HRESULT hrErrorCode);
1785 HRESULT ignorableWarning(
1786 [in] ISAXLocator * pLocator,
1787 [in] const WCHAR * pErrorMessage,
1788 [in] HRESULT hrErrorCode);
1792 object,
1793 local,
1794 uuid(7f85d5f5-47a8-4497-bda5-84ba04819ea6)
1796 interface ISAXLexicalHandler : IUnknown
1798 HRESULT startDTD(
1799 [in] const WCHAR * pName,
1800 [in] int nName,
1801 [in] const WCHAR * pPublicId,
1802 [in] int nPublicId,
1803 [in] const WCHAR * pSystemId,
1804 [in] int nSystemId);
1806 HRESULT endDTD();
1808 HRESULT startEntity(
1809 [in] const WCHAR * pName,
1810 [in] int nName);
1812 HRESULT endEntity(
1813 [in] const WCHAR * pName,
1814 [in] int nName);
1816 HRESULT startCDATA();
1818 HRESULT endCDATA();
1820 HRESULT comment(
1821 [in] const WCHAR * pChars,
1822 [in] int nChars);
1826 object,
1827 local,
1828 uuid(9b7e472a-0de4-4640-bff3-84d38a051c31)
1830 interface ISAXLocator : IUnknown
1832 HRESULT getColumnNumber(
1833 [out, retval] int * nColumn);
1835 HRESULT getLineNumber(
1836 [out, retval] int * nLine);
1838 HRESULT getPublicId(
1839 [out, retval] const WCHAR ** publicId);
1841 HRESULT getSystemId(
1842 [out, retval] const WCHAR ** systemId);
1846 local,
1847 object,
1848 uuid(70409222-ca09-4475-acb8-40312fe8d145)
1850 interface ISAXXMLFilter : ISAXXMLReader
1852 HRESULT getParent(
1853 [out, retval] ISAXXMLReader ** pReader);
1854 HRESULT putParent(
1855 [in] ISAXXMLReader * reader);
1859 local,
1860 object,
1861 uuid (a4f96ed0-f829-476e-81c0-cdc7bd2a0802)
1863 interface ISAXXMLReader : IUnknown
1865 HRESULT getFeature(
1866 [in] const WCHAR * pFeature,
1867 [out, retval] VARIANT_BOOL * pValue);
1868 HRESULT putFeature(
1869 [in] const WCHAR * pFeature,
1870 [in] VARIANT_BOOL vfValue);
1872 HRESULT getProperty(
1873 [in] const WCHAR * pProp,
1874 [out, retval] VARIANT * pValue);
1875 HRESULT putProperty(
1876 [in] const WCHAR * pProp,
1877 [in] VARIANT value);
1879 HRESULT getEntityResolver(
1880 [out, retval] ISAXEntityResolver ** ppEntityResolver);
1881 HRESULT putEntityResolver(
1882 [in] ISAXEntityResolver * pEntityResolver);
1884 HRESULT getContentHandler(
1885 [out, retval] ISAXContentHandler ** pContentHandler);
1886 HRESULT putContentHandler(
1887 [in] ISAXContentHandler * contentHandler);
1889 HRESULT getDTDHandler(
1890 [out, retval] ISAXDTDHandler ** pDTDHandler);
1891 HRESULT putDTDHandler(
1892 [in] ISAXDTDHandler * pDTDHandler);
1894 HRESULT getErrorHandler(
1895 [out, retval] ISAXErrorHandler ** pErrorHandler);
1896 HRESULT putErrorHandler(
1897 [in] ISAXErrorHandler * errorHandler);
1899 HRESULT getBaseURL(
1900 [out, retval] const WCHAR ** pBaseUrl);
1901 HRESULT putBaseURL(
1902 [in] const WCHAR * pBaseUrl);
1904 HRESULT getSecureBaseURL(
1905 [out, retval] const WCHAR ** pSecureBaseUrl);
1906 HRESULT putSecureBaseURL(
1907 [in] const WCHAR * secureBaseUrl);
1909 HRESULT parse(
1910 [in] VARIANT varInput);
1911 HRESULT parseURL(
1912 [in] const WCHAR * url);
1916 object,
1917 dual,
1918 oleautomation,
1919 uuid(10dc0586-132b-4cac-8bb3-db00ac8b7ee0)
1921 interface IVBSAXAttributes : IDispatch
1923 [propget, id(DISPID_SAX_ATTRIBUTES_LENGTH)]
1924 HRESULT length( [out, retval] int * nLength);
1926 [id(DISPID_SAX_ATTRIBUTES_GETURI)]
1927 HRESULT getURI( [in] int nIndex, [out, retval] BSTR * uri);
1929 [id(DISPID_SAX_ATTRIBUTES_GETLOCALNAME)]
1930 HRESULT getLocalName( [in] int nIndex, [out, retval] BSTR * localName);
1932 [id(DISPID_SAX_ATTRIBUTES_GETQNAME)]
1933 HRESULT getQName( [in] int nIndex, [out, retval] BSTR * QName);
1935 [id(DISPID_SAX_ATTRIBUTES_GETINDEXFROMNAME)]
1936 HRESULT getIndexFromName( [in] BSTR uri,
1937 [in] BSTR localName, [out, retval] int * nIndex);
1939 [id(DISPID_SAX_ATTRIBUTES_GETINDEXFROMQNAME)]
1940 HRESULT getIndexFromQName( [in] BSTR QName, [out, retval] int * nIndex);
1942 [id(DISPID_SAX_ATTRIBUTES_GETTYPE)]
1943 HRESULT getType( [in] int nIndex, [out, retval] BSTR * type);
1945 [id(DISPID_SAX_ATTRIBUTES_GETTYPEFROMNAME)]
1946 HRESULT getTypeFromName( [in] BSTR uri, [in] BSTR localName,
1947 [out, retval] BSTR * type);
1949 [id(DISPID_SAX_ATTRIBUTES_GETTYPEFROMQNAME)]
1950 HRESULT getTypeFromQName( [in] BSTR QName, [out, retval] BSTR * type);
1952 [id(DISPID_SAX_ATTRIBUTES_GETVALUE)]
1953 HRESULT getValue( [in] int nIndex, [out, retval] BSTR * value);
1955 [id(DISPID_SAX_ATTRIBUTES_GETVALUEFROMNAME)]
1956 HRESULT getValueFromName( [in] BSTR uri,
1957 [in] BSTR localName,
1958 [out, retval] BSTR * value);
1960 [id(DISPID_SAX_ATTRIBUTES_GETVALUEFROMQNAME)]
1961 HRESULT getValueFromQName( [in] BSTR QName, [out, retval] BSTR * value);
1965 object,
1966 dual,
1967 oleautomation,
1968 uuid(2ed7290a-4dd5-4b46-bb26-4e4155e77faa)
1970 interface IVBSAXContentHandler : IDispatch
1972 [propputref, id(DISPID_SAX_CONTENTHANDLER_DOCUMENTLOCATOR)]
1973 HRESULT documentLocator( [in] IVBSAXLocator * oLocator);
1975 [id(DISPID_SAX_CONTENTHANDLER_STARTDOCUMENT)]
1976 HRESULT startDocument();
1978 [id(DISPID_SAX_CONTENTHANDLER_ENDDOCUMENT)]
1979 HRESULT endDocument();
1981 [id(DISPID_SAX_CONTENTHANDLER_STARTPREFIXMAPPING)]
1982 HRESULT startPrefixMapping( [in, out] BSTR * prefix, [in, out] BSTR * uri);
1984 [id(DISPID_SAX_CONTENTHANDLER_ENDPREFIXMAPPING)]
1985 HRESULT endPrefixMapping( [in, out] BSTR * prefix);
1987 [id(DISPID_SAX_CONTENTHANDLER_STARTELEMENT)]
1988 HRESULT startElement( [in, out] BSTR * namespaceURI,
1989 [in, out] BSTR * localName,
1990 [in, out] BSTR * QName,
1991 [in] IVBSAXAttributes * oAttributes);
1993 [id(DISPID_SAX_CONTENTHANDLER_ENDELEMENT)]
1994 HRESULT endElement( [in, out] BSTR * namespaceURI,
1995 [in, out] BSTR * localName, [in, out] BSTR * strQName);
1997 [id(DISPID_SAX_CONTENTHANDLER_CHARACTERS)]
1998 HRESULT characters( [in, out] BSTR * chars);
2000 [id(DISPID_SAX_CONTENTHANDLER_IGNORABLEWHITESPACE)]
2001 HRESULT ignorableWhitespace( [in, out] BSTR * chars);
2003 [id(DISPID_SAX_CONTENTHANDLER_PROCESSINGINSTRUCTION)]
2004 HRESULT processingInstruction( [in, out] BSTR * target,
2005 [in, out] BSTR * data);
2007 [id(DISPID_SAX_CONTENTHANDLER_SKIPPEDENTITY)]
2008 HRESULT skippedEntity( [in, out] BSTR * name);
2012 object,
2013 dual,
2014 oleautomation,
2015 uuid(e8917260-7579-4be1-b5dd-7afbfa6f077b)
2017 interface IVBSAXDeclHandler : IDispatch
2019 [id(DISPID_SAX_DECLHANDLER_ELEMENTDECL)]
2020 HRESULT elementDecl(
2021 [in, out] BSTR * name,
2022 [in, out] BSTR * model);
2024 [id(DISPID_SAX_DECLHANDLER_ATTRIBUTEDECL)]
2025 HRESULT attributeDecl(
2026 [in, out] BSTR * elementName,
2027 [in, out] BSTR * attributeName,
2028 [in, out] BSTR * type,
2029 [in, out] BSTR * valueDefault,
2030 [in, out] BSTR * value);
2032 [id(DISPID_SAX_DECLHANDLER_INTERNALENTITYDECL)]
2033 HRESULT internalEntityDecl(
2034 [in, out] BSTR * name,
2035 [in, out] BSTR * value);
2037 [id(DISPID_SAX_DECLHANDLER_EXTERNALENTITYDECL)]
2038 HRESULT externalEntityDecl(
2039 [in, out] BSTR * name,
2040 [in, out] BSTR * publicId,
2041 [in, out] BSTR * systemId);
2045 object,
2046 dual,
2047 oleautomation,
2048 uuid(24fb3297-302d-4620-ba39-3a732d850558)
2050 interface IVBSAXDTDHandler : IDispatch
2052 [id(DISPID_SAX_DTDHANDLER_NOTATIONDECL)]
2053 HRESULT notationDecl(
2054 [in, out] BSTR * name,
2055 [in, out] BSTR * publicId,
2056 [in, out] BSTR * systemId);
2058 [id(DISPID_SAX_DTDHANDLER_UNPARSEDENTITYDECL)]
2059 HRESULT unparsedEntityDecl(
2060 [in, out] BSTR * name,
2061 [in, out] BSTR * publicId,
2062 [in, out] BSTR * systemId,
2063 [in, out] BSTR * notationName);
2067 object,
2068 dual,
2069 oleautomation,
2070 uuid(0c05d096-f45b-4aca-ad1a-aa0bc25518dc)
2072 interface IVBSAXEntityResolver : IDispatch
2074 [id(DISPID_SAX_ENTITYRESOLVER_RESOLVEENTITY)]
2075 HRESULT resolveEntity(
2076 [in, out] BSTR * publicId,
2077 [in, out] BSTR * systemId,
2078 [out, retval] VARIANT * ret);
2082 object,
2083 dual,
2084 oleautomation,
2085 uuid(d963d3fe-173c-4862-9095-b92f66995f52)
2087 interface IVBSAXErrorHandler : IDispatch
2089 [id(DISPID_SAX_ERRORHANDLER_ERROR)]
2090 HRESULT error(
2091 [in] IVBSAXLocator * locator,
2092 [in, out] BSTR * errorMessage,
2093 [in] LONG errorCode);
2095 [id(DISPID_SAX_ERRORHANDLER_FATALERROR)]
2096 HRESULT fatalError(
2097 [in] IVBSAXLocator * locator,
2098 [in, out] BSTR * errorMessage,
2099 [in] LONG errorCode);
2101 [id(DISPID_SAX_ERRORHANDLER_IGNORABLEWARNING)]
2102 HRESULT ignorableWarning(
2103 [in] IVBSAXLocator * locator,
2104 [in, out] BSTR * errorMessage,
2105 [in] LONG errorCode);
2109 object,
2110 dual,
2111 oleautomation,
2112 uuid(032aac35-8c0e-4d9d-979f-e3b702935576)
2114 interface IVBSAXLexicalHandler : IDispatch
2116 [id(DISPID_SAX_LEXICALHANDLER_STARTDTD)]
2117 HRESULT startDTD(
2118 [in, out] BSTR * name,
2119 [in, out] BSTR * publicId,
2120 [in, out] BSTR * systemId);
2121 [id(DISPID_SAX_LEXICALHANDLER_ENDDTD)]
2122 HRESULT endDTD();
2124 [id(DISPID_SAX_LEXICALHANDLER_STARTENTITY)]
2125 HRESULT startEntity([in, out] BSTR * name);
2126 [id(DISPID_SAX_LEXICALHANDLER_ENDENTITY)]
2127 HRESULT endEntity([in, out] BSTR * name);
2129 [id(DISPID_SAX_LEXICALHANDLER_STARTCDATA)]
2130 HRESULT startCDATA();
2131 [id(DISPID_SAX_LEXICALHANDLER_ENDCDATA)]
2132 HRESULT endCDATA();
2134 [id(DISPID_SAX_LEXICALHANDLER_COMMENT)]
2135 HRESULT comment( [in, out] BSTR * chars);
2139 object,
2140 dual,
2141 oleautomation,
2142 uuid(796e7ac5-5aa2-4eff-acad-3faaf01a3288)
2144 interface IVBSAXLocator : IDispatch
2146 [propget, id(DISPID_SAX_LOCATOR_COLUMNNUMBER)]
2147 HRESULT columnNumber( [out, retval] int * column);
2149 [propget, id(DISPID_SAX_LOCATOR_LINENUMBER)]
2150 HRESULT lineNumber( [out, retval] int * line);
2152 [propget, id(DISPID_SAX_LOCATOR_PUBLICID)]
2153 HRESULT publicId( [out, retval] BSTR * publicId);
2155 [propget, id(DISPID_SAX_LOCATOR_SYSTEMID)]
2156 HRESULT systemId( [out, retval] BSTR * systemId);
2160 object,
2161 dual,
2162 oleautomation,
2163 uuid(1299eb1b-5b88-433e-82de-82ca75ad4e04)
2165 interface IVBSAXXMLFilter : IDispatch
2167 [propget, id(DISPID_SAX_XMLFILTER_PARENT)]
2168 HRESULT parent( [out, retval] IVBSAXXMLReader ** reader);
2169 [propputref, id(DISPID_SAX_XMLFILTER_PARENT)]
2170 HRESULT parent( [in] IVBSAXXMLReader * reader);
2175 dual,
2176 oleautomation,
2177 object,
2178 uuid (8c033caa-6cd6-4f73-b728-4531af74945f)
2180 interface IVBSAXXMLReader : IDispatch
2182 [id(DISPID_SAX_XMLREADER_GETFEATURE)]
2183 HRESULT getFeature( [in] BSTR pFeature,
2184 [out, retval] VARIANT_BOOL * pValue);
2185 [id(DISPID_SAX_XMLREADER_PUTFEATURE)]
2186 HRESULT putFeature( [in] BSTR pFeature,
2187 [in] VARIANT_BOOL vfValue);
2189 [id(DISPID_SAX_XMLREADER_GETPROPERTY)]
2190 HRESULT getProperty( [in] BSTR pProp,
2191 [out, retval] VARIANT * pValue);
2192 [id(DISPID_SAX_XMLREADER_PUTPROPERTY)]
2193 HRESULT putProperty( [in] BSTR pProp, [in] VARIANT value);
2195 [propget, id(DISPID_SAX_XMLREADER_ENTITYRESOLVER)]
2196 HRESULT entityResolver(
2197 [out, retval] IVBSAXEntityResolver ** ppEntityResolver);
2198 [propputref, id(DISPID_SAX_XMLREADER_ENTITYRESOLVER)]
2199 HRESULT entityResolver( [in] IVBSAXEntityResolver * pEntityResolver);
2201 [propget, id(DISPID_SAX_XMLREADER_CONTENTHANDLER)]
2202 HRESULT contentHandler(
2203 [out, retval] IVBSAXContentHandler ** pContentHandler);
2204 [propputref, id(DISPID_SAX_XMLREADER_CONTENTHANDLER)]
2205 HRESULT contentHandler([in] IVBSAXContentHandler * contentHandler);
2207 [propget, id(DISPID_SAX_XMLREADER_DTDHANDLER)]
2208 HRESULT dtdHandler([out, retval] IVBSAXDTDHandler ** pDTDHandler);
2209 [propputref, id(DISPID_SAX_XMLREADER_DTDHANDLER)]
2210 HRESULT dtdHandler([in] IVBSAXDTDHandler * pDTDHandler);
2212 [propget, id(DISPID_SAX_XMLREADER_ERRORHANDLER)]
2213 HRESULT errorHandler([out, retval] IVBSAXErrorHandler ** pErrorHandler);
2214 [propputref, id(DISPID_SAX_XMLREADER_ERRORHANDLER)]
2215 HRESULT errorHandler([in] IVBSAXErrorHandler * errorHandler);
2217 [propget, id(DISPID_SAX_XMLREADER_BASEURL)]
2218 HRESULT baseURL([out, retval] BSTR *pBaseUrl);
2219 [propput, id(DISPID_SAX_XMLREADER_BASEURL)]
2220 HRESULT baseURL([in] BSTR pBaseUrl);
2222 [propget, id(DISPID_SAX_XMLREADER_SECUREBASEURL)]
2223 HRESULT secureBaseURL([out, retval] BSTR *pSecureBaseUrl);
2224 [propput, id(DISPID_SAX_XMLREADER_SECUREBASEURL)]
2225 HRESULT secureBaseURL([in] BSTR secureBaseUrl);
2227 [id(DISPID_SAX_XMLREADER_PARSE)]
2228 HRESULT parse( [in] VARIANT varInput);
2229 [id(DISPID_SAX_XMLREADER_PARSEURL)]
2230 HRESULT parseURL([in] BSTR url);
2234 object,
2235 dual,
2236 oleautomation,
2237 uuid(f10d27cc-3ec0-415c-8ed8-77ab1c5e7262)
2239 interface IMXAttributes : IDispatch
2241 [id(DISPID_MX_ATTRIBUTES_ADDATTRIBUTE)]
2242 HRESULT addAttribute(
2243 [in] BSTR uri,
2244 [in] BSTR localName,
2245 [in] BSTR QName,
2246 [in] BSTR type,
2247 [in] BSTR value);
2249 [id(DISPID_MX_ATTRIBUTES_ADDATTRIBUTEFROMINDEX)]
2250 HRESULT addAttributeFromIndex( [in] VARIANT atts,
2251 [in] int index);
2253 [id(DISPID_MX_ATTRIBUTES_CLEAR)]
2254 HRESULT clear();
2256 [id(DISPID_MX_ATTRIBUTES_REMOVEATTRIBUTE)]
2257 HRESULT removeAttribute( [in] int index);
2259 [id(DISPID_MX_ATTRIBUTES_SETATTRIBUTE)]
2260 HRESULT setAttribute(
2261 [in] int index,
2262 [in] BSTR uri,
2263 [in] BSTR localName,
2264 [in] BSTR QName,
2265 [in] BSTR type,
2266 [in] BSTR value);
2268 [id(DISPID_MX_ATTRIBUTES_SETATTRIBUTES)]
2269 HRESULT setAttributes( [in] VARIANT atts);
2271 [id(DISPID_MX_ATTRIBUTES_SETLOCALNAME)]
2272 HRESULT setLocalName( [in] int index,
2273 [in] BSTR localName);
2275 [id(DISPID_MX_ATTRIBUTES_SETQNAME)]
2276 HRESULT setQName(
2277 [in] int index,
2278 [in] BSTR QName);
2280 [id(DISPID_MX_ATTRIBUTES_SETTYPE)]
2281 HRESULT setType( [in] int index, [in] BSTR type);
2283 [id(DISPID_MX_ATTRIBUTES_SETURI)]
2284 HRESULT setURI( [in] int index, [in] BSTR uri);
2286 [id(DISPID_MX_ATTRIBUTES_SETVALUE)]
2287 HRESULT setValue([in] int index, [in] BSTR value);
2291 local,
2292 object,
2293 dual,
2294 oleautomation,
2295 uuid(fa4bb38c-faf9-4cca-9302-d1dd0fe520db)
2297 interface IMXSchemaDeclHandler : IDispatch
2299 [id(DISPID_MX_SCHEMADECLHANDLER_SCHEMAELEMENTDECL)]
2300 HRESULT schemaElementDecl( [in] ISchemaElement *oSchemaElement );
2304 object,
2305 dual,
2306 oleautomation,
2307 uuid(808f4e35-8d5a-4fbe-8466-33a41279ed30)
2309 interface IMXReaderControl : IDispatch
2311 [id(DISPID_MX_READER_CONTROL_ABORT)]
2312 HRESULT abort();
2314 [id(DISPID_MX_READER_CONTROL_RESUME)]
2315 HRESULT resume();
2317 [id(DISPID_MX_READER_CONTROL_SUSPEND)]
2318 HRESULT suspend();
2322 object,
2323 dual,
2324 oleautomation,
2325 uuid(4d7ff4ba-1565-4ea8-94e1-6e724a46f98d)
2327 interface IMXWriter : IDispatch
2329 [propput, id(DISPID_MX_WRITER_OUTPUT)]
2330 HRESULT output ( [in] VARIANT Destination);
2331 [propget, id(DISPID_MX_WRITER_OUTPUT)]
2332 HRESULT output ( [out, retval] VARIANT * Destination);
2334 [propput, id(DISPID_MX_WRITER_ENCODING)]
2335 HRESULT encoding ([in] BSTR encoding);
2336 [propget, id(DISPID_MX_WRITER_ENCODING)]
2337 HRESULT encoding ([out, retval] BSTR * encoding);
2339 [propput, id(DISPID_MX_WRITER_BYTEORDERMARK)]
2340 HRESULT byteOrderMark ([in] VARIANT_BOOL writeByteOrderMark);
2341 [propget, id(DISPID_MX_WRITER_BYTEORDERMARK)]
2342 HRESULT byteOrderMark ([out, retval] VARIANT_BOOL * writeByteOrderMark);
2344 [propput, id(DISPID_MX_WRITER_INDENT)]
2345 HRESULT indent ([in] VARIANT_BOOL indentMode);
2346 [propget, id(DISPID_MX_WRITER_INDENT)]
2347 HRESULT indent ([out, retval] VARIANT_BOOL * indentMode);
2349 [propput, id(DISPID_MX_WRITER_STANDALONE)]
2350 HRESULT standalone ([in] VARIANT_BOOL value);
2351 [propget, id(DISPID_MX_WRITER_STANDALONE)]
2352 HRESULT standalone ([out, retval] VARIANT_BOOL * value);
2354 [propput, id(DISPID_MX_WRITER_OMITXMLDECLARATION)]
2355 HRESULT omitXMLDeclaration ([in] VARIANT_BOOL value);
2356 [propget, id(DISPID_MX_WRITER_OMITXMLDECLARATION)]
2357 HRESULT omitXMLDeclaration ([out, retval] VARIANT_BOOL * value);
2359 [propput, id(DISPID_MX_WRITER_VERSION)]
2360 HRESULT version ([in] BSTR version);
2361 [propget, id(DISPID_MX_WRITER_VERSION)]
2362 HRESULT version ([out, retval] BSTR * version);
2364 [propput, id(DISPID_MX_WRITER_DISABLEOUTPUTESCAPING)]
2365 HRESULT disableOutputEscaping([in] VARIANT_BOOL value);
2366 [propget, id(DISPID_MX_WRITER_DISABLEOUTPUTESCAPING)]
2367 HRESULT disableOutputEscaping([out, retval] VARIANT_BOOL * value);
2369 [id(DISPID_MX_WRITER_FLUSH)]
2370 HRESULT flush();
2374 local,
2375 object,
2376 dual,
2377 oleautomation,
2378 uuid(c90352f4-643c-4fbc-bb23-e996eb2d51fd)
2380 interface IMXNamespacePrefixes : IDispatch
2382 [propget, id(DISPID_VALUE)]
2383 HRESULT item(
2384 [in] long index,
2385 [out, retval] BSTR *prefix);
2387 [propget, id(DISPID_MX_NSMGR_LENGTH)]
2388 HRESULT length( [out,retval] long *length );
2390 [propget, restricted, hidden, id(DISPID_NEWENUM)]
2391 HRESULT _newEnum( [out, retval] IUnknown **ppUnk );
2395 local,
2396 object,
2397 hidden,
2398 uuid(c90352f6-643c-4fbc-bb23-e996eb2d51fd)
2400 interface IMXNamespaceManager : IUnknown
2402 HRESULT putAllowOverride([in] VARIANT_BOOL fOverride);
2404 HRESULT getAllowOverride([out, retval] VARIANT_BOOL *fOverride);
2406 HRESULT reset();
2408 HRESULT pushContext();
2410 HRESULT pushNodeContext(
2411 [in] IXMLDOMNode *contextNode,
2412 [in] VARIANT_BOOL fDeep);
2414 HRESULT popContext();
2416 HRESULT declarePrefix(
2417 [in] const WCHAR *prefix,
2418 [in] const WCHAR *namespaceURI);
2420 HRESULT getDeclaredPrefix(
2421 [in] long nIndex,
2422 [in, out] WCHAR *pwchPrefix,
2423 [in, out] int *pcchPrefix);
2425 HRESULT getPrefix(
2426 [in] const WCHAR *pwszNamespaceURI,
2427 [in] long nIndex,
2428 [in, out] WCHAR *pwchPrefix,
2429 [in, out] int *pcchPrefix);
2431 HRESULT getURI(
2432 [in] const WCHAR *pwchPrefix,
2433 [in] IXMLDOMNode* pContextNode,
2434 [in, out] WCHAR *pwchUri,
2435 [in, out] int *pcchUri);
2439 local,
2440 object,
2441 dual,
2442 oleautomation,
2443 uuid(c90352f5-643c-4fbc-bb23-e996eb2d51fd)
2445 interface IVBMXNamespaceManager : IDispatch
2447 [propput, id(DISPID_MX_NSMGR_ALLOWOVERRIDE)]
2448 HRESULT allowOverride([in] VARIANT_BOOL fOverride);
2450 [propget, id(DISPID_MX_NSMGR_ALLOWOVERRIDE)]
2451 HRESULT allowOverride([out,retval] VARIANT_BOOL* fOverride);
2453 [id(DISPID_MX_NSMGR_RESET)]
2454 HRESULT reset();
2456 [id(DISPID_MX_NSMGR_PUSHCONTEXT)]
2457 HRESULT pushContext();
2459 [id(DISPID_MX_NSMGR_PUSHNODECONTEXT)]
2460 HRESULT pushNodeContext(
2461 [in] IXMLDOMNode* contextNode,
2462 [in, defaultvalue(-1)] VARIANT_BOOL fDeep);
2464 [id(DISPID_MX_NSMGR_POPCONTEXT)]
2465 HRESULT popContext();
2467 [id(DISPID_MX_NSMGR_DECLAREPREFIX)]
2468 HRESULT declarePrefix(
2469 [in] BSTR prefix,
2470 [in] BSTR namespaceURI);
2472 [id(DISPID_MX_NSMGR_GETDECLAREDPREFIXES)]
2473 HRESULT getDeclaredPrefixes([out, retval] IMXNamespacePrefixes** prefixes);
2475 [id(DISPID_MX_NSMGR_GETPREFIXES)]
2476 HRESULT getPrefixes(
2477 [in] BSTR namespaceURI,
2478 [out, retval] IMXNamespacePrefixes** prefixes);
2480 [id(DISPID_MX_NSMGR_GETURI)]
2481 HRESULT getURI(
2482 [in] BSTR prefix,
2483 [out, retval] VARIANT* uri);
2485 [id(DISPID_MX_NSMGR_GETURIFROMNODE)]
2486 HRESULT getURIFromNode(
2487 [in] BSTR strPrefix,
2488 [in] IXMLDOMNode* contextNode,
2489 [out, retval] VARIANT* uri);
2493 local,
2494 object,
2495 dual,
2496 oleautomation,
2497 uuid(c90352f7-643c-4fbc-bb23-e996eb2d51fd)
2499 interface IMXXMLFilter : IDispatch
2501 [id(DISPID_MXXML_FILTER_GETFEATURE)]
2502 HRESULT getFeature(
2503 [in] BSTR strName,
2504 [out, retval] VARIANT_BOOL * fValue);
2506 [id(DISPID_MXXML_FILTER_PUTFEATURE)]
2507 HRESULT putFeature(
2508 [in] BSTR strName,
2509 [in] VARIANT_BOOL fValue);
2511 [id(DISPID_MXXML_FILTER_GETPROPERTY)]
2512 HRESULT getProperty(
2513 [in] BSTR strName,
2514 [out, retval] VARIANT * varValue);
2516 [id(DISPID_MXXML_FILTER_PUTPROPERTY)]
2517 HRESULT putProperty(
2518 [in] BSTR strName,
2519 [in] VARIANT varValue);
2521 [id(DISPID_MXXML_FILTER_ENTITYRESOLVER), propget]
2522 HRESULT entityResolver( [out, retval] IUnknown **oResolver );
2524 [id(DISPID_MXXML_FILTER_ENTITYRESOLVER), propputref]
2525 HRESULT entityResolver( [in] IUnknown *oResolver );
2527 [id(DISPID_MXXML_FILTER_CONTENTHANDLER), propget]
2528 HRESULT contentHandler( [out, retval] IUnknown **oHandler );
2530 [id(DISPID_MXXML_FILTER_CONTENTHANDLER), propputref]
2531 HRESULT contentHandler( [in] IUnknown *oHandler );
2533 [id(DISPID_MXXML_FILTER_DTDHANDLER), propget]
2534 HRESULT dtdHandler( [out, retval] IUnknown **oHandler );
2536 [id(DISPID_MXXML_FILTER_DTDHANDLER), propputref]
2537 HRESULT dtdHandler( [in] IUnknown *oHandler );
2539 [id(DISPID_MXXML_FILTER_ERRORHANDLER), propget]
2540 HRESULT errorHandler( [out, retval] IUnknown **oHandler );
2542 [id(DISPID_MXXML_FILTER_ERRORHANDLER), propputref]
2543 HRESULT errorHandler( [in] IUnknown *oHandler );
2547 local,
2548 object,
2549 uuid(50ea08b1-dd1b-4664-9a50-c2f40f4bd79a),
2550 oleautomation,
2551 dual
2553 interface ISchemaStringCollection : IDispatch
2555 [id(DISPID_VALUE), propget]
2556 HRESULT item(
2557 [in] long index,
2558 [out,retval] BSTR* bstr);
2560 [id(DISPID_SOM_LENGTH), propget]
2561 HRESULT length(
2562 [out,retval] long* length);
2564 [id(DISPID_NEWENUM), hidden, restricted, propget]
2565 HRESULT _newEnum(
2566 [out,retval] IUnknown** ppunk);
2570 local,
2571 object,
2572 uuid(50ea08b2-dd1b-4664-9a50-c2f40f4bd79a),
2573 oleautomation,
2574 dual
2576 interface ISchemaItemCollection : IDispatch
2578 [id(DISPID_VALUE), propget]
2579 HRESULT item(
2580 [in] long index,
2581 [out,retval]ISchemaItem** item);
2583 [id(DISPID_SOM_ITEMBYNAME)]
2584 HRESULT itemByName(
2585 [in] BSTR name,
2586 [out,retval] ISchemaItem** item);
2588 [id(DISPID_SOM_ITEMBYQNAME)]
2589 HRESULT itemByQName(
2590 [in] BSTR name,
2591 [in] BSTR namespaceURI,
2592 [out,retval] ISchemaItem** item);
2594 [id(DISPID_SOM_LENGTH), propget]
2595 HRESULT length(
2596 [out,retval]long* length);
2598 [id(DISPID_NEWENUM), hidden, restricted, propget]
2599 HRESULT _newEnum(
2600 [out,retval]IUnknown** ppunk);
2604 local,
2605 object,
2606 uuid(50ea08b3-dd1b-4664-9a50-c2f40f4bd79a),
2607 oleautomation,
2608 dual
2610 interface ISchemaItem : IDispatch
2612 [id(DISPID_SOM_NAME), propget]
2613 HRESULT name(
2614 [out,retval] BSTR* name);
2616 [id(DISPID_SOM_NAMESPACEURI), propget]
2617 HRESULT namespaceURI(
2618 [out,retval] BSTR* namespaceURI);
2620 [id(DISPID_SOM_SCHEMA), propget]
2621 HRESULT schema(
2622 [out,retval] ISchema** schema);
2624 [id(DISPID_SOM_ID), propget]
2625 HRESULT id(
2626 [out,retval] BSTR* id);
2628 [id(DISPID_SOM_ITEMTYPE), propget]
2629 HRESULT itemType(
2630 [out,retval] SOMITEMTYPE* itemType);
2632 [id(DISPID_SOM_UNHANDLEDATTRS), propget]
2633 HRESULT unhandledAttributes(
2634 [out,retval] IVBSAXAttributes** attributes);
2636 [id(DISPID_SOM_WRITEANNOTATION)]
2637 HRESULT writeAnnotation(
2638 [in] IUnknown* annotationSink,
2639 [out,retval] VARIANT_BOOL* isWritten);
2643 local,
2644 object,
2645 uuid(50ea08b4-dd1b-4664-9a50-c2f40f4bd79a),
2646 oleautomation,
2647 dual
2649 interface ISchema : ISchemaItem
2651 [id(DISPID_SOM_TARGETNAMESPACE), propget]
2652 HRESULT targetNamespace(
2653 [out,retval] BSTR* targetNamespace);
2655 [id(DISPID_SOM_VERSION), propget]
2656 HRESULT version(
2657 [out,retval] BSTR* version);
2659 [id(DISPID_SOM_TYPES), propget]
2660 HRESULT types(
2661 [out,retval] ISchemaItemCollection** types);
2663 [id(DISPID_SOM_ELEMENTS), propget]
2664 HRESULT elements(
2665 [out,retval] ISchemaItemCollection** elements);
2667 [id(DISPID_SOM_ATTRIBUTES), propget]
2668 HRESULT attributes(
2669 [out,retval] ISchemaItemCollection** attributes);
2671 [id(DISPID_SOM_ATTRIBUTEGROUPS), propget]
2672 HRESULT attributeGroups(
2673 [out,retval] ISchemaItemCollection** attributeGroups);
2675 [id(DISPID_SOM_MODELGROUPS), propget]
2676 HRESULT modelGroups(
2677 [out,retval] ISchemaItemCollection** modelGroups);
2679 [id(DISPID_SOM_NOTATIONS), propget]
2680 HRESULT notations(
2681 [out,retval] ISchemaItemCollection** notations);
2683 [id(DISPID_SOM_SCHEMALOCATIONS), propget]
2684 HRESULT schemaLocations(
2685 [out,retval] ISchemaStringCollection** schemaLocations);
2689 local,
2690 object,
2691 uuid(50ea08b5-dd1b-4664-9a50-c2f40f4bd79a),
2692 oleautomation,
2693 dual
2695 interface ISchemaParticle : ISchemaItem
2697 [id(DISPID_SOM_MINOCCURS), propget]
2698 HRESULT minOccurs(
2699 [out,retval] VARIANT* minOccurs);
2701 [id(DISPID_SOM_MAXOCCURS), propget]
2702 HRESULT maxOccurs(
2703 [out,retval] VARIANT* maxOccurs);
2707 object,
2708 uuid(50ea08b6-dd1b-4664-9a50-c2f40f4bd79a),
2709 oleautomation,
2710 dual,
2712 interface ISchemaAttribute : ISchemaItem
2714 [id(DISPID_SOM_TYPE), propget]
2715 HRESULT type(
2716 [out,retval] ISchemaType** type);
2718 [id(DISPID_SOM_SCOPE), propget]
2719 HRESULT scope(
2720 [out,retval] ISchemaComplexType** scope);
2722 [id(DISPID_SOM_DEFAULTVALUE), propget]
2723 HRESULT defaultValue(
2724 [out,retval]BSTR* defaultValue);
2726 [id(DISPID_SOM_FIXEDVALUE), propget]
2727 HRESULT fixedValue(
2728 [out,retval] BSTR* fixedValue);
2730 [id(DISPID_SOM_USE), propget]
2731 HRESULT use(
2732 [out,retval] SCHEMAUSE* use);
2734 [id(DISPID_SOM_ISREFERENCE), propget]
2735 HRESULT isReference(
2736 [out,retval] VARIANT_BOOL* reference);
2740 local,
2741 object,
2742 uuid(50ea08b7-dd1b-4664-9a50-c2f40f4bd79a),
2743 oleautomation,
2744 dual
2746 interface ISchemaElement : ISchemaParticle
2748 [id(DISPID_SOM_TYPE), propget]
2749 HRESULT type(
2750 [out,retval] ISchemaType** type);
2752 [id(DISPID_SOM_SCOPE), propget]
2753 HRESULT scope(
2754 [out,retval] ISchemaComplexType** scope);
2756 [id(DISPID_SOM_DEFAULTVALUE), propget]
2757 HRESULT defaultValue(
2758 [out,retval] BSTR* defaultValue);
2760 [id(DISPID_SOM_FIXEDVALUE), propget]
2761 HRESULT fixedValue(
2762 [out,retval] BSTR* fixedValue);
2764 [id(DISPID_SOM_ISNILLABLE), propget]
2765 HRESULT isNillable(
2766 [out,retval] VARIANT_BOOL* nillable);
2768 [id(DISPID_SOM_IDCONSTRAINTS), propget]
2769 HRESULT identityConstraints(
2770 [out,retval] ISchemaItemCollection** constraints);
2772 [id(DISPID_SOM_SUBSTITUTIONGROUP), propget]
2773 HRESULT substitutionGroup(
2774 [out,retval] ISchemaElement** element);
2776 [id(DISPID_SOM_EXCLUSIONS), propget]
2777 HRESULT substitutionGroupExclusions(
2778 [out,retval] SCHEMADERIVATIONMETHOD* exclusions);
2780 [id(DISPID_SOM_DISALLOWED), propget]
2781 HRESULT disallowedSubstitutions(
2782 [out,retval] SCHEMADERIVATIONMETHOD* disallowed);
2784 [id(DISPID_SOM_ISABSTRACT), propget]
2785 HRESULT isAbstract(
2786 [out,retval] VARIANT_BOOL* abstract);
2788 [id(DISPID_SOM_ISREFERENCE), propget]
2789 HRESULT isReference(
2790 [out,retval] VARIANT_BOOL* reference);
2794 local,
2795 object,
2796 uuid(50ea08b8-dd1b-4664-9a50-c2f40f4bd79a),
2797 oleautomation,
2798 dual
2800 interface ISchemaType : ISchemaItem
2802 [id(DISPID_SOM_BASETYPES), propget]
2803 HRESULT baseTypes(
2804 [out,retval] ISchemaItemCollection** baseTypes);
2806 [id(DISPID_SOM_FINAL), propget]
2807 HRESULT final(
2808 [out,retval] SCHEMADERIVATIONMETHOD* final);
2810 [id(DISPID_SOM_VARIETY), propget]
2811 HRESULT variety(
2812 [out,retval] SCHEMATYPEVARIETY* variety);
2814 [id(DISPID_SOM_DERIVEDBY), propget]
2815 HRESULT derivedBy(
2816 [out,retval] SCHEMADERIVATIONMETHOD* derivedBy);
2818 [id(DISPID_SOM_ISVALID)]
2819 HRESULT isValid(
2820 [in] BSTR data,
2821 [out,retval] VARIANT_BOOL* valid);
2823 [id(DISPID_SOM_MINEXCLUSIVE), propget]
2824 HRESULT minExclusive(
2825 [out,retval]BSTR* minExclusive);
2827 [id(DISPID_SOM_MININCLUSIVE), propget]
2828 HRESULT minInclusive(
2829 [out,retval] BSTR* minInclusive);
2831 [id(DISPID_SOM_MAXEXCLUSIVE), propget]
2832 HRESULT maxExclusive(
2833 [out,retval] BSTR* maxExclusive);
2835 [id(DISPID_SOM_MAXINCLUSIVE), propget]
2836 HRESULT maxInclusive(
2837 [out,retval] BSTR* maxInclusive);
2839 [id(DISPID_SOM_TOTALDIGITS), propget]
2840 HRESULT totalDigits(
2841 [out,retval] VARIANT* totalDigits);
2843 [id(DISPID_SOM_FRACTIONDIGITS), propget]
2844 HRESULT fractionDigits(
2845 [out,retval] VARIANT* fractionDigits);
2847 [id(DISPID_SOM_LENGTH), propget]
2848 HRESULT length(
2849 [out,retval] VARIANT* length);
2851 [id(DISPID_SOM_MINLENGTH), propget]
2852 HRESULT minLength(
2853 [out,retval]VARIANT* minLength);
2855 [id(DISPID_SOM_MAXLENGTH), propget]
2856 HRESULT maxLength(
2857 [out,retval]VARIANT* maxLength);
2859 [id(DISPID_SOM_ENUMERATION), propget]
2860 HRESULT enumeration(
2861 [out,retval] ISchemaStringCollection** enumeration);
2863 [id(DISPID_SOM_WHITESPACE), propget]
2864 HRESULT whitespace(
2865 [out,retval]SCHEMAWHITESPACE* whitespace);
2867 [id(DISPID_SOM_PATTERNS), propget]
2868 HRESULT patterns(
2869 [out,retval] ISchemaStringCollection** patterns);
2873 local,
2874 object,
2875 uuid(50ea08b9-dd1b-4664-9a50-c2f40f4bd79a),
2876 oleautomation,
2877 dual,
2879 interface ISchemaComplexType : ISchemaType
2881 [id(DISPID_SOM_ISABSTRACT), propget]
2882 HRESULT isAbstract(
2883 [out,retval] VARIANT_BOOL* abstract);
2885 [id(DISPID_SOM_ANYATTRIBUTE), propget]
2886 HRESULT anyAttribute(
2887 [out,retval] ISchemaAny** anyAttribute);
2889 [id(DISPID_SOM_ATTRIBUTES), propget]
2890 HRESULT attributes(
2891 [out,retval] ISchemaItemCollection** attributes);
2893 [id(DISPID_SOM_CONTENTTYPE), propget]
2894 HRESULT contentType(
2895 [out,retval] SCHEMACONTENTTYPE* contentType);
2897 [id(DISPID_SOM_CONTENTMODEL), propget]
2898 HRESULT contentModel(
2899 [out,retval] ISchemaModelGroup** contentModel);
2901 [id(DISPID_SOM_PROHIBITED), propget]
2902 HRESULT prohibitedSubstitutions(
2903 [out,retval] SCHEMADERIVATIONMETHOD* prohibited);
2907 local,
2908 object,
2909 uuid(50ea08ba-dd1b-4664-9a50-c2f40f4bd79a),
2910 oleautomation,
2911 dual,
2913 interface ISchemaAttributeGroup : ISchemaItem
2915 [id(DISPID_SOM_ANYATTRIBUTE), propget]
2916 HRESULT anyAttribute(
2917 [out,retval] ISchemaAny** anyAttribute);
2919 [id(DISPID_SOM_ATTRIBUTES), propget]
2920 HRESULT attributes(
2921 [out,retval] ISchemaItemCollection** attributes);
2925 local,
2926 object,
2927 uuid(50ea08bb-dd1b-4664-9a50-c2f40f4bd79a),
2928 oleautomation,
2929 dual,
2931 interface ISchemaModelGroup : ISchemaParticle
2933 [id(DISPID_SOM_PARTICLES), propget]
2934 HRESULT particles(
2935 [out,retval] ISchemaItemCollection** particles);
2939 local,
2940 object,
2941 uuid(50ea08bc-dd1b-4664-9a50-c2f40f4bd79a),
2942 oleautomation,
2943 dual
2945 interface ISchemaAny : ISchemaParticle
2947 [id(DISPID_SOM_NAMESPACES), propget]
2948 HRESULT namespaces(
2949 [out,retval] ISchemaStringCollection** namespaces);
2951 [id(DISPID_SOM_PROCESSCONTENTS), propget]
2952 HRESULT processContents(
2953 [out,retval] SCHEMAPROCESSCONTENTS* processContents);
2957 local,
2958 object,
2959 uuid(50ea08bd-dd1b-4664-9a50-c2f40f4bd79a),
2960 oleautomation,
2961 dual
2963 interface ISchemaIdentityConstraint : ISchemaItem
2965 [id(DISPID_SOM_SELECTOR), propget]
2966 HRESULT selector(
2967 [out,retval] BSTR* selector);
2969 [id(DISPID_SOM_FIELDS), propget]
2970 HRESULT fields(
2971 [out,retval] ISchemaStringCollection** fields);
2973 [id(DISPID_SOM_REFERENCEDKEY), propget]
2974 HRESULT referencedKey(
2975 [out,retval] ISchemaIdentityConstraint** key);
2979 local,
2980 object,
2981 uuid(50ea08be-dd1b-4664-9a50-c2f40f4bd79a),
2982 oleautomation,
2983 dual
2985 interface ISchemaNotation : ISchemaItem
2987 [id(DISPID_SOM_SYSTEMIDENTIFIER), propget]
2988 HRESULT systemIdentifier(
2989 [out,retval] BSTR* uri);
2991 [id(DISPID_SOM_PUBLICIDENTIFIER), propget]
2992 HRESULT publicIdentifier(
2993 [out,retval] BSTR* uri);
2997 uuid(f5078f18-c551-11d3-89b9-0000f81fe221),
2998 version(6.0),
2999 helpstring("Microsoft XML, v6.0")
3001 library MSXML2
3004 importlib("stdole2.tlb");
3006 interface IXMLDOMNotation;
3007 interface IXMLDOMEntity;
3008 interface IXMLDOMEntityReference;
3009 interface IXMLDOMParseError2;
3010 interface IXMLDOMParseErrorCollection;
3011 interface IXMLDOMSelection;
3012 interface IXTLRuntime;
3013 dispinterface XMLDOMDocumentEvents;
3014 interface ISAXXMLFilter;
3015 interface IVBSAXXMLFilter;
3016 interface IMXReaderControl;
3017 interface IMXSchemaDeclHandler;
3018 interface IMXXMLFilter;
3019 interface ISchemaElement;
3020 interface ISchemaParticle;
3021 interface ISchemaType;
3022 interface ISchemaComplexType;
3023 interface ISchemaAny;
3024 interface ISchemaModelGroup;
3025 interface ISchemaAttribute;
3026 interface ISchemaAttributeGroup;
3027 interface ISchemaIdentityConstraint;
3028 interface ISchemaNotation;
3030 [hidden] typedef struct __msxml6_ReferenceRemainingTypes__
3032 enum tagDOMNodeType __tagDomNodeType__;
3033 DOMNodeType __domNodeType__;
3034 enum _SERVERXMLHTTP_OPTION __serverXmlHttpOptionEnum__;
3035 SERVERXMLHTTP_OPTION __serverXmlHttpOption__;
3036 enum _SXH_SERVER_CERT_OPTION __serverCertOptionEnum__;
3037 SXH_SERVER_CERT_OPTION __serverCertOption__;
3038 enum _SXH_PROXY_SETTING __proxySettingEnum__;
3039 SXH_PROXY_SETTING __proxySetting__;
3040 enum _SOMITEMTYPE __somItemTypeEnum__;
3041 SOMITEMTYPE __somItemType__;
3042 enum _SCHEMAUSE __schemaUseEnum__;
3043 SCHEMAUSE __schemaUse__;
3044 enum _SCHEMADERIVATIONMETHOD __schemaDerivationMethodEnum__;
3045 SCHEMADERIVATIONMETHOD __schemaDerivationMethod__;
3046 enum _SCHEMACONTENTTYPE __schemaContentTypeEnum__;
3047 SCHEMACONTENTTYPE __schemaContentType__;
3048 enum _SCHEMAPROCESSCONTENTS __schemaProcessContentsEnum__;
3049 SCHEMAPROCESSCONTENTS __schemaProcessContents__;
3050 enum _SCHEMAWHITESPACE __schemaWhitespaceEnum__;
3051 SCHEMAWHITESPACE __schemaWhitespace__;
3052 enum _SCHEMATYPEVARIETY __schemaTypeVarietyEnum__;
3053 SCHEMATYPEVARIETY __schemaTypeVariety__;
3054 } __msxml6_ReferenceRemainingTypes__;
3057 helpstring("XML DOM Document 6.0"),
3058 progid("Msxml2.DOMDocument.6.0"),
3059 threading(both),
3060 uuid(88d96a05-f192-11d4-a65f-0040963251e5)
3062 coclass DOMDocument60
3064 [default] interface IXMLDOMDocument3;
3065 [default, source] dispinterface XMLDOMDocumentEvents;
3069 helpstring("Free threaded XML DOM Document 6.0"),
3070 progid("Msxml2.FreeThreadedDOMDocument.6.0"),
3071 threading(both),
3072 uuid(88d96a06-f192-11d4-a65f-0040963251e5),
3074 coclass FreeThreadedDOMDocument60
3076 [default] interface IXMLDOMDocument3;
3077 [default, source] dispinterface XMLDOMDocumentEvents;
3081 helpstring("SAX XML Reader 6.0"),
3082 progid("Msxml2.SAXXMLReader.6.0"),
3083 threading(both),
3084 uuid(88d96a0c-f192-11d4-a65f-0040963251e5)
3086 coclass SAXXMLReader60
3088 [default] interface IVBSAXXMLReader;
3089 interface ISAXXMLReader;
3093 helpstring("XML Schema Cache 6.0"),
3094 progid("Msxml2.XMLSchemaCache.6.0"),
3095 threading(both),
3096 uuid(88d96a07-f192-11d4-a65f-0040963251e5)
3098 coclass XMLSchemaCache60
3100 [default] interface IXMLDOMSchemaCollection2;
3104 helpstring("MXHTMLWriter 6.0"),
3105 progid("Msxml2.MXHTMLWriter.6.0"),
3106 threading(both),
3107 uuid(88d96a10-f192-11d4-a65f-0040963251e5)
3109 coclass MXHTMLWriter60
3111 [default] interface IMXWriter;
3113 interface ISAXContentHandler;
3114 interface ISAXDeclHandler;
3115 interface ISAXDTDHandler;
3116 interface ISAXErrorHandler;
3117 interface ISAXLexicalHandler;
3119 interface IVBSAXContentHandler;
3120 interface IVBSAXDeclHandler;
3121 interface IVBSAXDTDHandler;
3122 interface IVBSAXErrorHandler;
3123 interface IVBSAXLexicalHandler;
3127 helpstring("MXXMLWriter 6.0"),
3128 progid("Msxml2.MXXMLWriter.6.0"),
3129 threading(both),
3130 uuid(88d96a0f-f192-11d4-a65f-0040963251e5)
3132 coclass MXXMLWriter60
3134 [default] interface IMXWriter;
3136 interface ISAXContentHandler;
3137 interface ISAXDeclHandler;
3138 interface ISAXDTDHandler;
3139 interface ISAXErrorHandler;
3140 interface ISAXLexicalHandler;
3142 interface IVBSAXContentHandler;
3143 interface IVBSAXDeclHandler;
3144 interface IVBSAXDTDHandler;
3145 interface IVBSAXErrorHandler;
3146 interface IVBSAXLexicalHandler;
3150 helpstring("MXNamespaceManager 6.0"),
3151 progid("Msxml2.MXNamespaceManager.6.0"),
3152 threading(both),
3153 uuid(88d96a11-f192-11d4-a65f-0040963251e5)
3155 coclass MXNamespaceManager60
3157 [default] interface IVBMXNamespaceManager;
3158 interface IMXNamespaceManager;
3162 helpstring("SAXAttributes 6.0"),
3163 progid("Msxml2.SAXAttributes.6.0"),
3164 threading(both),
3165 uuid(88d96a0e-f192-11d4-a65f-0040963251e5)
3167 coclass SAXAttributes60
3169 [default] interface IMXAttributes;
3170 interface IVBSAXAttributes;
3171 interface ISAXAttributes;
3175 helpstring("XSL Template 6.0"),
3176 progid("Msxml2.XSLTemplate.6.0"),
3177 threading(both),
3178 uuid(88d96a08-f192-11d4-a65f-0040963251e5)
3180 coclass XSLTemplate60
3182 [default] interface IXSLTemplate;
3186 helpstring("XML HTTP 6.0"),
3187 progid("Msxml2.XMLHTTP.6.0"),
3188 threading(apartment),
3189 uuid(88d96a0a-f192-11d4-a65f-0040963251e5)
3191 coclass XMLHTTP60
3193 [default] interface IXMLHTTPRequest;
3197 helpstring("Server XML HTTP 6.0"),
3198 progid("Msxml2.ServerXMLHTTP.6.0"),
3199 threading(apartment),
3200 uuid(88d96a0b-f192-11d4-a65f-0040963251e5)
3202 coclass ServerXMLHTTP60
3204 [default] interface IServerXMLHTTPRequest2;
3207 } /* Library MSXML */
3210 * Error Codes
3212 cpp_quote("#define E_XML_NOTWF 0xC00CE223")
3213 cpp_quote("#define E_XML_NODTD 0xC00CE224")
3214 cpp_quote("#define E_XML_INVALID 0xC00CE225")
3215 cpp_quote("#define E_XML_BUFFERTOOSMALL 0xC00CE226")