VirtualBox

source: vbox/trunk/src/VBox/Devices/Graphics/shaderlib/wine/include/msxml2.idl@ 107044

Last change on this file since 107044 was 53206, checked in by vboxsync, 10 years ago

Devices/vmsvga: header fixes

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 89.2 KB
Line 
1/*
2 * Copyright (C) 2005 Vijay Kiran Kamuju
3 * Copyright (C) 2008 Alistair Leslie-Hughes
4 * Copyright (C) 2010 Nikolay Sivov for CodeWeavers
5 *
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.
10 *
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.
15 *
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
19 */
20
21/*
22 * Oracle LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
23 * other than GPL or LGPL is available it will apply instead, Oracle elects to use only
24 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
25 * a choice of LGPL license versions is made available with the language indicating
26 * that LGPLv2 or any later version may be used, or where a choice of which version
27 * of the LGPL is applied is otherwise unspecified.
28 */
29
30#include <msxml2did.h>
31#include <idispids.h>
32
33import "unknwn.idl";
34import "objidl.idl";
35import "oaidl.idl";
36
37#if !defined(progid) && !defined(__WIDL__)
38#define threading(model)
39#define progid(str)
40#define vi_progid(str)
41#endif
42
43[
44 uuid(f5078f18-c551-11d3-89b9-0000f81fe221),
45 version(3.0),
46 helpstring("Microsoft XML, v3.0")
47]
48library MSXML2
49{
50
51importlib("stdole2.tlb");
52
53interface IXMLDOMImplementation;
54interface IXMLDOMNode;
55interface IXMLDOMDocumentFragment;
56interface IXMLDOMDocument;
57interface IXMLDOMSchemaCollection;
58interface IXMLDOMDocument2;
59interface IXMLDOMNodeList;
60interface IXMLDOMNamedNodeMap;
61interface IXMLDOMCharacterData;
62interface IXMLDOMAttribute;
63interface IXMLDOMElement;
64interface IXMLDOMText;
65interface IXMLDOMComment;
66interface IXMLDOMProcessingInstruction;
67interface IXMLDOMCDATASection;
68interface IXMLDOMDocumentType;
69interface IXMLDOMNotation;
70interface IXMLDOMEntity;
71interface IXMLDOMEntityReference;
72interface IXMLDOMParseError;
73interface IXMLDOMParseErrorCollection;
74interface IXTLRuntime;
75interface IXSLTemplate;
76interface IXSLProcessor;
77
78/* SAX Interfaces */
79interface ISAXAttributes;
80interface ISAXContentHandler;
81interface ISAXDeclHandler;
82interface ISAXDTDHandler;
83interface ISAXEntityResolver;
84interface ISAXErrorHandler;
85interface ISAXLexicalHandler;
86interface ISAXLocator;
87interface ISAXXMLFilter;
88interface ISAXXMLReader;
89
90interface IVBSAXAttributes;
91interface IVBSAXContentHandler;
92interface IVBSAXDeclHandler;
93interface IVBSAXDTDHandler;
94interface IVBSAXEntityResolver;
95interface IVBSAXErrorHandler;
96interface IVBSAXLexicalHandler;
97interface IVBSAXLocator;
98interface IVBSAXXMLFilter;
99interface IVBSAXXMLReader;
100
101interface IMXAttributes;
102interface IMXReaderControl;
103interface IMXWriter;
104
105interface IXMLDOMSchemaCollection2;
106interface ISchemaStringCollection;
107interface ISchemaItemCollection;
108interface ISchemaItem;
109interface ISchema;
110interface ISchemaParticle;
111interface ISchemaAttribute;
112interface ISchemaElement;
113interface ISchemaType;
114interface ISchemaComplexType;
115interface ISchemaAttributeGroup;
116interface ISchemaModelGroup;
117interface ISchemaAny;
118interface ISchemaIdentityConstraint;
119interface ISchemaNotation;
120
121
122cpp_quote("#define DOMDocument DOMDocument2")
123cpp_quote("#define CLSID_DOMDocument CLSID_DOMDocument2")
124
125cpp_quote("#ifndef __MSXML_DOMNODETYPE_DEFINED")
126cpp_quote("#define __MSXML_DOMNODETYPE_DEFINED")
127typedef enum tagDOMNodeType
128{
129 NODE_INVALID = 0,
130 NODE_ELEMENT = 1,
131 NODE_ATTRIBUTE = 2,
132 NODE_TEXT = 3,
133 NODE_CDATA_SECTION = 4,
134 NODE_ENTITY_REFERENCE = 5,
135 NODE_ENTITY = 6,
136 NODE_PROCESSING_INSTRUCTION = 7,
137 NODE_COMMENT = 8,
138 NODE_DOCUMENT = 9,
139 NODE_DOCUMENT_TYPE = 10,
140 NODE_DOCUMENT_FRAGMENT = 11,
141 NODE_NOTATION = 12
142} DOMNodeType;
143cpp_quote("#endif")
144
145typedef enum _SOMITEMTYPE
146{
147 SOMITEM_SCHEMA = 0x1000,
148 SOMITEM_ATTRIBUTE = 0x1001,
149 SOMITEM_ATTRIBUTEGROUP = 0x1002,
150 SOMITEM_NOTATION = 0x1003,
151 SOMITEM_IDENTITYCONSTRAINT = 0x1100,
152 SOMITEM_KEY = 0x1101,
153 SOMITEM_KEYREF = 0x1102,
154 SOMITEM_UNIQUE = 0x1103,
155 SOMITEM_ANYTYPE = 0x2000,
156 SOMITEM_DATATYPE = 0x2100,
157 SOMITEM_DATATYPE_ANYTYPE = 0x2101,
158 SOMITEM_DATATYPE_ANYURI = 0x2102,
159 SOMITEM_DATATYPE_BASE64BINARY = 0x2103,
160 SOMITEM_DATATYPE_BOOLEAN = 0x2104,
161 SOMITEM_DATATYPE_BYTE = 0x2105,
162 SOMITEM_DATATYPE_DATE = 0x2106,
163 SOMITEM_DATATYPE_DATETIME = 0x2107,
164 SOMITEM_DATATYPE_DAY = 0x2108,
165 SOMITEM_DATATYPE_DECIMAL = 0x2109,
166 SOMITEM_DATATYPE_DOUBLE = 0x210A,
167 SOMITEM_DATATYPE_DURATION = 0x210B,
168 SOMITEM_DATATYPE_ENTITIES = 0x210C,
169 SOMITEM_DATATYPE_ENTITY = 0x210D,
170 SOMITEM_DATATYPE_FLOAT = 0x210E,
171 SOMITEM_DATATYPE_HEXBINARY = 0x210F,
172 SOMITEM_DATATYPE_ID = 0x2110,
173 SOMITEM_DATATYPE_IDREF = 0x2111,
174 SOMITEM_DATATYPE_IDREFS = 0x2112,
175 SOMITEM_DATATYPE_INT = 0x2113,
176 SOMITEM_DATATYPE_INTEGER = 0x2114,
177 SOMITEM_DATATYPE_LANGUAGE = 0x2115,
178 SOMITEM_DATATYPE_LONG = 0x2116,
179 SOMITEM_DATATYPE_MONTH = 0x2117,
180 SOMITEM_DATATYPE_MONTHDAY = 0x2118,
181 SOMITEM_DATATYPE_NAME = 0x2119,
182 SOMITEM_DATATYPE_NCNAME = 0x211A,
183 SOMITEM_DATATYPE_NEGATIVEINTEGER = 0x211B,
184 SOMITEM_DATATYPE_NMTOKEN = 0x211C,
185 SOMITEM_DATATYPE_NMTOKENS = 0x211D,
186 SOMITEM_DATATYPE_NONNEGATIVEINTEGER = 0x211E,
187 SOMITEM_DATATYPE_NONPOSITIVEINTEGER = 0x211F,
188 SOMITEM_DATATYPE_NORMALIZEDSTRING = 0x2120,
189 SOMITEM_DATATYPE_NOTATION = 0x2121,
190 SOMITEM_DATATYPE_POSITIVEINTEGER = 0x2122,
191 SOMITEM_DATATYPE_QNAME = 0x2123,
192 SOMITEM_DATATYPE_SHORT = 0x2124,
193 SOMITEM_DATATYPE_STRING = 0x2125,
194 SOMITEM_DATATYPE_TIME = 0x2126,
195 SOMITEM_DATATYPE_TOKEN = 0x2127,
196 SOMITEM_DATATYPE_UNSIGNEDBYTE = 0x2128,
197 SOMITEM_DATATYPE_UNSIGNEDINT = 0x2129,
198 SOMITEM_DATATYPE_UNSIGNEDLONG = 0x212A,
199 SOMITEM_DATATYPE_UNSIGNEDSHORT = 0x212B,
200 SOMITEM_DATATYPE_YEAR = 0x212C,
201 SOMITEM_DATATYPE_YEARMONTH = 0x212D,
202 SOMITEM_DATATYPE_ANYSIMPLETYPE = 0x21FF,
203 SOMITEM_SIMPLETYPE = 0x2200,
204 SOMITEM_COMPLEXTYPE = 0x2400,
205 SOMITEM_PARTICLE = 0x4000,
206 SOMITEM_ANY = 0x4001,
207 SOMITEM_ANYATTRIBUTE = 0x4002,
208 SOMITEM_ELEMENT = 0x4003,
209 SOMITEM_GROUP = 0x4100,
210 SOMITEM_ALL = 0x4101,
211 SOMITEM_CHOICE = 0x4102,
212 SOMITEM_SEQUENCE = 0x4103,
213 SOMITEM_EMPTYPARTICLE = 0x4104,
214 SOMITEM_NULL = 0x0800,
215 SOMITEM_NULL_TYPE = 0x2800,
216 SOMITEM_NULL_ANY = 0x4801,
217 SOMITEM_NULL_ANYATTRIBUTE = 0x4802,
218 SOMITEM_NULL_ELEMENT = 0x4803,
219} SOMITEMTYPE;
220
221typedef enum _SCHEMAUSE
222{
223 SCHEMAUSE_OPTIONAL,
224 SCHEMAUSE_PROHIBITED,
225 SCHEMAUSE_REQUIRED,
226} SCHEMAUSE;
227
228typedef enum _SCHEMADERIVATIONMETHOD
229{
230 SCHEMADERIVATIONMETHOD_EMPTY = 0x0000,
231 SCHEMADERIVATIONMETHOD_SUBSTITUTION = 0x0001,
232 SCHEMADERIVATIONMETHOD_EXTENSION = 0x0002,
233 SCHEMADERIVATIONMETHOD_RESTRICTION = 0x0004,
234 SCHEMADERIVATIONMETHOD_LIST = 0x0008,
235 SCHEMADERIVATIONMETHOD_UNION = 0x0010,
236 SCHEMADERIVATIONMETHOD_ALL = 0x00FF,
237 SCHEMADERIVATIONMETHOD_NONE = 0x0100,
238} SCHEMADERIVATIONMETHOD;
239
240typedef enum _SCHEMACONTENTTYPE
241{
242 SCHEMACONTENTTYPE_EMPTY,
243 SCHEMACONTENTTYPE_TEXTONLY,
244 SCHEMACONTENTTYPE_ELEMENTONLY,
245 SCHEMACONTENTTYPE_MIXED,
246} SCHEMACONTENTTYPE;
247
248typedef enum _SCHEMAPROCESSCONTENTS
249{
250 SCHEMAPROCESSCONTENTS_NONE,
251 SCHEMAPROCESSCONTENTS_SKIP,
252 SCHEMAPROCESSCONTENTS_LAX,
253 SCHEMAPROCESSCONTENTS_STRICT,
254} SCHEMAPROCESSCONTENTS;
255
256typedef enum _SCHEMAWHITESPACE
257{
258 SCHEMAWHITESPACE_NONE = -1,
259 SCHEMAWHITESPACE_PRESERVE = 0,
260 SCHEMAWHITESPACE_REPLACE = 1,
261 SCHEMAWHITESPACE_COLLAPSE = 2,
262} SCHEMAWHITESPACE;
263
264
265typedef enum _SCHEMATYPEVARIETY
266{
267 SCHEMATYPEVARIETY_NONE = -1,
268 SCHEMATYPEVARIETY_ATOMIC = 0,
269 SCHEMATYPEVARIETY_LIST = 1,
270 SCHEMATYPEVARIETY_UNION = 2,
271} SCHEMATYPEVARIETY;
272
273[
274local,
275object,
276odl,
277dual,
278oleautomation,
279uuid(65725580-9b5d-11d0-9bfe-00c04fc99c8e)
280]
281interface IXMLElementCollection : IDispatch
282{
283 [propput, id(DISPID_XMLELEMENTCOLLECTION_LENGTH)]
284 HRESULT length( [in] LONG v );
285
286 [propget, id(DISPID_XMLELEMENTCOLLECTION_LENGTH)]
287 HRESULT length( [retval, out] LONG *p );
288
289 [propget, id(DISPID_XMLELEMENTCOLLECTION_NEWENUM)]
290 HRESULT _newEnum( [retval, out] IUnknown ** ppUnk );
291
292 [id(DISPID_XMLELEMENTCOLLECTION_ITEM)]
293 HRESULT item(
294 [optional, in] VARIANT var1,
295 [optional, in] VARIANT var2,
296 [retval, out] IDispatch ** ppDisp );
297}
298
299[
300local,
301object,
302uuid(3f7f31ac-e15f-11d0-9c25-00c04fc99c8e)
303]
304interface IXMLElement : IDispatch
305{
306 [propget, id(DISPID_XMLELEMENT_TAGNAME)]
307 HRESULT tagName( [retval, out] BSTR *p);
308
309 [propput, id(DISPID_XMLELEMENT_TAGNAME)]
310 HRESULT tagName( [in] BSTR p );
311
312 [propget, id(DISPID_XMLELEMENT_PARENT)]
313 HRESULT parent( [retval, out] IXMLElement **parent );
314
315 [id(DISPID_XMLELEMENT_SETATTRIBUTE)]
316 HRESULT setAttribute(
317 [in] BSTR strPropertyName,
318 [in] VARIANT PropertyValue );
319
320 [id(DISPID_XMLELEMENT_GETATTRIBUTE)]
321 HRESULT getAttribute(
322 [in] BSTR strPropertyName,
323 [retval, out] VARIANT *PropertyValue );
324
325 [id(DISPID_XMLELEMENT_REMOVEATTRIBUTE)]
326 HRESULT removeAttribute(
327 [in] BSTR strPropertyName );
328
329 [propget, id(DISPID_XMLELEMENT_CHILDREN)]
330 HRESULT children( [retval, out] IXMLElementCollection **p );
331
332 [propget, id(DISPID_XMLELEMENT_TYPE)]
333 HRESULT type( [retval, out] LONG *p );
334
335 [propget, id(DISPID_XMLELEMENT_TEXT)]
336 HRESULT text( [retval, out] BSTR *p );
337
338 [propput, id(DISPID_XMLELEMENT_TEXT)]
339 HRESULT text( [in] BSTR p );
340
341 [id(DISPID_XMLELEMENT_ADDCHILD)]
342 HRESULT addChild(
343 [in] IXMLElement *pChildElem,
344 [in] LONG lIndex,
345 [in] LONG lreserved );
346
347 [id(DISPID_XMLELEMENT_REMOVECHILD)]
348 HRESULT removeChild(
349 [in] IXMLElement *pChildElem );
350}
351
352[
353local,
354object,
355dual,
356oleautomation,
357uuid (2933BF80-7B36-11d2-B20E-00C04F983E60)
358]
359interface IXMLDOMNode : IDispatch
360{
361 [propget, id(DISPID_DOM_NODE_NODENAME)]
362 HRESULT nodeName([retval, out] BSTR *p);
363
364 [propget, id(DISPID_DOM_NODE_NODEVALUE)]
365 HRESULT nodeValue([retval, out] VARIANT *var1);
366
367 [propput, id(DISPID_DOM_NODE_NODEVALUE)]
368 HRESULT nodeValue([in] VARIANT var1);
369
370 [propget, id(DISPID_DOM_NODE_NODETYPE)]
371 HRESULT nodeType([retval, out] DOMNodeType *domNodeType);
372
373 [propget, id(DISPID_DOM_NODE_PARENTNODE)]
374 HRESULT parentNode([retval, out] IXMLDOMNode **parent);
375
376 [propget, id(DISPID_DOM_NODE_CHILDNODES)]
377 HRESULT childNodes([retval, out] IXMLDOMNodeList **outList);
378
379 [propget, id(DISPID_DOM_NODE_FIRSTCHILD)]
380 HRESULT firstChild([retval, out] IXMLDOMNode **domNode);
381
382 [propget, id(DISPID_DOM_NODE_LASTCHILD)]
383 HRESULT lastChild([retval, out] IXMLDOMNode **domNode);
384
385 [propget, id(DISPID_DOM_NODE_PREVIOUSSIBLING)]
386 HRESULT previousSibling([retval, out] IXMLDOMNode **domNode);
387
388 [propget, id(DISPID_DOM_NODE_NEXTSIBLING)]
389 HRESULT nextSibling([retval, out] IXMLDOMNode **domNode);
390
391 [propget, id(DISPID_DOM_NODE_ATTRIBUTES)]
392 HRESULT attributes([retval, out] IXMLDOMNamedNodeMap **attributeMap);
393
394 [id(DISPID_DOM_NODE_INSERTBEFORE)]
395 HRESULT insertBefore(
396 [in] IXMLDOMNode *newNode,
397 [in] VARIANT var1,
398 [retval, out] IXMLDOMNode **outOldNode);
399
400 [id(DISPID_DOM_NODE_REPLACECHILD)]
401 HRESULT replaceChild(
402 [in] IXMLDOMNode *newNode,
403 [in] IXMLDOMNode *oldNode,
404 [retval, out] IXMLDOMNode **outOldNode);
405
406 [id(DISPID_DOM_NODE_REMOVECHILD)]
407 HRESULT removeChild(
408 [in] IXMLDOMNode *domNode,
409 [retval, out] IXMLDOMNode **oldNode);
410
411 [id(DISPID_DOM_NODE_APPENDCHILD)]
412 HRESULT appendChild(
413 [in] IXMLDOMNode *newNode,
414 [retval, out] IXMLDOMNode **outNewNode);
415
416 [id(DISPID_DOM_NODE_HASCHILDNODES)]
417 HRESULT hasChildNodes(
418 [retval, out] VARIANT_BOOL *pbool);
419
420 [propget, id(DISPID_DOM_NODE_OWNERDOC)]
421 HRESULT ownerDocument([retval, out] IXMLDOMDocument **domDocument);
422
423 [id(DISPID_DOM_NODE_CLONENODE)]
424 HRESULT cloneNode(
425 [in] VARIANT_BOOL pbool,
426 [retval, out] IXMLDOMNode **outNode);
427
428 [propget, id(DISPID_XMLDOM_NODE_STRINGTYPE)]
429 HRESULT nodeTypeString([retval, out] BSTR *p);
430
431 [propget, id(DISPID_XMLDOM_NODE_TEXT)]
432 HRESULT text([retval, out] BSTR *p);
433
434 [propput, id(DISPID_XMLDOM_NODE_TEXT)]
435 HRESULT text([in] BSTR p);
436
437 [propget, id(DISPID_XMLDOM_NODE_SPECIFIED)]
438 HRESULT specified([retval, out] VARIANT_BOOL *pbool);
439
440 [propget, id(DISPID_XMLDOM_NODE_DEFINITION)]
441 HRESULT definition([retval,out] IXMLDOMNode **domNode);
442
443 [propget, id(DISPID_XMLDOM_NODE_NODETYPEDVALUE)]
444 HRESULT nodeTypedValue([retval, out] VARIANT *var1);
445
446 [propput, id(DISPID_XMLDOM_NODE_NODETYPEDVALUE)]
447 HRESULT nodeTypedValue([in] VARIANT var1);
448
449 [propget, id(DISPID_XMLDOM_NODE_DATATYPE)]
450 HRESULT dataType([retval, out] VARIANT *var1);
451
452 [propput, id(DISPID_XMLDOM_NODE_DATATYPE)]
453 HRESULT dataType([in] BSTR p);
454
455 [propget, id(DISPID_XMLDOM_NODE_XML)]
456 HRESULT xml([retval, out] BSTR *p);
457
458 [id(DISPID_XMLDOM_NODE_TRANSFORMNODE)]
459 HRESULT transformNode(
460 [in] IXMLDOMNode *domNode,
461 [retval, out] BSTR *p);
462
463 [id(DISPID_XMLDOM_NODE_SELECTNODES)]
464 HRESULT selectNodes(
465 [in] BSTR p,
466 [retval, out] IXMLDOMNodeList **outList);
467
468 [id(DISPID_XMLDOM_NODE_SELECTSINGLENODE)]
469 HRESULT selectSingleNode(
470 [in] BSTR p,
471 [retval, out] IXMLDOMNode **outNode);
472
473 [propget,id(DISPID_XMLDOM_NODE_PARSED)]
474 HRESULT parsed([retval, out] VARIANT_BOOL *pbool);
475
476 [propget, id(DISPID_XMLDOM_NODE_NAMESPACE)]
477 HRESULT namespaceURI([retval, out] BSTR *p);
478
479 [propget, id(DISPID_XMLDOM_NODE_PREFIX)]
480 HRESULT prefix([retval, out] BSTR *p);
481
482 [propget, id(DISPID_XMLDOM_NODE_BASENAME)]
483 HRESULT baseName([retval, out] BSTR *p);
484
485 [id(DISPID_XMLDOM_NODE_TRANSFORMNODETOOBJECT)]
486 HRESULT transformNodeToObject(
487 [in] IXMLDOMNode *domNode,
488 [in] VARIANT var1);
489}
490
491[
492local,
493object,
494dual,
495oleautomation,
496uuid (2933BF81-7B36-11d2-B20E-00C04F983E60)
497]
498interface IXMLDOMDocument : IXMLDOMNode
499{
500 [propget, id(DISPID_DOM_DOCUMENT_DOCTYPE)]
501 HRESULT doctype([retval, out] IXMLDOMDocumentType **docType);
502
503 [propget, id(DISPID_DOM_DOCUMENT_IMPLEMENTATION)]
504 HRESULT implementation([retval, out] IXMLDOMImplementation **impl);
505
506 [propget, id(DISPID_DOM_DOCUMENT_DOCUMENTELEMENT)]
507 HRESULT documentElement([retval, out] IXMLDOMElement **domElement);
508
509 [propputref, id(DISPID_DOM_DOCUMENT_DOCUMENTELEMENT)]
510 HRESULT documentElement([in] IXMLDOMElement *domElement);
511
512 [id(DISPID_DOM_DOCUMENT_CREATEELEMENT)]
513 HRESULT createElement(
514 [in] BSTR p,
515 [retval, out] IXMLDOMElement **domElement);
516
517 [id(DISPID_DOM_DOCUMENT_CREATEDOCUMENTFRAGMENT)]
518 HRESULT createDocumentFragment(
519 [retval, out] IXMLDOMDocumentFragment **docFrag);
520
521 [id(DISPID_DOM_DOCUMENT_CREATETEXTNODE)]
522 HRESULT createTextNode(
523 [in] BSTR p,
524 [retval, out] IXMLDOMText **text);
525
526 [id(DISPID_DOM_DOCUMENT_CREATECOMMENT)]
527 HRESULT createComment(
528 [in] BSTR p,
529 [retval, out] IXMLDOMComment **comment);
530
531 [id(DISPID_DOM_DOCUMENT_CREATECDATASECTION)]
532 HRESULT createCDATASection(
533 [in] BSTR p,
534 [retval, out] IXMLDOMCDATASection **cdata);
535
536 [id(DISPID_DOM_DOCUMENT_CREATEPROCESSINGINSTRUCTION)]
537 HRESULT createProcessingInstruction(
538 [in] BSTR target,
539 [in] BSTR data,
540 [retval, out] IXMLDOMProcessingInstruction **pi);
541
542 [id(DISPID_DOM_DOCUMENT_CREATEATTRIBUTE)]
543 HRESULT createAttribute(
544 [in] BSTR p,
545 [retval, out] IXMLDOMAttribute **attribute);
546
547 [id(DISPID_DOM_DOCUMENT_CREATEENTITYREFERENCE)]
548 HRESULT createEntityReference(
549 [in] BSTR p,
550 [retval, out] IXMLDOMEntityReference **entityRef);
551
552 [id(DISPID_DOM_DOCUMENT_GETELEMENTSBYTAGNAME)]
553 HRESULT getElementsByTagName(
554 [in] BSTR p,
555 [retval, out] IXMLDOMNodeList **resultList);
556
557 [id(DISPID_XMLDOM_DOCUMENT_CREATENODE)]
558 HRESULT createNode(
559 [in] VARIANT var,
560 [in] BSTR name,
561 [in] BSTR uri,
562 [retval, out] IXMLDOMNode **node);
563
564 [id(DISPID_XMLDOM_DOCUMENT_NODEFROMID)]
565 HRESULT nodeFromID(
566 [in] BSTR id,
567 [retval, out] IXMLDOMNode **node);
568
569 [id(DISPID_XMLDOM_DOCUMENT_LOAD)]
570 HRESULT load(
571 [in] VARIANT var1,
572 [retval, out] VARIANT_BOOL *pbool);
573
574 [propget, id(DISPID_READYSTATE)]
575 HRESULT readyState([retval, out] LONG *value);
576
577 [propget, id(DISPID_XMLDOM_DOCUMENT_PARSEERROR)]
578 HRESULT parseError([retval, out] IXMLDOMParseError **err);
579
580 [propget, id(DISPID_XMLDOM_DOCUMENT_URL)]
581 HRESULT url([retval, out] BSTR *p);
582
583 [propget, id(DISPID_XMLDOM_DOCUMENT_ASYNC)]
584 HRESULT async([retval, out] VARIANT_BOOL *pbool);
585
586 [propput, id(DISPID_XMLDOM_DOCUMENT_ASYNC)]
587 HRESULT async([in] VARIANT_BOOL pbool);
588
589 [id(DISPID_XMLDOM_DOCUMENT_ABORT)]
590 HRESULT abort();
591
592 [id(DISPID_XMLDOM_DOCUMENT_LOADXML)]
593 HRESULT loadXML(
594 [in] BSTR p,
595 [out, retval] VARIANT_BOOL *pbool);
596
597 [id(DISPID_XMLDOM_DOCUMENT_SAVE)]
598 HRESULT save(
599 [in] VARIANT var1);
600
601 [propget, id(DISPID_XMLDOM_DOCUMENT_VALIDATE)]
602 HRESULT validateOnParse([retval, out] VARIANT_BOOL *pbool);
603
604 [propput, id(DISPID_XMLDOM_DOCUMENT_VALIDATE)]
605 HRESULT validateOnParse([in] VARIANT_BOOL pbool);
606
607 [propget, id(DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE)]
608 HRESULT resolveExternals([retval,out] VARIANT_BOOL *pbool);
609
610 [propput, id(DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE)]
611 HRESULT resolveExternals([in] VARIANT_BOOL pbool);
612
613 [propget, id(DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE)]
614 HRESULT preserveWhiteSpace([retval,out] VARIANT_BOOL *pbool);
615
616 [propput, id(DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE)]
617 HRESULT preserveWhiteSpace([in] VARIANT_BOOL pbool);
618
619 [propput, id(DISPID_XMLDOM_DOCUMENT_ONREADYSTATECHANGE)]
620 HRESULT onreadystatechange([in] VARIANT var1);
621
622 [propput, id(DISPID_XMLDOM_DOCUMENT_ONDATAAVAILABLE)]
623 HRESULT ondataavailable([in] VARIANT var1);
624
625 [propput, id(DISPID_XMLDOM_DOCUMENT_ONTRANSFORMNODE)]
626 HRESULT ontransformnode([in] VARIANT var1);
627}
628
629[
630local,
631object,
632dual,
633oleautomation,
634uuid (373984c8-b845-449b-91e7-45ac83036ade)
635]
636interface IXMLDOMSchemaCollection : IDispatch
637{
638 [id(DISPID_XMLDOM_SCHEMACOLLECTION_ADD)]
639 HRESULT add(
640 [in] BSTR uri,
641 [in] VARIANT var);
642
643 [id(DISPID_XMLDOM_SCHEMACOLLECTION_GET)]
644 HRESULT get(
645 [in] BSTR uri,
646 [retval, out] IXMLDOMNode **node);
647
648 [id(DISPID_XMLDOM_SCHEMACOLLECTION_REMOVE)]
649 HRESULT remove(
650 [in] BSTR uri);
651
652 [propget, id(DISPID_XMLDOM_SCHEMACOLLECTION_LENGTH)]
653 HRESULT length(
654 [retval, out] LONG *length);
655
656 [propget, id(DISPID_VALUE)]
657 HRESULT namespaceURI([in] LONG index, [out, retval] BSTR *len);
658
659 [id(DISPID_XMLDOM_SCHEMACOLLECTION_ADDCOLLECTION)]
660 HRESULT addCollection(
661 [in] IXMLDOMSchemaCollection *otherCollection);
662
663 [propget, id(DISPID_NEWENUM)]
664 HRESULT _newEnum([retval, out] IUnknown **ppUnk);
665}
666
667[
668 local,
669 object,
670 dual,
671 oleautomation,
672 uuid(50ea08b0-dd1b-4664-9a50-c2f40f4bd79a),
673]
674interface IXMLDOMSchemaCollection2 : IXMLDOMSchemaCollection
675{
676 [id(DISPID_SOM_VALIDATE)]
677 HRESULT validate();
678
679 [propput, id(DISPID_SOM_VALIDATEONLOAD)]
680 HRESULT validateOnLoad(
681 [in] VARIANT_BOOL validateOnLoad);
682
683 [propget, id(DISPID_SOM_VALIDATEONLOAD)]
684 HRESULT validateOnLoad(
685 [out,retval] VARIANT_BOOL* validateOnLoad);
686
687 [id(DISPID_SOM_GETSCHEMA)]
688 HRESULT getSchema(
689 [in] BSTR namespaceURI,
690 [out,retval] ISchema** schema);
691
692 [id(DISPID_SOM_GETDECLARATION)]
693 HRESULT getDeclaration(
694 [in] IXMLDOMNode* node,
695 [out,retval]ISchemaItem** item);
696};
697
698[
699local,
700object,
701dual,
702oleautomation,
703uuid (2933BF95-7B36-11d2-B20E-00C04F983E60)
704]
705interface IXMLDOMDocument2 : IXMLDOMDocument
706{
707 [propget, id(DISPID_XMLDOM_DOCUMENT2_NAMESPACES)]
708 HRESULT namespaces([retval, out] IXMLDOMSchemaCollection **schemaCollection);
709
710 [propget, id(DISPID_XMLDOM_DOCUMENT2_SCHEMAS)]
711 HRESULT schemas([retval, out] VARIANT *var1);
712
713 [propputref, id(DISPID_XMLDOM_DOCUMENT2_SCHEMAS)]
714 HRESULT schemas([in] VARIANT var1);
715
716 [id(DISPID_XMLDOM_DOCUMENT2_VALIDATE)]
717 HRESULT validate(
718 [retval, out] IXMLDOMParseError **err);
719
720 [id(DISPID_XMLDOM_DOCUMENT2_SETPROPERTY)]
721 HRESULT setProperty(
722 [in] BSTR p,
723 [in] VARIANT var);
724
725 [id(DISPID_XMLDOM_DOCUMENT2_GETPROPERTY)]
726 HRESULT getProperty(
727 [in] BSTR p,
728 [retval, out] VARIANT *var);
729}
730
731[
732 local,
733 object,
734 dual,
735 uuid(2933bf96-7b36-11d2-b20e-00c04f983e60),
736 oleautomation,
737]
738interface IXMLDOMDocument3 : IXMLDOMDocument2
739{
740 [id(DISPID_XMLDOM_DOCUMENT3_VALIDATENODE)]
741 HRESULT validateNode(
742 [in] IXMLDOMNode *node,
743 [out, retval] IXMLDOMParseError **error);
744
745 [id(DISPID_XMLDOM_DOCUMENT3_IMPORTNODE)]
746 HRESULT importNode(
747 [in] IXMLDOMNode *node,
748 [in] VARIANT_BOOL deep,
749 [out, retval] IXMLDOMNode **clone);
750}
751
752[
753local,
754object,
755dual,
756oleautomation,
757uuid (2933BF82-7B36-11d2-B20E-00C04F983E60)
758]
759interface IXMLDOMNodeList : IDispatch
760{
761 [propget, id(DISPID_VALUE)]
762 HRESULT item([in] LONG lIndex, [retval, out] IXMLDOMNode **outNode);
763
764 [propget, id(DISPID_DOM_NODELIST_LENGTH)]
765 HRESULT length([retval, out] LONG *lLength);
766
767 [id(DISPID_XMLDOM_NODELIST_NEXTNODE)]
768 HRESULT nextNode(
769 [retval, out] IXMLDOMNode **outNode);
770
771 [id(DISPID_XMLDOM_NODELIST_RESET)]
772 HRESULT reset();
773
774 [propget, id(DISPID_NEWENUM)]
775 HRESULT _newEnum([retval, out] IUnknown **ppUnk);
776}
777
778[
779local,
780object,
781dual,
782oleautomation,
783uuid (AA634FC7-5888-44a7-A257-3A47150D3A0E)
784]
785interface IXMLDOMSelection : IXMLDOMNodeList
786{
787 [propget, id(DISPID_XMLDOM_SELECTION_EXPR)]
788 HRESULT expr([retval, out] BSTR *p);
789
790 [propput, id(DISPID_XMLDOM_SELECTION_EXPR)]
791 HRESULT expr([in] BSTR p);
792
793 [propget, id(DISPID_XMLDOM_SELECTION_CONTEXT)]
794 HRESULT context([retval, out] IXMLDOMNode **ppNode);
795
796 [propputref, id(DISPID_XMLDOM_SELECTION_CONTEXT)]
797 HRESULT context([in] IXMLDOMNode * pNode);
798
799 [id(DISPID_XMLDOM_SELECTION_PEEKNODE)]
800 HRESULT peekNode(
801 [retval, out] IXMLDOMNode **ppNode);
802
803 [id(DISPID_XMLDOM_SELECTION_MATCHES)]
804 HRESULT matches(
805 [in] IXMLDOMNode *pNode,
806 [retval, out] IXMLDOMNode **ppNode);
807
808 [id(DISPID_XMLDOM_SELECTION_REMOVENEXT)]
809 HRESULT removeNext(
810 [retval, out] IXMLDOMNode **ppNode);
811
812 [id(DISPID_XMLDOM_SELECTION_REMOVEALL)]
813 HRESULT removeAll();
814
815 [id(DISPID_XMLDOM_SELECTION_CLONE)]
816 HRESULT clone(
817 [retval, out] IXMLDOMSelection **ppNode);
818
819 [id(DISPID_XMLDOM_SELECTION_GETPROPERTY)]
820 HRESULT getProperty(
821 [in] BSTR p,
822 [retval, out] VARIANT * var);
823
824 [id(DISPID_XMLDOM_SELECTION_SETPROPERTY)]
825 HRESULT setProperty(
826 [in] BSTR p,
827 [in] VARIANT var);
828}
829
830[
831local,
832object,
833dual,
834oleautomation,
835uuid (2933BF83-7B36-11d2-B20E-00C04F983E60)
836]
837interface IXMLDOMNamedNodeMap : IDispatch
838{
839 [id(DISPID_DOM_NAMEDNODEMAP_GETNAMEDITEM)]
840 HRESULT getNamedItem(
841 [in] BSTR p,
842 [retval, out] IXMLDOMNode **outNode);
843
844 [id(DISPID_DOM_NAMEDNODEMAP_SETNAMEDITEM)]
845 HRESULT setNamedItem(
846 [in] IXMLDOMNode *newNode,
847 [retval, out] IXMLDOMNode **outNode);
848
849 [id(DISPID_DOM_NAMEDNODEMAP_REMOVENAMEDITEM)]
850 HRESULT removeNamedItem(
851 [in] BSTR p,
852 [retval, out] IXMLDOMNode **outNode);
853
854 [propget, id(DISPID_VALUE)]
855 HRESULT item([in] LONG lIndex, [retval, out] IXMLDOMNode **outNode);
856
857 [propget, id(DISPID_DOM_NODELIST_LENGTH)]
858 HRESULT length([retval, out] LONG *lLength);
859
860 [id(DISPID_XMLDOM_NAMEDNODEMAP_GETQUALIFIEDITEM)]
861 HRESULT getQualifiedItem(
862 [in] BSTR name,
863 [in] BSTR uri,
864 [retval, out] IXMLDOMNode **outNode);
865
866 [id(DISPID_XMLDOM_NAMEDNODEMAP_REMOVEQUALIFIEDITEM)]
867 HRESULT removeQualifiedItem(
868 [in] BSTR name,
869 [in] BSTR uri,
870 [retval, out] IXMLDOMNode **outNode);
871
872 [id(DISPID_XMLDOM_NAMEDNODEMAP_NEXTNODE)]
873 HRESULT nextNode(
874 [retval, out] IXMLDOMNode **outNode);
875
876 [id(DISPID_XMLDOM_NAMEDNODEMAP_RESET)]
877 HRESULT reset();
878
879 [propget, id(DISPID_NEWENUM)]
880 HRESULT _newEnum([retval, out] IUnknown **ppUnk);
881}
882
883[
884local,
885object,
886dual,
887oleautomation,
888uuid (3efaa413-272f-11d2-836f-0000f87a7782)
889]
890interface IXMLDOMDocumentFragment : IXMLDOMNode
891{
892}
893
894[
895local,
896object,
897dual,
898oleautomation,
899uuid (2933BF84-7B36-11d2-B20E-00C04F983E60)
900]
901interface IXMLDOMCharacterData : IXMLDOMNode
902{
903 [propget, id(DISPID_DOM_DATA_DATA)]
904 HRESULT data([retval, out] BSTR *p);
905
906 [propput, id(DISPID_DOM_DATA_DATA)]
907 HRESULT data([in] BSTR data);
908
909 [propget, id(DISPID_DOM_DATA_LENGTH)]
910 HRESULT length([retval, out] LONG *len);
911
912 [id(DISPID_DOM_DATA_SUBSTRING)]
913 HRESULT substringData(
914 [in] LONG offset,
915 [in] LONG count,
916 [retval, out] BSTR *p);
917
918 [id(DISPID_DOM_DATA_APPEND)]
919 HRESULT appendData(
920 [in] BSTR p);
921
922 [id(DISPID_DOM_DATA_INSERT)]
923 HRESULT insertData(
924 [in] LONG offset,
925 [in] BSTR p);
926
927 [id(DISPID_DOM_DATA_DELETE)]
928 HRESULT deleteData(
929 [in] LONG offset,
930 [in] LONG count);
931
932 [id(DISPID_DOM_DATA_REPLACE)]
933 HRESULT replaceData(
934 [in] LONG offset,
935 [in] LONG count,
936 [in] BSTR p);
937}
938
939[
940local,
941object,
942dual,
943oleautomation,
944uuid (2933BF85-7B36-11d2-B20E-00C04F983E60)
945]
946interface IXMLDOMAttribute : IXMLDOMNode
947{
948 [propget, id(DISPID_DOM_ATTRIBUTE_GETNAME)]
949 HRESULT name([retval, out] BSTR *p);
950
951 [propget, id(DISPID_DOM_ATTRIBUTE_VALUE)]
952 HRESULT value([retval, out] VARIANT *var1);
953
954 [propput, id(DISPID_DOM_ATTRIBUTE_VALUE)]
955 HRESULT value([in] VARIANT var1);
956}
957
958[
959local,
960object,
961dual,
962oleautomation,
963uuid (2933BF86-7B36-11d2-B20E-00C04F983E60)
964]
965interface IXMLDOMElement : IXMLDOMNode
966{
967 [propget, id(DISPID_DOM_ELEMENT_GETTAGNAME)]
968 HRESULT tagName([retval, out] BSTR *p);
969
970 [id(DISPID_DOM_ELEMENT_GETATTRIBUTE)]
971 HRESULT getAttribute(
972 [in] BSTR p,
973 [retval, out] VARIANT *var);
974
975 [id(DISPID_DOM_ELEMENT_SETATTRIBUTE)]
976 HRESULT setAttribute(
977 [in] BSTR p,
978 [in] VARIANT var);
979
980 [id(DISPID_DOM_ELEMENT_REMOVEATTRIBUTE)]
981 HRESULT removeAttribute(
982 [in] BSTR p);
983
984 [id(DISPID_DOM_ELEMENT_GETATTRIBUTENODE)]
985 HRESULT getAttributeNode(
986 [in] BSTR p,
987 [retval, out] IXMLDOMAttribute **attributeNode);
988
989 [id(DISPID_DOM_ELEMENT_SETATTRIBUTENODE)]
990 HRESULT setAttributeNode(
991 [in] IXMLDOMAttribute *domAttribute,
992 [retval, out] IXMLDOMAttribute **attributeNode);
993
994 [id(DISPID_DOM_ELEMENT_REMOVEATTRIBUTENODE)]
995 HRESULT removeAttributeNode(
996 [in] IXMLDOMAttribute *domAttribute,
997 [retval, out] IXMLDOMAttribute **attributeNode);
998
999 [id(DISPID_DOM_ELEMENT_GETELEMENTSBYTAGNAME)]
1000 HRESULT getElementsByTagName(
1001 [in] BSTR p,
1002 [retval, out] IXMLDOMNodeList **resultList);
1003
1004 [id(DISPID_DOM_ELEMENT_NORMALIZE)]
1005 HRESULT normalize();
1006}
1007
1008[
1009local,
1010object,
1011dual,
1012oleautomation,
1013uuid (2933BF87-7B36-11d2-B20E-00C04F983E60)
1014]
1015interface IXMLDOMText : IXMLDOMCharacterData
1016{
1017 [id(DISPID_DOM_TEXT_SPLITTEXT)]
1018 HRESULT splitText(
1019 [in] LONG offset,
1020 [retval, out] IXMLDOMText **txtNode);
1021}
1022
1023[
1024local,
1025object,
1026dual,
1027oleautomation,
1028uuid (2933BF88-7B36-11d2-B20E-00C04F983E60)
1029]
1030interface IXMLDOMComment : IXMLDOMCharacterData
1031{
1032}
1033
1034[
1035local,
1036object,
1037dual,
1038oleautomation,
1039uuid (2933BF89-7B36-11d2-B20E-00C04F983E60)
1040]
1041interface IXMLDOMProcessingInstruction : IXMLDOMNode
1042{
1043 [propget, id(DISPID_DOM_PI_TARGET)]
1044 HRESULT target([retval, out] BSTR *p);
1045
1046 [propget, id(DISPID_DOM_PI_DATA)]
1047 HRESULT data([retval, out] BSTR *p);
1048
1049 [propput, id(DISPID_DOM_PI_DATA)]
1050 HRESULT data([in] BSTR p);
1051}
1052
1053[
1054local,
1055object,
1056dual,
1057oleautomation,
1058uuid (2933BF8A-7B36-11d2-B20E-00C04F983E60)
1059]
1060interface IXMLDOMCDATASection : IXMLDOMText
1061{
1062}
1063
1064[
1065local,
1066object,
1067dual,
1068oleautomation,
1069uuid (2933BF8B-7B36-11d2-B20E-00C04F983E60)
1070]
1071interface IXMLDOMDocumentType : IXMLDOMNode
1072{
1073 [propget, id(DISPID_DOM_DOCUMENTTYPE_NAME)]
1074 HRESULT name([retval, out] BSTR *p);
1075
1076 [propget, id(DISPID_DOM_DOCUMENTTYPE_ENTITIES)]
1077 HRESULT entities([retval, out] IXMLDOMNamedNodeMap **entityMap);
1078
1079 [propget, id(DISPID_DOM_DOCUMENTTYPE_NOTATIONS)]
1080 HRESULT notations([retval, out] IXMLDOMNamedNodeMap **notationMap);
1081}
1082
1083[
1084local,
1085object,
1086dual,
1087oleautomation,
1088uuid (2933BF8C-7B36-11d2-B20E-00C04F983E60)
1089]
1090interface IXMLDOMNotation : IXMLDOMNode
1091{
1092 [propget, id(DISPID_DOM_NOTATION_PUBLICID)]
1093 HRESULT publicId([retval, out] VARIANT *id);
1094
1095 [propget, id(DISPID_DOM_NOTATION_SYSTEMID)]
1096 HRESULT systemId([retval, out] VARIANT *id);
1097}
1098
1099[
1100local,
1101object,
1102dual,
1103oleautomation,
1104uuid (2933BF8D-7B36-11d2-B20E-00C04F983E60)
1105]
1106interface IXMLDOMEntity : IXMLDOMNode
1107{
1108 [propget, id(DISPID_DOM_ENTITY_PUBLICID)]
1109 HRESULT publicId([retval, out] VARIANT *id1);
1110
1111 [propget, id(DISPID_DOM_ENTITY_SYSTEMID)]
1112 HRESULT systemId([retval, out] VARIANT *id1);
1113
1114 [propget, id(DISPID_DOM_ENTITY_NOTATIONNAME)]
1115 HRESULT notationName([retval, out] BSTR *p);
1116}
1117
1118[
1119local,
1120object,
1121dual,
1122oleautomation,
1123uuid (2933BF8E-7B36-11d2-B20E-00C04F983E60)
1124]
1125interface IXMLDOMEntityReference : IXMLDOMNode
1126{
1127}
1128
1129[
1130local,
1131object,
1132dual,
1133oleautomation,
1134uuid (2933BF8F-7B36-11d2-B20E-00C04F983E60)
1135]
1136interface IXMLDOMImplementation : IDispatch
1137{
1138 [id(DISPID_DOM_IMPLEMENTATION_HASFEATURE)]
1139 HRESULT hasFeature(
1140 [in] BSTR feature,
1141 [in] BSTR version,
1142 [retval, out] VARIANT_BOOL *pbool);
1143}
1144
1145[
1146local,
1147object,
1148dual,
1149oleautomation,
1150uuid (3efaa425-272f-11d2-836f-0000f87a7782)
1151]
1152interface IXTLRuntime : IXMLDOMNode
1153{
1154 [id(DISPID_XTLRUNTIME_UNIQUEID)]
1155 HRESULT uniqueID(
1156 [in]IXMLDOMNode *pNode,
1157 [retval, out]LONG *pID);
1158
1159 [id(DISPID_XTLRUNTIME_DEPTH)]
1160 HRESULT depth(
1161 [in] IXMLDOMNode *pNode,
1162 [retval, out]LONG * pDepth);
1163
1164 [id(DISPID_XTLRUNTIME_CHILDNUMBER)]
1165 HRESULT childNumber(
1166 [in]IXMLDOMNode *pNode,
1167 [retval, out] LONG *pNumber);
1168
1169 [id(DISPID_XTLRUNTIME_ANCESTORCHILDNUMBER)]
1170 HRESULT ancestorChildNumber(
1171 [in]BSTR bstr,
1172 [in]IXMLDOMNode *pNode,
1173 [retval, out]LONG *pNumber);
1174
1175 [id(DISPID_XTLRUNTIME_ABSOLUTECHILDNUMBER)]
1176 HRESULT absoluteChildNumber(
1177 [in]IXMLDOMNode *pNode,
1178 [retval, out]LONG *pNumber);
1179
1180 [id(DISPID_XTLRUNTIME_FORMATINDEX)]
1181 HRESULT formatIndex(
1182 [in] LONG lIndex,
1183 [in] BSTR bstr,
1184 [retval, out]BSTR *pbstr);
1185
1186 [id(DISPID_XTLRUNTIME_FORMATNUMBER)]
1187 HRESULT formatNumber(
1188 [in] double dblNumber,
1189 [in] BSTR bstr,
1190 [retval, out]BSTR *pbstr);
1191
1192 [id(DISPID_XTLRUNTIME_FORMATDATE)]
1193 HRESULT formatDate(
1194 [in] VARIANT var1,
1195 [in] BSTR bstr,
1196 [optional, in] VARIANT var2,
1197 [retval, out]BSTR *pbstr);
1198
1199 [id(DISPID_XTLRUNTIME_FORMATTIME)]
1200 HRESULT formatTime(
1201 [in] VARIANT var1,
1202 [in] BSTR bstr,
1203 [optional, in] VARIANT var2,
1204 [retval, out]BSTR *pbstr);
1205
1206}
1207
1208[
1209local,
1210object,
1211odl,
1212dual,
1213oleautomation,
1214uuid(310afa62-0575-11d2-9ca9-0060b0ec3d39),
1215pointer_default(unique)
1216]
1217interface IDSOControl : IDispatch
1218{
1219 [propget,id(DISPID_XMLDSO_DOCUMENT)]
1220 HRESULT XMLDocument([out, retval] IXMLDOMDocument** ppDoc);
1221
1222 [propput,id(DISPID_XMLDSO_DOCUMENT)]
1223 HRESULT XMLDocument([in] IXMLDOMDocument* ppDoc);
1224
1225 [propget,id(DISPID_XMLDSO_JAVADSOCOMPATIBLE)]
1226 HRESULT JavaDSOCompatible([out, retval] BOOL* fJavaDSOCompatible);
1227
1228 [propput,id(DISPID_XMLDSO_JAVADSOCOMPATIBLE)]
1229 HRESULT JavaDSOCompatible([in] BOOL fJavaDSOCompatible);
1230
1231 [propget, id(DISPID_READYSTATE)]
1232 HRESULT readyState([out, retval] long *state);
1233}
1234
1235[
1236 uuid(3efaa427-272f-11d2-836f-0000f87a7782)
1237]
1238dispinterface XMLDOMDocumentEvents
1239{
1240 properties:
1241 methods:
1242 [id (DISPID_XMLDOMEVENT_ONDATAAVAILABLE)]
1243 HRESULT ondataavailable();
1244
1245 [id (DISPID_XMLDOMEVENT_ONREADYSTATECHANGE)]
1246 HRESULT onreadystatechange();
1247}
1248
1249[
1250local,
1251object,
1252dual,
1253oleautomation,
1254uuid (2933BF92-7B36-11d2-B20E-00C04F983E60)
1255]
1256interface IXSLProcessor : IDispatch
1257{
1258 [propput, id(DISPID_XMLDOM_PROCESSOR_INPUT)]
1259 HRESULT input([in] VARIANT var);
1260
1261 [propget, id(DISPID_XMLDOM_PROCESSOR_INPUT)]
1262 HRESULT input([retval, out] VARIANT *var);
1263
1264 [propget, id(DISPID_XMLDOM_PROCESSOR_XSLTEMPLATE)]
1265 HRESULT ownerTemplate([retval, out] IXSLTemplate **ppTemplate);
1266
1267 [id(DISPID_XMLDOM_PROCESSOR_SETSTARTMODE)]
1268 HRESULT setStartMode(
1269 [in] BSTR p,
1270 [in, defaultvalue("")] BSTR uri);
1271
1272 [propget, id(DISPID_XMLDOM_PROCESSOR_STARTMODE)]
1273 HRESULT startMode([retval, out] BSTR *p);
1274
1275 [propget, id(DISPID_XMLDOM_PROCESSOR_STARTMODEURI)]
1276 HRESULT startModeURI([retval, out] BSTR *uri);
1277
1278 [propput, id(DISPID_XMLDOM_PROCESSOR_OUTPUT)]
1279 HRESULT output([in] VARIANT var);
1280
1281 [propget, id(DISPID_XMLDOM_PROCESSOR_OUTPUT)]
1282 HRESULT output([retval, out] VARIANT *var);
1283
1284 [id(DISPID_XMLDOM_PROCESSOR_TRANSFORM)]
1285 HRESULT transform(
1286 [retval, out] VARIANT_BOOL *pbool);
1287
1288 [id(DISPID_XMLDOM_PROCESSOR_RESET)]
1289 HRESULT reset();
1290
1291 [propget, id(DISPID_XMLDOM_PROCESSOR_READYSTATE)]
1292 HRESULT readyState([retval, out] LONG *pstate);
1293
1294 [id(DISPID_XMLDOM_PROCESSOR_ADDPARAMETER)]
1295 HRESULT addParameter(
1296 [in] BSTR p,
1297 [in] VARIANT var,
1298 [in, defaultvalue("")] BSTR uri);
1299
1300 [id(DISPID_XMLDOM_PROCESSOR_ADDOBJECT)]
1301 HRESULT addObject(
1302 [in] IDispatch* obj,
1303 [in] BSTR uri);
1304
1305 [propget, id(DISPID_XMLDOM_PROCESSOR_STYLESHEET)]
1306 HRESULT stylesheet([retval, out] IXMLDOMNode **node);
1307}
1308
1309[
1310local,
1311object,
1312dual,
1313oleautomation,
1314uuid (2933BF93-7B36-11d2-B20E-00C04F983E60)
1315]
1316interface IXSLTemplate : IDispatch
1317{
1318 [propputref, id(DISPID_XMLDOM_TEMPLATE_STYLESHEET)]
1319 HRESULT stylesheet([in] IXMLDOMNode *node);
1320
1321 [propget, id(DISPID_XMLDOM_TEMPLATE_STYLESHEET)]
1322 HRESULT stylesheet([retval, out] IXMLDOMNode **node);
1323
1324 [id(DISPID_XMLDOM_TEMPLATE_CREATEPROCESSOR)]
1325 HRESULT createProcessor(
1326 [retval, out] IXSLProcessor **ppProcessor);
1327}
1328
1329[
1330 object,
1331 uuid(ED8C108D-4349-11D2-91A4-00C04F7969E8),
1332 odl,
1333 dual,
1334 oleautomation,
1335 pointer_default(unique)
1336]
1337interface IXMLHTTPRequest : IDispatch
1338{
1339 [id(1)]
1340 HRESULT open([in] BSTR bstrMethod, [in] BSTR bstrUrl, [in, optional] VARIANT varAsync,
1341 [in,optional] VARIANT username, [in,optional] VARIANT password);
1342
1343 [id(2)]
1344 HRESULT setRequestHeader([in] BSTR bstrHeader, [in] BSTR bstrValue);
1345
1346 [id(3)]
1347 HRESULT getResponseHeader([in] BSTR bstrHeader, [out, retval] BSTR * value);
1348
1349 [id(4)]
1350 HRESULT getAllResponseHeaders([out, retval] BSTR * pbstrHeaders);
1351
1352 [id(5)]
1353 HRESULT send([in, optional] VARIANT body);
1354
1355 [id(6)]
1356 HRESULT abort();
1357
1358 [propget, id(7)]
1359 HRESULT status([out, retval] LONG *pStatus);
1360
1361 [propget, id(8)]
1362 HRESULT statusText([out, retval] BSTR *pStatus);
1363
1364 [propget, id(9)]
1365 HRESULT responseXML([out, retval] IDispatch **pBody);
1366
1367 [propget, id(10)]
1368 HRESULT responseText([out, retval] BSTR *pBody);
1369
1370 [propget, id(11)]
1371 HRESULT responseBody([out, retval] VARIANT *pBody);
1372
1373 [propget, id(12)]
1374 HRESULT responseStream([out, retval] VARIANT *pBody);
1375
1376 [propget, id(13)]
1377 HRESULT readyState([out, retval] LONG *pState);
1378
1379 [propput, id(14)]
1380 HRESULT onreadystatechange([in] IDispatch *pReadyStateSink);
1381};
1382
1383[
1384object,
1385dual,
1386oleautomation,
1387uuid(2e9196bf-13ba-4dd4-91ca-6c571f281495)
1388]
1389interface IServerXMLHTTPRequest : IXMLHTTPRequest
1390{
1391 typedef enum _SERVERXMLHTTP_OPTION
1392 {
1393 SXH_OPTION_URL = -1,
1394 SXH_OPTION_URL_CODEPAGE,
1395 SXH_OPTION_ESCAPE_PERCENT_IN_URL,
1396 SXH_OPTION_IGNORE_SERVER_SSL_CERT_ERROR_FLAGS,
1397 SXH_OPTION_SELECT_CLIENT_SSL_CERT
1398 } SERVERXMLHTTP_OPTION;
1399
1400 [id(15)]
1401 HRESULT setTimeouts(
1402 [in] long resolveTimeout,
1403 [in] long connectTimeout,
1404 [in] long sendTimeout,
1405 [in] long receiveTimeout);
1406
1407 [id(16)]
1408 HRESULT waitForResponse(
1409 [in, optional] VARIANT timeoutInSeconds,
1410 [out, retval] VARIANT_BOOL * isSuccessful);
1411
1412 [id(17)]
1413 HRESULT getOption(
1414 [in] SERVERXMLHTTP_OPTION option,
1415 [out, retval] VARIANT * value);
1416
1417 [id(18)]
1418 HRESULT setOption(
1419 [in] SERVERXMLHTTP_OPTION option,
1420 [in] VARIANT value);
1421}
1422
1423[
1424object,
1425dual,
1426oleautomation,
1427uuid(2e01311b-c322-4b0a-bd77-b90cfdc8dce7)
1428]
1429interface IServerXMLHTTPRequest2 : IServerXMLHTTPRequest
1430{
1431 typedef enum _SXH_PROXY_SETTING
1432 {
1433 SXH_PROXY_SET_DEFAULT = 0,
1434 SXH_PROXY_SET_PRECONFIG = 0,
1435 SXH_PROXY_SET_DIRECT,
1436 SXH_PROXY_SET_PROXY
1437 } SXH_PROXY_SETTING;
1438
1439 [id(19)]
1440 HRESULT setProxy(
1441 [in] SXH_PROXY_SETTING proxySetting,
1442 [in, optional] VARIANT varProxyServer,
1443 [in, optional] VARIANT varBypassList);
1444
1445 [id(20)]
1446 HRESULT setProxyCredentials(
1447 [in] BSTR bstrUserName,
1448 [in] BSTR bstrPassword);
1449}
1450
1451[
1452local,
1453object,
1454dual,
1455oleautomation,
1456uuid (3efaa426-272f-11d2-836f-0000f87a7782)
1457]
1458interface IXMLDOMParseError : IDispatch
1459{
1460 [propget, id(DISPID_VALUE)]
1461 HRESULT errorCode([retval, out] LONG *errCode);
1462
1463 [propget, id(DISPID_DOM_ERROR_URL)]
1464 HRESULT url([retval, out] BSTR *p);
1465
1466 [propget, id(DISPID_DOM_ERROR_REASON)]
1467 HRESULT reason([retval, out] BSTR *p);
1468
1469 [propget, id(DISPID_DOM_ERROR_SRCTEXT)]
1470 HRESULT srcText([retval, out] BSTR *p);
1471
1472 [propget, id(DISPID_DOM_ERROR_LINE)]
1473 HRESULT line([retval, out] LONG *lineNo);
1474
1475 [propget, id(DISPID_DOM_ERROR_LINEPOS)]
1476 HRESULT linepos([retval, out] LONG * linePos);
1477
1478 [propget, id(DISPID_DOM_ERROR_FILEPOS)]
1479 HRESULT filepos([retval, out] LONG * filePos);
1480}
1481
1482[
1483local,
1484object,
1485dual,
1486oleautomation,
1487uuid (3efaa428-272f-11d2-836f-0000f87a7782)
1488]
1489interface IXMLDOMParseError2 : IXMLDOMParseError
1490{
1491 [propget, id(DISPID_DOM_ERROR2_ERRORXPATH)]
1492 HRESULT errorXPath([retval, out] BSTR *xpathexpr);
1493
1494 [propget, id(DISPID_DOM_ERROR2_ALLERRORS)]
1495 HRESULT allErrors([retval, out] IXMLDOMParseErrorCollection **allErrors);
1496
1497 [id(DISPID_DOM_ERROR2_ERRORPARAMETERS)]
1498 HRESULT errorParameters(
1499 [in] long index,
1500 [retval, out] BSTR *param);
1501
1502 [propget, id(DISPID_DOM_ERROR2_ERRORPARAMETERSCOUNT)]
1503 HRESULT errorParametersCount([retval, out] long *count);
1504}
1505
1506[
1507local,
1508object,
1509dual,
1510oleautomation,
1511uuid (3efaa429-272f-11d2-836f-0000f87a7782)
1512]
1513interface IXMLDOMParseErrorCollection : IDispatch
1514{
1515 [propget, id(DISPID_VALUE)]
1516 HRESULT item(
1517 [in] long index,
1518 [retval, out] IXMLDOMParseError2 **error);
1519
1520 [propget, id(DISPID_DOM_ERRORCOLLECTION_LENGTH)]
1521 HRESULT length( [retval, out] long *length);
1522
1523 [propget, id(DISPID_DOM_ERRORCOLLECTION_NEXT)]
1524 HRESULT next( [retval, out] IXMLDOMParseError2 **error);
1525
1526 [id(DISPID_DOM_ERRORCOLLECTION_RESET)]
1527 HRESULT reset();
1528
1529 [propget, hidden, restricted, id(DISPID_NEWENUM)]
1530 HRESULT _newEnum( [retval, out] IUnknown **ppunk);
1531}
1532
1533[
1534 uuid(f5078f1b-c551-11d3-89b9-0000f81fe221)
1535]
1536coclass DOMDocument26
1537{
1538 [default] interface IXMLDOMDocument2;
1539 [default, source] dispinterface XMLDOMDocumentEvents;
1540}
1541
1542[
1543 helpstring("XML DOM Document 3.0"),
1544 progid("Msxml2.DOMDocument.3.0"),
1545 vi_progid("Msxml2.DOMDocument"),
1546 threading(both),
1547 uuid(f5078f32-c551-11d3-89b9-0000f81fe221)
1548]
1549coclass DOMDocument30
1550{
1551 [default] interface IXMLDOMDocument2;
1552 [default, source] dispinterface XMLDOMDocumentEvents;
1553}
1554
1555[
1556 uuid(88d969c0-f192-11d4-a65f-0040963251e5)
1557]
1558coclass DOMDocument40
1559{
1560 [default] interface IXMLDOMDocument2;
1561 [default, source] dispinterface XMLDOMDocumentEvents;
1562}
1563
1564[
1565 uuid(88d96a05-f192-11d4-a65f-0040963251e5)
1566]
1567coclass DOMDocument60
1568{
1569 [default] interface IXMLDOMDocument3;
1570 [default, source] dispinterface XMLDOMDocumentEvents;
1571}
1572
1573[
1574 helpstring("XML DOM Document"),
1575 progid("Msxml2.DOMDocument"),
1576 vi_progid("Msxml2.DOMDocument"),
1577 threading(both),
1578 uuid(f6d90f11-9c73-11d3-b32e-00c04f990bb4)
1579]
1580coclass DOMDocument
1581{
1582 [default] interface IXMLDOMDocument2;
1583 [default, source] dispinterface XMLDOMDocumentEvents;
1584}
1585
1586[
1587 uuid(f5078f1c-c551-11d3-89b9-0000f81fe221)
1588]
1589coclass FreeThreadedDOMDocument26
1590{
1591 [default] interface IXMLDOMDocument2;
1592 [default, source] dispinterface XMLDOMDocumentEvents;
1593}
1594
1595[
1596 helpstring("Free threaded XML DOM Document 3.0"),
1597 progid("Msxml2.FreeThreadedDOMDocument.3.0"),
1598 vi_progid("Msxml2.FreeThreadedDOMDocument"),
1599 threading(both),
1600 uuid(f5078f33-c551-11d3-89b9-0000f81fe221)
1601]
1602coclass FreeThreadedDOMDocument30
1603{
1604 [default] interface IXMLDOMDocument2;
1605 [default, source] dispinterface XMLDOMDocumentEvents;
1606}
1607
1608[
1609 uuid(88d969c1-f192-11d4-a65f-0040963251e5)
1610]
1611coclass FreeThreadedDOMDocument40
1612{
1613 [default] interface IXMLDOMDocument2;
1614 [default, source] dispinterface XMLDOMDocumentEvents;
1615}
1616
1617[
1618 uuid(88d96a06-f192-11d4-a65f-0040963251e5),
1619]
1620coclass FreeThreadedDOMDocument60
1621{
1622 [default] interface IXMLDOMDocument3;
1623 [default, source] dispinterface XMLDOMDocumentEvents;
1624}
1625
1626[
1627 helpstring("Free threaded XML DOM Document"),
1628 progid("Msxml2.FreeThreadedDOMDocument"),
1629 vi_progid("Msxml2.FreeThreadedDOMDocument"),
1630 threading(both),
1631 uuid(f6d90f12-9c73-11d3-b32e-00c04f990bb4)
1632]
1633coclass FreeThreadedDOMDocument
1634{
1635 [default] interface IXMLDOMDocument2;
1636 [default, source] dispinterface XMLDOMDocumentEvents;
1637}
1638
1639[
1640 uuid(f5078f1e-c551-11d3-89b9-0000f81fe221)
1641]
1642coclass XMLHTTP26
1643{
1644 [default] interface IXMLHTTPRequest;
1645}
1646
1647[
1648 helpstring("XML HTTP 3.0"),
1649 progid("Msxml2.XMLHTTP.3.0"),
1650 vi_progid("Msxml2.XMLHTTP"),
1651 threading(apartment),
1652 uuid(f5078f35-c551-11d3-89b9-0000f81fe221)
1653]
1654coclass XMLHTTP30
1655{
1656 [default] interface IXMLHTTPRequest;
1657}
1658
1659[
1660 uuid(88d969c5-f192-11d4-a65f-0040963251e5)
1661]
1662coclass XMLHTTP40
1663{
1664 [default] interface IXMLHTTPRequest;
1665}
1666
1667[
1668 uuid(88d96a0a-f192-11d4-a65f-0040963251e5)
1669]
1670coclass XMLHTTP60
1671{
1672 [default] interface IXMLHTTPRequest;
1673}
1674
1675[
1676 helpstring("XML HTTP"),
1677 progid("Msxml2.XMLHTTP"),
1678 vi_progid("Msxml2.XMLHTTP"),
1679 threading(apartment),
1680 uuid(f6d90f16-9c73-11d3-b32e-00c04f990bb4)
1681]
1682coclass XMLHTTP
1683{
1684 [default] interface IXMLHTTPRequest;
1685}
1686
1687[
1688 helpstring("Server XML HTTP 3.0"),
1689 progid("Msxml2.ServerXMLHTTP.3.0"),
1690 vi_progid("Msxml2.ServerXMLHTTP"),
1691 threading(apartment),
1692 uuid(afb40ffd-b609-40a3-9828-f88bbe11e4e3)
1693]
1694coclass ServerXMLHTTP30
1695{
1696 [default] interface IServerXMLHTTPRequest;
1697}
1698
1699[
1700 uuid(88d969c6-f192-11d4-a65f-0040963251e5)
1701]
1702coclass ServerXMLHTTP40
1703{
1704 [default] interface IServerXMLHTTPRequest2;
1705}
1706
1707[
1708 uuid(88d96a0b-f192-11d4-a65f-0040963251e5)
1709]
1710coclass ServerXMLHTTP60
1711{
1712 [default] interface IServerXMLHTTPRequest2;
1713}
1714
1715[
1716 helpstring("Server XML HTTP"),
1717 progid("Msxml2.ServerXMLHTTP"),
1718 vi_progid("Msxml2.ServerXMLHTTP"),
1719 threading(apartment),
1720 uuid(afba6b42-5692-48ea-8141-dc517dcf0ef1)
1721]
1722coclass ServerXMLHTTP
1723{
1724 [default] interface IServerXMLHTTPRequest;
1725}
1726
1727[
1728 uuid(f5078f1d-c551-11d3-89b9-0000f81fe221)
1729]
1730coclass XMLSchemaCache26
1731{
1732 [default] interface IXMLDOMSchemaCollection;
1733}
1734
1735[
1736 helpstring("XML Schema Cache 3.0"),
1737 progid("Msxml2.XMLSchemaCache.3.0"),
1738 vi_progid("Msxml2.XMLSchemaCache"),
1739 threading(both),
1740 uuid(f5078f34-c551-11d3-89b9-0000f81fe221)
1741]
1742coclass XMLSchemaCache30
1743{
1744 [default] interface IXMLDOMSchemaCollection;
1745}
1746
1747[
1748 uuid(88d969c2-f192-11d4-a65f-0040963251e5)
1749]
1750coclass XMLSchemaCache40
1751{
1752 [default] interface IXMLDOMSchemaCollection2;
1753}
1754
1755[
1756 uuid(88d96a07-f192-11d4-a65f-0040963251e5)
1757]
1758coclass XMLSchemaCache60
1759{
1760 [default] interface IXMLDOMSchemaCollection2;
1761}
1762
1763[
1764 helpstring("XML Schema Cache"),
1765 progid("Msxml2.XMLSchemaCache"),
1766 vi_progid("Msxml2.XMLSchemaCache"),
1767 threading(both),
1768 uuid(373984c9-b845-449b-91e7-45ac83036ade)
1769]
1770coclass XMLSchemaCache
1771{
1772 [default] interface IXMLDOMSchemaCollection;
1773}
1774
1775[
1776 uuid(f5078f21-c551-11d3-89b9-0000f81fe221)
1777]
1778coclass XSLTemplate26
1779{
1780 [default] interface IXSLTemplate;
1781}
1782
1783[
1784 helpstring("XSL Template 3.0"),
1785 progid("Msxml2.XSLTemplate.3.0"),
1786 vi_progid("Msxml2.XSLTemplate"),
1787 threading(both),
1788 uuid(f5078f36-c551-11d3-89b9-0000f81fe221)
1789]
1790coclass XSLTemplate30
1791{
1792 [default] interface IXSLTemplate;
1793}
1794
1795[
1796 uuid(88d969c3-f192-11d4-a65f-0040963251e5)
1797]
1798coclass XSLTemplate40
1799{
1800 [default] interface IXSLTemplate;
1801}
1802
1803[
1804 uuid(88d96a08-f192-11d4-a65f-0040963251e5)
1805]
1806coclass XSLTemplate60
1807{
1808 [default] interface IXSLTemplate;
1809}
1810
1811[
1812 helpstring("XSL Template"),
1813 progid("Msxml2.XSLTemplate"),
1814 vi_progid("Msxml2.XSLTemplate"),
1815 threading(both),
1816 uuid(2933BF94-7B36-11d2-B20E-00C04F983E60)
1817]
1818coclass XSLTemplate
1819{
1820 [default] interface IXSLTemplate;
1821}
1822
1823/*
1824 * Sax Interfaces
1825 */
1826[
1827 object,
1828 local,
1829 uuid(f078abe1-45d2-4832-91ea-4466ce2f25c9)
1830]
1831interface ISAXAttributes : IUnknown
1832{
1833 HRESULT getLength(
1834 [out, retval] int *length);
1835
1836 HRESULT getURI(
1837 [in] int nIndex,
1838 [out] const WCHAR **pUrl,
1839 [out] int *pUriSize);
1840
1841 HRESULT getLocalName(
1842 [in] int nIndex,
1843 [out] const WCHAR **pLocalName,
1844 [out] int *pLocalNameLength);
1845
1846 HRESULT getQName(
1847 [in] int nIndex,
1848 [out] const WCHAR **pQName,
1849 [out] int *pQNameLength);
1850
1851 HRESULT getName(
1852 [in] int nIndex,
1853 [out] const WCHAR **pUri,
1854 [out] int * pUriLength,
1855 [out] const WCHAR ** pLocalName,
1856 [out] int * pLocalNameSize,
1857 [out] const WCHAR ** pQName,
1858 [out] int * pQNameLength);
1859
1860 HRESULT getIndexFromName(
1861 [in] const WCHAR * pUri,
1862 [in] int cUriLength,
1863 [in] const WCHAR * pLocalName,
1864 [in] int cocalNameLength,
1865 [out, retval] int * index);
1866
1867 HRESULT getIndexFromQName(
1868 [in] const WCHAR * pQName,
1869 [in] int nQNameLength,
1870 [out, retval] int * index);
1871
1872 HRESULT getType(
1873 [in] int nIndex,
1874 [out] const WCHAR ** pType,
1875 [out] int * pTypeLength);
1876
1877 HRESULT getTypeFromName(
1878 [in] const WCHAR * pUri,
1879 [in] int nUri,
1880 [in] const WCHAR * pLocalName,
1881 [in] int nLocalName,
1882 [out] const WCHAR ** pType,
1883 [out] int * nType);
1884
1885 HRESULT getTypeFromQName(
1886 [in] const WCHAR * pQName,
1887 [in] int nQName,
1888 [out] const WCHAR ** pType,
1889 [out] int * nType);
1890
1891 HRESULT getValue(
1892 [in] int nIndex,
1893 [out] const WCHAR ** pValue,
1894 [out] int * nValue);
1895
1896 HRESULT getValueFromName(
1897 [in] const WCHAR * pUri,
1898 [in] int nUri,
1899 [in] const WCHAR * pLocalName,
1900 [in] int nLocalName,
1901 [out] const WCHAR ** pValue,
1902 [out] int * nValue);
1903
1904 HRESULT getValueFromQName(
1905 [in] const WCHAR * pQName,
1906 [in] int nQName,
1907 [out] const WCHAR ** pValue,
1908 [out] int * nValue);
1909};
1910
1911[
1912 object,
1913 local,
1914 uuid(1545cdfa-9e4e-4497-a8a4-2bf7d0112c44)
1915]
1916interface ISAXContentHandler : IUnknown
1917{
1918 HRESULT putDocumentLocator(
1919 [in] ISAXLocator * pLocator);
1920
1921 HRESULT startDocument();
1922
1923 HRESULT endDocument();
1924
1925 HRESULT startPrefixMapping(
1926 [in] const WCHAR * pPrefix,
1927 [in] int nPrefix,
1928 [in] const WCHAR * pUri,
1929 [in] int nUri);
1930
1931 HRESULT endPrefixMapping(
1932 [in] const WCHAR * pPrefix,
1933 [in] int nPrefix);
1934
1935 HRESULT startElement(
1936 [in] const WCHAR * pNamespaceUri,
1937 [in] int nNamespaceUri,
1938 [in] const WCHAR * pLocalName,
1939 [in] int nLocalName,
1940 [in] const WCHAR * pQName,
1941 [in] int nQName,
1942 [in] ISAXAttributes * pAttr);
1943
1944 HRESULT endElement(
1945 [in] const WCHAR * pNamespaceUri,
1946 [in] int nNamespaceUri,
1947 [in] const WCHAR * pLocalName,
1948 [in] int nLocalName,
1949 [in] const WCHAR * pQName,
1950 [in] int nQName);
1951
1952 HRESULT characters(
1953 [in] const WCHAR * pChars,
1954 [in] int nChars);
1955
1956 HRESULT ignorableWhitespace(
1957 [in] const WCHAR * pChars,
1958 [in] int nChars);
1959
1960 HRESULT processingInstruction(
1961 [in] const WCHAR * pTarget,
1962 [in] int nTarget,
1963 [in] const WCHAR * pData,
1964 [in] int nData);
1965
1966 HRESULT skippedEntity(
1967 [in] const WCHAR * pName,
1968 [in] int nName);
1969};
1970
1971[
1972 object,
1973 local,
1974 uuid(862629ac-771a-47b2-8337-4e6843c1be90)
1975]
1976interface ISAXDeclHandler : IUnknown
1977{
1978 HRESULT elementDecl(
1979 [in] const WCHAR * pName,
1980 [in] int nName,
1981 [in] const WCHAR * pModel,
1982 [in] int nModel);
1983
1984 HRESULT attributeDecl(
1985 [in] const WCHAR * pElementName,
1986 [in] int nElementName,
1987 [in] const WCHAR * pAttributeName,
1988 [in] int nAttributeName,
1989 [in] const WCHAR * pType,
1990 [in] int nType,
1991 [in] const WCHAR * pValueDefault,
1992 [in] int nValueDefault,
1993 [in] const WCHAR * pValue,
1994 [in] int nValue);
1995
1996 HRESULT internalEntityDecl(
1997 [in] const WCHAR * pName,
1998 [in] int nName,
1999 [in] const WCHAR * pValue,
2000 [in] int nValue);
2001
2002 HRESULT externalEntityDecl(
2003 [in] const WCHAR * pName,
2004 [in] int nName,
2005 [in] const WCHAR * pPublicId,
2006 [in] int nPublicId,
2007 [in] const WCHAR * pSystemId,
2008 [in] int nSystemId);
2009};
2010
2011[
2012 object,
2013 local,
2014 uuid(e15c1baf-afb3-4d60-8c36-19a8c45defed)
2015]
2016interface ISAXDTDHandler : IUnknown
2017{
2018 HRESULT notationDecl(
2019 [in] const WCHAR * pName,
2020 [in] int nName,
2021 [in] const WCHAR * pPublicId,
2022 [in] int nPublicId,
2023 [in] const WCHAR * pSystemId,
2024 [in] int nSystemId);
2025
2026 HRESULT unparsedEntityDecl(
2027 [in] const WCHAR * pName,
2028 [in] int nName,
2029 [in] const WCHAR * pPublicId,
2030 [in] int nPublicId,
2031 [in] const WCHAR * pSystemId,
2032 [in] int nSystemId,
2033 [in] const WCHAR * pNotationName,
2034 [in] int nNotationName);
2035};
2036
2037[
2038 object,
2039 local,
2040 uuid(99bca7bd-e8c4-4d5f-a0cf-6d907901ff07),
2041]
2042interface ISAXEntityResolver : IUnknown
2043{
2044 HRESULT resolveEntity(
2045 [in] const WCHAR * pPublicId,
2046 [in] const WCHAR * pSystemId,
2047 [out, retval] VARIANT * ret);
2048};
2049
2050[
2051 object,
2052 local,
2053 uuid(a60511c4-ccf5-479e-98a3-dc8dc545b7d0)
2054]
2055interface ISAXErrorHandler : IUnknown
2056{
2057 HRESULT error(
2058 [in] ISAXLocator * pLocator,
2059 [in] const WCHAR * pErrorMessage,
2060 [in] HRESULT hrErrorCode);
2061
2062 HRESULT fatalError(
2063 [in] ISAXLocator * pLocator,
2064 [in] const WCHAR * pErrorMessage,
2065 [in] HRESULT hrErrorCode);
2066
2067 HRESULT ignorableWarning(
2068 [in] ISAXLocator * pLocator,
2069 [in] const WCHAR * pErrorMessage,
2070 [in] HRESULT hrErrorCode);
2071};
2072
2073[
2074 object,
2075 local,
2076 uuid(7f85d5f5-47a8-4497-bda5-84ba04819ea6)
2077]
2078interface ISAXLexicalHandler : IUnknown
2079{
2080 HRESULT startDTD(
2081 [in] const WCHAR * pName,
2082 [in] int nName,
2083 [in] const WCHAR * pPublicId,
2084 [in] int nPublicId,
2085 [in] const WCHAR * pSystemId,
2086 [in] int nSystemId);
2087
2088 HRESULT endDTD();
2089
2090 HRESULT startEntity(
2091 [in] const WCHAR * pName,
2092 [in] int nName);
2093
2094 HRESULT endEntity(
2095 [in] const WCHAR * pName,
2096 [in] int nName);
2097
2098 HRESULT startCDATA();
2099
2100 HRESULT endCDATA();
2101
2102 HRESULT comment(
2103 [in] const WCHAR * pChars,
2104 [in] int nChars);
2105};
2106
2107[
2108 object,
2109 local,
2110 uuid(9b7e472a-0de4-4640-bff3-84d38a051c31)
2111]
2112interface ISAXLocator : IUnknown
2113{
2114 HRESULT getColumnNumber(
2115 [out, retval] int * nColumn);
2116
2117 HRESULT getLineNumber(
2118 [out, retval] int * nLine);
2119
2120 HRESULT getPublicId(
2121 [out, retval] const WCHAR ** publicId);
2122
2123 HRESULT getSystemId(
2124 [out, retval] const WCHAR ** systemId);
2125};
2126
2127[
2128 local,
2129 object,
2130 uuid(70409222-ca09-4475-acb8-40312fe8d145)
2131]
2132interface ISAXXMLFilter : ISAXXMLReader
2133{
2134 HRESULT getParent(
2135 [out, retval] ISAXXMLReader ** pReader);
2136 HRESULT putParent(
2137 [in] ISAXXMLReader * reader);
2138};
2139
2140[
2141local,
2142object,
2143uuid (a4f96ed0-f829-476e-81c0-cdc7bd2a0802)
2144]
2145interface ISAXXMLReader : IUnknown
2146{
2147 HRESULT getFeature(
2148 [in] const WCHAR * pFeature,
2149 [out, retval] VARIANT_BOOL * pValue);
2150 HRESULT putFeature(
2151 [in] const WCHAR * pFeature,
2152 [in] VARIANT_BOOL vfValue);
2153
2154 HRESULT getProperty(
2155 [in] const WCHAR * pProp,
2156 [out, retval] VARIANT * pValue);
2157 HRESULT putProperty(
2158 [in] const WCHAR * pProp,
2159 [in] VARIANT value);
2160
2161 HRESULT getEntityResolver(
2162 [out, retval] ISAXEntityResolver ** ppEntityResolver);
2163 HRESULT putEntityResolver(
2164 [in] ISAXEntityResolver * pEntityResolver);
2165
2166 HRESULT getContentHandler(
2167 [out, retval] ISAXContentHandler ** pContentHandler);
2168 HRESULT putContentHandler(
2169 [in] ISAXContentHandler * contentHandler);
2170
2171 HRESULT getDTDHandler(
2172 [out, retval] ISAXDTDHandler ** pDTDHandler);
2173 HRESULT putDTDHandler(
2174 [in] ISAXDTDHandler * pDTDHandler);
2175
2176 HRESULT getErrorHandler(
2177 [out, retval] ISAXErrorHandler ** pErrorHandler);
2178 HRESULT putErrorHandler(
2179 [in] ISAXErrorHandler * errorHandler);
2180
2181 HRESULT getBaseURL(
2182 [out, retval] const WCHAR ** pBaseUrl);
2183 HRESULT putBaseURL(
2184 [in] const WCHAR * pBaseUrl);
2185
2186 HRESULT getSecureBaseURL(
2187 [out, retval] const WCHAR ** pSecureBaseUrl);
2188 HRESULT putSecureBaseURL(
2189 [in] const WCHAR * secureBaseUrl);
2190
2191 HRESULT parse(
2192 [in] VARIANT varInput);
2193 HRESULT parseURL(
2194 [in] const WCHAR * url);
2195}
2196
2197[
2198 object,
2199 dual,
2200 oleautomation,
2201 uuid(10dc0586-132b-4cac-8bb3-db00ac8b7ee0)
2202]
2203interface IVBSAXAttributes : IDispatch
2204{
2205 [propget, id(DISPID_SAX_ATTRIBUTES_LENGTH)]
2206 HRESULT length( [out, retval] int * nLength);
2207
2208 [id(DISPID_SAX_ATTRIBUTES_GETURI)]
2209 HRESULT getURI( [in] int nIndex, [out, retval] BSTR * uri);
2210
2211 [id(DISPID_SAX_ATTRIBUTES_GETLOCALNAME)]
2212 HRESULT getLocalName( [in] int nIndex, [out, retval] BSTR * localName);
2213
2214 [id(DISPID_SAX_ATTRIBUTES_GETQNAME)]
2215 HRESULT getQName( [in] int nIndex, [out, retval] BSTR * QName);
2216
2217 [id(DISPID_SAX_ATTRIBUTES_GETINDEXFROMNAME)]
2218 HRESULT getIndexFromName( [in] BSTR uri,
2219 [in] BSTR localName, [out, retval] int * nIndex);
2220
2221 [id(DISPID_SAX_ATTRIBUTES_GETINDEXFROMQNAME)]
2222 HRESULT getIndexFromQName( [in] BSTR QName, [out, retval] int * nIndex);
2223
2224 [id(DISPID_SAX_ATTRIBUTES_GETTYPE)]
2225 HRESULT getType( [in] int nIndex, [out, retval] BSTR * type);
2226
2227 [id(DISPID_SAX_ATTRIBUTES_GETTYPEFROMNAME)]
2228 HRESULT getTypeFromName( [in] BSTR uri, [in] BSTR localName,
2229 [out, retval] BSTR * type);
2230
2231 [id(DISPID_SAX_ATTRIBUTES_GETTYPEFROMQNAME)]
2232 HRESULT getTypeFromQName( [in] BSTR QName, [out, retval] BSTR * type);
2233
2234 [id(DISPID_SAX_ATTRIBUTES_GETVALUE)]
2235 HRESULT getValue( [in] int nIndex, [out, retval] BSTR * value);
2236
2237 [id(DISPID_SAX_ATTRIBUTES_GETVALUEFROMNAME)]
2238 HRESULT getValueFromName( [in] BSTR uri,
2239 [in] BSTR localName,
2240 [out, retval] BSTR * value);
2241
2242 [id(DISPID_SAX_ATTRIBUTES_GETVALUEFROMQNAME)]
2243 HRESULT getValueFromQName( [in] BSTR QName, [out, retval] BSTR * value);
2244};
2245
2246[
2247 object,
2248 dual,
2249 oleautomation,
2250 uuid(2ed7290a-4dd5-4b46-bb26-4e4155e77faa)
2251]
2252interface IVBSAXContentHandler : IDispatch
2253{
2254 [propputref, id(DISPID_SAX_CONTENTHANDLER_DOCUMENTLOCATOR)]
2255 HRESULT documentLocator( [in] IVBSAXLocator * oLocator);
2256
2257 [id(DISPID_SAX_CONTENTHANDLER_STARTDOCUMENT)]
2258 HRESULT startDocument();
2259
2260 [id(DISPID_SAX_CONTENTHANDLER_ENDDOCUMENT)]
2261 HRESULT endDocument();
2262
2263 [id(DISPID_SAX_CONTENTHANDLER_STARTPREFIXMAPPING)]
2264 HRESULT startPrefixMapping( [in, out] BSTR * prefix, [in, out] BSTR * uri);
2265
2266 [id(DISPID_SAX_CONTENTHANDLER_ENDPREFIXMAPPING)]
2267 HRESULT endPrefixMapping( [in, out] BSTR * prefix);
2268
2269 [id(DISPID_SAX_CONTENTHANDLER_STARTELEMENT)]
2270 HRESULT startElement( [in, out] BSTR * namespaceURI,
2271 [in, out] BSTR * localName,
2272 [in, out] BSTR * QName,
2273 [in] IVBSAXAttributes * oAttributes);
2274
2275 [id(DISPID_SAX_CONTENTHANDLER_ENDELEMENT)]
2276 HRESULT endElement( [in, out] BSTR * namespaceURI,
2277 [in, out] BSTR * localName, [in, out] BSTR * strQName);
2278
2279 [id(DISPID_SAX_CONTENTHANDLER_CHARACTERS)]
2280 HRESULT characters( [in, out] BSTR * chars);
2281
2282 [id(DISPID_SAX_CONTENTHANDLER_IGNORABLEWHITESPACE)]
2283 HRESULT ignorableWhitespace( [in, out] BSTR * chars);
2284
2285 [id(DISPID_SAX_CONTENTHANDLER_PROCESSINGINSTRUCTION)]
2286 HRESULT processingInstruction( [in, out] BSTR * target,
2287 [in, out] BSTR * data);
2288
2289 [id(DISPID_SAX_CONTENTHANDLER_SKIPPEDENTITY)]
2290 HRESULT skippedEntity( [in, out] BSTR * name);
2291};
2292
2293[
2294 object,
2295 dual,
2296 oleautomation,
2297 uuid(e8917260-7579-4be1-b5dd-7afbfa6f077b)
2298]
2299interface IVBSAXDeclHandler : IDispatch
2300{
2301 [id(DISPID_SAX_DECLHANDLER_ELEMENTDECL)]
2302 HRESULT elementDecl(
2303 [in, out] BSTR * name,
2304 [in, out] BSTR * model);
2305
2306 [id(DISPID_SAX_DECLHANDLER_ATTRIBUTEDECL)]
2307 HRESULT attributeDecl(
2308 [in, out] BSTR * elementName,
2309 [in, out] BSTR * attributeName,
2310 [in, out] BSTR * type,
2311 [in, out] BSTR * valueDefault,
2312 [in, out] BSTR * value);
2313
2314 [id(DISPID_SAX_DECLHANDLER_INTERNALENTITYDECL)]
2315 HRESULT internalEntityDecl(
2316 [in, out] BSTR * name,
2317 [in, out] BSTR * value);
2318
2319 [id(DISPID_SAX_DECLHANDLER_EXTERNALENTITYDECL)]
2320 HRESULT externalEntityDecl(
2321 [in, out] BSTR * name,
2322 [in, out] BSTR * publicId,
2323 [in, out] BSTR * systemId);
2324};
2325
2326[
2327 object,
2328 dual,
2329 oleautomation,
2330 uuid(24fb3297-302d-4620-ba39-3a732d850558)
2331]
2332interface IVBSAXDTDHandler : IDispatch
2333{
2334 [id(DISPID_SAX_DTDHANDLER_NOTATIONDECL)]
2335 HRESULT notationDecl(
2336 [in, out] BSTR * name,
2337 [in, out] BSTR * publicId,
2338 [in, out] BSTR * systemId);
2339
2340 [id(DISPID_SAX_DTDHANDLER_UNPARSEDENTITYDECL)]
2341 HRESULT unparsedEntityDecl(
2342 [in, out] BSTR * name,
2343 [in, out] BSTR * publicId,
2344 [in, out] BSTR * systemId,
2345 [in, out] BSTR * notationName);
2346};
2347
2348[
2349 object,
2350 dual,
2351 oleautomation,
2352 uuid(0c05d096-f45b-4aca-ad1a-aa0bc25518dc)
2353]
2354interface IVBSAXEntityResolver : IDispatch
2355{
2356 [id(DISPID_SAX_ENTITYRESOLVER_RESOLVEENTITY)]
2357 HRESULT resolveEntity(
2358 [in, out] BSTR * publicId,
2359 [in, out] BSTR * systemId,
2360 [out, retval] VARIANT * ret);
2361};
2362
2363[
2364 object,
2365 dual,
2366 oleautomation,
2367 uuid(d963d3fe-173c-4862-9095-b92f66995f52)
2368]
2369interface IVBSAXErrorHandler : IDispatch
2370{
2371 [id(DISPID_SAX_ERRORHANDLER_ERROR)]
2372 HRESULT error(
2373 [in] IVBSAXLocator * locator,
2374 [in, out] BSTR * errorMessage,
2375 [in] LONG errorCode);
2376
2377 [id(DISPID_SAX_ERRORHANDLER_FATALERROR)]
2378 HRESULT fatalError(
2379 [in] IVBSAXLocator * locator,
2380 [in, out] BSTR * errorMessage,
2381 [in] LONG errorCode);
2382
2383 [id(DISPID_SAX_ERRORHANDLER_IGNORABLEWARNING)]
2384 HRESULT ignorableWarning(
2385 [in] IVBSAXLocator * locator,
2386 [in, out] BSTR * errorMessage,
2387 [in] LONG errorCode);
2388};
2389
2390[
2391 object,
2392 dual,
2393 oleautomation,
2394 uuid(032aac35-8c0e-4d9d-979f-e3b702935576)
2395]
2396interface IVBSAXLexicalHandler : IDispatch
2397{
2398 [id(DISPID_SAX_LEXICALHANDLER_STARTDTD)]
2399 HRESULT startDTD(
2400 [in, out] BSTR * name,
2401 [in, out] BSTR * publicId,
2402 [in, out] BSTR * systemId);
2403 [id(DISPID_SAX_LEXICALHANDLER_ENDDTD)]
2404 HRESULT endDTD();
2405
2406 [id(DISPID_SAX_LEXICALHANDLER_STARTENTITY)]
2407 HRESULT startEntity([in, out] BSTR * name);
2408 [id(DISPID_SAX_LEXICALHANDLER_ENDENTITY)]
2409 HRESULT endEntity([in, out] BSTR * name);
2410
2411 [id(DISPID_SAX_LEXICALHANDLER_STARTCDATA)]
2412 HRESULT startCDATA();
2413 [id(DISPID_SAX_LEXICALHANDLER_ENDCDATA)]
2414 HRESULT endCDATA();
2415
2416 [id(DISPID_SAX_LEXICALHANDLER_COMMENT)]
2417 HRESULT comment( [in, out] BSTR * chars);
2418};
2419
2420[
2421 object,
2422 dual,
2423 oleautomation,
2424 uuid(796e7ac5-5aa2-4eff-acad-3faaf01a3288)
2425]
2426interface IVBSAXLocator : IDispatch
2427{
2428 [propget, id(DISPID_SAX_LOCATOR_COLUMNNUMBER)]
2429 HRESULT columnNumber( [out, retval] int * column);
2430
2431 [propget, id(DISPID_SAX_LOCATOR_LINENUMBER)]
2432 HRESULT lineNumber( [out, retval] int * line);
2433
2434 [propget, id(DISPID_SAX_LOCATOR_PUBLICID)]
2435 HRESULT publicId( [out, retval] BSTR * publicId);
2436
2437 [propget, id(DISPID_SAX_LOCATOR_SYSTEMID)]
2438 HRESULT systemId( [out, retval] BSTR * systemId);
2439};
2440
2441[
2442 object,
2443 dual,
2444 oleautomation,
2445 uuid(1299eb1b-5b88-433e-82de-82ca75ad4e04)
2446]
2447interface IVBSAXXMLFilter : IDispatch
2448{
2449 [propget, id(DISPID_SAX_XMLFILTER_PARENT)]
2450 HRESULT parent( [out, retval] IVBSAXXMLReader ** reader);
2451 [propputref, id(DISPID_SAX_XMLFILTER_PARENT)]
2452 HRESULT parent( [in] IVBSAXXMLReader * reader);
2453
2454};
2455
2456[
2457 dual,
2458 oleautomation,
2459 object,
2460 uuid (8c033caa-6cd6-4f73-b728-4531af74945f)
2461]
2462interface IVBSAXXMLReader : IDispatch
2463{
2464 [id(DISPID_SAX_XMLREADER_GETFEATURE)]
2465 HRESULT getFeature( [in] const WCHAR * pFeature,
2466 [out, retval] VARIANT_BOOL * pValue);
2467 [id(DISPID_SAX_XMLREADER_PUTFEATURE)]
2468 HRESULT putFeature( [in] const WCHAR * pFeature,
2469 [in] VARIANT_BOOL vfValue);
2470
2471 [id(DISPID_SAX_XMLREADER_GETPROPERTY)]
2472 HRESULT getProperty( [in] const WCHAR * pProp,
2473 [out, retval] VARIANT * pValue);
2474 [id(DISPID_SAX_XMLREADER_PUTPROPERTY)]
2475 HRESULT putProperty( [in] const WCHAR * pProp, [in] VARIANT value);
2476
2477 [propget, id(DISPID_SAX_XMLREADER_ENTITYRESOLVER)]
2478 HRESULT entityResolver(
2479 [out, retval] IVBSAXEntityResolver ** ppEntityResolver);
2480 [propputref, id(DISPID_SAX_XMLREADER_ENTITYRESOLVER)]
2481 HRESULT entityResolver( [in] IVBSAXEntityResolver * pEntityResolver);
2482
2483 [propget, id(DISPID_SAX_XMLREADER_CONTENTHANDLER)]
2484 HRESULT contentHandler(
2485 [out, retval] IVBSAXContentHandler ** pContentHandler);
2486 [propputref, id(DISPID_SAX_XMLREADER_CONTENTHANDLER)]
2487 HRESULT contentHandler([in] IVBSAXContentHandler * contentHandler);
2488
2489 [propget, id(DISPID_SAX_XMLREADER_DTDHANDLER)]
2490 HRESULT dtdHandler([out, retval] IVBSAXDTDHandler ** pDTDHandler);
2491 [propputref, id(DISPID_SAX_XMLREADER_DTDHANDLER)]
2492 HRESULT dtdHandler([in] IVBSAXDTDHandler * pDTDHandler);
2493
2494 [propget, id(DISPID_SAX_XMLREADER_ERRORHANDLER)]
2495 HRESULT errorHandler([out, retval] IVBSAXErrorHandler ** pErrorHandler);
2496 [propputref, id(DISPID_SAX_XMLREADER_ERRORHANDLER)]
2497 HRESULT errorHandler([in] IVBSAXErrorHandler * errorHandler);
2498
2499 [propget, id(DISPID_SAX_XMLREADER_BASEURL)]
2500 HRESULT baseURL([out, retval] const WCHAR ** pBaseUrl);
2501 [propput, id(DISPID_SAX_XMLREADER_BASEURL)]
2502 HRESULT baseURL([in] const WCHAR * pBaseUrl);
2503
2504 [propget, id(DISPID_SAX_XMLREADER_SECUREBASEURL)]
2505 HRESULT secureBaseURL([out, retval] const WCHAR ** pSecureBaseUrl);
2506 [propput, id(DISPID_SAX_XMLREADER_SECUREBASEURL)]
2507 HRESULT secureBaseURL([in] const WCHAR * secureBaseUrl);
2508
2509 [id(DISPID_SAX_XMLREADER_PARSE)]
2510 HRESULT parse( [in] VARIANT varInput);
2511 [id(DISPID_SAX_XMLREADER_PARSEURL)]
2512 HRESULT parseURL([in] const WCHAR * url);
2513}
2514
2515[
2516 object,
2517 dual,
2518 oleautomation,
2519 uuid(f10d27cc-3ec0-415c-8ed8-77ab1c5e7262)
2520]
2521interface IMXAttributes : IDispatch
2522{
2523 [id(DISPID_MX_ATTRIBUTES_ADDATTRIBUTE)]
2524 HRESULT addAttribute(
2525 [in] BSTR uri,
2526 [in] BSTR localName,
2527 [in] BSTR QName,
2528 [in] BSTR type,
2529 [in] BSTR value);
2530
2531 [id(DISPID_MX_ATTRIBUTES_ADDATTRIBUTEFROMINDEX)]
2532 HRESULT addAttributeFromIndex( [in] VARIANT atts,
2533 [in] int index);
2534
2535 [id(DISPID_MX_ATTRIBUTES_CLEAR)]
2536 HRESULT clear();
2537
2538 [id(DISPID_MX_ATTRIBUTES_REMOVEATTRIBUTE)]
2539 HRESULT removeAttribute( [in] int index);
2540
2541 [id(DISPID_MX_ATTRIBUTES_SETATTRIBUTE)]
2542 HRESULT setAttribute(
2543 [in] int index,
2544 [in] BSTR uri,
2545 [in] BSTR localName,
2546 [in] BSTR QName,
2547 [in] BSTR type,
2548 [in] BSTR value);
2549
2550 [id(DISPID_MX_ATTRIBUTES_SETATTRIBUTES)]
2551 HRESULT setAttributes( [in] VARIANT atts);
2552
2553 [id(DISPID_MX_ATTRIBUTES_SETLOCALNAME)]
2554 HRESULT setLocalName( [in] int index,
2555 [in] BSTR localName);
2556
2557 [id(DISPID_MX_ATTRIBUTES_SETQNAME)]
2558 HRESULT setQName(
2559 [in] int index,
2560 [in] BSTR QName);
2561
2562 [id(DISPID_MX_ATTRIBUTES_SETTYPE)]
2563 HRESULT setType( [in] int index, [in] BSTR type);
2564
2565 [id(DISPID_MX_ATTRIBUTES_SETURI)]
2566 HRESULT setURI( [in] int index, [in] BSTR uri);
2567
2568 [id(DISPID_MX_ATTRIBUTES_SETVALUE)]
2569 HRESULT setValue([in] int index, [in] BSTR value);
2570};
2571
2572[
2573 local,
2574 object,
2575 dual,
2576 oleautomation,
2577 uuid(fa4bb38c-faf9-4cca-9302-d1dd0fe520db)
2578]
2579interface IMXSchemaDeclHandler : IDispatch
2580{
2581 [id(DISPID_MX_SCHEMADECLHANDLER_SCHEMAELEMENTDECL)]
2582 HRESULT schemaElementDecl( [in] ISchemaElement *oSchemaElement );
2583}
2584
2585[
2586 object,
2587 dual,
2588 oleautomation,
2589 uuid(808f4e35-8d5a-4fbe-8466-33a41279ed30)
2590]
2591interface IMXReaderControl : IDispatch
2592{
2593 [id(DISPID_MX_READER_CONTROL_ABORT)]
2594 HRESULT abort();
2595
2596 [id(DISPID_MX_READER_CONTROL_RESUME)]
2597 HRESULT resume();
2598
2599 [id(DISPID_MX_READER_CONTROL_SUSPEND)]
2600 HRESULT suspend();
2601};
2602
2603[
2604 object,
2605 dual,
2606 oleautomation,
2607 uuid(4d7ff4ba-1565-4ea8-94e1-6e724a46f98d)
2608]
2609interface IMXWriter : IDispatch
2610{
2611 [propput, id(DISPID_MX_WRITER_OUTPUT)]
2612 HRESULT output ( [in] VARIANT Destination);
2613 [propget, id(DISPID_MX_WRITER_OUTPUT)]
2614 HRESULT output ( [out, retval] VARIANT * Destination);
2615
2616 [propput, id(DISPID_MX_WRITER_ENCODING)]
2617 HRESULT encoding ([in] BSTR encoding);
2618 [propget, id(DISPID_MX_WRITER_ENCODING)]
2619 HRESULT encoding ([out, retval] BSTR * encoding);
2620
2621 [propput, id(DISPID_MX_WRITER_BYTEORDERMARK)]
2622 HRESULT byteOrderMark ([in] VARIANT_BOOL writeByteOrderMark);
2623 [propget, id(DISPID_MX_WRITER_BYTEORDERMARK)]
2624 HRESULT byteOrderMark ([out, retval] VARIANT_BOOL * writeByteOrderMark);
2625
2626 [propput, id(DISPID_MX_WRITER_INDENT)]
2627 HRESULT indent ([in] VARIANT_BOOL indentMode);
2628 [propget, id(DISPID_MX_WRITER_INDENT)]
2629 HRESULT indent ([out, retval] VARIANT_BOOL * indentMode);
2630
2631 [propput, id(DISPID_MX_WRITER_STANDALONE)]
2632 HRESULT standalone ([in] VARIANT_BOOL value);
2633 [propget, id(DISPID_MX_WRITER_STANDALONE)]
2634 HRESULT standalone ([out, retval] VARIANT_BOOL * value);
2635
2636 [propput, id(DISPID_MX_WRITER_OMITXMLDECLARATION)]
2637 HRESULT omitXMLDeclaration ([in] VARIANT_BOOL value);
2638 [propget, id(DISPID_MX_WRITER_OMITXMLDECLARATION)]
2639 HRESULT omitXMLDeclaration ([out, retval] VARIANT_BOOL * value);
2640
2641 [propput, id(DISPID_MX_WRITER_VERSION)]
2642 HRESULT version ([in] BSTR version);
2643 [propget, id(DISPID_MX_WRITER_VERSION)]
2644 HRESULT version ([out, retval] BSTR * version);
2645
2646 [propput, id(DISPID_MX_WRITER_DISABLEOUTPUTESCAPING)]
2647 HRESULT disableOutputEscaping([in] VARIANT_BOOL value);
2648 [propget, id(DISPID_MX_WRITER_DISABLEOUTPUTESCAPING)]
2649 HRESULT disableOutputEscaping([out, retval] VARIANT_BOOL * value);
2650
2651 [id(DISPID_MX_WRITER_FLUSH)]
2652 HRESULT flush();
2653};
2654
2655[
2656 local,
2657 object,
2658 dual,
2659 oleautomation,
2660 uuid(c90352f4-643c-4fbc-bb23-e996eb2d51fd)
2661]
2662interface IMXNamespacePrefixes : IDispatch
2663{
2664 [propget, id(DISPID_VALUE)]
2665 HRESULT item(
2666 [in] long index,
2667 [out, retval] BSTR *prefix);
2668
2669 [propget, id(DISPID_MX_NSMGR_LENGTH)]
2670 HRESULT length( [out,retval] long *length );
2671
2672 [propget, restricted, hidden, id(DISPID_NEWENUM)]
2673 HRESULT _newEnum( [out, retval] IUnknown **ppUnk );
2674}
2675
2676[
2677 local,
2678 object,
2679 hidden,
2680 uuid(c90352f6-643c-4fbc-bb23-e996eb2d51fd)
2681]
2682interface IMXNamespaceManager : IUnknown
2683{
2684 HRESULT putAllowOverride([in] VARIANT_BOOL fOverride);
2685
2686 HRESULT getAllowOverride([out, retval] VARIANT_BOOL *fOverride);
2687
2688 HRESULT reset();
2689
2690 HRESULT pushContext();
2691
2692 HRESULT pushNodeContext(
2693 [in] IXMLDOMNode *contextNode,
2694 [in] VARIANT_BOOL fDeep);
2695
2696 HRESULT popContext();
2697
2698 HRESULT declarePrefix(
2699 [in] const WCHAR *prefix,
2700 [in] const WCHAR *namespaceURI);
2701
2702 HRESULT getDeclaredPrefix(
2703 [in] long nIndex,
2704 [in, out] WCHAR *pwchPrefix,
2705 [in, out] int *pcchPrefix);
2706
2707 HRESULT getPrefix(
2708 [in] const WCHAR *pwszNamespaceURI,
2709 [in] long nIndex,
2710 [in, out] WCHAR *pwchPrefix,
2711 [in, out] int *pcchPrefix);
2712
2713 HRESULT getURI(
2714 [in] const WCHAR *pwchPrefix,
2715 [in] IXMLDOMNode* pContextNode,
2716 [in, out] WCHAR *pwchUri,
2717 [in, out] int *pcchUri);
2718}
2719
2720[
2721 local,
2722 object,
2723 dual,
2724 oleautomation,
2725 uuid(c90352f5-643c-4fbc-bb23-e996eb2d51fd)
2726]
2727interface IVBMXNamespaceManager : IDispatch
2728{
2729 [propput, id(DISPID_MX_NSMGR_ALLOWOVERRIDE)]
2730 HRESULT allowOverride([in] VARIANT_BOOL fOverride);
2731
2732 [propget, id(DISPID_MX_NSMGR_ALLOWOVERRIDE)]
2733 HRESULT allowOverride([out,retval] VARIANT_BOOL* fOverride);
2734
2735 [id(DISPID_MX_NSMGR_RESET)]
2736 HRESULT reset();
2737
2738 [id(DISPID_MX_NSMGR_PUSHCONTEXT)]
2739 HRESULT pushContext();
2740
2741 [id(DISPID_MX_NSMGR_PUSHNODECONTEXT)]
2742 HRESULT pushNodeContext(
2743 [in] IXMLDOMNode* contextNode,
2744 [in, defaultvalue(-1)] VARIANT_BOOL fDeep);
2745
2746 [id(DISPID_MX_NSMGR_POPCONTEXT)]
2747 HRESULT popContext();
2748
2749 [id(DISPID_MX_NSMGR_DECLAREPREFIX)]
2750 HRESULT declarePrefix(
2751 [in] BSTR prefix,
2752 [in] BSTR namespaceURI);
2753
2754 [id(DISPID_MX_NSMGR_GETDECLAREDPREFIXES)]
2755 HRESULT getDeclaredPrefixes([out, retval] IMXNamespacePrefixes** prefixes);
2756
2757 [id(DISPID_MX_NSMGR_GETPREFIXES)]
2758 HRESULT getPrefixes(
2759 [in] BSTR namespaceURI,
2760 [out, retval] IMXNamespacePrefixes** prefixes);
2761
2762 [id(DISPID_MX_NSMGR_GETURI)]
2763 HRESULT getURI(
2764 [in] BSTR prefix,
2765 [out, retval] VARIANT* uri);
2766
2767 [id(DISPID_MX_NSMGR_GETURIFROMNODE)]
2768 HRESULT getURIFromNode(
2769 [in] BSTR strPrefix,
2770 [in] IXMLDOMNode* contextNode,
2771 [out, retval] VARIANT* uri);
2772}
2773
2774[
2775 local,
2776 object,
2777 dual,
2778 oleautomation,
2779 uuid(c90352f7-643c-4fbc-bb23-e996eb2d51fd)
2780]
2781interface IMXXMLFilter : IDispatch
2782{
2783 [id(DISPID_MXXML_FILTER_GETFEATURE)]
2784 HRESULT getFeature(
2785 [in] BSTR strName,
2786 [out, retval] VARIANT_BOOL * fValue);
2787
2788 [id(DISPID_MXXML_FILTER_PUTFEATURE)]
2789 HRESULT putFeature(
2790 [in] BSTR strName,
2791 [in] VARIANT_BOOL fValue);
2792
2793 [id(DISPID_MXXML_FILTER_GETPROPERTY)]
2794 HRESULT getProperty(
2795 [in] BSTR strName,
2796 [out, retval] VARIANT * varValue);
2797
2798 [id(DISPID_MXXML_FILTER_PUTPROPERTY)]
2799 HRESULT putProperty(
2800 [in] BSTR strName,
2801 [in] VARIANT varValue);
2802
2803 [id(DISPID_MXXML_FILTER_ENTITYRESOLVER), propget]
2804 HRESULT entityResolver( [out, retval] IUnknown **oResolver );
2805
2806 [id(DISPID_MXXML_FILTER_ENTITYRESOLVER), propputref]
2807 HRESULT entityResolver( [in] IUnknown *oResolver );
2808
2809 [id(DISPID_MXXML_FILTER_CONTENTHANDLER), propget]
2810 HRESULT contentHandler( [out, retval] IUnknown **oHandler );
2811
2812 [id(DISPID_MXXML_FILTER_CONTENTHANDLER), propputref]
2813 HRESULT contentHandler( [in] IUnknown *oHandler );
2814
2815 [id(DISPID_MXXML_FILTER_DTDHANDLER), propget]
2816 HRESULT dtdHandler( [out, retval] IUnknown **oHandler );
2817
2818 [id(DISPID_MXXML_FILTER_DTDHANDLER), propputref]
2819 HRESULT dtdHandler( [in] IUnknown *oHandler );
2820
2821 [id(DISPID_MXXML_FILTER_ERRORHANDLER), propget]
2822 HRESULT errorHandler( [out, retval] IUnknown **oHandler );
2823
2824 [id(DISPID_MXXML_FILTER_ERRORHANDLER), propputref]
2825 HRESULT errorHandler( [in] IUnknown *oHandler );
2826}
2827
2828[
2829 local,
2830 object,
2831 uuid(50ea08b1-dd1b-4664-9a50-c2f40f4bd79a),
2832 oleautomation,
2833 dual
2834]
2835interface ISchemaStringCollection : IDispatch
2836{
2837 [id(DISPID_VALUE), propget]
2838 HRESULT item(
2839 [in] long index,
2840 [out,retval] BSTR* bstr);
2841
2842 [id(DISPID_SOM_LENGTH), propget]
2843 HRESULT length(
2844 [out,retval] long* length);
2845
2846 [id(DISPID_NEWENUM), hidden, restricted, propget]
2847 HRESULT _newEnum(
2848 [out,retval] IUnknown** ppunk);
2849};
2850
2851[
2852 local,
2853 object,
2854 uuid(50ea08b2-dd1b-4664-9a50-c2f40f4bd79a),
2855 oleautomation,
2856 dual
2857]
2858interface ISchemaItemCollection : IDispatch
2859{
2860 [id(DISPID_VALUE), propget]
2861 HRESULT item(
2862 [in] long index,
2863 [out,retval]ISchemaItem** item);
2864
2865 [id(DISPID_SOM_ITEMBYNAME)]
2866 HRESULT itemByName(
2867 [in] BSTR name,
2868 [out,retval] ISchemaItem** item);
2869
2870 [id(DISPID_SOM_ITEMBYQNAME)]
2871 HRESULT itemByQName(
2872 [in] BSTR name,
2873 [in] BSTR namespaceURI,
2874 [out,retval] ISchemaItem** item);
2875
2876 [id(DISPID_SOM_LENGTH), propget]
2877 HRESULT length(
2878 [out,retval]long* length);
2879
2880 [id(DISPID_NEWENUM), hidden, restricted, propget]
2881 HRESULT _newEnum(
2882 [out,retval]IUnknown** ppunk);
2883};
2884
2885[
2886 local,
2887 object,
2888 uuid(50ea08b3-dd1b-4664-9a50-c2f40f4bd79a),
2889 oleautomation,
2890 dual
2891]
2892interface ISchemaItem : IDispatch
2893{
2894 [id(DISPID_SOM_NAME), propget]
2895 HRESULT name(
2896 [out,retval] BSTR* name);
2897
2898 [id(DISPID_SOM_NAMESPACEURI), propget]
2899 HRESULT namespaceURI(
2900 [out,retval] BSTR* namespaceURI);
2901
2902 [id(DISPID_SOM_SCHEMA), propget]
2903 HRESULT schema(
2904 [out,retval] ISchema** schema);
2905
2906 [id(DISPID_SOM_ID), propget]
2907 HRESULT id(
2908 [out,retval] BSTR* id);
2909
2910 [id(DISPID_SOM_ITEMTYPE), propget]
2911 HRESULT itemType(
2912 [out,retval] SOMITEMTYPE* itemType);
2913
2914 [id(DISPID_SOM_UNHANDLEDATTRS), propget]
2915 HRESULT unhandledAttributes(
2916 [out,retval] IVBSAXAttributes** attributes);
2917
2918 [id(DISPID_SOM_WRITEANNOTATION)]
2919 HRESULT writeAnnotation(
2920 [in] IUnknown* annotationSink,
2921 [out,retval] VARIANT_BOOL* isWritten);
2922};
2923
2924[
2925 local,
2926 object,
2927 uuid(50ea08b4-dd1b-4664-9a50-c2f40f4bd79a),
2928 oleautomation,
2929 dual
2930]
2931interface ISchema : ISchemaItem
2932{
2933 [id(DISPID_SOM_TARGETNAMESPACE), propget]
2934 HRESULT targetNamespace(
2935 [out,retval] BSTR* targetNamespace);
2936
2937 [id(DISPID_SOM_VERSION), propget]
2938 HRESULT version(
2939 [out,retval] BSTR* version);
2940
2941 [id(DISPID_SOM_TYPES), propget]
2942 HRESULT types(
2943 [out,retval] ISchemaItemCollection** types);
2944
2945 [id(DISPID_SOM_ELEMENTS), propget]
2946 HRESULT elements(
2947 [out,retval] ISchemaItemCollection** elements);
2948
2949 [id(DISPID_SOM_ATTRIBUTES), propget]
2950 HRESULT attributes(
2951 [out,retval] ISchemaItemCollection** attributes);
2952
2953 [id(DISPID_SOM_ATTRIBUTEGROUPS), propget]
2954 HRESULT attributeGroups(
2955 [out,retval] ISchemaItemCollection** attributeGroups);
2956
2957 [id(DISPID_SOM_MODELGROUPS), propget]
2958 HRESULT modelGroups(
2959 [out,retval] ISchemaItemCollection** modelGroups);
2960
2961 [id(DISPID_SOM_NOTATIONS), propget]
2962 HRESULT notations(
2963 [out,retval] ISchemaItemCollection** notations);
2964
2965 [id(DISPID_SOM_SCHEMALOCATIONS), propget]
2966 HRESULT schemaLocations(
2967 [out,retval] ISchemaStringCollection** schemaLocations);
2968};
2969
2970[
2971 local,
2972 object,
2973 uuid(50ea08b5-dd1b-4664-9a50-c2f40f4bd79a),
2974 oleautomation,
2975 dual
2976]
2977interface ISchemaParticle : ISchemaItem
2978{
2979 [id(DISPID_SOM_MINOCCURS), propget]
2980 HRESULT minOccurs(
2981 [out,retval] VARIANT* minOccurs);
2982
2983 [id(DISPID_SOM_MAXOCCURS), propget]
2984 HRESULT maxOccurs(
2985 [out,retval] VARIANT* maxOccurs);
2986};
2987
2988[
2989 object,
2990 uuid(50ea08b6-dd1b-4664-9a50-c2f40f4bd79a),
2991 oleautomation,
2992 dual,
2993]
2994interface ISchemaAttribute : ISchemaItem
2995{
2996 [id(DISPID_SOM_TYPE), propget]
2997 HRESULT type(
2998 [out,retval] ISchemaType** type);
2999
3000 [id(DISPID_SOM_SCOPE), propget]
3001 HRESULT scope(
3002 [out,retval] ISchemaComplexType** scope);
3003
3004 [id(DISPID_SOM_DEFAULTVALUE), propget]
3005 HRESULT defaultValue(
3006 [out,retval]BSTR* defaultValue);
3007
3008 [id(DISPID_SOM_FIXEDVALUE), propget]
3009 HRESULT fixedValue(
3010 [out,retval] BSTR* fixedValue);
3011
3012 [id(DISPID_SOM_USE), propget]
3013 HRESULT use(
3014 [out,retval] SCHEMAUSE* use);
3015
3016 [id(DISPID_SOM_ISREFERENCE), propget]
3017 HRESULT isReference(
3018 [out,retval] VARIANT_BOOL* reference);
3019};
3020
3021[
3022 local,
3023 object,
3024 uuid(50ea08b7-dd1b-4664-9a50-c2f40f4bd79a),
3025 oleautomation,
3026 dual
3027]
3028interface ISchemaElement : ISchemaParticle
3029{
3030 [id(DISPID_SOM_TYPE), propget]
3031 HRESULT type(
3032 [out,retval] ISchemaType** type);
3033
3034 [id(DISPID_SOM_SCOPE), propget]
3035 HRESULT scope(
3036 [out,retval] ISchemaComplexType** scope);
3037
3038 [id(DISPID_SOM_DEFAULTVALUE), propget]
3039 HRESULT defaultValue(
3040 [out,retval] BSTR* defaultValue);
3041
3042 [id(DISPID_SOM_FIXEDVALUE), propget]
3043 HRESULT fixedValue(
3044 [out,retval] BSTR* fixedValue);
3045
3046 [id(DISPID_SOM_ISNILLABLE), propget]
3047 HRESULT isNillable(
3048 [out,retval] VARIANT_BOOL* nillable);
3049
3050 [id(DISPID_SOM_IDCONSTRAINTS), propget]
3051 HRESULT identityConstraints(
3052 [out,retval] ISchemaItemCollection** constraints);
3053
3054 [id(DISPID_SOM_SUBSTITUTIONGROUP), propget]
3055 HRESULT substitutionGroup(
3056 [out,retval] ISchemaElement** element);
3057
3058 [id(DISPID_SOM_EXCLUSIONS), propget]
3059 HRESULT substitutionGroupExclusions(
3060 [out,retval] SCHEMADERIVATIONMETHOD* exclusions);
3061
3062 [id(DISPID_SOM_DISALLOWED), propget]
3063 HRESULT disallowedSubstitutions(
3064 [out,retval] SCHEMADERIVATIONMETHOD* disallowed);
3065
3066 [id(DISPID_SOM_ISABSTRACT), propget]
3067 HRESULT isAbstract(
3068 [out,retval] VARIANT_BOOL* abstract);
3069
3070 [id(DISPID_SOM_ISREFERENCE), propget]
3071 HRESULT isReference(
3072 [out,retval] VARIANT_BOOL* reference);
3073};
3074
3075[
3076 local,
3077 object,
3078 uuid(50ea08b8-dd1b-4664-9a50-c2f40f4bd79a),
3079 oleautomation,
3080 dual
3081]
3082interface ISchemaType : ISchemaItem
3083{
3084 [id(DISPID_SOM_BASETYPES), propget]
3085 HRESULT baseTypes(
3086 [out,retval] ISchemaItemCollection** baseTypes);
3087
3088 [id(DISPID_SOM_FINAL), propget]
3089 HRESULT final(
3090 [out,retval] SCHEMADERIVATIONMETHOD* final);
3091
3092 [id(DISPID_SOM_VARIETY), propget]
3093 HRESULT variety(
3094 [out,retval] SCHEMATYPEVARIETY* variety);
3095
3096 [id(DISPID_SOM_DERIVEDBY), propget]
3097 HRESULT derivedBy(
3098 [out,retval] SCHEMADERIVATIONMETHOD* derivedBy);
3099
3100 [id(DISPID_SOM_ISVALID)]
3101 HRESULT isValid(
3102 [in] BSTR data,
3103 [out,retval] VARIANT_BOOL* valid);
3104
3105 [id(DISPID_SOM_MINEXCLUSIVE), propget]
3106 HRESULT minExclusive(
3107 [out,retval]BSTR* minExclusive);
3108
3109 [id(DISPID_SOM_MININCLUSIVE), propget]
3110 HRESULT minInclusive(
3111 [out,retval] BSTR* minInclusive);
3112
3113 [id(DISPID_SOM_MAXEXCLUSIVE), propget]
3114 HRESULT maxExclusive(
3115 [out,retval] BSTR* maxExclusive);
3116
3117 [id(DISPID_SOM_MAXINCLUSIVE), propget]
3118 HRESULT maxInclusive(
3119 [out,retval] BSTR* maxInclusive);
3120
3121 [id(DISPID_SOM_TOTALDIGITS), propget]
3122 HRESULT totalDigits(
3123 [out,retval] VARIANT* totalDigits);
3124
3125 [id(DISPID_SOM_FRACTIONDIGITS), propget]
3126 HRESULT fractionDigits(
3127 [out,retval] VARIANT* fractionDigits);
3128
3129 [id(DISPID_SOM_LENGTH), propget]
3130 HRESULT length(
3131 [out,retval] VARIANT* length);
3132
3133 [id(DISPID_SOM_MINLENGTH), propget]
3134 HRESULT minLength(
3135 [out,retval]VARIANT* minLength);
3136
3137 [id(DISPID_SOM_MAXLENGTH), propget]
3138 HRESULT maxLength(
3139 [out,retval]VARIANT* maxLength);
3140
3141 [id(DISPID_SOM_ENUMERATION), propget]
3142 HRESULT enumeration(
3143 [out,retval] ISchemaStringCollection** enumeration);
3144
3145 [id(DISPID_SOM_WHITESPACE), propget]
3146 HRESULT whitespace(
3147 [out,retval]SCHEMAWHITESPACE* whitespace);
3148
3149 [id(DISPID_SOM_PATTERNS), propget]
3150 HRESULT patterns(
3151 [out,retval] ISchemaStringCollection** patterns);
3152};
3153
3154[
3155 local,
3156 object,
3157 uuid(50ea08b9-dd1b-4664-9a50-c2f40f4bd79a),
3158 oleautomation,
3159 dual,
3160]
3161interface ISchemaComplexType : ISchemaType
3162{
3163 [id(DISPID_SOM_ISABSTRACT), propget]
3164 HRESULT isAbstract(
3165 [out,retval] VARIANT_BOOL* abstract);
3166
3167 [id(DISPID_SOM_ANYATTRIBUTE), propget]
3168 HRESULT anyAttribute(
3169 [out,retval] ISchemaAny** anyAttribute);
3170
3171 [id(DISPID_SOM_ATTRIBUTES), propget]
3172 HRESULT attributes(
3173 [out,retval] ISchemaItemCollection** attributes);
3174
3175 [id(DISPID_SOM_CONTENTTYPE), propget]
3176 HRESULT contentType(
3177 [out,retval] SCHEMACONTENTTYPE* contentType);
3178
3179 [id(DISPID_SOM_CONTENTMODEL), propget]
3180 HRESULT contentModel(
3181 [out,retval] ISchemaModelGroup** contentModel);
3182
3183 [id(DISPID_SOM_PROHIBITED), propget]
3184 HRESULT prohibitedSubstitutions(
3185 [out,retval] SCHEMADERIVATIONMETHOD* prohibited);
3186};
3187
3188[
3189 local,
3190 object,
3191 uuid(50ea08ba-dd1b-4664-9a50-c2f40f4bd79a),
3192 oleautomation,
3193 dual,
3194]
3195interface ISchemaAttributeGroup : ISchemaItem
3196{
3197 [id(DISPID_SOM_ANYATTRIBUTE), propget]
3198 HRESULT anyAttribute(
3199 [out,retval] ISchemaAny** anyAttribute);
3200
3201 [id(DISPID_SOM_ATTRIBUTES), propget]
3202 HRESULT attributes(
3203 [out,retval] ISchemaItemCollection** attributes);
3204};
3205
3206[
3207 local,
3208 object,
3209 uuid(50ea08bb-dd1b-4664-9a50-c2f40f4bd79a),
3210 oleautomation,
3211 dual,
3212]
3213interface ISchemaModelGroup : ISchemaParticle
3214{
3215 [id(DISPID_SOM_PARTICLES), propget]
3216 HRESULT particles(
3217 [out,retval] ISchemaItemCollection** particles);
3218};
3219
3220[
3221 local,
3222 object,
3223 uuid(50ea08bc-dd1b-4664-9a50-c2f40f4bd79a),
3224 oleautomation,
3225 dual
3226]
3227interface ISchemaAny : ISchemaParticle
3228{
3229 [id(DISPID_SOM_NAMESPACES), propget]
3230 HRESULT namespaces(
3231 [out,retval] ISchemaStringCollection** namespaces);
3232
3233 [id(DISPID_SOM_PROCESSCONTENTS), propget]
3234 HRESULT processContents(
3235 [out,retval] SCHEMAPROCESSCONTENTS* processContents);
3236};
3237
3238[
3239 local,
3240 object,
3241 uuid(50ea08bd-dd1b-4664-9a50-c2f40f4bd79a),
3242 oleautomation,
3243 dual
3244]
3245interface ISchemaIdentityConstraint : ISchemaItem
3246{
3247 [id(DISPID_SOM_SELECTOR), propget]
3248 HRESULT selector(
3249 [out,retval] BSTR* selector);
3250
3251 [id(DISPID_SOM_FIELDS), propget]
3252 HRESULT fields(
3253 [out,retval] ISchemaStringCollection** fields);
3254
3255 [id(DISPID_SOM_REFERENCEDKEY), propget]
3256 HRESULT referencedKey(
3257 [out,retval] ISchemaIdentityConstraint** key);
3258};
3259
3260[
3261 local,
3262 object,
3263 uuid(50ea08be-dd1b-4664-9a50-c2f40f4bd79a),
3264 oleautomation,
3265 dual
3266]
3267interface ISchemaNotation : ISchemaItem
3268{
3269 [id(DISPID_SOM_SYSTEMIDENTIFIER), propget]
3270 HRESULT systemIdentifier(
3271 [out,retval] BSTR* uri);
3272
3273 [id(DISPID_SOM_PUBLICIDENTIFIER), propget]
3274 HRESULT publicIdentifier(
3275 [out,retval] BSTR* uri);
3276};
3277
3278
3279[
3280 helpstring("SAX XML Reader 3.0"),
3281 progid("Msxml2.SAXXMLReader.3.0"),
3282 vi_progid("Msxml2.SAXXMLReader"),
3283 threading(both),
3284 uuid(3124c396-fb13-4836-a6ad-1317f1713688)
3285]
3286coclass SAXXMLReader30
3287{
3288 [default] interface IVBSAXXMLReader;
3289 interface ISAXXMLReader;
3290 interface IMXReaderControl;
3291};
3292
3293[
3294 uuid(7c6e29bc-8b8b-4c3d-859e-af6cd158be0f)
3295]
3296coclass SAXXMLReader40
3297{
3298 [default] interface IVBSAXXMLReader;
3299 interface ISAXXMLReader;
3300}
3301
3302[
3303 uuid(88d96a0c-f192-11d4-a65f-0040963251e5)
3304]
3305coclass SAXXMLReader60
3306{
3307 [default] interface IVBSAXXMLReader;
3308 interface ISAXXMLReader;
3309}
3310
3311[
3312 helpstring("SAX XML Reader"),
3313 progid("Msxml2.SAXXMLReader"),
3314 vi_progid("Msxml2.SAXXMLReader"),
3315 threading(both),
3316 uuid(079aa557-4a18-424a-8eee-e39f0a8d41b9)
3317]
3318coclass SAXXMLReader
3319{
3320 [default] interface IVBSAXXMLReader;
3321 interface ISAXXMLReader;
3322 interface IMXReaderControl;
3323}
3324
3325[
3326 uuid(a4c23ec3-6b70-4466-9127-550077239978)
3327]
3328coclass MXHTMLWriter
3329{
3330 [default] interface IMXWriter;
3331
3332 interface ISAXContentHandler;
3333 interface ISAXErrorHandler;
3334 interface ISAXDTDHandler;
3335 interface ISAXLexicalHandler;
3336 interface ISAXDeclHandler;
3337
3338 interface IVBSAXContentHandler;
3339 interface IVBSAXDeclHandler;
3340 interface IVBSAXDTDHandler;
3341 interface IVBSAXErrorHandler;
3342 interface IVBSAXLexicalHandler;
3343}
3344
3345[
3346 uuid(853d1540-c1a7-4aa9-a226-4d3bd301146d)
3347]
3348coclass MXHTMLWriter30
3349{
3350 [default] interface IMXWriter;
3351
3352 interface ISAXContentHandler;
3353 interface ISAXDeclHandler;
3354 interface ISAXDTDHandler;
3355 interface ISAXErrorHandler;
3356 interface ISAXLexicalHandler;
3357
3358 interface IVBSAXContentHandler;
3359 interface IVBSAXDeclHandler;
3360 interface IVBSAXDTDHandler;
3361 interface IVBSAXErrorHandler;
3362 interface IVBSAXLexicalHandler;
3363}
3364
3365[
3366 uuid(88d969c9-f192-11d4-a65f-0040963251e5)
3367]
3368coclass MXHTMLWriter40
3369{
3370 [default] interface IMXWriter;
3371
3372 interface ISAXContentHandler;
3373 interface ISAXDeclHandler;
3374 interface ISAXDTDHandler;
3375 interface ISAXErrorHandler;
3376 interface ISAXLexicalHandler;
3377
3378 interface IVBSAXContentHandler;
3379 interface IVBSAXDeclHandler;
3380 interface IVBSAXDTDHandler;
3381 interface IVBSAXErrorHandler;
3382 interface IVBSAXLexicalHandler;
3383}
3384
3385[
3386 uuid(88d96a10-f192-11d4-a65f-0040963251e5)
3387]
3388coclass MXHTMLWriter60
3389{
3390 [default] interface IMXWriter;
3391
3392 interface ISAXContentHandler;
3393 interface ISAXDeclHandler;
3394 interface ISAXDTDHandler;
3395 interface ISAXErrorHandler;
3396 interface ISAXLexicalHandler;
3397
3398 interface IVBSAXContentHandler;
3399 interface IVBSAXDeclHandler;
3400 interface IVBSAXDTDHandler;
3401 interface IVBSAXErrorHandler;
3402 interface IVBSAXLexicalHandler;
3403}
3404
3405[
3406 helpstring("MXXMLWriter 3.0"),
3407 progid("Msxml2.MXXMLWriter.3.0"),
3408 vi_progid("Msxml2.MXXMLWriter"),
3409 threading(both),
3410 uuid(3d813dfe-6c91-4a4e-8f41-04346a841d9c)
3411]
3412coclass MXXMLWriter30
3413{
3414 [default] interface IMXWriter;
3415
3416 interface ISAXContentHandler;
3417 interface ISAXDeclHandler;
3418 interface ISAXDTDHandler;
3419 interface ISAXErrorHandler;
3420 interface ISAXLexicalHandler;
3421
3422 interface IVBSAXContentHandler;
3423 interface IVBSAXDeclHandler;
3424 interface IVBSAXDTDHandler;
3425 interface IVBSAXErrorHandler;
3426 interface IVBSAXLexicalHandler;
3427};
3428
3429[
3430 uuid(88d969c8-f192-11d4-a65f-0040963251e5),
3431]
3432coclass MXXMLWriter40
3433{
3434 [default] interface IMXWriter;
3435
3436 interface ISAXContentHandler;
3437 interface ISAXDeclHandler;
3438 interface ISAXDTDHandler;
3439 interface ISAXErrorHandler;
3440 interface ISAXLexicalHandler;
3441
3442 interface IVBSAXContentHandler;
3443 interface IVBSAXDeclHandler;
3444 interface IVBSAXDTDHandler;
3445 interface IVBSAXErrorHandler;
3446 interface IVBSAXLexicalHandler;
3447}
3448
3449[
3450 uuid(88d96a0f-f192-11d4-a65f-0040963251e5)
3451]
3452coclass MXXMLWriter60
3453{
3454 [default] interface IMXWriter;
3455
3456 interface ISAXContentHandler;
3457 interface ISAXDeclHandler;
3458 interface ISAXDTDHandler;
3459 interface ISAXErrorHandler;
3460 interface ISAXLexicalHandler;
3461
3462 interface IVBSAXContentHandler;
3463 interface IVBSAXDeclHandler;
3464 interface IVBSAXDTDHandler;
3465 interface IVBSAXErrorHandler;
3466 interface IVBSAXLexicalHandler;
3467}
3468
3469[
3470 helpstring("MXXMLWriter"),
3471 progid("Msxml2.MXXMLWriter"),
3472 vi_progid("Msxml2.MXXMLWriter"),
3473 threading(both),
3474 uuid(fc220ad8-a72a-4ee8-926e-0b7ad152a020)
3475]
3476coclass MXXMLWriter
3477{
3478 [default] interface IMXWriter;
3479
3480 interface ISAXContentHandler;
3481 interface ISAXErrorHandler;
3482 interface ISAXDTDHandler;
3483 interface ISAXLexicalHandler;
3484 interface ISAXDeclHandler;
3485
3486 interface IVBSAXContentHandler;
3487 interface IVBSAXDeclHandler;
3488 interface IVBSAXDTDHandler;
3489 interface IVBSAXErrorHandler;
3490 interface IVBSAXLexicalHandler;
3491}
3492
3493[
3494 uuid(88d969d5-f192-11d4-a65f-0040963251e5)
3495]
3496coclass MXNamespaceManager
3497{
3498 [default] interface IVBMXNamespaceManager;
3499 interface IMXNamespaceManager;
3500}
3501
3502[
3503 uuid(88d969d6-f192-11d4-a65f-0040963251e5)
3504]
3505coclass MXNamespaceManager40
3506{
3507 [default] interface IVBMXNamespaceManager;
3508 interface IMXNamespaceManager;
3509}
3510
3511[
3512 uuid(88d96a11-f192-11d4-a65f-0040963251e5)
3513]
3514coclass MXNamespaceManager60
3515{
3516 [default] interface IVBMXNamespaceManager;
3517 interface IMXNamespaceManager;
3518}
3519
3520[
3521 helpstring("SAXAttributes 3.0"),
3522 progid("Msxml2.SAXAttributes.3.0"),
3523 vi_progid("Msxml2.SAXAttributes"),
3524 threading(both),
3525 uuid(3e784a01-f3ae-4dc0-9354-9526b9370eba)
3526]
3527coclass SAXAttributes30
3528{
3529 [default] interface IMXAttributes;
3530 interface IVBSAXAttributes;
3531 interface ISAXAttributes;
3532}
3533
3534[
3535 uuid(88d969ca-f192-11d4-a65f-0040963251e5),
3536]
3537coclass SAXAttributes40
3538{
3539 [default] interface IMXAttributes;
3540 interface IVBSAXAttributes;
3541 interface ISAXAttributes;
3542}
3543
3544[
3545 uuid(88d96a0e-f192-11d4-a65f-0040963251e5)
3546]
3547coclass SAXAttributes60
3548{
3549 [default] interface IMXAttributes;
3550 interface IVBSAXAttributes;
3551 interface ISAXAttributes;
3552}
3553
3554[
3555 helpstring("SAXAttributes"),
3556 progid("Msxml2.SAXAttributes"),
3557 vi_progid("Msxml2.SAXAttributes"),
3558 threading(both),
3559 uuid(4dd441ad-526d-4a77-9f1b-9841ed802fb0)
3560]
3561coclass SAXAttributes
3562{
3563 [default] interface IMXAttributes;
3564 interface IVBSAXAttributes;
3565 interface ISAXAttributes;
3566}
3567
3568/*
3569 * Error Codes
3570 */
3571cpp_quote("#define E_XML_NOTWF 0xC00CE223")
3572cpp_quote("#define E_XML_NODTD 0xC00CE224")
3573cpp_quote("#define E_XML_INVALID 0xC00CE225")
3574cpp_quote("#define E_XML_BUFFERTOOSMALL 0xC00CE226")
3575
3576} /* Library MSXML */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette