2 * Copyright (C) 2005 Vijay Kiran Kamuju
3 * Copyright (C) 2008 Alistair Leslie-Hughes
4 * Copyright (C) 2010 Nikolay Sivov for CodeWeavers
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Lesser General Public
8 * License as published by the Free Software Foundation; either
9 * version 2.1 of the License, or (at your option) any later version.
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Lesser General Public License for more details.
16 * You should have received a copy of the GNU Lesser General Public
17 * License along with this library; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #include
<msxml2did.h
>
29 uuid(f5078f18
-c551
-11d3
-89b9
-0000f81fe221
),
31 helpstring("Microsoft XML, v3.0")
36 importlib
("stdole2.tlb");
38 interface IXMLDOMImplementation
;
39 interface IXMLDOMNode
;
40 interface IXMLDOMDocumentFragment
;
41 interface IXMLDOMDocument
;
42 interface IXMLDOMSchemaCollection
;
43 interface IXMLDOMDocument2
;
44 interface IXMLDOMNodeList
;
45 interface IXMLDOMNamedNodeMap
;
46 interface IXMLDOMCharacterData
;
47 interface IXMLDOMAttribute
;
48 interface IXMLDOMElement
;
49 interface IXMLDOMText
;
50 interface IXMLDOMComment
;
51 interface IXMLDOMProcessingInstruction
;
52 interface IXMLDOMCDATASection
;
53 interface IXMLDOMDocumentType
;
54 interface IXMLDOMNotation
;
55 interface IXMLDOMEntity
;
56 interface IXMLDOMEntityReference
;
57 interface IXMLDOMParseError
;
58 interface IXMLDOMParseErrorCollection
;
59 interface IXTLRuntime
;
60 interface IXSLTemplate
;
61 interface IXSLProcessor
;
64 interface ISAXAttributes
;
65 interface ISAXContentHandler
;
66 interface ISAXDeclHandler
;
67 interface ISAXDTDHandler
;
68 interface ISAXEntityResolver
;
69 interface ISAXErrorHandler
;
70 interface ISAXLexicalHandler
;
71 interface ISAXLocator
;
72 interface ISAXXMLFilter
;
73 interface ISAXXMLReader
;
75 interface IVBSAXAttributes
;
76 interface IVBSAXContentHandler
;
77 interface IVBSAXDeclHandler
;
78 interface IVBSAXDTDHandler
;
79 interface IVBSAXEntityResolver
;
80 interface IVBSAXErrorHandler
;
81 interface IVBSAXLexicalHandler
;
82 interface IVBSAXLocator
;
83 interface IVBSAXXMLFilter
;
84 interface IVBSAXXMLReader
;
86 interface IMXAttributes
;
87 interface IMXReaderControl
;
90 interface IXMLDOMSchemaCollection2
;
91 interface ISchemaStringCollection
;
92 interface ISchemaItemCollection
;
93 interface ISchemaItem
;
95 interface ISchemaParticle
;
96 interface ISchemaAttribute
;
97 interface ISchemaElement
;
98 interface ISchemaType
;
99 interface ISchemaComplexType
;
100 interface ISchemaAttributeGroup
;
101 interface ISchemaModelGroup
;
102 interface ISchemaAny
;
103 interface ISchemaIdentityConstraint
;
104 interface ISchemaNotation
;
107 cpp_quote
("#define DOMDocument DOMDocument2")
108 cpp_quote
("#define CLSID_DOMDocument CLSID_DOMDocument2")
110 cpp_quote
("#ifndef __MSXML_DOMNODETYPE_DEFINED")
111 cpp_quote
("#define __MSXML_DOMNODETYPE_DEFINED")
112 typedef enum tagDOMNodeType
118 NODE_CDATA_SECTION
= 4,
119 NODE_ENTITY_REFERENCE
= 5,
121 NODE_PROCESSING_INSTRUCTION
= 7,
124 NODE_DOCUMENT_TYPE
= 10,
125 NODE_DOCUMENT_FRAGMENT
= 11,
130 typedef enum _SOMITEMTYPE
132 SOMITEM_SCHEMA
= 0x1000,
133 SOMITEM_ATTRIBUTE
= 0x1001,
134 SOMITEM_ATTRIBUTEGROUP
= 0x1002,
135 SOMITEM_NOTATION
= 0x1003,
136 SOMITEM_IDENTITYCONSTRAINT
= 0x1100,
137 SOMITEM_KEY
= 0x1101,
138 SOMITEM_KEYREF
= 0x1102,
139 SOMITEM_UNIQUE
= 0x1103,
140 SOMITEM_ANYTYPE
= 0x2000,
141 SOMITEM_DATATYPE
= 0x2100,
142 SOMITEM_DATATYPE_ANYTYPE
= 0x2101,
143 SOMITEM_DATATYPE_ANYURI
= 0x2102,
144 SOMITEM_DATATYPE_BASE64BINARY
= 0x2103,
145 SOMITEM_DATATYPE_BOOLEAN
= 0x2104,
146 SOMITEM_DATATYPE_BYTE
= 0x2105,
147 SOMITEM_DATATYPE_DATE
= 0x2106,
148 SOMITEM_DATATYPE_DATETIME
= 0x2107,
149 SOMITEM_DATATYPE_DAY
= 0x2108,
150 SOMITEM_DATATYPE_DECIMAL
= 0x2109,
151 SOMITEM_DATATYPE_DOUBLE
= 0x210A,
152 SOMITEM_DATATYPE_DURATION
= 0x210B,
153 SOMITEM_DATATYPE_ENTITIES
= 0x210C,
154 SOMITEM_DATATYPE_ENTITY
= 0x210D,
155 SOMITEM_DATATYPE_FLOAT
= 0x210E,
156 SOMITEM_DATATYPE_HEXBINARY
= 0x210F,
157 SOMITEM_DATATYPE_ID
= 0x2110,
158 SOMITEM_DATATYPE_IDREF
= 0x2111,
159 SOMITEM_DATATYPE_IDREFS
= 0x2112,
160 SOMITEM_DATATYPE_INT
= 0x2113,
161 SOMITEM_DATATYPE_INTEGER
= 0x2114,
162 SOMITEM_DATATYPE_LANGUAGE
= 0x2115,
163 SOMITEM_DATATYPE_LONG
= 0x2116,
164 SOMITEM_DATATYPE_MONTH
= 0x2117,
165 SOMITEM_DATATYPE_MONTHDAY
= 0x2118,
166 SOMITEM_DATATYPE_NAME
= 0x2119,
167 SOMITEM_DATATYPE_NCNAME
= 0x211A,
168 SOMITEM_DATATYPE_NEGATIVEINTEGER
= 0x211B,
169 SOMITEM_DATATYPE_NMTOKEN
= 0x211C,
170 SOMITEM_DATATYPE_NMTOKENS
= 0x211D,
171 SOMITEM_DATATYPE_NONNEGATIVEINTEGER
= 0x211E,
172 SOMITEM_DATATYPE_NONPOSITIVEINTEGER
= 0x211F,
173 SOMITEM_DATATYPE_NORMALIZEDSTRING
= 0x2120,
174 SOMITEM_DATATYPE_NOTATION
= 0x2121,
175 SOMITEM_DATATYPE_POSITIVEINTEGER
= 0x2122,
176 SOMITEM_DATATYPE_QNAME
= 0x2123,
177 SOMITEM_DATATYPE_SHORT
= 0x2124,
178 SOMITEM_DATATYPE_STRING
= 0x2125,
179 SOMITEM_DATATYPE_TIME
= 0x2126,
180 SOMITEM_DATATYPE_TOKEN
= 0x2127,
181 SOMITEM_DATATYPE_UNSIGNEDBYTE
= 0x2128,
182 SOMITEM_DATATYPE_UNSIGNEDINT
= 0x2129,
183 SOMITEM_DATATYPE_UNSIGNEDLONG
= 0x212A,
184 SOMITEM_DATATYPE_UNSIGNEDSHORT
= 0x212B,
185 SOMITEM_DATATYPE_YEAR
= 0x212C,
186 SOMITEM_DATATYPE_YEARMONTH
= 0x212D,
187 SOMITEM_DATATYPE_ANYSIMPLETYPE
= 0x21FF,
188 SOMITEM_SIMPLETYPE
= 0x2200,
189 SOMITEM_COMPLEXTYPE
= 0x2400,
190 SOMITEM_PARTICLE
= 0x4000,
191 SOMITEM_ANY
= 0x4001,
192 SOMITEM_ANYATTRIBUTE
= 0x4002,
193 SOMITEM_ELEMENT
= 0x4003,
194 SOMITEM_GROUP
= 0x4100,
195 SOMITEM_ALL
= 0x4101,
196 SOMITEM_CHOICE
= 0x4102,
197 SOMITEM_SEQUENCE
= 0x4103,
198 SOMITEM_EMPTYPARTICLE
= 0x4104,
199 SOMITEM_NULL
= 0x0800,
200 SOMITEM_NULL_TYPE
= 0x2800,
201 SOMITEM_NULL_ANY
= 0x4801,
202 SOMITEM_NULL_ANYATTRIBUTE
= 0x4802,
203 SOMITEM_NULL_ELEMENT
= 0x4803,
206 typedef enum _SCHEMAUSE
209 SCHEMAUSE_PROHIBITED
,
213 typedef enum _SCHEMADERIVATIONMETHOD
215 SCHEMADERIVATIONMETHOD_EMPTY
= 0x0000,
216 SCHEMADERIVATIONMETHOD_SUBSTITUTION
= 0x0001,
217 SCHEMADERIVATIONMETHOD_EXTENSION
= 0x0002,
218 SCHEMADERIVATIONMETHOD_RESTRICTION
= 0x0004,
219 SCHEMADERIVATIONMETHOD_LIST
= 0x0008,
220 SCHEMADERIVATIONMETHOD_UNION
= 0x0010,
221 SCHEMADERIVATIONMETHOD_ALL
= 0x00FF,
222 SCHEMADERIVATIONMETHOD_NONE
= 0x0100,
223 } SCHEMADERIVATIONMETHOD
;
225 typedef enum _SCHEMACONTENTTYPE
227 SCHEMACONTENTTYPE_EMPTY
,
228 SCHEMACONTENTTYPE_TEXTONLY
,
229 SCHEMACONTENTTYPE_ELEMENTONLY
,
230 SCHEMACONTENTTYPE_MIXED
,
233 typedef enum _SCHEMAPROCESSCONTENTS
235 SCHEMAPROCESSCONTENTS_NONE
,
236 SCHEMAPROCESSCONTENTS_SKIP
,
237 SCHEMAPROCESSCONTENTS_LAX
,
238 SCHEMAPROCESSCONTENTS_STRICT
,
239 } SCHEMAPROCESSCONTENTS
;
241 typedef enum _SCHEMAWHITESPACE
243 SCHEMAWHITESPACE_NONE
= -1,
244 SCHEMAWHITESPACE_PRESERVE
= 0,
245 SCHEMAWHITESPACE_REPLACE
= 1,
246 SCHEMAWHITESPACE_COLLAPSE
= 2,
250 typedef enum _SCHEMATYPEVARIETY
252 SCHEMATYPEVARIETY_NONE
= -1,
253 SCHEMATYPEVARIETY_ATOMIC
= 0,
254 SCHEMATYPEVARIETY_LIST
= 1,
255 SCHEMATYPEVARIETY_UNION
= 2,
264 uuid(65725580-9b5d
-11d0
-9bfe
-00c04fc99c8e
)
266 interface IXMLElementCollection
: IDispatch
268 [propput, id(DISPID_XMLELEMENTCOLLECTION_LENGTH
)]
269 HRESULT length
( [in] LONG v
);
271 [propget, id(DISPID_XMLELEMENTCOLLECTION_LENGTH
)]
272 HRESULT length
( [retval, out] LONG *p
);
274 [propget, id(DISPID_XMLELEMENTCOLLECTION_NEWENUM
)]
275 HRESULT _newEnum
( [retval, out] IUnknown
** ppUnk
);
277 [id(DISPID_XMLELEMENTCOLLECTION_ITEM
)]
279 [optional, in] VARIANT var1
,
280 [optional, in] VARIANT var2
,
281 [retval, out] IDispatch
** ppDisp
);
287 uuid(3f7f31ac
-e15f
-11d0
-9c25
-00c04fc99c8e
)
289 interface IXMLElement
: IDispatch
291 [propget, id(DISPID_XMLELEMENT_TAGNAME
)]
292 HRESULT tagName
( [retval, out] BSTR *p
);
294 [propput, id(DISPID_XMLELEMENT_TAGNAME
)]
295 HRESULT tagName
( [in] BSTR p
);
297 [propget, id(DISPID_XMLELEMENT_PARENT
)]
298 HRESULT parent
( [retval, out] IXMLElement
**parent
);
300 [id(DISPID_XMLELEMENT_SETATTRIBUTE
)]
301 HRESULT setAttribute
(
302 [in] BSTR strPropertyName
,
303 [in] VARIANT PropertyValue
);
305 [id(DISPID_XMLELEMENT_GETATTRIBUTE
)]
306 HRESULT getAttribute
(
307 [in] BSTR strPropertyName
,
308 [retval, out] VARIANT *PropertyValue
);
310 [id(DISPID_XMLELEMENT_REMOVEATTRIBUTE
)]
311 HRESULT removeAttribute
(
312 [in] BSTR strPropertyName
);
314 [propget, id(DISPID_XMLELEMENT_CHILDREN
)]
315 HRESULT children
( [retval, out] IXMLElementCollection
**p
);
317 [propget, id(DISPID_XMLELEMENT_TYPE
)]
318 HRESULT type
( [retval, out] LONG *p
);
320 [propget, id(DISPID_XMLELEMENT_TEXT
)]
321 HRESULT text
( [retval, out] BSTR *p
);
323 [propput, id(DISPID_XMLELEMENT_TEXT
)]
324 HRESULT text
( [in] BSTR p
);
326 [id(DISPID_XMLELEMENT_ADDCHILD
)]
328 [in] IXMLElement
*pChildElem
,
330 [in] LONG lreserved
);
332 [id(DISPID_XMLELEMENT_REMOVECHILD
)]
334 [in] IXMLElement
*pChildElem
);
342 uuid (2933BF80
-7B36
-11d2
-B20E
-00C04F983E60
)
344 interface IXMLDOMNode
: IDispatch
346 [propget, id(DISPID_DOM_NODE_NODENAME
)]
347 HRESULT nodeName
([retval, out] BSTR *p
);
349 [propget, id(DISPID_DOM_NODE_NODEVALUE
)]
350 HRESULT nodeValue
([retval, out] VARIANT *var1
);
352 [propput, id(DISPID_DOM_NODE_NODEVALUE
)]
353 HRESULT nodeValue
([in] VARIANT var1
);
355 [propget, id(DISPID_DOM_NODE_NODETYPE
)]
356 HRESULT nodeType
([retval, out] DOMNodeType
*domNodeType
);
358 [propget, id(DISPID_DOM_NODE_PARENTNODE
)]
359 HRESULT parentNode
([retval, out] IXMLDOMNode
**parent
);
361 [propget, id(DISPID_DOM_NODE_CHILDNODES
)]
362 HRESULT childNodes
([retval, out] IXMLDOMNodeList
**outList
);
364 [propget, id(DISPID_DOM_NODE_FIRSTCHILD
)]
365 HRESULT firstChild
([retval, out] IXMLDOMNode
**domNode
);
367 [propget, id(DISPID_DOM_NODE_LASTCHILD
)]
368 HRESULT lastChild
([retval, out] IXMLDOMNode
**domNode
);
370 [propget, id(DISPID_DOM_NODE_PREVIOUSSIBLING
)]
371 HRESULT previousSibling
([retval, out] IXMLDOMNode
**domNode
);
373 [propget, id(DISPID_DOM_NODE_NEXTSIBLING
)]
374 HRESULT nextSibling
([retval, out] IXMLDOMNode
**domNode
);
376 [propget, id(DISPID_DOM_NODE_ATTRIBUTES
)]
377 HRESULT attributes
([retval, out] IXMLDOMNamedNodeMap
**attributeMap
);
379 [id(DISPID_DOM_NODE_INSERTBEFORE
)]
380 HRESULT insertBefore
(
381 [in] IXMLDOMNode
*newNode
,
383 [retval, out] IXMLDOMNode
**outOldNode
);
385 [id(DISPID_DOM_NODE_REPLACECHILD
)]
386 HRESULT replaceChild
(
387 [in] IXMLDOMNode
*newNode
,
388 [in] IXMLDOMNode
*oldNode
,
389 [retval, out] IXMLDOMNode
**outOldNode
);
391 [id(DISPID_DOM_NODE_REMOVECHILD
)]
393 [in] IXMLDOMNode
*domNode
,
394 [retval, out] IXMLDOMNode
**oldNode
);
396 [id(DISPID_DOM_NODE_APPENDCHILD
)]
398 [in] IXMLDOMNode
*newNode
,
399 [retval, out] IXMLDOMNode
**outNewNode
);
401 [id(DISPID_DOM_NODE_HASCHILDNODES
)]
402 HRESULT hasChildNodes
(
403 [retval, out] VARIANT_BOOL *pbool
);
405 [propget, id(DISPID_DOM_NODE_OWNERDOC
)]
406 HRESULT ownerDocument
([retval, out] IXMLDOMDocument
**domDocument
);
408 [id(DISPID_DOM_NODE_CLONENODE
)]
410 [in] VARIANT_BOOL pbool
,
411 [retval, out] IXMLDOMNode
**outNode
);
413 [propget, id(DISPID_XMLDOM_NODE_STRINGTYPE
)]
414 HRESULT nodeTypeString
([retval, out] BSTR *p
);
416 [propget, id(DISPID_XMLDOM_NODE_TEXT
)]
417 HRESULT text
([retval, out] BSTR *p
);
419 [propput, id(DISPID_XMLDOM_NODE_TEXT
)]
420 HRESULT text
([in] BSTR p
);
422 [propget, id(DISPID_XMLDOM_NODE_SPECIFIED
)]
423 HRESULT specified
([retval, out] VARIANT_BOOL *pbool
);
425 [propget, id(DISPID_XMLDOM_NODE_DEFINITION
)]
426 HRESULT definition
([retval,out] IXMLDOMNode
**domNode
);
428 [propget, id(DISPID_XMLDOM_NODE_NODETYPEDVALUE
)]
429 HRESULT nodeTypedValue
([retval, out] VARIANT *var1
);
431 [propput, id(DISPID_XMLDOM_NODE_NODETYPEDVALUE
)]
432 HRESULT nodeTypedValue
([in] VARIANT var1
);
434 [propget, id(DISPID_XMLDOM_NODE_DATATYPE
)]
435 HRESULT dataType
([retval, out] VARIANT *var1
);
437 [propput, id(DISPID_XMLDOM_NODE_DATATYPE
)]
438 HRESULT dataType
([in] BSTR p
);
440 [propget, id(DISPID_XMLDOM_NODE_XML
)]
441 HRESULT xml
([retval, out] BSTR *p
);
443 [id(DISPID_XMLDOM_NODE_TRANSFORMNODE
)]
444 HRESULT transformNode
(
445 [in] IXMLDOMNode
*domNode
,
446 [retval, out] BSTR *p
);
448 [id(DISPID_XMLDOM_NODE_SELECTNODES
)]
451 [retval, out] IXMLDOMNodeList
**outList
);
453 [id(DISPID_XMLDOM_NODE_SELECTSINGLENODE
)]
454 HRESULT selectSingleNode
(
456 [retval, out] IXMLDOMNode
**outNode
);
458 [propget,id(DISPID_XMLDOM_NODE_PARSED
)]
459 HRESULT parsed
([retval, out] VARIANT_BOOL *pbool
);
461 [propget, id(DISPID_XMLDOM_NODE_NAMESPACE
)]
462 HRESULT namespaceURI
([retval, out] BSTR *p
);
464 [propget, id(DISPID_XMLDOM_NODE_PREFIX
)]
465 HRESULT prefix
([retval, out] BSTR *p
);
467 [propget, id(DISPID_XMLDOM_NODE_BASENAME
)]
468 HRESULT baseName
([retval, out] BSTR *p
);
470 [id(DISPID_XMLDOM_NODE_TRANSFORMNODETOOBJECT
)]
471 HRESULT transformNodeToObject
(
472 [in] IXMLDOMNode
*domNode
,
481 uuid (2933BF81
-7B36
-11d2
-B20E
-00C04F983E60
)
483 interface IXMLDOMDocument
: IXMLDOMNode
485 [propget, id(DISPID_DOM_DOCUMENT_DOCTYPE
)]
486 HRESULT doctype
([retval, out] IXMLDOMDocumentType
**docType
);
488 [propget, id(DISPID_DOM_DOCUMENT_IMPLEMENTATION
)]
489 HRESULT implementation
([retval, out] IXMLDOMImplementation
**impl
);
491 [propget, id(DISPID_DOM_DOCUMENT_DOCUMENTELEMENT
)]
492 HRESULT documentElement
([retval, out] IXMLDOMElement
**domElement
);
494 [propputref, id(DISPID_DOM_DOCUMENT_DOCUMENTELEMENT
)]
495 HRESULT documentElement
([in] IXMLDOMElement
*domElement
);
497 [id(DISPID_DOM_DOCUMENT_CREATEELEMENT
)]
498 HRESULT createElement
(
500 [retval, out] IXMLDOMElement
**domElement
);
502 [id(DISPID_DOM_DOCUMENT_CREATEDOCUMENTFRAGMENT
)]
503 HRESULT createDocumentFragment
(
504 [retval, out] IXMLDOMDocumentFragment
**docFrag
);
506 [id(DISPID_DOM_DOCUMENT_CREATETEXTNODE
)]
507 HRESULT createTextNode
(
509 [retval, out] IXMLDOMText
**text
);
511 [id(DISPID_DOM_DOCUMENT_CREATECOMMENT
)]
512 HRESULT createComment
(
514 [retval, out] IXMLDOMComment
**comment
);
516 [id(DISPID_DOM_DOCUMENT_CREATECDATASECTION
)]
517 HRESULT createCDATASection
(
519 [retval, out] IXMLDOMCDATASection
**cdata
);
521 [id(DISPID_DOM_DOCUMENT_CREATEPROCESSINGINSTRUCTION
)]
522 HRESULT createProcessingInstruction
(
525 [retval, out] IXMLDOMProcessingInstruction
**pi
);
527 [id(DISPID_DOM_DOCUMENT_CREATEATTRIBUTE
)]
528 HRESULT createAttribute
(
530 [retval, out] IXMLDOMAttribute
**attribute
);
532 [id(DISPID_DOM_DOCUMENT_CREATEENTITYREFERENCE
)]
533 HRESULT createEntityReference
(
535 [retval, out] IXMLDOMEntityReference
**entityRef
);
537 [id(DISPID_DOM_DOCUMENT_GETELEMENTSBYTAGNAME
)]
538 HRESULT getElementsByTagName
(
540 [retval, out] IXMLDOMNodeList
**resultList
);
542 [id(DISPID_XMLDOM_DOCUMENT_CREATENODE
)]
547 [retval, out] IXMLDOMNode
**node
);
549 [id(DISPID_XMLDOM_DOCUMENT_NODEFROMID
)]
552 [retval, out] IXMLDOMNode
**node
);
554 [id(DISPID_XMLDOM_DOCUMENT_LOAD
)]
557 [retval, out] VARIANT_BOOL *pbool
);
559 [propget, id(DISPID_READYSTATE
)]
560 HRESULT readyState
([retval, out] LONG *value
);
562 [propget, id(DISPID_XMLDOM_DOCUMENT_PARSEERROR
)]
563 HRESULT parseError
([retval, out] IXMLDOMParseError
**err
);
565 [propget, id(DISPID_XMLDOM_DOCUMENT_URL
)]
566 HRESULT url
([retval, out] BSTR *p
);
568 [propget, id(DISPID_XMLDOM_DOCUMENT_ASYNC
)]
569 HRESULT async
([retval, out] VARIANT_BOOL *pbool
);
571 [propput, id(DISPID_XMLDOM_DOCUMENT_ASYNC
)]
572 HRESULT async
([in] VARIANT_BOOL pbool
);
574 [id(DISPID_XMLDOM_DOCUMENT_ABORT
)]
577 [id(DISPID_XMLDOM_DOCUMENT_LOADXML
)]
580 [out, retval] VARIANT_BOOL *pbool
);
582 [id(DISPID_XMLDOM_DOCUMENT_SAVE
)]
586 [propget, id(DISPID_XMLDOM_DOCUMENT_VALIDATE
)]
587 HRESULT validateOnParse
([retval, out] VARIANT_BOOL *pbool
);
589 [propput, id(DISPID_XMLDOM_DOCUMENT_VALIDATE
)]
590 HRESULT validateOnParse
([in] VARIANT_BOOL pbool
);
592 [propget, id(DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE
)]
593 HRESULT resolveExternals
([retval,out] VARIANT_BOOL *pbool
);
595 [propput, id(DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE
)]
596 HRESULT resolveExternals
([in] VARIANT_BOOL pbool
);
598 [propget, id(DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE
)]
599 HRESULT preserveWhiteSpace
([retval,out] VARIANT_BOOL *pbool
);
601 [propput, id(DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE
)]
602 HRESULT preserveWhiteSpace
([in] VARIANT_BOOL pbool
);
604 [propput, id(DISPID_XMLDOM_DOCUMENT_ONREADYSTATECHANGE
)]
605 HRESULT onreadystatechange
([in] VARIANT var1
);
607 [propput, id(DISPID_XMLDOM_DOCUMENT_ONDATAAVAILABLE
)]
608 HRESULT ondataavailable
([in] VARIANT var1
);
610 [propput, id(DISPID_XMLDOM_DOCUMENT_ONTRANSFORMNODE
)]
611 HRESULT ontransformnode
([in] VARIANT var1
);
619 uuid (373984c8
-b845
-449b
-91e7
-45ac83036ade
)
621 interface IXMLDOMSchemaCollection
: IDispatch
623 [id(DISPID_XMLDOM_SCHEMACOLLECTION_ADD
)]
628 [id(DISPID_XMLDOM_SCHEMACOLLECTION_GET
)]
631 [retval, out] IXMLDOMNode
**node
);
633 [id(DISPID_XMLDOM_SCHEMACOLLECTION_REMOVE
)]
637 [propget, id(DISPID_XMLDOM_SCHEMACOLLECTION_LENGTH
)]
639 [retval, out] LONG *length
);
641 [propget, id(DISPID_VALUE
)]
642 HRESULT namespaceURI
([in] LONG index
, [out, retval] BSTR *len
);
644 [id(DISPID_XMLDOM_SCHEMACOLLECTION_ADDCOLLECTION
)]
645 HRESULT addCollection
(
646 [in] IXMLDOMSchemaCollection
*otherCollection
);
648 [propget, id(DISPID_NEWENUM
)]
649 HRESULT _newEnum
([retval, out] IUnknown
**ppUnk
);
657 uuid(50ea08b0
-dd1b
-4664-9a50
-c2f40f4bd79a
),
659 interface IXMLDOMSchemaCollection2
: IXMLDOMSchemaCollection
661 [id(DISPID_SOM_VALIDATE
)]
664 [propput, id(DISPID_SOM_VALIDATEONLOAD
)]
665 HRESULT validateOnLoad
(
666 [in] VARIANT_BOOL validateOnLoad
);
668 [propget, id(DISPID_SOM_VALIDATEONLOAD
)]
669 HRESULT validateOnLoad
(
670 [out,retval] VARIANT_BOOL* validateOnLoad
);
672 [id(DISPID_SOM_GETSCHEMA
)]
674 [in] BSTR namespaceURI
,
675 [out,retval] ISchema
** schema
);
677 [id(DISPID_SOM_GETDECLARATION
)]
678 HRESULT getDeclaration
(
679 [in] IXMLDOMNode
* node
,
680 [out,retval]ISchemaItem
** item
);
688 uuid (2933BF95
-7B36
-11d2
-B20E
-00C04F983E60
)
690 interface IXMLDOMDocument2
: IXMLDOMDocument
692 [propget, id(DISPID_XMLDOM_DOCUMENT2_NAMESPACES
)]
693 HRESULT namespaces
([retval, out] IXMLDOMSchemaCollection
**schemaCollection
);
695 [propget, id(DISPID_XMLDOM_DOCUMENT2_SCHEMAS
)]
696 HRESULT schemas
([retval, out] VARIANT *var1
);
698 [propputref, id(DISPID_XMLDOM_DOCUMENT2_SCHEMAS
)]
699 HRESULT schemas
([in] VARIANT var1
);
701 [id(DISPID_XMLDOM_DOCUMENT2_VALIDATE
)]
703 [retval, out] IXMLDOMParseError
**err
);
705 [id(DISPID_XMLDOM_DOCUMENT2_SETPROPERTY
)]
710 [id(DISPID_XMLDOM_DOCUMENT2_GETPROPERTY
)]
713 [retval, out] VARIANT *var
);
720 uuid(2933bf96
-7b36
-11d2
-b20e
-00c04f983e60
),
723 interface IXMLDOMDocument3
: IXMLDOMDocument2
725 [id(DISPID_XMLDOM_DOCUMENT3_VALIDATENODE
)]
726 HRESULT validateNode
(
727 [in] IXMLDOMNode
*node
,
728 [out, retval] IXMLDOMParseError
**error
);
730 [id(DISPID_XMLDOM_DOCUMENT3_IMPORTNODE
)]
732 [in] IXMLDOMNode
*node
,
733 [in] VARIANT_BOOL deep
,
734 [out, retval] IXMLDOMNode
**clone
);
742 uuid (2933BF82
-7B36
-11d2
-B20E
-00C04F983E60
)
744 interface IXMLDOMNodeList
: IDispatch
746 [propget, id(DISPID_VALUE
)]
747 HRESULT item
([in] LONG lIndex
, [retval, out] IXMLDOMNode
**outNode
);
749 [propget, id(DISPID_DOM_NODELIST_LENGTH
)]
750 HRESULT length
([retval, out] LONG *lLength
);
752 [id(DISPID_XMLDOM_NODELIST_NEXTNODE
)]
754 [retval, out] IXMLDOMNode
**outNode
);
756 [id(DISPID_XMLDOM_NODELIST_RESET
)]
759 [propget, id(DISPID_NEWENUM
)]
760 HRESULT _newEnum
([retval, out] IUnknown
**ppUnk
);
768 uuid (AA634FC7
-5888-44a7
-A257
-3A47150D3A0E
)
770 interface IXMLDOMSelection
: IXMLDOMNodeList
772 [propget, id(DISPID_XMLDOM_SELECTION_EXPR
)]
773 HRESULT expr
([retval, out] BSTR *p
);
775 [propput, id(DISPID_XMLDOM_SELECTION_EXPR
)]
776 HRESULT expr
([in] BSTR p
);
778 [propget, id(DISPID_XMLDOM_SELECTION_CONTEXT
)]
779 HRESULT context
([retval, out] IXMLDOMNode
**ppNode
);
781 [propputref, id(DISPID_XMLDOM_SELECTION_CONTEXT
)]
782 HRESULT context
([in] IXMLDOMNode
* pNode
);
784 [id(DISPID_XMLDOM_SELECTION_PEEKNODE
)]
786 [retval, out] IXMLDOMNode
**ppNode
);
788 [id(DISPID_XMLDOM_SELECTION_MATCHES
)]
790 [in] IXMLDOMNode
*pNode
,
791 [retval, out] IXMLDOMNode
**ppNode
);
793 [id(DISPID_XMLDOM_SELECTION_REMOVENEXT
)]
795 [retval, out] IXMLDOMNode
**ppNode
);
797 [id(DISPID_XMLDOM_SELECTION_REMOVEALL
)]
800 [id(DISPID_XMLDOM_SELECTION_CLONE
)]
802 [retval, out] IXMLDOMSelection
**ppNode
);
804 [id(DISPID_XMLDOM_SELECTION_GETPROPERTY
)]
807 [retval, out] VARIANT * var
);
809 [id(DISPID_XMLDOM_SELECTION_SETPROPERTY
)]
820 uuid (2933BF83
-7B36
-11d2
-B20E
-00C04F983E60
)
822 interface IXMLDOMNamedNodeMap
: IDispatch
824 [id(DISPID_DOM_NAMEDNODEMAP_GETNAMEDITEM
)]
825 HRESULT getNamedItem
(
827 [retval, out] IXMLDOMNode
**outNode
);
829 [id(DISPID_DOM_NAMEDNODEMAP_SETNAMEDITEM
)]
830 HRESULT setNamedItem
(
831 [in] IXMLDOMNode
*newNode
,
832 [retval, out] IXMLDOMNode
**outNode
);
834 [id(DISPID_DOM_NAMEDNODEMAP_REMOVENAMEDITEM
)]
835 HRESULT removeNamedItem
(
837 [retval, out] IXMLDOMNode
**outNode
);
839 [propget, id(DISPID_VALUE
)]
840 HRESULT item
([in] LONG lIndex
, [retval, out] IXMLDOMNode
**outNode
);
842 [propget, id(DISPID_DOM_NODELIST_LENGTH
)]
843 HRESULT length
([retval, out] LONG *lLength
);
845 [id(DISPID_XMLDOM_NAMEDNODEMAP_GETQUALIFIEDITEM
)]
846 HRESULT getQualifiedItem
(
849 [retval, out] IXMLDOMNode
**outNode
);
851 [id(DISPID_XMLDOM_NAMEDNODEMAP_REMOVEQUALIFIEDITEM
)]
852 HRESULT removeQualifiedItem
(
855 [retval, out] IXMLDOMNode
**outNode
);
857 [id(DISPID_XMLDOM_NAMEDNODEMAP_NEXTNODE
)]
859 [retval, out] IXMLDOMNode
**outNode
);
861 [id(DISPID_XMLDOM_NAMEDNODEMAP_RESET
)]
864 [propget, id(DISPID_NEWENUM
)]
865 HRESULT _newEnum
([retval, out] IUnknown
**ppUnk
);
873 uuid (3efaa413
-272f
-11d2
-836f
-0000f87a7782
)
875 interface IXMLDOMDocumentFragment
: IXMLDOMNode
884 uuid (2933BF84
-7B36
-11d2
-B20E
-00C04F983E60
)
886 interface IXMLDOMCharacterData
: IXMLDOMNode
888 [propget, id(DISPID_DOM_DATA_DATA
)]
889 HRESULT data
([retval, out] BSTR *p
);
891 [propput, id(DISPID_DOM_DATA_DATA
)]
892 HRESULT data
([in] BSTR data
);
894 [propget, id(DISPID_DOM_DATA_LENGTH
)]
895 HRESULT length
([retval, out] LONG *len
);
897 [id(DISPID_DOM_DATA_SUBSTRING
)]
898 HRESULT substringData
(
901 [retval, out] BSTR *p
);
903 [id(DISPID_DOM_DATA_APPEND
)]
907 [id(DISPID_DOM_DATA_INSERT
)]
912 [id(DISPID_DOM_DATA_DELETE
)]
917 [id(DISPID_DOM_DATA_REPLACE
)]
929 uuid (2933BF85
-7B36
-11d2
-B20E
-00C04F983E60
)
931 interface IXMLDOMAttribute
: IXMLDOMNode
933 [propget, id(DISPID_DOM_ATTRIBUTE_GETNAME
)]
934 HRESULT name
([retval, out] BSTR *p
);
936 [propget, id(DISPID_DOM_ATTRIBUTE_VALUE
)]
937 HRESULT value
([retval, out] VARIANT *var1
);
939 [propput, id(DISPID_DOM_ATTRIBUTE_VALUE
)]
940 HRESULT value
([in] VARIANT var1
);
948 uuid (2933BF86
-7B36
-11d2
-B20E
-00C04F983E60
)
950 interface IXMLDOMElement
: IXMLDOMNode
952 [propget, id(DISPID_DOM_ELEMENT_GETTAGNAME
)]
953 HRESULT tagName
([retval, out] BSTR *p
);
955 [id(DISPID_DOM_ELEMENT_GETATTRIBUTE
)]
956 HRESULT getAttribute
(
958 [retval, out] VARIANT *var
);
960 [id(DISPID_DOM_ELEMENT_SETATTRIBUTE
)]
961 HRESULT setAttribute
(
965 [id(DISPID_DOM_ELEMENT_REMOVEATTRIBUTE
)]
966 HRESULT removeAttribute
(
969 [id(DISPID_DOM_ELEMENT_GETATTRIBUTENODE
)]
970 HRESULT getAttributeNode
(
972 [retval, out] IXMLDOMAttribute
**attributeNode
);
974 [id(DISPID_DOM_ELEMENT_SETATTRIBUTENODE
)]
975 HRESULT setAttributeNode
(
976 [in] IXMLDOMAttribute
*domAttribute
,
977 [retval, out] IXMLDOMAttribute
**attributeNode
);
979 [id(DISPID_DOM_ELEMENT_REMOVEATTRIBUTENODE
)]
980 HRESULT removeAttributeNode
(
981 [in] IXMLDOMAttribute
*domAttribute
,
982 [retval, out] IXMLDOMAttribute
**attributeNode
);
984 [id(DISPID_DOM_ELEMENT_GETELEMENTSBYTAGNAME
)]
985 HRESULT getElementsByTagName
(
987 [retval, out] IXMLDOMNodeList
**resultList
);
989 [id(DISPID_DOM_ELEMENT_NORMALIZE
)]
998 uuid (2933BF87
-7B36
-11d2
-B20E
-00C04F983E60
)
1000 interface IXMLDOMText
: IXMLDOMCharacterData
1002 [id(DISPID_DOM_TEXT_SPLITTEXT
)]
1005 [retval, out] IXMLDOMText
**txtNode
);
1013 uuid (2933BF88
-7B36
-11d2
-B20E
-00C04F983E60
)
1015 interface IXMLDOMComment
: IXMLDOMCharacterData
1024 uuid (2933BF89
-7B36
-11d2
-B20E
-00C04F983E60
)
1026 interface IXMLDOMProcessingInstruction
: IXMLDOMNode
1028 [propget, id(DISPID_DOM_PI_TARGET
)]
1029 HRESULT target
([retval, out] BSTR *p
);
1031 [propget, id(DISPID_DOM_PI_DATA
)]
1032 HRESULT data
([retval, out] BSTR *p
);
1034 [propput, id(DISPID_DOM_PI_DATA
)]
1035 HRESULT data
([in] BSTR p
);
1043 uuid (2933BF8A
-7B36
-11d2
-B20E
-00C04F983E60
)
1045 interface IXMLDOMCDATASection
: IXMLDOMText
1054 uuid (2933BF8B
-7B36
-11d2
-B20E
-00C04F983E60
)
1056 interface IXMLDOMDocumentType
: IXMLDOMNode
1058 [propget, id(DISPID_DOM_DOCUMENTTYPE_NAME
)]
1059 HRESULT name
([retval, out] BSTR *p
);
1061 [propget, id(DISPID_DOM_DOCUMENTTYPE_ENTITIES
)]
1062 HRESULT entities
([retval, out] IXMLDOMNamedNodeMap
**entityMap
);
1064 [propget, id(DISPID_DOM_DOCUMENTTYPE_NOTATIONS
)]
1065 HRESULT notations
([retval, out] IXMLDOMNamedNodeMap
**notationMap
);
1073 uuid (2933BF8C
-7B36
-11d2
-B20E
-00C04F983E60
)
1075 interface IXMLDOMNotation
: IXMLDOMNode
1077 [propget, id(DISPID_DOM_NOTATION_PUBLICID
)]
1078 HRESULT publicId
([retval, out] VARIANT *id);
1080 [propget, id(DISPID_DOM_NOTATION_SYSTEMID
)]
1081 HRESULT systemId
([retval, out] VARIANT *id);
1089 uuid (2933BF8D
-7B36
-11d2
-B20E
-00C04F983E60
)
1091 interface IXMLDOMEntity
: IXMLDOMNode
1093 [propget, id(DISPID_DOM_ENTITY_PUBLICID
)]
1094 HRESULT publicId
([retval, out] VARIANT *id1
);
1096 [propget, id(DISPID_DOM_ENTITY_SYSTEMID
)]
1097 HRESULT systemId
([retval, out] VARIANT *id1
);
1099 [propget, id(DISPID_DOM_ENTITY_NOTATIONNAME
)]
1100 HRESULT notationName
([retval, out] BSTR *p
);
1108 uuid (2933BF8E
-7B36
-11d2
-B20E
-00C04F983E60
)
1110 interface IXMLDOMEntityReference
: IXMLDOMNode
1119 uuid (2933BF8F
-7B36
-11d2
-B20E
-00C04F983E60
)
1121 interface IXMLDOMImplementation
: IDispatch
1123 [id(DISPID_DOM_IMPLEMENTATION_HASFEATURE
)]
1127 [retval, out] VARIANT_BOOL *pbool
);
1135 uuid (3efaa425
-272f
-11d2
-836f
-0000f87a7782
)
1137 interface IXTLRuntime
: IXMLDOMNode
1139 [id(DISPID_XTLRUNTIME_UNIQUEID
)]
1141 [in]IXMLDOMNode
*pNode
,
1142 [retval, out]LONG *pID
);
1144 [id(DISPID_XTLRUNTIME_DEPTH
)]
1146 [in] IXMLDOMNode
*pNode
,
1147 [retval, out]LONG * pDepth
);
1149 [id(DISPID_XTLRUNTIME_CHILDNUMBER
)]
1150 HRESULT childNumber
(
1151 [in]IXMLDOMNode
*pNode
,
1152 [retval, out] LONG *pNumber
);
1154 [id(DISPID_XTLRUNTIME_ANCESTORCHILDNUMBER
)]
1155 HRESULT ancestorChildNumber
(
1157 [in]IXMLDOMNode
*pNode
,
1158 [retval, out]LONG *pNumber
);
1160 [id(DISPID_XTLRUNTIME_ABSOLUTECHILDNUMBER
)]
1161 HRESULT absoluteChildNumber
(
1162 [in]IXMLDOMNode
*pNode
,
1163 [retval, out]LONG *pNumber
);
1165 [id(DISPID_XTLRUNTIME_FORMATINDEX
)]
1166 HRESULT formatIndex
(
1169 [retval, out]BSTR *pbstr
);
1171 [id(DISPID_XTLRUNTIME_FORMATNUMBER
)]
1172 HRESULT formatNumber
(
1173 [in] double dblNumber
,
1175 [retval, out]BSTR *pbstr
);
1177 [id(DISPID_XTLRUNTIME_FORMATDATE
)]
1181 [optional, in] VARIANT var2
,
1182 [retval, out]BSTR *pbstr
);
1184 [id(DISPID_XTLRUNTIME_FORMATTIME
)]
1188 [optional, in] VARIANT var2
,
1189 [retval, out]BSTR *pbstr
);
1199 uuid(310afa62
-0575-11d2
-9ca9
-0060b0ec3d39
),
1200 pointer_default(unique)
1202 interface IDSOControl
: IDispatch
1204 [propget,id(DISPID_XMLDSO_DOCUMENT
)]
1205 HRESULT XMLDocument
([out, retval] IXMLDOMDocument
** ppDoc
);
1207 [propput,id(DISPID_XMLDSO_DOCUMENT
)]
1208 HRESULT XMLDocument
([in] IXMLDOMDocument
* ppDoc
);
1210 [propget,id(DISPID_XMLDSO_JAVADSOCOMPATIBLE
)]
1211 HRESULT JavaDSOCompatible
([out, retval] BOOL
* fJavaDSOCompatible
);
1213 [propput,id(DISPID_XMLDSO_JAVADSOCOMPATIBLE
)]
1214 HRESULT JavaDSOCompatible
([in] BOOL fJavaDSOCompatible
);
1216 [propget, id(DISPID_READYSTATE
)]
1217 HRESULT readyState
([out, retval] long *state
);
1221 uuid(3efaa427
-272f
-11d2
-836f
-0000f87a7782
)
1223 dispinterface XMLDOMDocumentEvents
1227 [id (DISPID_XMLDOMEVENT_ONDATAAVAILABLE
)]
1228 HRESULT ondataavailable
();
1230 [id (DISPID_XMLDOMEVENT_ONREADYSTATECHANGE
)]
1231 HRESULT onreadystatechange
();
1239 uuid (2933BF92
-7B36
-11d2
-B20E
-00C04F983E60
)
1241 interface IXSLProcessor
: IDispatch
1243 [propput, id(DISPID_XMLDOM_PROCESSOR_INPUT
)]
1244 HRESULT input
([in] VARIANT var
);
1246 [propget, id(DISPID_XMLDOM_PROCESSOR_INPUT
)]
1247 HRESULT input
([retval, out] VARIANT *var
);
1249 [propget, id(DISPID_XMLDOM_PROCESSOR_XSLTEMPLATE
)]
1250 HRESULT ownerTemplate
([retval, out] IXSLTemplate
**ppTemplate
);
1252 [id(DISPID_XMLDOM_PROCESSOR_SETSTARTMODE
)]
1253 HRESULT setStartMode
(
1255 [in, defaultvalue("")] BSTR uri
);
1257 [propget, id(DISPID_XMLDOM_PROCESSOR_STARTMODE
)]
1258 HRESULT startMode
([retval, out] BSTR *p
);
1260 [propget, id(DISPID_XMLDOM_PROCESSOR_STARTMODEURI
)]
1261 HRESULT startModeURI
([retval, out] BSTR *uri
);
1263 [propput, id(DISPID_XMLDOM_PROCESSOR_OUTPUT
)]
1264 HRESULT output
([in] VARIANT var
);
1266 [propget, id(DISPID_XMLDOM_PROCESSOR_OUTPUT
)]
1267 HRESULT output
([retval, out] VARIANT *var
);
1269 [id(DISPID_XMLDOM_PROCESSOR_TRANSFORM
)]
1271 [retval, out] VARIANT_BOOL *pbool
);
1273 [id(DISPID_XMLDOM_PROCESSOR_RESET
)]
1276 [propget, id(DISPID_XMLDOM_PROCESSOR_READYSTATE
)]
1277 HRESULT readyState
([retval, out] LONG *pstate
);
1279 [id(DISPID_XMLDOM_PROCESSOR_ADDPARAMETER
)]
1280 HRESULT addParameter
(
1283 [in, defaultvalue("")] BSTR uri
);
1285 [id(DISPID_XMLDOM_PROCESSOR_ADDOBJECT
)]
1287 [in] IDispatch
* obj
,
1290 [propget, id(DISPID_XMLDOM_PROCESSOR_STYLESHEET
)]
1291 HRESULT stylesheet
([retval, out] IXMLDOMNode
**node
);
1299 uuid (2933BF93
-7B36
-11d2
-B20E
-00C04F983E60
)
1301 interface IXSLTemplate
: IDispatch
1303 [propputref, id(DISPID_XMLDOM_TEMPLATE_STYLESHEET
)]
1304 HRESULT stylesheet
([in] IXMLDOMNode
*node
);
1306 [propget, id(DISPID_XMLDOM_TEMPLATE_STYLESHEET
)]
1307 HRESULT stylesheet
([retval, out] IXMLDOMNode
**node
);
1309 [id(DISPID_XMLDOM_TEMPLATE_CREATEPROCESSOR
)]
1310 HRESULT createProcessor
(
1311 [retval, out] IXSLProcessor
**ppProcessor
);
1316 uuid(ED8C108D
-4349-11D2
-91A4
-00C04F7969E8
),
1320 pointer_default(unique)
1322 interface IXMLHTTPRequest
: IDispatch
1325 HRESULT open
([in] BSTR bstrMethod
, [in] BSTR bstrUrl
, [in, optional] VARIANT varAsync
,
1326 [in,optional] VARIANT username
, [in,optional] VARIANT password
);
1329 HRESULT setRequestHeader
([in] BSTR bstrHeader
, [in] BSTR bstrValue
);
1332 HRESULT getResponseHeader
([in] BSTR bstrHeader
, [out, retval] BSTR * value
);
1335 HRESULT getAllResponseHeaders
([out, retval] BSTR * pbstrHeaders
);
1338 HRESULT send
([in, optional] VARIANT body
);
1344 HRESULT status
([out, retval] LONG *pStatus
);
1347 HRESULT statusText
([out, retval] BSTR *pStatus
);
1350 HRESULT responseXML
([out, retval] IDispatch
**pBody
);
1353 HRESULT responseText
([out, retval] BSTR *pBody
);
1356 HRESULT responseBody
([out, retval] VARIANT *pBody
);
1359 HRESULT responseStream
([out, retval] VARIANT *pBody
);
1362 HRESULT readyState
([out, retval] LONG *pState
);
1365 HRESULT onreadystatechange
([in] IDispatch
*pReadyStateSink
);
1372 uuid(2e9196bf
-13ba
-4dd4
-91ca
-6c571f281495
)
1374 interface IServerXMLHTTPRequest
: IXMLHTTPRequest
1376 typedef enum _SERVERXMLHTTP_OPTION
1378 SXH_OPTION_URL
= -1,
1379 SXH_OPTION_URL_CODEPAGE
,
1380 SXH_OPTION_ESCAPE_PERCENT_IN_URL
,
1381 SXH_OPTION_IGNORE_SERVER_SSL_CERT_ERROR_FLAGS
,
1382 SXH_OPTION_SELECT_CLIENT_SSL_CERT
1383 } SERVERXMLHTTP_OPTION
;
1386 HRESULT setTimeouts
(
1387 [in] long resolveTimeout
,
1388 [in] long connectTimeout
,
1389 [in] long sendTimeout
,
1390 [in] long receiveTimeout
);
1393 HRESULT waitForResponse
(
1394 [in, optional] VARIANT timeoutInSeconds
,
1395 [out, retval] VARIANT_BOOL * isSuccessful
);
1399 [in] SERVERXMLHTTP_OPTION option
,
1400 [out, retval] VARIANT * value
);
1404 [in] SERVERXMLHTTP_OPTION option
,
1405 [in] VARIANT value
);
1412 uuid(2e01311b
-c322
-4b0a
-bd77
-b90cfdc8dce7
)
1414 interface IServerXMLHTTPRequest2
: IServerXMLHTTPRequest
1416 typedef enum _SXH_PROXY_SETTING
1418 SXH_PROXY_SET_DEFAULT
= 0,
1419 SXH_PROXY_SET_PRECONFIG
= 0,
1420 SXH_PROXY_SET_DIRECT
,
1422 } SXH_PROXY_SETTING
;
1426 [in] SXH_PROXY_SETTING proxySetting
,
1427 [in, optional] VARIANT varProxyServer
,
1428 [in, optional] VARIANT varBypassList
);
1431 HRESULT setProxyCredentials
(
1432 [in] BSTR bstrUserName
,
1433 [in] BSTR bstrPassword
);
1441 uuid (3efaa426
-272f
-11d2
-836f
-0000f87a7782
)
1443 interface IXMLDOMParseError
: IDispatch
1445 [propget, id(DISPID_VALUE
)]
1446 HRESULT errorCode
([retval, out] LONG *errCode
);
1448 [propget, id(DISPID_DOM_ERROR_URL
)]
1449 HRESULT url
([retval, out] BSTR *p
);
1451 [propget, id(DISPID_DOM_ERROR_REASON
)]
1452 HRESULT reason
([retval, out] BSTR *p
);
1454 [propget, id(DISPID_DOM_ERROR_SRCTEXT
)]
1455 HRESULT srcText
([retval, out] BSTR *p
);
1457 [propget, id(DISPID_DOM_ERROR_LINE
)]
1458 HRESULT line
([retval, out] LONG *lineNo
);
1460 [propget, id(DISPID_DOM_ERROR_LINEPOS
)]
1461 HRESULT linepos
([retval, out] LONG * linePos
);
1463 [propget, id(DISPID_DOM_ERROR_FILEPOS
)]
1464 HRESULT filepos
([retval, out] LONG * filePos
);
1472 uuid (3efaa428
-272f
-11d2
-836f
-0000f87a7782
)
1474 interface IXMLDOMParseError2
: IXMLDOMParseError
1476 [propget, id(DISPID_DOM_ERROR2_ERRORXPATH
)]
1477 HRESULT errorXPath
([retval, out] BSTR *xpathexpr
);
1479 [propget, id(DISPID_DOM_ERROR2_ALLERRORS
)]
1480 HRESULT allErrors
([retval, out] IXMLDOMParseErrorCollection
**allErrors
);
1482 [id(DISPID_DOM_ERROR2_ERRORPARAMETERS
)]
1483 HRESULT errorParameters
(
1485 [retval, out] BSTR *param
);
1487 [propget, id(DISPID_DOM_ERROR2_ERRORPARAMETERSCOUNT
)]
1488 HRESULT errorParametersCount
([retval, out] long *count
);
1496 uuid (3efaa429
-272f
-11d2
-836f
-0000f87a7782
)
1498 interface IXMLDOMParseErrorCollection
: IDispatch
1500 [propget, id(DISPID_VALUE
)]
1503 [retval, out] IXMLDOMParseError2
**error
);
1505 [propget, id(DISPID_DOM_ERRORCOLLECTION_LENGTH
)]
1506 HRESULT length
( [retval, out] long *length
);
1508 [propget, id(DISPID_DOM_ERRORCOLLECTION_NEXT
)]
1509 HRESULT next
( [retval, out] IXMLDOMParseError2
**error
);
1511 [id(DISPID_DOM_ERRORCOLLECTION_RESET
)]
1514 [propget, hidden, restricted, id(DISPID_NEWENUM
)]
1515 HRESULT _newEnum
( [retval, out] IUnknown
**ppunk
);
1519 uuid(f5078f1b
-c551
-11d3
-89b9
-0000f81fe221
)
1521 coclass DOMDocument26
1523 [default] interface IXMLDOMDocument2
;
1524 [default, source] dispinterface XMLDOMDocumentEvents
;
1528 helpstring("XML DOM Document 3.0"),
1529 progid
("Msxml2.DOMDocument.3.0"),
1530 vi_progid
("Msxml2.DOMDocument"),
1532 uuid(f5078f32
-c551
-11d3
-89b9
-0000f81fe221
)
1534 coclass DOMDocument30
1536 [default] interface IXMLDOMDocument2
;
1537 [default, source] dispinterface XMLDOMDocumentEvents
;
1541 uuid(88d969c0
-f192
-11d4
-a65f
-0040963251e5
)
1543 coclass DOMDocument40
1545 [default] interface IXMLDOMDocument2
;
1546 [default, source] dispinterface XMLDOMDocumentEvents
;
1550 uuid(88d96a05
-f192
-11d4
-a65f
-0040963251e5
)
1552 coclass DOMDocument60
1554 [default] interface IXMLDOMDocument3
;
1555 [default, source] dispinterface XMLDOMDocumentEvents
;
1559 helpstring("XML DOM Document"),
1560 progid
("Msxml2.DOMDocument"),
1561 vi_progid
("Msxml2.DOMDocument"),
1563 uuid(f6d90f11
-9c73
-11d3
-b32e
-00c04f990bb4
)
1567 [default] interface IXMLDOMDocument2
;
1568 [default, source] dispinterface XMLDOMDocumentEvents
;
1572 uuid(f5078f1c
-c551
-11d3
-89b9
-0000f81fe221
)
1574 coclass FreeThreadedDOMDocument26
1576 [default] interface IXMLDOMDocument2
;
1577 [default, source] dispinterface XMLDOMDocumentEvents
;
1581 helpstring("Free threaded XML DOM Document 3.0"),
1582 progid
("Msxml2.FreeThreadedDOMDocument.3.0"),
1583 vi_progid
("Msxml2.FreeThreadedDOMDocument"),
1585 uuid(f5078f33
-c551
-11d3
-89b9
-0000f81fe221
)
1587 coclass FreeThreadedDOMDocument30
1589 [default] interface IXMLDOMDocument2
;
1590 [default, source] dispinterface XMLDOMDocumentEvents
;
1594 uuid(88d969c1
-f192
-11d4
-a65f
-0040963251e5
)
1596 coclass FreeThreadedDOMDocument40
1598 [default] interface IXMLDOMDocument2
;
1599 [default, source] dispinterface XMLDOMDocumentEvents
;
1603 uuid(88d96a06
-f192
-11d4
-a65f
-0040963251e5
),
1605 coclass FreeThreadedDOMDocument60
1607 [default] interface IXMLDOMDocument3
;
1608 [default, source] dispinterface XMLDOMDocumentEvents
;
1612 helpstring("Free threaded XML DOM Document"),
1613 progid
("Msxml2.FreeThreadedDOMDocument"),
1614 vi_progid
("Msxml2.FreeThreadedDOMDocument"),
1616 uuid(f6d90f12
-9c73
-11d3
-b32e
-00c04f990bb4
)
1618 coclass FreeThreadedDOMDocument
1620 [default] interface IXMLDOMDocument2
;
1621 [default, source] dispinterface XMLDOMDocumentEvents
;
1625 uuid(f5078f1e
-c551
-11d3
-89b9
-0000f81fe221
)
1629 [default] interface IXMLHTTPRequest
;
1633 helpstring("XML HTTP 3.0"),
1634 progid
("Msxml2.XMLHTTP.3.0"),
1635 vi_progid
("Msxml2.XMLHTTP"),
1636 threading
(apartment
),
1637 uuid(f5078f35
-c551
-11d3
-89b9
-0000f81fe221
)
1641 [default] interface IXMLHTTPRequest
;
1645 uuid(88d969c5
-f192
-11d4
-a65f
-0040963251e5
)
1649 [default] interface IXMLHTTPRequest
;
1653 uuid(88d96a0a
-f192
-11d4
-a65f
-0040963251e5
)
1657 [default] interface IXMLHTTPRequest
;
1661 helpstring("XML HTTP"),
1662 progid
("Msxml2.XMLHTTP"),
1663 vi_progid
("Msxml2.XMLHTTP"),
1664 threading
(apartment
),
1665 uuid(f6d90f16
-9c73
-11d3
-b32e
-00c04f990bb4
)
1669 [default] interface IXMLHTTPRequest
;
1673 helpstring("Server XML HTTP 3.0"),
1674 progid
("Msxml2.ServerXMLHTTP.3.0"),
1675 vi_progid
("Msxml2.ServerXMLHTTP"),
1676 threading
(apartment
),
1677 uuid(afb40ffd
-b609
-40a3
-9828-f88bbe11e4e3
)
1679 coclass ServerXMLHTTP30
1681 [default] interface IServerXMLHTTPRequest
;
1685 uuid(88d969c6
-f192
-11d4
-a65f
-0040963251e5
)
1687 coclass ServerXMLHTTP40
1689 [default] interface IServerXMLHTTPRequest2
;
1693 uuid(88d96a0b
-f192
-11d4
-a65f
-0040963251e5
)
1695 coclass ServerXMLHTTP60
1697 [default] interface IServerXMLHTTPRequest2
;
1701 helpstring("Server XML HTTP"),
1702 progid
("Msxml2.ServerXMLHTTP"),
1703 vi_progid
("Msxml2.ServerXMLHTTP"),
1704 threading
(apartment
),
1705 uuid(afba6b42
-5692-48ea
-8141-dc517dcf0ef1
)
1707 coclass ServerXMLHTTP
1709 [default] interface IServerXMLHTTPRequest
;
1713 uuid(f5078f1d
-c551
-11d3
-89b9
-0000f81fe221
)
1715 coclass XMLSchemaCache26
1717 [default] interface IXMLDOMSchemaCollection
;
1721 helpstring("XML Schema Cache 3.0"),
1722 progid
("Msxml2.XMLSchemaCache.3.0"),
1723 vi_progid
("Msxml2.XMLSchemaCache"),
1725 uuid(f5078f34
-c551
-11d3
-89b9
-0000f81fe221
)
1727 coclass XMLSchemaCache30
1729 [default] interface IXMLDOMSchemaCollection
;
1733 uuid(88d969c2
-f192
-11d4
-a65f
-0040963251e5
)
1735 coclass XMLSchemaCache40
1737 [default] interface IXMLDOMSchemaCollection2
;
1741 uuid(88d96a07
-f192
-11d4
-a65f
-0040963251e5
)
1743 coclass XMLSchemaCache60
1745 [default] interface IXMLDOMSchemaCollection2
;
1749 helpstring("XML Schema Cache"),
1750 progid
("Msxml2.XMLSchemaCache"),
1751 vi_progid
("Msxml2.XMLSchemaCache"),
1753 uuid(373984c9
-b845
-449b
-91e7
-45ac83036ade
)
1755 coclass XMLSchemaCache
1757 [default] interface IXMLDOMSchemaCollection
;
1761 uuid(f5078f21
-c551
-11d3
-89b9
-0000f81fe221
)
1763 coclass XSLTemplate26
1765 [default] interface IXSLTemplate
;
1769 helpstring("XSL Template 3.0"),
1770 progid
("Msxml2.XSLTemplate.3.0"),
1771 vi_progid
("Msxml2.XSLTemplate"),
1773 uuid(f5078f36
-c551
-11d3
-89b9
-0000f81fe221
)
1775 coclass XSLTemplate30
1777 [default] interface IXSLTemplate
;
1781 uuid(88d969c3
-f192
-11d4
-a65f
-0040963251e5
)
1783 coclass XSLTemplate40
1785 [default] interface IXSLTemplate
;
1789 uuid(88d96a08
-f192
-11d4
-a65f
-0040963251e5
)
1791 coclass XSLTemplate60
1793 [default] interface IXSLTemplate
;
1797 helpstring("XSL Template"),
1798 progid
("Msxml2.XSLTemplate"),
1799 vi_progid
("Msxml2.XSLTemplate"),
1801 uuid(2933BF94
-7B36
-11d2
-B20E
-00C04F983E60
)
1805 [default] interface IXSLTemplate
;
1814 uuid(f078abe1
-45d2
-4832-91ea
-4466ce2f25c9
)
1816 interface ISAXAttributes
: IUnknown
1819 [out, retval] int *length
);
1823 [out] const WCHAR
**pUrl
,
1824 [out] int *pUriSize
);
1826 HRESULT getLocalName
(
1828 [out] const WCHAR
**pLocalName
,
1829 [out] int *pLocalNameLength
);
1833 [out] const WCHAR
**pQName
,
1834 [out] int *pQNameLength
);
1838 [out] const WCHAR
**pUri
,
1839 [out] int * pUriLength
,
1840 [out] const WCHAR
** pLocalName
,
1841 [out] int * pLocalNameSize
,
1842 [out] const WCHAR
** pQName
,
1843 [out] int * pQNameLength
);
1845 HRESULT getIndexFromName
(
1846 [in] const WCHAR
* pUri
,
1847 [in] int cUriLength
,
1848 [in] const WCHAR
* pLocalName
,
1849 [in] int cocalNameLength
,
1850 [out, retval] int * index
);
1852 HRESULT getIndexFromQName
(
1853 [in] const WCHAR
* pQName
,
1854 [in] int nQNameLength
,
1855 [out, retval] int * index
);
1859 [out] const WCHAR
** pType
,
1860 [out] int * pTypeLength
);
1862 HRESULT getTypeFromName
(
1863 [in] const WCHAR
* pUri
,
1865 [in] const WCHAR
* pLocalName
,
1866 [in] int nLocalName
,
1867 [out] const WCHAR
** pType
,
1870 HRESULT getTypeFromQName
(
1871 [in] const WCHAR
* pQName
,
1873 [out] const WCHAR
** pType
,
1878 [out] const WCHAR
** pValue
,
1879 [out] int * nValue
);
1881 HRESULT getValueFromName
(
1882 [in] const WCHAR
* pUri
,
1884 [in] const WCHAR
* pLocalName
,
1885 [in] int nLocalName
,
1886 [out] const WCHAR
** pValue
,
1887 [out] int * nValue
);
1889 HRESULT getValueFromQName
(
1890 [in] const WCHAR
* pQName
,
1892 [out] const WCHAR
** pValue
,
1893 [out] int * nValue
);
1899 uuid(1545cdfa
-9e4e
-4497
-a8a4
-2bf7d0112c44
)
1901 interface ISAXContentHandler
: IUnknown
1903 HRESULT putDocumentLocator
(
1904 [in] ISAXLocator
* pLocator
);
1906 HRESULT startDocument
();
1908 HRESULT endDocument
();
1910 HRESULT startPrefixMapping
(
1911 [in] const WCHAR
* pPrefix
,
1913 [in] const WCHAR
* pUri
,
1916 HRESULT endPrefixMapping
(
1917 [in] const WCHAR
* pPrefix
,
1920 HRESULT startElement
(
1921 [in] const WCHAR
* pNamespaceUri
,
1922 [in] int nNamespaceUri
,
1923 [in] const WCHAR
* pLocalName
,
1924 [in] int nLocalName
,
1925 [in] const WCHAR
* pQName
,
1927 [in] ISAXAttributes
* pAttr
);
1930 [in] const WCHAR
* pNamespaceUri
,
1931 [in] int nNamespaceUri
,
1932 [in] const WCHAR
* pLocalName
,
1933 [in] int nLocalName
,
1934 [in] const WCHAR
* pQName
,
1938 [in] const WCHAR
* pChars
,
1941 HRESULT ignorableWhitespace
(
1942 [in] const WCHAR
* pChars
,
1945 HRESULT processingInstruction
(
1946 [in] const WCHAR
* pTarget
,
1948 [in] const WCHAR
* pData
,
1951 HRESULT skippedEntity
(
1952 [in] const WCHAR
* pName
,
1959 uuid(862629ac
-771a
-47b2
-8337-4e6843c1be90
)
1961 interface ISAXDeclHandler
: IUnknown
1963 HRESULT elementDecl
(
1964 [in] const WCHAR
* pName
,
1966 [in] const WCHAR
* pModel
,
1969 HRESULT attributeDecl
(
1970 [in] const WCHAR
* pElementName
,
1971 [in] int nElementName
,
1972 [in] const WCHAR
* pAttributeName
,
1973 [in] int nAttributeName
,
1974 [in] const WCHAR
* pType
,
1976 [in] const WCHAR
* pValueDefault
,
1977 [in] int nValueDefault
,
1978 [in] const WCHAR
* pValue
,
1981 HRESULT internalEntityDecl
(
1982 [in] const WCHAR
* pName
,
1984 [in] const WCHAR
* pValue
,
1987 HRESULT externalEntityDecl
(
1988 [in] const WCHAR
* pName
,
1990 [in] const WCHAR
* pPublicId
,
1992 [in] const WCHAR
* pSystemId
,
1993 [in] int nSystemId
);
1999 uuid(e15c1baf
-afb3
-4d60
-8c36
-19a8c45defed
)
2001 interface ISAXDTDHandler
: IUnknown
2003 HRESULT notationDecl
(
2004 [in] const WCHAR
* pName
,
2006 [in] const WCHAR
* pPublicId
,
2008 [in] const WCHAR
* pSystemId
,
2009 [in] int nSystemId
);
2011 HRESULT unparsedEntityDecl
(
2012 [in] const WCHAR
* pName
,
2014 [in] const WCHAR
* pPublicId
,
2016 [in] const WCHAR
* pSystemId
,
2018 [in] const WCHAR
* pNotationName
,
2019 [in] int nNotationName
);
2025 uuid(99bca7bd
-e8c4
-4d5f
-a0cf
-6d907901ff07
),
2027 interface ISAXEntityResolver
: IUnknown
2029 HRESULT resolveEntity
(
2030 [in] const WCHAR
* pPublicId
,
2031 [in] const WCHAR
* pSystemId
,
2032 [out, retval] VARIANT * ret
);
2038 uuid(a60511c4
-ccf5
-479e-98a3
-dc8dc545b7d0
)
2040 interface ISAXErrorHandler
: IUnknown
2043 [in] ISAXLocator
* pLocator
,
2044 [in] const WCHAR
* pErrorMessage
,
2045 [in] HRESULT hrErrorCode
);
2048 [in] ISAXLocator
* pLocator
,
2049 [in] const WCHAR
* pErrorMessage
,
2050 [in] HRESULT hrErrorCode
);
2052 HRESULT ignorableWarning
(
2053 [in] ISAXLocator
* pLocator
,
2054 [in] const WCHAR
* pErrorMessage
,
2055 [in] HRESULT hrErrorCode
);
2061 uuid(7f85d5f5
-47a8
-4497-bda5
-84ba04819ea6
)
2063 interface ISAXLexicalHandler
: IUnknown
2066 [in] const WCHAR
* pName
,
2068 [in] const WCHAR
* pPublicId
,
2070 [in] const WCHAR
* pSystemId
,
2071 [in] int nSystemId
);
2075 HRESULT startEntity
(
2076 [in] const WCHAR
* pName
,
2080 [in] const WCHAR
* pName
,
2083 HRESULT startCDATA
();
2088 [in] const WCHAR
* pChars
,
2095 uuid(9b7e472a
-0de4
-4640-bff3
-84d38a051c31
)
2097 interface ISAXLocator
: IUnknown
2099 HRESULT getColumnNumber
(
2100 [out, retval] int * nColumn
);
2102 HRESULT getLineNumber
(
2103 [out, retval] int * nLine
);
2105 HRESULT getPublicId
(
2106 [out, retval] const WCHAR
** publicId
);
2108 HRESULT getSystemId
(
2109 [out, retval] const WCHAR
** systemId
);
2115 uuid(70409222-ca09
-4475-acb8
-40312fe8d145
)
2117 interface ISAXXMLFilter
: ISAXXMLReader
2120 [out, retval] ISAXXMLReader
** pReader
);
2122 [in] ISAXXMLReader
* reader
);
2128 uuid (a4f96ed0
-f829
-476e-81c0
-cdc7bd2a0802
)
2130 interface ISAXXMLReader
: IUnknown
2133 [in] const WCHAR
* pFeature
,
2134 [out, retval] VARIANT_BOOL * pValue
);
2136 [in] const WCHAR
* pFeature
,
2137 [in] VARIANT_BOOL vfValue
);
2139 HRESULT getProperty
(
2140 [in] const WCHAR
* pProp
,
2141 [out, retval] VARIANT * pValue
);
2142 HRESULT putProperty
(
2143 [in] const WCHAR
* pProp
,
2144 [in] VARIANT value
);
2146 HRESULT getEntityResolver
(
2147 [out, retval] ISAXEntityResolver
** ppEntityResolver
);
2148 HRESULT putEntityResolver
(
2149 [in] ISAXEntityResolver
* pEntityResolver
);
2151 HRESULT getContentHandler
(
2152 [out, retval] ISAXContentHandler
** pContentHandler
);
2153 HRESULT putContentHandler
(
2154 [in] ISAXContentHandler
* contentHandler
);
2156 HRESULT getDTDHandler
(
2157 [out, retval] ISAXDTDHandler
** pDTDHandler
);
2158 HRESULT putDTDHandler
(
2159 [in] ISAXDTDHandler
* pDTDHandler
);
2161 HRESULT getErrorHandler
(
2162 [out, retval] ISAXErrorHandler
** pErrorHandler
);
2163 HRESULT putErrorHandler
(
2164 [in] ISAXErrorHandler
* errorHandler
);
2167 [out, retval] const WCHAR
** pBaseUrl
);
2169 [in] const WCHAR
* pBaseUrl
);
2171 HRESULT getSecureBaseURL
(
2172 [out, retval] const WCHAR
** pSecureBaseUrl
);
2173 HRESULT putSecureBaseURL
(
2174 [in] const WCHAR
* secureBaseUrl
);
2177 [in] VARIANT varInput
);
2179 [in] const WCHAR
* url
);
2186 uuid(10dc0586
-132b
-4cac
-8bb3
-db00ac8b7ee0
)
2188 interface IVBSAXAttributes
: IDispatch
2190 [propget, id(DISPID_SAX_ATTRIBUTES_LENGTH
)]
2191 HRESULT length
( [out, retval] int * nLength
);
2193 [id(DISPID_SAX_ATTRIBUTES_GETURI
)]
2194 HRESULT getURI
( [in] int nIndex
, [out, retval] BSTR * uri
);
2196 [id(DISPID_SAX_ATTRIBUTES_GETLOCALNAME
)]
2197 HRESULT getLocalName
( [in] int nIndex
, [out, retval] BSTR * localName
);
2199 [id(DISPID_SAX_ATTRIBUTES_GETQNAME
)]
2200 HRESULT getQName
( [in] int nIndex
, [out, retval] BSTR * QName
);
2202 [id(DISPID_SAX_ATTRIBUTES_GETINDEXFROMNAME
)]
2203 HRESULT getIndexFromName
( [in] BSTR uri
,
2204 [in] BSTR localName
, [out, retval] int * nIndex
);
2206 [id(DISPID_SAX_ATTRIBUTES_GETINDEXFROMQNAME
)]
2207 HRESULT getIndexFromQName
( [in] BSTR QName
, [out, retval] int * nIndex
);
2209 [id(DISPID_SAX_ATTRIBUTES_GETTYPE
)]
2210 HRESULT getType
( [in] int nIndex
, [out, retval] BSTR * type
);
2212 [id(DISPID_SAX_ATTRIBUTES_GETTYPEFROMNAME
)]
2213 HRESULT getTypeFromName
( [in] BSTR uri
, [in] BSTR localName
,
2214 [out, retval] BSTR * type
);
2216 [id(DISPID_SAX_ATTRIBUTES_GETTYPEFROMQNAME
)]
2217 HRESULT getTypeFromQName
( [in] BSTR QName
, [out, retval] BSTR * type
);
2219 [id(DISPID_SAX_ATTRIBUTES_GETVALUE
)]
2220 HRESULT getValue
( [in] int nIndex
, [out, retval] BSTR * value
);
2222 [id(DISPID_SAX_ATTRIBUTES_GETVALUEFROMNAME
)]
2223 HRESULT getValueFromName
( [in] BSTR uri
,
2224 [in] BSTR localName
,
2225 [out, retval] BSTR * value
);
2227 [id(DISPID_SAX_ATTRIBUTES_GETVALUEFROMQNAME
)]
2228 HRESULT getValueFromQName
( [in] BSTR QName
, [out, retval] BSTR * value
);
2235 uuid(2ed7290a
-4dd5
-4b46
-bb26
-4e4155e77faa
)
2237 interface IVBSAXContentHandler
: IDispatch
2239 [propputref, id(DISPID_SAX_CONTENTHANDLER_DOCUMENTLOCATOR
)]
2240 HRESULT documentLocator
( [in] IVBSAXLocator
* oLocator
);
2242 [id(DISPID_SAX_CONTENTHANDLER_STARTDOCUMENT
)]
2243 HRESULT startDocument
();
2245 [id(DISPID_SAX_CONTENTHANDLER_ENDDOCUMENT
)]
2246 HRESULT endDocument
();
2248 [id(DISPID_SAX_CONTENTHANDLER_STARTPREFIXMAPPING
)]
2249 HRESULT startPrefixMapping
( [in, out] BSTR * prefix
, [in, out] BSTR * uri
);
2251 [id(DISPID_SAX_CONTENTHANDLER_ENDPREFIXMAPPING
)]
2252 HRESULT endPrefixMapping
( [in, out] BSTR * prefix
);
2254 [id(DISPID_SAX_CONTENTHANDLER_STARTELEMENT
)]
2255 HRESULT startElement
( [in, out] BSTR * namespaceURI
,
2256 [in, out] BSTR * localName
,
2257 [in, out] BSTR * QName
,
2258 [in] IVBSAXAttributes
* oAttributes
);
2260 [id(DISPID_SAX_CONTENTHANDLER_ENDELEMENT
)]
2261 HRESULT endElement
( [in, out] BSTR * namespaceURI
,
2262 [in, out] BSTR * localName
, [in, out] BSTR * strQName
);
2264 [id(DISPID_SAX_CONTENTHANDLER_CHARACTERS
)]
2265 HRESULT characters
( [in, out] BSTR * chars
);
2267 [id(DISPID_SAX_CONTENTHANDLER_IGNORABLEWHITESPACE
)]
2268 HRESULT ignorableWhitespace
( [in, out] BSTR * chars
);
2270 [id(DISPID_SAX_CONTENTHANDLER_PROCESSINGINSTRUCTION
)]
2271 HRESULT processingInstruction
( [in, out] BSTR * target
,
2272 [in, out] BSTR * data
);
2274 [id(DISPID_SAX_CONTENTHANDLER_SKIPPEDENTITY
)]
2275 HRESULT skippedEntity
( [in, out] BSTR * name
);
2282 uuid(e8917260
-7579-4be1
-b5dd
-7afbfa6f077b
)
2284 interface IVBSAXDeclHandler
: IDispatch
2286 [id(DISPID_SAX_DECLHANDLER_ELEMENTDECL
)]
2287 HRESULT elementDecl
(
2288 [in, out] BSTR * name
,
2289 [in, out] BSTR * model
);
2291 [id(DISPID_SAX_DECLHANDLER_ATTRIBUTEDECL
)]
2292 HRESULT attributeDecl
(
2293 [in, out] BSTR * elementName
,
2294 [in, out] BSTR * attributeName
,
2295 [in, out] BSTR * type
,
2296 [in, out] BSTR * valueDefault
,
2297 [in, out] BSTR * value
);
2299 [id(DISPID_SAX_DECLHANDLER_INTERNALENTITYDECL
)]
2300 HRESULT internalEntityDecl
(
2301 [in, out] BSTR * name
,
2302 [in, out] BSTR * value
);
2304 [id(DISPID_SAX_DECLHANDLER_EXTERNALENTITYDECL
)]
2305 HRESULT externalEntityDecl
(
2306 [in, out] BSTR * name
,
2307 [in, out] BSTR * publicId
,
2308 [in, out] BSTR * systemId
);
2315 uuid(24fb3297
-302d
-4620-ba39
-3a732d850558
)
2317 interface IVBSAXDTDHandler
: IDispatch
2319 [id(DISPID_SAX_DTDHANDLER_NOTATIONDECL
)]
2320 HRESULT notationDecl
(
2321 [in, out] BSTR * name
,
2322 [in, out] BSTR * publicId
,
2323 [in, out] BSTR * systemId
);
2325 [id(DISPID_SAX_DTDHANDLER_UNPARSEDENTITYDECL
)]
2326 HRESULT unparsedEntityDecl
(
2327 [in, out] BSTR * name
,
2328 [in, out] BSTR * publicId
,
2329 [in, out] BSTR * systemId
,
2330 [in, out] BSTR * notationName
);
2337 uuid(0c05d096
-f45b
-4aca
-ad1a
-aa0bc25518dc
)
2339 interface IVBSAXEntityResolver
: IDispatch
2341 [id(DISPID_SAX_ENTITYRESOLVER_RESOLVEENTITY
)]
2342 HRESULT resolveEntity
(
2343 [in, out] BSTR * publicId
,
2344 [in, out] BSTR * systemId
,
2345 [out, retval] VARIANT * ret
);
2352 uuid(d963d3fe
-173c
-4862-9095-b92f66995f52
)
2354 interface IVBSAXErrorHandler
: IDispatch
2356 [id(DISPID_SAX_ERRORHANDLER_ERROR
)]
2358 [in] IVBSAXLocator
* locator
,
2359 [in, out] BSTR * errorMessage
,
2360 [in] LONG errorCode
);
2362 [id(DISPID_SAX_ERRORHANDLER_FATALERROR
)]
2364 [in] IVBSAXLocator
* locator
,
2365 [in, out] BSTR * errorMessage
,
2366 [in] LONG errorCode
);
2368 [id(DISPID_SAX_ERRORHANDLER_IGNORABLEWARNING
)]
2369 HRESULT ignorableWarning
(
2370 [in] IVBSAXLocator
* locator
,
2371 [in, out] BSTR * errorMessage
,
2372 [in] LONG errorCode
);
2379 uuid(032aac35
-8c0e
-4d9d
-979f
-e3b702935576
)
2381 interface IVBSAXLexicalHandler
: IDispatch
2383 [id(DISPID_SAX_LEXICALHANDLER_STARTDTD
)]
2385 [in, out] BSTR * name
,
2386 [in, out] BSTR * publicId
,
2387 [in, out] BSTR * systemId
);
2388 [id(DISPID_SAX_LEXICALHANDLER_ENDDTD
)]
2391 [id(DISPID_SAX_LEXICALHANDLER_STARTENTITY
)]
2392 HRESULT startEntity
([in, out] BSTR * name
);
2393 [id(DISPID_SAX_LEXICALHANDLER_ENDENTITY
)]
2394 HRESULT endEntity
([in, out] BSTR * name
);
2396 [id(DISPID_SAX_LEXICALHANDLER_STARTCDATA
)]
2397 HRESULT startCDATA
();
2398 [id(DISPID_SAX_LEXICALHANDLER_ENDCDATA
)]
2401 [id(DISPID_SAX_LEXICALHANDLER_COMMENT
)]
2402 HRESULT comment
( [in, out] BSTR * chars
);
2409 uuid(796e7ac5
-5aa2
-4eff
-acad
-3faaf01a3288
)
2411 interface IVBSAXLocator
: IDispatch
2413 [propget, id(DISPID_SAX_LOCATOR_COLUMNNUMBER
)]
2414 HRESULT columnNumber
( [out, retval] int * column
);
2416 [propget, id(DISPID_SAX_LOCATOR_LINENUMBER
)]
2417 HRESULT lineNumber
( [out, retval] int * line
);
2419 [propget, id(DISPID_SAX_LOCATOR_PUBLICID
)]
2420 HRESULT publicId
( [out, retval] BSTR * publicId
);
2422 [propget, id(DISPID_SAX_LOCATOR_SYSTEMID
)]
2423 HRESULT systemId
( [out, retval] BSTR * systemId
);
2430 uuid(1299eb1b
-5b88
-433e-82de
-82ca75ad4e04
)
2432 interface IVBSAXXMLFilter
: IDispatch
2434 [propget, id(DISPID_SAX_XMLFILTER_PARENT
)]
2435 HRESULT parent
( [out, retval] IVBSAXXMLReader
** reader
);
2436 [propputref, id(DISPID_SAX_XMLFILTER_PARENT
)]
2437 HRESULT parent
( [in] IVBSAXXMLReader
* reader
);
2445 uuid (8c033caa
-6cd6
-4f73
-b728
-4531af74945f
)
2447 interface IVBSAXXMLReader
: IDispatch
2449 [id(DISPID_SAX_XMLREADER_GETFEATURE
)]
2450 HRESULT getFeature
( [in] const WCHAR
* pFeature
,
2451 [out, retval] VARIANT_BOOL * pValue
);
2452 [id(DISPID_SAX_XMLREADER_PUTFEATURE
)]
2453 HRESULT putFeature
( [in] const WCHAR
* pFeature
,
2454 [in] VARIANT_BOOL vfValue
);
2456 [id(DISPID_SAX_XMLREADER_GETPROPERTY
)]
2457 HRESULT getProperty
( [in] const WCHAR
* pProp
,
2458 [out, retval] VARIANT * pValue
);
2459 [id(DISPID_SAX_XMLREADER_PUTPROPERTY
)]
2460 HRESULT putProperty
( [in] const WCHAR
* pProp
, [in] VARIANT value
);
2462 [propget, id(DISPID_SAX_XMLREADER_ENTITYRESOLVER
)]
2463 HRESULT entityResolver
(
2464 [out, retval] IVBSAXEntityResolver
** ppEntityResolver
);
2465 [propputref, id(DISPID_SAX_XMLREADER_ENTITYRESOLVER
)]
2466 HRESULT entityResolver
( [in] IVBSAXEntityResolver
* pEntityResolver
);
2468 [propget, id(DISPID_SAX_XMLREADER_CONTENTHANDLER
)]
2469 HRESULT contentHandler
(
2470 [out, retval] IVBSAXContentHandler
** pContentHandler
);
2471 [propputref, id(DISPID_SAX_XMLREADER_CONTENTHANDLER
)]
2472 HRESULT contentHandler
([in] IVBSAXContentHandler
* contentHandler
);
2474 [propget, id(DISPID_SAX_XMLREADER_DTDHANDLER
)]
2475 HRESULT dtdHandler
([out, retval] IVBSAXDTDHandler
** pDTDHandler
);
2476 [propputref, id(DISPID_SAX_XMLREADER_DTDHANDLER
)]
2477 HRESULT dtdHandler
([in] IVBSAXDTDHandler
* pDTDHandler
);
2479 [propget, id(DISPID_SAX_XMLREADER_ERRORHANDLER
)]
2480 HRESULT errorHandler
([out, retval] IVBSAXErrorHandler
** pErrorHandler
);
2481 [propputref, id(DISPID_SAX_XMLREADER_ERRORHANDLER
)]
2482 HRESULT errorHandler
([in] IVBSAXErrorHandler
* errorHandler
);
2484 [propget, id(DISPID_SAX_XMLREADER_BASEURL
)]
2485 HRESULT baseURL
([out, retval] const WCHAR
** pBaseUrl
);
2486 [propput, id(DISPID_SAX_XMLREADER_BASEURL
)]
2487 HRESULT baseURL
([in] const WCHAR
* pBaseUrl
);
2489 [propget, id(DISPID_SAX_XMLREADER_SECUREBASEURL
)]
2490 HRESULT secureBaseURL
([out, retval] const WCHAR
** pSecureBaseUrl
);
2491 [propput, id(DISPID_SAX_XMLREADER_SECUREBASEURL
)]
2492 HRESULT secureBaseURL
([in] const WCHAR
* secureBaseUrl
);
2494 [id(DISPID_SAX_XMLREADER_PARSE
)]
2495 HRESULT parse
( [in] VARIANT varInput
);
2496 [id(DISPID_SAX_XMLREADER_PARSEURL
)]
2497 HRESULT parseURL
([in] const WCHAR
* url
);
2504 uuid(f10d27cc
-3ec0
-415c
-8ed8
-77ab1c5e7262
)
2506 interface IMXAttributes
: IDispatch
2508 [id(DISPID_MX_ATTRIBUTES_ADDATTRIBUTE
)]
2509 HRESULT addAttribute
(
2511 [in] BSTR localName
,
2516 [id(DISPID_MX_ATTRIBUTES_ADDATTRIBUTEFROMINDEX
)]
2517 HRESULT addAttributeFromIndex
( [in] VARIANT atts
,
2520 [id(DISPID_MX_ATTRIBUTES_CLEAR
)]
2523 [id(DISPID_MX_ATTRIBUTES_REMOVEATTRIBUTE
)]
2524 HRESULT removeAttribute
( [in] int index
);
2526 [id(DISPID_MX_ATTRIBUTES_SETATTRIBUTE
)]
2527 HRESULT setAttribute
(
2530 [in] BSTR localName
,
2535 [id(DISPID_MX_ATTRIBUTES_SETATTRIBUTES
)]
2536 HRESULT setAttributes
( [in] VARIANT atts
);
2538 [id(DISPID_MX_ATTRIBUTES_SETLOCALNAME
)]
2539 HRESULT setLocalName
( [in] int index
,
2540 [in] BSTR localName
);
2542 [id(DISPID_MX_ATTRIBUTES_SETQNAME
)]
2547 [id(DISPID_MX_ATTRIBUTES_SETTYPE
)]
2548 HRESULT setType
( [in] int index
, [in] BSTR type
);
2550 [id(DISPID_MX_ATTRIBUTES_SETURI
)]
2551 HRESULT setURI
( [in] int index
, [in] BSTR uri
);
2553 [id(DISPID_MX_ATTRIBUTES_SETVALUE
)]
2554 HRESULT setValue
([in] int index
, [in] BSTR value
);
2562 uuid(fa4bb38c
-faf9
-4cca
-9302-d1dd0fe520db
)
2564 interface IMXSchemaDeclHandler
: IDispatch
2566 [id(DISPID_MX_SCHEMADECLHANDLER_SCHEMAELEMENTDECL
)]
2567 HRESULT schemaElementDecl
( [in] ISchemaElement
*oSchemaElement
);
2574 uuid(808f4e35
-8d5a
-4fbe
-8466-33a41279ed30
)
2576 interface IMXReaderControl
: IDispatch
2578 [id(DISPID_MX_READER_CONTROL_ABORT
)]
2581 [id(DISPID_MX_READER_CONTROL_RESUME
)]
2584 [id(DISPID_MX_READER_CONTROL_SUSPEND
)]
2592 uuid(4d7ff4ba
-1565-4ea8
-94e1
-6e724a46f98d
)
2594 interface IMXWriter
: IDispatch
2596 [propput, id(DISPID_MX_WRITER_OUTPUT
)]
2597 HRESULT output
( [in] VARIANT Destination
);
2598 [propget, id(DISPID_MX_WRITER_OUTPUT
)]
2599 HRESULT output
( [out, retval] VARIANT * Destination
);
2601 [propput, id(DISPID_MX_WRITER_ENCODING
)]
2602 HRESULT encoding
([in] BSTR encoding
);
2603 [propget, id(DISPID_MX_WRITER_ENCODING
)]
2604 HRESULT encoding
([out, retval] BSTR * encoding
);
2606 [propput, id(DISPID_MX_WRITER_BYTEORDERMARK
)]
2607 HRESULT byteOrderMark
([in] VARIANT_BOOL writeByteOrderMark
);
2608 [propget, id(DISPID_MX_WRITER_BYTEORDERMARK
)]
2609 HRESULT byteOrderMark
([out, retval] VARIANT_BOOL * writeByteOrderMark
);
2611 [propput, id(DISPID_MX_WRITER_INDENT
)]
2612 HRESULT indent
([in] VARIANT_BOOL indentMode
);
2613 [propget, id(DISPID_MX_WRITER_INDENT
)]
2614 HRESULT indent
([out, retval] VARIANT_BOOL * indentMode
);
2616 [propput, id(DISPID_MX_WRITER_STANDALONE
)]
2617 HRESULT standalone
([in] VARIANT_BOOL value
);
2618 [propget, id(DISPID_MX_WRITER_STANDALONE
)]
2619 HRESULT standalone
([out, retval] VARIANT_BOOL * value
);
2621 [propput, id(DISPID_MX_WRITER_OMITXMLDECLARATION
)]
2622 HRESULT omitXMLDeclaration
([in] VARIANT_BOOL value
);
2623 [propget, id(DISPID_MX_WRITER_OMITXMLDECLARATION
)]
2624 HRESULT omitXMLDeclaration
([out, retval] VARIANT_BOOL * value
);
2626 [propput, id(DISPID_MX_WRITER_VERSION
)]
2627 HRESULT version ([in] BSTR version);
2628 [propget, id(DISPID_MX_WRITER_VERSION
)]
2629 HRESULT version ([out, retval] BSTR * version);
2631 [propput, id(DISPID_MX_WRITER_DISABLEOUTPUTESCAPING
)]
2632 HRESULT disableOutputEscaping
([in] VARIANT_BOOL value
);
2633 [propget, id(DISPID_MX_WRITER_DISABLEOUTPUTESCAPING
)]
2634 HRESULT disableOutputEscaping
([out, retval] VARIANT_BOOL * value
);
2636 [id(DISPID_MX_WRITER_FLUSH
)]
2645 uuid(c90352f4
-643c
-4fbc
-bb23
-e996eb2d51fd
)
2647 interface IMXNamespacePrefixes
: IDispatch
2649 [propget, id(DISPID_VALUE
)]
2652 [out, retval] BSTR *prefix
);
2654 [propget, id(DISPID_MX_NSMGR_LENGTH
)]
2655 HRESULT length
( [out,retval] long *length
);
2657 [propget, restricted, hidden, id(DISPID_NEWENUM
)]
2658 HRESULT _newEnum
( [out, retval] IUnknown
**ppUnk
);
2665 uuid(c90352f6
-643c
-4fbc
-bb23
-e996eb2d51fd
)
2667 interface IMXNamespaceManager
: IUnknown
2669 HRESULT putAllowOverride
([in] VARIANT_BOOL fOverride
);
2671 HRESULT getAllowOverride
([out, retval] VARIANT_BOOL *fOverride
);
2675 HRESULT pushContext
();
2677 HRESULT pushNodeContext
(
2678 [in] IXMLDOMNode
*contextNode
,
2679 [in] VARIANT_BOOL fDeep
);
2681 HRESULT popContext
();
2683 HRESULT declarePrefix
(
2684 [in] const WCHAR
*prefix
,
2685 [in] const WCHAR
*namespaceURI
);
2687 HRESULT getDeclaredPrefix
(
2689 [in, out] WCHAR
*pwchPrefix
,
2690 [in, out] int *pcchPrefix
);
2693 [in] const WCHAR
*pwszNamespaceURI
,
2695 [in, out] WCHAR
*pwchPrefix
,
2696 [in, out] int *pcchPrefix
);
2699 [in] const WCHAR
*pwchPrefix
,
2700 [in] IXMLDOMNode
* pContextNode
,
2701 [in, out] WCHAR
*pwchUri
,
2702 [in, out] int *pcchUri
);
2710 uuid(c90352f5
-643c
-4fbc
-bb23
-e996eb2d51fd
)
2712 interface IVBMXNamespaceManager
: IDispatch
2714 [propput, id(DISPID_MX_NSMGR_ALLOWOVERRIDE
)]
2715 HRESULT allowOverride
([in] VARIANT_BOOL fOverride
);
2717 [propget, id(DISPID_MX_NSMGR_ALLOWOVERRIDE
)]
2718 HRESULT allowOverride
([out,retval] VARIANT_BOOL* fOverride
);
2720 [id(DISPID_MX_NSMGR_RESET
)]
2723 [id(DISPID_MX_NSMGR_PUSHCONTEXT
)]
2724 HRESULT pushContext
();
2726 [id(DISPID_MX_NSMGR_PUSHNODECONTEXT
)]
2727 HRESULT pushNodeContext
(
2728 [in] IXMLDOMNode
* contextNode
,
2729 [in, defaultvalue(-1)] VARIANT_BOOL fDeep
);
2731 [id(DISPID_MX_NSMGR_POPCONTEXT
)]
2732 HRESULT popContext
();
2734 [id(DISPID_MX_NSMGR_DECLAREPREFIX
)]
2735 HRESULT declarePrefix
(
2737 [in] BSTR namespaceURI
);
2739 [id(DISPID_MX_NSMGR_GETDECLAREDPREFIXES
)]
2740 HRESULT getDeclaredPrefixes
([out, retval] IMXNamespacePrefixes
** prefixes
);
2742 [id(DISPID_MX_NSMGR_GETPREFIXES
)]
2743 HRESULT getPrefixes
(
2744 [in] BSTR namespaceURI
,
2745 [out, retval] IMXNamespacePrefixes
** prefixes
);
2747 [id(DISPID_MX_NSMGR_GETURI
)]
2750 [out, retval] VARIANT* uri
);
2752 [id(DISPID_MX_NSMGR_GETURIFROMNODE
)]
2753 HRESULT getURIFromNode
(
2754 [in] BSTR strPrefix
,
2755 [in] IXMLDOMNode
* contextNode
,
2756 [out, retval] VARIANT* uri
);
2764 uuid(c90352f7
-643c
-4fbc
-bb23
-e996eb2d51fd
)
2766 interface IMXXMLFilter
: IDispatch
2768 [id(DISPID_MXXML_FILTER_GETFEATURE
)]
2771 [out, retval] VARIANT_BOOL * fValue
);
2773 [id(DISPID_MXXML_FILTER_PUTFEATURE
)]
2776 [in] VARIANT_BOOL fValue
);
2778 [id(DISPID_MXXML_FILTER_GETPROPERTY
)]
2779 HRESULT getProperty
(
2781 [out, retval] VARIANT * varValue
);
2783 [id(DISPID_MXXML_FILTER_PUTPROPERTY
)]
2784 HRESULT putProperty
(
2786 [in] VARIANT varValue
);
2788 [id(DISPID_MXXML_FILTER_ENTITYRESOLVER
), propget]
2789 HRESULT entityResolver
( [out, retval] IUnknown
**oResolver
);
2791 [id(DISPID_MXXML_FILTER_ENTITYRESOLVER
), propputref]
2792 HRESULT entityResolver
( [in] IUnknown
*oResolver
);
2794 [id(DISPID_MXXML_FILTER_CONTENTHANDLER
), propget]
2795 HRESULT contentHandler
( [out, retval] IUnknown
**oHandler
);
2797 [id(DISPID_MXXML_FILTER_CONTENTHANDLER
), propputref]
2798 HRESULT contentHandler
( [in] IUnknown
*oHandler
);
2800 [id(DISPID_MXXML_FILTER_DTDHANDLER
), propget]
2801 HRESULT dtdHandler
( [out, retval] IUnknown
**oHandler
);
2803 [id(DISPID_MXXML_FILTER_DTDHANDLER
), propputref]
2804 HRESULT dtdHandler
( [in] IUnknown
*oHandler
);
2806 [id(DISPID_MXXML_FILTER_ERRORHANDLER
), propget]
2807 HRESULT errorHandler
( [out, retval] IUnknown
**oHandler
);
2809 [id(DISPID_MXXML_FILTER_ERRORHANDLER
), propputref]
2810 HRESULT errorHandler
( [in] IUnknown
*oHandler
);
2816 uuid(50ea08b1
-dd1b
-4664-9a50
-c2f40f4bd79a
),
2820 interface ISchemaStringCollection
: IDispatch
2822 [id(DISPID_VALUE
), propget]
2825 [out,retval] BSTR* bstr);
2827 [id(DISPID_SOM_LENGTH
), propget]
2829 [out,retval] long* length
);
2831 [id(DISPID_NEWENUM
), hidden, restricted, propget]
2833 [out,retval] IUnknown
** ppunk
);
2839 uuid(50ea08b2
-dd1b
-4664-9a50
-c2f40f4bd79a
),
2843 interface ISchemaItemCollection
: IDispatch
2845 [id(DISPID_VALUE
), propget]
2848 [out,retval]ISchemaItem
** item
);
2850 [id(DISPID_SOM_ITEMBYNAME
)]
2853 [out,retval] ISchemaItem
** item
);
2855 [id(DISPID_SOM_ITEMBYQNAME
)]
2856 HRESULT itemByQName
(
2858 [in] BSTR namespaceURI
,
2859 [out,retval] ISchemaItem
** item
);
2861 [id(DISPID_SOM_LENGTH
), propget]
2863 [out,retval]long* length
);
2865 [id(DISPID_NEWENUM
), hidden, restricted, propget]
2867 [out,retval]IUnknown
** ppunk
);
2873 uuid(50ea08b3
-dd1b
-4664-9a50
-c2f40f4bd79a
),
2877 interface ISchemaItem
: IDispatch
2879 [id(DISPID_SOM_NAME
), propget]
2881 [out,retval] BSTR* name
);
2883 [id(DISPID_SOM_NAMESPACEURI
), propget]
2884 HRESULT namespaceURI
(
2885 [out,retval] BSTR* namespaceURI
);
2887 [id(DISPID_SOM_SCHEMA
), propget]
2889 [out,retval] ISchema
** schema
);
2891 [id(DISPID_SOM_ID
), propget]
2893 [out,retval] BSTR* id);
2895 [id(DISPID_SOM_ITEMTYPE
), propget]
2897 [out,retval] SOMITEMTYPE
* itemType
);
2899 [id(DISPID_SOM_UNHANDLEDATTRS
), propget]
2900 HRESULT unhandledAttributes
(
2901 [out,retval] IVBSAXAttributes
** attributes
);
2903 [id(DISPID_SOM_WRITEANNOTATION
)]
2904 HRESULT writeAnnotation
(
2905 [in] IUnknown
* annotationSink
,
2906 [out,retval] VARIANT_BOOL* isWritten
);
2912 uuid(50ea08b4
-dd1b
-4664-9a50
-c2f40f4bd79a
),
2916 interface ISchema
: ISchemaItem
2918 [id(DISPID_SOM_TARGETNAMESPACE
), propget]
2919 HRESULT targetNamespace
(
2920 [out,retval] BSTR* targetNamespace
);
2922 [id(DISPID_SOM_VERSION
), propget]
2924 [out,retval] BSTR* version);
2926 [id(DISPID_SOM_TYPES
), propget]
2928 [out,retval] ISchemaItemCollection
** types
);
2930 [id(DISPID_SOM_ELEMENTS
), propget]
2932 [out,retval] ISchemaItemCollection
** elements
);
2934 [id(DISPID_SOM_ATTRIBUTES
), propget]
2936 [out,retval] ISchemaItemCollection
** attributes
);
2938 [id(DISPID_SOM_ATTRIBUTEGROUPS
), propget]
2939 HRESULT attributeGroups
(
2940 [out,retval] ISchemaItemCollection
** attributeGroups
);
2942 [id(DISPID_SOM_MODELGROUPS
), propget]
2943 HRESULT modelGroups
(
2944 [out,retval] ISchemaItemCollection
** modelGroups
);
2946 [id(DISPID_SOM_NOTATIONS
), propget]
2948 [out,retval] ISchemaItemCollection
** notations
);
2950 [id(DISPID_SOM_SCHEMALOCATIONS
), propget]
2951 HRESULT schemaLocations
(
2952 [out,retval] ISchemaStringCollection
** schemaLocations
);
2958 uuid(50ea08b5
-dd1b
-4664-9a50
-c2f40f4bd79a
),
2962 interface ISchemaParticle
: ISchemaItem
2964 [id(DISPID_SOM_MINOCCURS
), propget]
2966 [out,retval] VARIANT* minOccurs
);
2968 [id(DISPID_SOM_MAXOCCURS
), propget]
2970 [out,retval] VARIANT* maxOccurs
);
2975 uuid(50ea08b6
-dd1b
-4664-9a50
-c2f40f4bd79a
),
2979 interface ISchemaAttribute
: ISchemaItem
2981 [id(DISPID_SOM_TYPE
), propget]
2983 [out,retval] ISchemaType
** type
);
2985 [id(DISPID_SOM_SCOPE
), propget]
2987 [out,retval] ISchemaComplexType
** scope
);
2989 [id(DISPID_SOM_DEFAULTVALUE
), propget]
2990 HRESULT defaultValue(
2991 [out,retval]BSTR* defaultValue);
2993 [id(DISPID_SOM_FIXEDVALUE
), propget]
2995 [out,retval] BSTR* fixedValue
);
2997 [id(DISPID_SOM_USE
), propget]
2999 [out,retval] SCHEMAUSE
* use
);
3001 [id(DISPID_SOM_ISREFERENCE
), propget]
3002 HRESULT isReference
(
3003 [out,retval] VARIANT_BOOL* reference
);
3009 uuid(50ea08b7
-dd1b
-4664-9a50
-c2f40f4bd79a
),
3013 interface ISchemaElement
: ISchemaParticle
3015 [id(DISPID_SOM_TYPE
), propget]
3017 [out,retval] ISchemaType
** type
);
3019 [id(DISPID_SOM_SCOPE
), propget]
3021 [out,retval] ISchemaComplexType
** scope
);
3023 [id(DISPID_SOM_DEFAULTVALUE
), propget]
3024 HRESULT defaultValue(
3025 [out,retval] BSTR* defaultValue);
3027 [id(DISPID_SOM_FIXEDVALUE
), propget]
3029 [out,retval] BSTR* fixedValue
);
3031 [id(DISPID_SOM_ISNILLABLE
), propget]
3033 [out,retval] VARIANT_BOOL* nillable
);
3035 [id(DISPID_SOM_IDCONSTRAINTS
), propget]
3036 HRESULT identityConstraints
(
3037 [out,retval] ISchemaItemCollection
** constraints
);
3039 [id(DISPID_SOM_SUBSTITUTIONGROUP
), propget]
3040 HRESULT substitutionGroup
(
3041 [out,retval] ISchemaElement
** element
);
3043 [id(DISPID_SOM_EXCLUSIONS
), propget]
3044 HRESULT substitutionGroupExclusions
(
3045 [out,retval] SCHEMADERIVATIONMETHOD
* exclusions
);
3047 [id(DISPID_SOM_DISALLOWED
), propget]
3048 HRESULT disallowedSubstitutions
(
3049 [out,retval] SCHEMADERIVATIONMETHOD
* disallowed
);
3051 [id(DISPID_SOM_ISABSTRACT
), propget]
3053 [out,retval] VARIANT_BOOL* abstract
);
3055 [id(DISPID_SOM_ISREFERENCE
), propget]
3056 HRESULT isReference
(
3057 [out,retval] VARIANT_BOOL* reference
);
3063 uuid(50ea08b8
-dd1b
-4664-9a50
-c2f40f4bd79a
),
3067 interface ISchemaType
: ISchemaItem
3069 [id(DISPID_SOM_BASETYPES
), propget]
3071 [out,retval] ISchemaItemCollection
** baseTypes
);
3073 [id(DISPID_SOM_FINAL
), propget]
3075 [out,retval] SCHEMADERIVATIONMETHOD
* final
);
3077 [id(DISPID_SOM_VARIETY
), propget]
3079 [out,retval] SCHEMATYPEVARIETY
* variety
);
3081 [id(DISPID_SOM_DERIVEDBY
), propget]
3083 [out,retval] SCHEMADERIVATIONMETHOD
* derivedBy
);
3085 [id(DISPID_SOM_ISVALID
)]
3088 [out,retval] VARIANT_BOOL* valid
);
3090 [id(DISPID_SOM_MINEXCLUSIVE
), propget]
3091 HRESULT minExclusive
(
3092 [out,retval]BSTR* minExclusive
);
3094 [id(DISPID_SOM_MININCLUSIVE
), propget]
3095 HRESULT minInclusive
(
3096 [out,retval] BSTR* minInclusive
);
3098 [id(DISPID_SOM_MAXEXCLUSIVE
), propget]
3099 HRESULT maxExclusive
(
3100 [out,retval] BSTR* maxExclusive
);
3102 [id(DISPID_SOM_MAXINCLUSIVE
), propget]
3103 HRESULT maxInclusive
(
3104 [out,retval] BSTR* maxInclusive
);
3106 [id(DISPID_SOM_TOTALDIGITS
), propget]
3107 HRESULT totalDigits
(
3108 [out,retval] VARIANT* totalDigits
);
3110 [id(DISPID_SOM_FRACTIONDIGITS
), propget]
3111 HRESULT fractionDigits
(
3112 [out,retval] VARIANT* fractionDigits
);
3114 [id(DISPID_SOM_LENGTH
), propget]
3116 [out,retval] VARIANT* length
);
3118 [id(DISPID_SOM_MINLENGTH
), propget]
3120 [out,retval]VARIANT* minLength
);
3122 [id(DISPID_SOM_MAXLENGTH
), propget]
3124 [out,retval]VARIANT* maxLength
);
3126 [id(DISPID_SOM_ENUMERATION
), propget]
3127 HRESULT enumeration
(
3128 [out,retval] ISchemaStringCollection
** enumeration
);
3130 [id(DISPID_SOM_WHITESPACE
), propget]
3132 [out,retval]SCHEMAWHITESPACE
* whitespace
);
3134 [id(DISPID_SOM_PATTERNS
), propget]
3136 [out,retval] ISchemaStringCollection
** patterns
);
3142 uuid(50ea08b9
-dd1b
-4664-9a50
-c2f40f4bd79a
),
3146 interface ISchemaComplexType
: ISchemaType
3148 [id(DISPID_SOM_ISABSTRACT
), propget]
3150 [out,retval] VARIANT_BOOL* abstract
);
3152 [id(DISPID_SOM_ANYATTRIBUTE
), propget]
3153 HRESULT anyAttribute
(
3154 [out,retval] ISchemaAny
** anyAttribute
);
3156 [id(DISPID_SOM_ATTRIBUTES
), propget]
3158 [out,retval] ISchemaItemCollection
** attributes
);
3160 [id(DISPID_SOM_CONTENTTYPE
), propget]
3161 HRESULT contentType
(
3162 [out,retval] SCHEMACONTENTTYPE
* contentType
);
3164 [id(DISPID_SOM_CONTENTMODEL
), propget]
3165 HRESULT contentModel
(
3166 [out,retval] ISchemaModelGroup
** contentModel
);
3168 [id(DISPID_SOM_PROHIBITED
), propget]
3169 HRESULT prohibitedSubstitutions
(
3170 [out,retval] SCHEMADERIVATIONMETHOD
* prohibited
);
3176 uuid(50ea08ba
-dd1b
-4664-9a50
-c2f40f4bd79a
),
3180 interface ISchemaAttributeGroup
: ISchemaItem
3182 [id(DISPID_SOM_ANYATTRIBUTE
), propget]
3183 HRESULT anyAttribute
(
3184 [out,retval] ISchemaAny
** anyAttribute
);
3186 [id(DISPID_SOM_ATTRIBUTES
), propget]
3188 [out,retval] ISchemaItemCollection
** attributes
);
3194 uuid(50ea08bb
-dd1b
-4664-9a50
-c2f40f4bd79a
),
3198 interface ISchemaModelGroup
: ISchemaParticle
3200 [id(DISPID_SOM_PARTICLES
), propget]
3202 [out,retval] ISchemaItemCollection
** particles
);
3208 uuid(50ea08bc
-dd1b
-4664-9a50
-c2f40f4bd79a
),
3212 interface ISchemaAny
: ISchemaParticle
3214 [id(DISPID_SOM_NAMESPACES
), propget]
3216 [out,retval] ISchemaStringCollection
** namespaces
);
3218 [id(DISPID_SOM_PROCESSCONTENTS
), propget]
3219 HRESULT processContents
(
3220 [out,retval] SCHEMAPROCESSCONTENTS
* processContents
);
3226 uuid(50ea08bd
-dd1b
-4664-9a50
-c2f40f4bd79a
),
3230 interface ISchemaIdentityConstraint
: ISchemaItem
3232 [id(DISPID_SOM_SELECTOR
), propget]
3234 [out,retval] BSTR* selector
);
3236 [id(DISPID_SOM_FIELDS
), propget]
3238 [out,retval] ISchemaStringCollection
** fields
);
3240 [id(DISPID_SOM_REFERENCEDKEY
), propget]
3241 HRESULT referencedKey
(
3242 [out,retval] ISchemaIdentityConstraint
** key
);
3248 uuid(50ea08be
-dd1b
-4664-9a50
-c2f40f4bd79a
),
3252 interface ISchemaNotation
: ISchemaItem
3254 [id(DISPID_SOM_SYSTEMIDENTIFIER
), propget]
3255 HRESULT systemIdentifier
(
3256 [out,retval] BSTR* uri
);
3258 [id(DISPID_SOM_PUBLICIDENTIFIER
), propget]
3259 HRESULT publicIdentifier
(
3260 [out,retval] BSTR* uri
);
3265 helpstring("SAX XML Reader 3.0"),
3266 progid
("Msxml2.SAXXMLReader.3.0"),
3267 vi_progid
("Msxml2.SAXXMLReader"),
3269 uuid(3124c396
-fb13
-4836-a6ad
-1317f1713688
)
3271 coclass SAXXMLReader30
3273 [default] interface IVBSAXXMLReader
;
3274 interface ISAXXMLReader
;
3275 interface IMXReaderControl
;
3279 uuid(7c6e29bc
-8b8b
-4c3d
-859e
-af6cd158be0f
)
3281 coclass SAXXMLReader40
3283 [default] interface IVBSAXXMLReader
;
3284 interface ISAXXMLReader
;
3288 uuid(88d96a0c
-f192
-11d4
-a65f
-0040963251e5
)
3290 coclass SAXXMLReader60
3292 [default] interface IVBSAXXMLReader
;
3293 interface ISAXXMLReader
;
3297 helpstring("SAX XML Reader"),
3298 progid
("Msxml2.SAXXMLReader"),
3299 vi_progid
("Msxml2.SAXXMLReader"),
3301 uuid(079aa557
-4a18
-424a
-8eee
-e39f0a8d41b9
)
3303 coclass SAXXMLReader
3305 [default] interface IVBSAXXMLReader
;
3306 interface ISAXXMLReader
;
3307 interface IMXReaderControl
;
3311 uuid(a4c23ec3
-6b70
-4466-9127-550077239978)
3313 coclass MXHTMLWriter
3315 [default] interface IMXWriter
;
3317 interface ISAXContentHandler
;
3318 interface ISAXErrorHandler
;
3319 interface ISAXDTDHandler
;
3320 interface ISAXLexicalHandler
;
3321 interface ISAXDeclHandler
;
3323 interface IVBSAXContentHandler
;
3324 interface IVBSAXDeclHandler
;
3325 interface IVBSAXDTDHandler
;
3326 interface IVBSAXErrorHandler
;
3327 interface IVBSAXLexicalHandler
;
3331 uuid(853d1540
-c1a7
-4aa9
-a226
-4d3bd301146d
)
3333 coclass MXHTMLWriter30
3335 [default] interface IMXWriter
;
3337 interface ISAXContentHandler
;
3338 interface ISAXDeclHandler
;
3339 interface ISAXDTDHandler
;
3340 interface ISAXErrorHandler
;
3341 interface ISAXLexicalHandler
;
3343 interface IVBSAXContentHandler
;
3344 interface IVBSAXDeclHandler
;
3345 interface IVBSAXDTDHandler
;
3346 interface IVBSAXErrorHandler
;
3347 interface IVBSAXLexicalHandler
;
3351 uuid(88d969c9
-f192
-11d4
-a65f
-0040963251e5
)
3353 coclass MXHTMLWriter40
3355 [default] interface IMXWriter
;
3357 interface ISAXContentHandler
;
3358 interface ISAXDeclHandler
;
3359 interface ISAXDTDHandler
;
3360 interface ISAXErrorHandler
;
3361 interface ISAXLexicalHandler
;
3363 interface IVBSAXContentHandler
;
3364 interface IVBSAXDeclHandler
;
3365 interface IVBSAXDTDHandler
;
3366 interface IVBSAXErrorHandler
;
3367 interface IVBSAXLexicalHandler
;
3371 uuid(88d96a10
-f192
-11d4
-a65f
-0040963251e5
)
3373 coclass MXHTMLWriter60
3375 [default] interface IMXWriter
;
3377 interface ISAXContentHandler
;
3378 interface ISAXDeclHandler
;
3379 interface ISAXDTDHandler
;
3380 interface ISAXErrorHandler
;
3381 interface ISAXLexicalHandler
;
3383 interface IVBSAXContentHandler
;
3384 interface IVBSAXDeclHandler
;
3385 interface IVBSAXDTDHandler
;
3386 interface IVBSAXErrorHandler
;
3387 interface IVBSAXLexicalHandler
;
3391 helpstring("MXXMLWriter 3.0"),
3392 progid
("Msxml2.MXXMLWriter.3.0"),
3393 vi_progid
("Msxml2.MXXMLWriter"),
3395 uuid(3d813dfe
-6c91
-4a4e
-8f41
-04346a841d9c
)
3397 coclass MXXMLWriter30
3399 [default] interface IMXWriter
;
3401 interface ISAXContentHandler
;
3402 interface ISAXDeclHandler
;
3403 interface ISAXDTDHandler
;
3404 interface ISAXErrorHandler
;
3405 interface ISAXLexicalHandler
;
3407 interface IVBSAXContentHandler
;
3408 interface IVBSAXDeclHandler
;
3409 interface IVBSAXDTDHandler
;
3410 interface IVBSAXErrorHandler
;
3411 interface IVBSAXLexicalHandler
;
3415 uuid(88d969c8
-f192
-11d4
-a65f
-0040963251e5
),
3417 coclass MXXMLWriter40
3419 [default] interface IMXWriter
;
3421 interface ISAXContentHandler
;
3422 interface ISAXDeclHandler
;
3423 interface ISAXDTDHandler
;
3424 interface ISAXErrorHandler
;
3425 interface ISAXLexicalHandler
;
3427 interface IVBSAXContentHandler
;
3428 interface IVBSAXDeclHandler
;
3429 interface IVBSAXDTDHandler
;
3430 interface IVBSAXErrorHandler
;
3431 interface IVBSAXLexicalHandler
;
3435 uuid(88d96a0f
-f192
-11d4
-a65f
-0040963251e5
)
3437 coclass MXXMLWriter60
3439 [default] interface IMXWriter
;
3441 interface ISAXContentHandler
;
3442 interface ISAXDeclHandler
;
3443 interface ISAXDTDHandler
;
3444 interface ISAXErrorHandler
;
3445 interface ISAXLexicalHandler
;
3447 interface IVBSAXContentHandler
;
3448 interface IVBSAXDeclHandler
;
3449 interface IVBSAXDTDHandler
;
3450 interface IVBSAXErrorHandler
;
3451 interface IVBSAXLexicalHandler
;
3455 helpstring("MXXMLWriter"),
3456 progid
("Msxml2.MXXMLWriter"),
3457 vi_progid
("Msxml2.MXXMLWriter"),
3459 uuid(fc220ad8
-a72a
-4ee8
-926e-0b7ad152a020
)
3463 [default] interface IMXWriter
;
3465 interface ISAXContentHandler
;
3466 interface ISAXErrorHandler
;
3467 interface ISAXDTDHandler
;
3468 interface ISAXLexicalHandler
;
3469 interface ISAXDeclHandler
;
3471 interface IVBSAXContentHandler
;
3472 interface IVBSAXDeclHandler
;
3473 interface IVBSAXDTDHandler
;
3474 interface IVBSAXErrorHandler
;
3475 interface IVBSAXLexicalHandler
;
3479 uuid(88d969d5
-f192
-11d4
-a65f
-0040963251e5
)
3481 coclass MXNamespaceManager
3483 [default] interface IVBMXNamespaceManager
;
3484 interface IMXNamespaceManager
;
3488 uuid(88d969d6
-f192
-11d4
-a65f
-0040963251e5
)
3490 coclass MXNamespaceManager40
3492 [default] interface IVBMXNamespaceManager
;
3493 interface IMXNamespaceManager
;
3497 uuid(88d96a11
-f192
-11d4
-a65f
-0040963251e5
)
3499 coclass MXNamespaceManager60
3501 [default] interface IVBMXNamespaceManager
;
3502 interface IMXNamespaceManager
;
3506 helpstring("SAXAttributes 3.0"),
3507 progid
("Msxml2.SAXAttributes.3.0"),
3508 vi_progid
("Msxml2.SAXAttributes"),
3510 uuid(3e784a01
-f3ae
-4dc0
-9354-9526b9370eba
)
3512 coclass SAXAttributes30
3514 [default] interface IMXAttributes
;
3515 interface IVBSAXAttributes
;
3516 interface ISAXAttributes
;
3520 uuid(88d969ca
-f192
-11d4
-a65f
-0040963251e5
),
3522 coclass SAXAttributes40
3524 [default] interface IMXAttributes
;
3525 interface IVBSAXAttributes
;
3526 interface ISAXAttributes
;
3530 uuid(88d96a0e
-f192
-11d4
-a65f
-0040963251e5
)
3532 coclass SAXAttributes60
3534 [default] interface IMXAttributes
;
3535 interface IVBSAXAttributes
;
3536 interface ISAXAttributes
;
3540 helpstring("SAXAttributes"),
3541 progid
("Msxml2.SAXAttributes"),
3542 vi_progid
("Msxml2.SAXAttributes"),
3544 uuid(4dd441ad
-526d
-4a77
-9f1b
-9841ed802fb0
)
3546 coclass SAXAttributes
3548 [default] interface IMXAttributes
;
3549 interface IVBSAXAttributes
;
3550 interface ISAXAttributes
;
3556 cpp_quote
("#define E_XML_NOTWF 0xC00CE223")
3557 cpp_quote
("#define E_XML_NODTD 0xC00CE224")
3558 cpp_quote
("#define E_XML_INVALID 0xC00CE225")
3559 cpp_quote
("#define E_XML_BUFFERTOOSMALL 0xC00CE226")
3561 } /* Library MSXML */