1 | /*
|
---|
2 | * Copyright (C) 2005 Vijay Kiran Kamuju
|
---|
3 | * Copyright (C) 2008 Alistair Leslie-Hughes
|
---|
4 | *
|
---|
5 | * This library is free software; you can redistribute it and/or
|
---|
6 | * modify it under the terms of the GNU Lesser General Public
|
---|
7 | * License as published by the Free Software Foundation; either
|
---|
8 | * version 2.1 of the License, or (at your option) any later version.
|
---|
9 | *
|
---|
10 | * This library is distributed in the hope that it will be useful,
|
---|
11 | * but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
12 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
---|
13 | * Lesser General Public License for more details.
|
---|
14 | *
|
---|
15 | * You should have received a copy of the GNU Lesser General Public
|
---|
16 | * License along with this library; if not, write to the Free Software
|
---|
17 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
|
---|
18 | */
|
---|
19 |
|
---|
20 | /*
|
---|
21 | * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
|
---|
22 | * other than GPL or LGPL is available it will apply instead, Sun elects to use only
|
---|
23 | * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
|
---|
24 | * a choice of LGPL license versions is made available with the language indicating
|
---|
25 | * that LGPLv2 or any later version may be used, or where a choice of which version
|
---|
26 | * of the LGPL is applied is otherwise unspecified.
|
---|
27 | */
|
---|
28 |
|
---|
29 | #include <msxml2did.h>
|
---|
30 | #include <olectl.h>
|
---|
31 |
|
---|
32 | import "unknwn.idl";
|
---|
33 | import "objidl.idl";
|
---|
34 | import "oaidl.idl";
|
---|
35 |
|
---|
36 | [
|
---|
37 | uuid(f5078f18-c551-11d3-89b9-0000f81fe221),
|
---|
38 | version(3.0),
|
---|
39 | helpstring("Microsoft XML, v3.0")
|
---|
40 | ]
|
---|
41 | library MSXML2
|
---|
42 | {
|
---|
43 |
|
---|
44 | importlib("stdole2.tlb");
|
---|
45 |
|
---|
46 | interface IXMLDOMImplementation;
|
---|
47 | interface IXMLDOMNode;
|
---|
48 | interface IXMLDOMDocumentFragment;
|
---|
49 | interface IXMLDOMDocument;
|
---|
50 | interface IXMLDOMSchemaCollection;
|
---|
51 | interface IXMLDOMDocument2;
|
---|
52 | interface IXMLDOMNodeList;
|
---|
53 | interface IXMLDOMNamedNodeMap;
|
---|
54 | interface IXMLDOMCharacterData;
|
---|
55 | interface IXMLDOMAttribute;
|
---|
56 | interface IXMLDOMElement;
|
---|
57 | interface IXMLDOMText;
|
---|
58 | interface IXMLDOMComment;
|
---|
59 | interface IXMLDOMProcessingInstruction;
|
---|
60 | interface IXMLDOMCDATASection;
|
---|
61 | interface IXMLDOMDocumentType;
|
---|
62 | interface IXMLDOMNotation;
|
---|
63 | interface IXMLDOMEntity;
|
---|
64 | interface IXMLDOMEntityReference;
|
---|
65 | interface IXMLDOMParseError;
|
---|
66 | interface IXTLRuntime;
|
---|
67 | interface IXSLTemplate;
|
---|
68 | interface IXSLProcessor;
|
---|
69 |
|
---|
70 | /* SAX Interfaces */
|
---|
71 | interface ISAXAttributes;
|
---|
72 | interface ISAXContentHandler;
|
---|
73 | interface ISAXDeclHandler;
|
---|
74 | interface ISAXDTDHandler;
|
---|
75 | interface ISAXEntityResolver;
|
---|
76 | interface ISAXErrorHandler;
|
---|
77 | interface ISAXLexicalHandler;
|
---|
78 | interface ISAXLocator;
|
---|
79 | interface ISAXXMLFilter;
|
---|
80 | interface ISAXXMLReader;
|
---|
81 |
|
---|
82 | interface IVBSAXAttributes;
|
---|
83 | interface IVBSAXContentHandler;
|
---|
84 | interface IVBSAXDeclHandler;
|
---|
85 | interface IVBSAXDTDHandler;
|
---|
86 | interface IVBSAXEntityResolver;
|
---|
87 | interface IVBSAXErrorHandler;
|
---|
88 | interface IVBSAXLexicalHandler;
|
---|
89 | interface IVBSAXLocator;
|
---|
90 | interface IVBSAXXMLFilter;
|
---|
91 | interface IVBSAXXMLReader;
|
---|
92 |
|
---|
93 | interface IMXAttributes;
|
---|
94 | interface IMXReaderControl;
|
---|
95 | interface IMXWriter;
|
---|
96 |
|
---|
97 | interface IXMLDOMSchemaCollection2;
|
---|
98 | interface ISchemaStringCollection;
|
---|
99 | interface ISchemaItemCollection;
|
---|
100 | interface ISchemaItem;
|
---|
101 | interface ISchema;
|
---|
102 | interface ISchemaParticle;
|
---|
103 | interface ISchemaAttribute;
|
---|
104 | interface ISchemaElement;
|
---|
105 | interface ISchemaType;
|
---|
106 | interface ISchemaComplexType;
|
---|
107 | interface ISchemaAttributeGroup;
|
---|
108 | interface ISchemaModelGroup;
|
---|
109 | interface ISchemaAny;
|
---|
110 | interface ISchemaIdentityConstraint;
|
---|
111 | interface ISchemaNotation;
|
---|
112 |
|
---|
113 |
|
---|
114 | cpp_quote("#define DOMDocument DOMDocument2")
|
---|
115 | cpp_quote("#define CLSID_DOMDocument CLSID_DOMDocument2")
|
---|
116 |
|
---|
117 | cpp_quote("#ifndef __WIDL_XMLDOM_H")
|
---|
118 | typedef enum tagDOMNodeType
|
---|
119 | {
|
---|
120 | NODE_INVALID = 0,
|
---|
121 | NODE_ELEMENT = 1,
|
---|
122 | NODE_ATTRIBUTE = 2,
|
---|
123 | NODE_TEXT = 3,
|
---|
124 | NODE_CDATA_SECTION = 4,
|
---|
125 | NODE_ENTITY_REFERENCE = 5,
|
---|
126 | NODE_ENTITY = 6,
|
---|
127 | NODE_PROCESSING_INSTRUCTION = 7,
|
---|
128 | NODE_COMMENT = 8,
|
---|
129 | NODE_DOCUMENT = 9,
|
---|
130 | NODE_DOCUMENT_TYPE = 10,
|
---|
131 | NODE_DOCUMENT_FRAGMENT = 11,
|
---|
132 | NODE_NOTATION = 12
|
---|
133 | } DOMNodeType;
|
---|
134 | cpp_quote("#endif /* __WIDL_XMLDOM_H */")
|
---|
135 |
|
---|
136 | typedef enum _SOMITEMTYPE
|
---|
137 | {
|
---|
138 | SOMITEM_SCHEMA = 0x1000,
|
---|
139 | SOMITEM_ATTRIBUTE = 0x1001,
|
---|
140 | SOMITEM_ATTRIBUTEGROUP = 0x1002,
|
---|
141 | SOMITEM_NOTATION = 0x1003,
|
---|
142 | SOMITEM_IDENTITYCONSTRAINT = 0x1100,
|
---|
143 | SOMITEM_KEY = 0x1101,
|
---|
144 | SOMITEM_KEYREF = 0x1102,
|
---|
145 | SOMITEM_UNIQUE = 0x1103,
|
---|
146 | SOMITEM_ANYTYPE = 0x2000,
|
---|
147 | SOMITEM_DATATYPE = 0x2100,
|
---|
148 | SOMITEM_DATATYPE_ANYTYPE = 0x2101,
|
---|
149 | SOMITEM_DATATYPE_ANYURI = 0x2102,
|
---|
150 | SOMITEM_DATATYPE_BASE64BINARY = 0x2103,
|
---|
151 | SOMITEM_DATATYPE_BOOLEAN = 0x2104,
|
---|
152 | SOMITEM_DATATYPE_BYTE = 0x2105,
|
---|
153 | SOMITEM_DATATYPE_DATE = 0x2106,
|
---|
154 | SOMITEM_DATATYPE_DATETIME = 0x2107,
|
---|
155 | SOMITEM_DATATYPE_DAY = 0x2108,
|
---|
156 | SOMITEM_DATATYPE_DECIMAL = 0x2109,
|
---|
157 | SOMITEM_DATATYPE_DOUBLE = 0x210A,
|
---|
158 | SOMITEM_DATATYPE_DURATION = 0x210B,
|
---|
159 | SOMITEM_DATATYPE_ENTITIES = 0x210C,
|
---|
160 | SOMITEM_DATATYPE_ENTITY = 0x210D,
|
---|
161 | SOMITEM_DATATYPE_FLOAT = 0x210E,
|
---|
162 | SOMITEM_DATATYPE_HEXBINARY = 0x210F,
|
---|
163 | SOMITEM_DATATYPE_ID = 0x2110,
|
---|
164 | SOMITEM_DATATYPE_IDREF = 0x2111,
|
---|
165 | SOMITEM_DATATYPE_IDREFS = 0x2112,
|
---|
166 | SOMITEM_DATATYPE_INT = 0x2113,
|
---|
167 | SOMITEM_DATATYPE_INTEGER = 0x2114,
|
---|
168 | SOMITEM_DATATYPE_LANGUAGE = 0x2115,
|
---|
169 | SOMITEM_DATATYPE_LONG = 0x2116,
|
---|
170 | SOMITEM_DATATYPE_MONTH = 0x2117,
|
---|
171 | SOMITEM_DATATYPE_MONTHDAY = 0x2118,
|
---|
172 | SOMITEM_DATATYPE_NAME = 0x2119,
|
---|
173 | SOMITEM_DATATYPE_NCNAME = 0x211A,
|
---|
174 | SOMITEM_DATATYPE_NEGATIVEINTEGER = 0x211B,
|
---|
175 | SOMITEM_DATATYPE_NMTOKEN = 0x211C,
|
---|
176 | SOMITEM_DATATYPE_NMTOKENS = 0x211D,
|
---|
177 | SOMITEM_DATATYPE_NONNEGATIVEINTEGER = 0x211E,
|
---|
178 | SOMITEM_DATATYPE_NONPOSITIVEINTEGER = 0x211F,
|
---|
179 | SOMITEM_DATATYPE_NORMALIZEDSTRING = 0x2120,
|
---|
180 | SOMITEM_DATATYPE_NOTATION = 0x2121,
|
---|
181 | SOMITEM_DATATYPE_POSITIVEINTEGER = 0x2122,
|
---|
182 | SOMITEM_DATATYPE_QNAME = 0x2123,
|
---|
183 | SOMITEM_DATATYPE_SHORT = 0x2124,
|
---|
184 | SOMITEM_DATATYPE_STRING = 0x2125,
|
---|
185 | SOMITEM_DATATYPE_TIME = 0x2126,
|
---|
186 | SOMITEM_DATATYPE_TOKEN = 0x2127,
|
---|
187 | SOMITEM_DATATYPE_UNSIGNEDBYTE = 0x2128,
|
---|
188 | SOMITEM_DATATYPE_UNSIGNEDINT = 0x2129,
|
---|
189 | SOMITEM_DATATYPE_UNSIGNEDLONG = 0x212A,
|
---|
190 | SOMITEM_DATATYPE_UNSIGNEDSHORT = 0x212B,
|
---|
191 | SOMITEM_DATATYPE_YEAR = 0x212C,
|
---|
192 | SOMITEM_DATATYPE_YEARMONTH = 0x212D,
|
---|
193 | SOMITEM_DATATYPE_ANYSIMPLETYPE = 0x21FF,
|
---|
194 | SOMITEM_SIMPLETYPE = 0x2200,
|
---|
195 | SOMITEM_COMPLEXTYPE = 0x2400,
|
---|
196 | SOMITEM_PARTICLE = 0x4000,
|
---|
197 | SOMITEM_ANY = 0x4001,
|
---|
198 | SOMITEM_ANYATTRIBUTE = 0x4002,
|
---|
199 | SOMITEM_ELEMENT = 0x4003,
|
---|
200 | SOMITEM_GROUP = 0x4100,
|
---|
201 | SOMITEM_ALL = 0x4101,
|
---|
202 | SOMITEM_CHOICE = 0x4102,
|
---|
203 | SOMITEM_SEQUENCE = 0x4103,
|
---|
204 | SOMITEM_EMPTYPARTICLE = 0x4104,
|
---|
205 | SOMITEM_NULL = 0x0800,
|
---|
206 | SOMITEM_NULL_TYPE = 0x2800,
|
---|
207 | SOMITEM_NULL_ANY = 0x4801,
|
---|
208 | SOMITEM_NULL_ANYATTRIBUTE = 0x4802,
|
---|
209 | SOMITEM_NULL_ELEMENT = 0x4803,
|
---|
210 | } SOMITEMTYPE;
|
---|
211 |
|
---|
212 | typedef enum _SCHEMAUSE
|
---|
213 | {
|
---|
214 | SCHEMAUSE_OPTIONAL,
|
---|
215 | SCHEMAUSE_PROHIBITED,
|
---|
216 | SCHEMAUSE_REQUIRED,
|
---|
217 | } SCHEMAUSE;
|
---|
218 |
|
---|
219 | typedef enum _SCHEMADERIVATIONMETHOD
|
---|
220 | {
|
---|
221 | SCHEMADERIVATIONMETHOD_EMPTY = 0x0000,
|
---|
222 | SCHEMADERIVATIONMETHOD_SUBSTITUTION = 0x0001,
|
---|
223 | SCHEMADERIVATIONMETHOD_EXTENSION = 0x0002,
|
---|
224 | SCHEMADERIVATIONMETHOD_RESTRICTION = 0x0004,
|
---|
225 | SCHEMADERIVATIONMETHOD_LIST = 0x0008,
|
---|
226 | SCHEMADERIVATIONMETHOD_UNION = 0x0010,
|
---|
227 | SCHEMADERIVATIONMETHOD_ALL = 0x00FF,
|
---|
228 | SCHEMADERIVATIONMETHOD_NONE = 0x0100,
|
---|
229 | } SCHEMADERIVATIONMETHOD;
|
---|
230 |
|
---|
231 | typedef enum _SCHEMACONTENTTYPE
|
---|
232 | {
|
---|
233 | SCHEMACONTENTTYPE_EMPTY,
|
---|
234 | SCHEMACONTENTTYPE_TEXTONLY,
|
---|
235 | SCHEMACONTENTTYPE_ELEMENTONLY,
|
---|
236 | SCHEMACONTENTTYPE_MIXED,
|
---|
237 | } SCHEMACONTENTTYPE;
|
---|
238 |
|
---|
239 | typedef enum _SCHEMAPROCESSCONTENTS
|
---|
240 | {
|
---|
241 | SCHEMAPROCESSCONTENTS_NONE,
|
---|
242 | SCHEMAPROCESSCONTENTS_SKIP,
|
---|
243 | SCHEMAPROCESSCONTENTS_LAX,
|
---|
244 | SCHEMAPROCESSCONTENTS_STRICT,
|
---|
245 | } SCHEMAPROCESSCONTENTS;
|
---|
246 |
|
---|
247 | typedef enum _SCHEMAWHITESPACE
|
---|
248 | {
|
---|
249 | SCHEMAWHITESPACE_NONE = -1,
|
---|
250 | SCHEMAWHITESPACE_PRESERVE = 0,
|
---|
251 | SCHEMAWHITESPACE_REPLACE = 1,
|
---|
252 | SCHEMAWHITESPACE_COLLAPSE = 2,
|
---|
253 | } SCHEMAWHITESPACE;
|
---|
254 |
|
---|
255 |
|
---|
256 | typedef enum _SCHEMATYPEVARIETY
|
---|
257 | {
|
---|
258 | SCHEMATYPEVARIETY_NONE = -1,
|
---|
259 | SCHEMATYPEVARIETY_ATOMIC = 0,
|
---|
260 | SCHEMATYPEVARIETY_LIST = 1,
|
---|
261 | SCHEMATYPEVARIETY_UNION = 2,
|
---|
262 | } SCHEMATYPEVARIETY;
|
---|
263 |
|
---|
264 | [
|
---|
265 | local,
|
---|
266 | object,
|
---|
267 | uuid (2933BF80-7B36-11d2-B20E-00C04F983E60)
|
---|
268 | ]
|
---|
269 | interface IXMLDOMNode : IDispatch
|
---|
270 | {
|
---|
271 | [propget, id(DISPID_DOM_NODE_NODENAME)]
|
---|
272 | HRESULT nodeName([retval, out] BSTR *p);
|
---|
273 |
|
---|
274 | [propget, id(DISPID_DOM_NODE_NODEVALUE)]
|
---|
275 | HRESULT nodeValue([retval, out] VARIANT *var1);
|
---|
276 |
|
---|
277 | [propput, id(DISPID_DOM_NODE_NODEVALUE)]
|
---|
278 | HRESULT nodeValue([in] VARIANT var1);
|
---|
279 |
|
---|
280 | [propget, id(DISPID_DOM_NODE_NODETYPE)]
|
---|
281 | HRESULT nodeType([retval, out] DOMNodeType *domNodeType);
|
---|
282 |
|
---|
283 | [propget, id(DISPID_DOM_NODE_PARENTNODE)]
|
---|
284 | HRESULT parentNode([retval, out] IXMLDOMNode **parent);
|
---|
285 |
|
---|
286 | [propget, id(DISPID_DOM_NODE_CHILDNODES)]
|
---|
287 | HRESULT childNodes([retval, out] IXMLDOMNodeList **outList);
|
---|
288 |
|
---|
289 | [propget, id(DISPID_DOM_NODE_FIRSTCHILD)]
|
---|
290 | HRESULT firstChild([retval, out] IXMLDOMNode **domNode);
|
---|
291 |
|
---|
292 | [propget, id(DISPID_DOM_NODE_LASTCHILD)]
|
---|
293 | HRESULT lastChild([retval, out] IXMLDOMNode **domNode);
|
---|
294 |
|
---|
295 | [propget, id(DISPID_DOM_NODE_PREVIOUSSIBLING)]
|
---|
296 | HRESULT previousSibling([retval, out] IXMLDOMNode **domNode);
|
---|
297 |
|
---|
298 | [propget, id(DISPID_DOM_NODE_NEXTSIBLING)]
|
---|
299 | HRESULT nextSibling([retval, out] IXMLDOMNode **domNode);
|
---|
300 |
|
---|
301 | [propget, id(DISPID_DOM_NODE_ATTRIBUTES)]
|
---|
302 | HRESULT attributes([retval, out] IXMLDOMNamedNodeMap **attributeMap);
|
---|
303 |
|
---|
304 | [id(DISPID_DOM_NODE_INSERTBEFORE)]
|
---|
305 | HRESULT insertBefore(
|
---|
306 | [in] IXMLDOMNode *newNode,
|
---|
307 | [in] VARIANT var1,
|
---|
308 | [retval, out] IXMLDOMNode **outOldNode);
|
---|
309 |
|
---|
310 | [id(DISPID_DOM_NODE_REPLACECHILD)]
|
---|
311 | HRESULT replaceChild(
|
---|
312 | [in] IXMLDOMNode *newNode,
|
---|
313 | [in] IXMLDOMNode *oldNode,
|
---|
314 | [retval, out] IXMLDOMNode **outOldNode);
|
---|
315 |
|
---|
316 | [id(DISPID_DOM_NODE_REMOVECHILD)]
|
---|
317 | HRESULT removeChild(
|
---|
318 | [in] IXMLDOMNode *domNode,
|
---|
319 | [retval, out] IXMLDOMNode **oldNode);
|
---|
320 |
|
---|
321 | [id(DISPID_DOM_NODE_APPENDCHILD)]
|
---|
322 | HRESULT appendChild(
|
---|
323 | [in] IXMLDOMNode *newNode,
|
---|
324 | [retval, out] IXMLDOMNode **outNewNode);
|
---|
325 |
|
---|
326 | [id(DISPID_DOM_NODE_HASCHILDNODES)]
|
---|
327 | HRESULT hasChildNodes(
|
---|
328 | [retval, out] VARIANT_BOOL *pbool);
|
---|
329 |
|
---|
330 | [propget, id(DISPID_DOM_NODE_OWNERDOC)]
|
---|
331 | HRESULT ownerDocument([retval, out] IXMLDOMDocument **domDocument);
|
---|
332 |
|
---|
333 | [id(DISPID_DOM_NODE_CLONENODE)]
|
---|
334 | HRESULT cloneNode(
|
---|
335 | [in] VARIANT_BOOL pbool,
|
---|
336 | [retval, out] IXMLDOMNode **outNode);
|
---|
337 |
|
---|
338 | [propget, id(DISPID_XMLDOM_NODE_STRINGTYPE)]
|
---|
339 | HRESULT nodeTypeString([retval, out] BSTR *p);
|
---|
340 |
|
---|
341 | [propget, id(DISPID_XMLDOM_NODE_TEXT)]
|
---|
342 | HRESULT text([retval, out] BSTR *p);
|
---|
343 |
|
---|
344 | [propput, id(DISPID_XMLDOM_NODE_TEXT)]
|
---|
345 | HRESULT text([in] BSTR p);
|
---|
346 |
|
---|
347 | [propget, id(DISPID_XMLDOM_NODE_SPECIFIED)]
|
---|
348 | HRESULT specified([retval, out] VARIANT_BOOL *pbool);
|
---|
349 |
|
---|
350 | [propget, id(DISPID_XMLDOM_NODE_DEFINITION)]
|
---|
351 | HRESULT definition([retval,out] IXMLDOMNode **domNode);
|
---|
352 |
|
---|
353 | [propget, id(DISPID_XMLDOM_NODE_NODETYPEDVALUE)]
|
---|
354 | HRESULT nodeTypedValue([retval, out] VARIANT *var1);
|
---|
355 |
|
---|
356 | [propput, id(DISPID_XMLDOM_NODE_NODETYPEDVALUE)]
|
---|
357 | HRESULT nodeTypedValue([in] VARIANT var1);
|
---|
358 |
|
---|
359 | [propget, id(DISPID_XMLDOM_NODE_DATATYPE)]
|
---|
360 | HRESULT dataType([retval, out] VARIANT *var1);
|
---|
361 |
|
---|
362 | [propput, id(DISPID_XMLDOM_NODE_DATATYPE)]
|
---|
363 | HRESULT dataType([in] BSTR p);
|
---|
364 |
|
---|
365 | [propget, id(DISPID_XMLDOM_NODE_XML)]
|
---|
366 | HRESULT xml([retval, out] BSTR *p);
|
---|
367 |
|
---|
368 | [id(DISPID_XMLDOM_NODE_TRANSFORMNODE)]
|
---|
369 | HRESULT transformNode(
|
---|
370 | [in] IXMLDOMNode *domNode,
|
---|
371 | [retval, out] BSTR *p);
|
---|
372 |
|
---|
373 | [id(DISPID_XMLDOM_NODE_SELECTNODES)]
|
---|
374 | HRESULT selectNodes(
|
---|
375 | [in] BSTR p,
|
---|
376 | [retval, out] IXMLDOMNodeList **outList);
|
---|
377 |
|
---|
378 | [id(DISPID_XMLDOM_NODE_SELECTSINGLENODE)]
|
---|
379 | HRESULT selectSingleNode(
|
---|
380 | [in] BSTR p,
|
---|
381 | [retval, out] IXMLDOMNode **outNode);
|
---|
382 |
|
---|
383 | [propget,id(DISPID_XMLDOM_NODE_PARSED)]
|
---|
384 | HRESULT parsed([retval, out] VARIANT_BOOL *pbool);
|
---|
385 |
|
---|
386 | [propget, id(DISPID_XMLDOM_NODE_NAMESPACE)]
|
---|
387 | HRESULT namespaceURI([retval, out] BSTR *p);
|
---|
388 |
|
---|
389 | [propget, id(DISPID_XMLDOM_NODE_PREFIX)]
|
---|
390 | HRESULT prefix([retval, out] BSTR *p);
|
---|
391 |
|
---|
392 | [propget, id(DISPID_XMLDOM_NODE_BASENAME)]
|
---|
393 | HRESULT baseName([retval, out] BSTR *p);
|
---|
394 |
|
---|
395 | [id(DISPID_XMLDOM_NODE_TRANSFORMNODETOOBJECT)]
|
---|
396 | HRESULT transformNodeToObject(
|
---|
397 | [in] IXMLDOMNode *domNode,
|
---|
398 | [in] VARIANT var1);
|
---|
399 | }
|
---|
400 |
|
---|
401 | [
|
---|
402 | local,
|
---|
403 | object,
|
---|
404 | uuid (2933BF81-7B36-11d2-B20E-00C04F983E60)
|
---|
405 | ]
|
---|
406 | interface IXMLDOMDocument : IXMLDOMNode
|
---|
407 | {
|
---|
408 | [propget, id(DISPID_DOM_DOCUMENT_DOCTYPE)]
|
---|
409 | HRESULT doctype([retval, out] IXMLDOMDocumentType **docType);
|
---|
410 |
|
---|
411 | [propget, id(DISPID_DOM_DOCUMENT_IMPLEMENTATION)]
|
---|
412 | HRESULT implementation([retval, out] IXMLDOMImplementation **impl);
|
---|
413 |
|
---|
414 | [propget, id(DISPID_DOM_DOCUMENT_DOCUMENTELEMENT)]
|
---|
415 | HRESULT documentElement([retval, out] IXMLDOMElement **domElement);
|
---|
416 |
|
---|
417 | [propputref, id(DISPID_DOM_DOCUMENT_DOCUMENTELEMENT)]
|
---|
418 | HRESULT documentElement([in] IXMLDOMElement *domElement);
|
---|
419 |
|
---|
420 | [id(DISPID_DOM_DOCUMENT_CREATEELEMENT)]
|
---|
421 | HRESULT createElement(
|
---|
422 | [in] BSTR p,
|
---|
423 | [retval, out] IXMLDOMElement **domElement);
|
---|
424 |
|
---|
425 | [id(DISPID_DOM_DOCUMENT_CREATEDOCUMENTFRAGMENT)]
|
---|
426 | HRESULT createDocumentFragment(
|
---|
427 | [retval, out] IXMLDOMDocumentFragment **docFrag);
|
---|
428 |
|
---|
429 | [id(DISPID_DOM_DOCUMENT_CREATETEXTNODE)]
|
---|
430 | HRESULT createTextNode(
|
---|
431 | [in] BSTR p,
|
---|
432 | [retval, out] IXMLDOMText **text);
|
---|
433 |
|
---|
434 | [id(DISPID_DOM_DOCUMENT_CREATECOMMENT)]
|
---|
435 | HRESULT createComment(
|
---|
436 | [in] BSTR p,
|
---|
437 | [retval, out] IXMLDOMComment **comment);
|
---|
438 |
|
---|
439 | [id(DISPID_DOM_DOCUMENT_CREATECDATASECTION)]
|
---|
440 | HRESULT createCDATASection(
|
---|
441 | [in] BSTR p,
|
---|
442 | [retval, out] IXMLDOMCDATASection **cdata);
|
---|
443 |
|
---|
444 | [id(DISPID_DOM_DOCUMENT_CREATEPROCESSINGINSTRUCTION)]
|
---|
445 | HRESULT createProcessingInstruction(
|
---|
446 | [in] BSTR target,
|
---|
447 | [in] BSTR data,
|
---|
448 | [retval, out] IXMLDOMProcessingInstruction **pi);
|
---|
449 |
|
---|
450 | [id(DISPID_DOM_DOCUMENT_CREATEATTRIBUTE)]
|
---|
451 | HRESULT createAttribute(
|
---|
452 | [in] BSTR p,
|
---|
453 | [retval, out] IXMLDOMAttribute **attribute);
|
---|
454 |
|
---|
455 | [id(DISPID_DOM_DOCUMENT_CREATEENTITYREFERENCE)]
|
---|
456 | HRESULT createEntityReference(
|
---|
457 | [in] BSTR p,
|
---|
458 | [retval, out] IXMLDOMEntityReference **entityRef);
|
---|
459 |
|
---|
460 | [id(DISPID_DOM_DOCUMENT_GETELEMENTSBYTAGNAME)]
|
---|
461 | HRESULT getElementsByTagName(
|
---|
462 | [in] BSTR p,
|
---|
463 | [retval, out] IXMLDOMNodeList **resultList);
|
---|
464 |
|
---|
465 | [id(DISPID_XMLDOM_DOCUMENT_CREATENODE)]
|
---|
466 | HRESULT createNode(
|
---|
467 | [in] VARIANT var,
|
---|
468 | [in] BSTR name,
|
---|
469 | [in] BSTR uri,
|
---|
470 | [retval, out] IXMLDOMNode **node);
|
---|
471 |
|
---|
472 | [id(DISPID_XMLDOM_DOCUMENT_NODEFROMID)]
|
---|
473 | HRESULT nodeFromID(
|
---|
474 | [in] BSTR id,
|
---|
475 | [retval, out] IXMLDOMNode **node);
|
---|
476 |
|
---|
477 | [id(DISPID_XMLDOM_DOCUMENT_LOAD)]
|
---|
478 | HRESULT load(
|
---|
479 | [in] VARIANT var1,
|
---|
480 | [retval, out] VARIANT_BOOL *pbool);
|
---|
481 |
|
---|
482 | [propget, id(DISPID_READYSTATE)]
|
---|
483 | HRESULT readyState([retval, out] LONG *value);
|
---|
484 |
|
---|
485 | [propget, id(DISPID_XMLDOM_DOCUMENT_PARSEERROR)]
|
---|
486 | HRESULT parseError([retval, out] IXMLDOMParseError **err);
|
---|
487 |
|
---|
488 | [propget, id(DISPID_XMLDOM_DOCUMENT_URL)]
|
---|
489 | HRESULT url([retval, out] BSTR *p);
|
---|
490 |
|
---|
491 | [propget, id(DISPID_XMLDOM_DOCUMENT_ASYNC)]
|
---|
492 | HRESULT async([retval, out] VARIANT_BOOL *pbool);
|
---|
493 |
|
---|
494 | [propput, id(DISPID_XMLDOM_DOCUMENT_ASYNC)]
|
---|
495 | HRESULT async([in] VARIANT_BOOL pbool);
|
---|
496 |
|
---|
497 | [id(DISPID_XMLDOM_DOCUMENT_ABORT)]
|
---|
498 | HRESULT abort();
|
---|
499 |
|
---|
500 | [id(DISPID_XMLDOM_DOCUMENT_LOADXML)]
|
---|
501 | HRESULT loadXML(
|
---|
502 | [in] BSTR p,
|
---|
503 | [out, retval] VARIANT_BOOL *pbool);
|
---|
504 |
|
---|
505 | [id(DISPID_XMLDOM_DOCUMENT_SAVE)]
|
---|
506 | HRESULT save(
|
---|
507 | [in] VARIANT var1);
|
---|
508 |
|
---|
509 | [propget, id(DISPID_XMLDOM_DOCUMENT_VALIDATE)]
|
---|
510 | HRESULT validateOnParse([retval, out] VARIANT_BOOL *pbool);
|
---|
511 |
|
---|
512 | [propput, id(DISPID_XMLDOM_DOCUMENT_VALIDATE)]
|
---|
513 | HRESULT validateOnParse([in] VARIANT_BOOL pbool);
|
---|
514 |
|
---|
515 | [propget, id(DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE)]
|
---|
516 | HRESULT resolveExternals([retval,out] VARIANT_BOOL *pbool);
|
---|
517 |
|
---|
518 | [propput, id(DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE)]
|
---|
519 | HRESULT resolveExternals([in] VARIANT_BOOL pbool);
|
---|
520 |
|
---|
521 | [propget, id(DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE)]
|
---|
522 | HRESULT preserveWhiteSpace([retval,out] VARIANT_BOOL *pbool);
|
---|
523 |
|
---|
524 | [propput, id(DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE)]
|
---|
525 | HRESULT preserveWhiteSpace([in] VARIANT_BOOL pbool);
|
---|
526 |
|
---|
527 | [propput, id(DISPID_XMLDOM_DOCUMENT_ONREADYSTATECHANGE)]
|
---|
528 | HRESULT onreadystatechange([in] VARIANT var1);
|
---|
529 |
|
---|
530 | [propput, id(DISPID_XMLDOM_DOCUMENT_ONDATAAVAILABLE)]
|
---|
531 | HRESULT ondataavailable([in] VARIANT var1);
|
---|
532 |
|
---|
533 | [propput, id(DISPID_XMLDOM_DOCUMENT_ONTRANSFORMNODE)]
|
---|
534 | HRESULT ontransformnode([in] VARIANT var1);
|
---|
535 | }
|
---|
536 |
|
---|
537 | [
|
---|
538 | local,
|
---|
539 | object,
|
---|
540 | uuid (373984c8-b845-449b-91e7-45ac83036ade)
|
---|
541 | ]
|
---|
542 | interface IXMLDOMSchemaCollection : IDispatch
|
---|
543 | {
|
---|
544 | [id(DISPID_XMLDOM_SCHEMACOLLECTION_ADD)]
|
---|
545 | HRESULT add(
|
---|
546 | [in] BSTR uri,
|
---|
547 | [in] VARIANT var);
|
---|
548 |
|
---|
549 | [id(DISPID_XMLDOM_SCHEMACOLLECTION_GET)]
|
---|
550 | HRESULT get(
|
---|
551 | [in] BSTR uri,
|
---|
552 | [retval, out] IXMLDOMNode **node);
|
---|
553 |
|
---|
554 | [id(DISPID_XMLDOM_SCHEMACOLLECTION_REMOVE)]
|
---|
555 | HRESULT remove(
|
---|
556 | [in] BSTR uri);
|
---|
557 |
|
---|
558 | [propget, id(DISPID_XMLDOM_SCHEMACOLLECTION_LENGTH)]
|
---|
559 | HRESULT length(
|
---|
560 | [retval, out] LONG *length);
|
---|
561 |
|
---|
562 | [propget, id(DISPID_VALUE)]
|
---|
563 | HRESULT namespaceURI([in] LONG index, [out, retval] BSTR *len);
|
---|
564 |
|
---|
565 | [id(DISPID_XMLDOM_SCHEMACOLLECTION_ADDCOLLECTION)]
|
---|
566 | HRESULT addCollection(
|
---|
567 | [in] IXMLDOMSchemaCollection *otherCollection);
|
---|
568 |
|
---|
569 | [propget, id(DISPID_NEWENUM)]
|
---|
570 | HRESULT _newEnum([retval, out] IUnknown **ppUnk);
|
---|
571 | }
|
---|
572 |
|
---|
573 | [
|
---|
574 | local,
|
---|
575 | object,
|
---|
576 | uuid(50ea08b0-dd1b-4664-9a50-c2f40f4bd79a),
|
---|
577 | ]
|
---|
578 | interface IXMLDOMSchemaCollection2 : IXMLDOMSchemaCollection
|
---|
579 | {
|
---|
580 | [id(DISPID_SOM_VALIDATE)]
|
---|
581 | HRESULT validate();
|
---|
582 |
|
---|
583 | [propput, id(DISPID_SOM_VALIDATEONLOAD)]
|
---|
584 | HRESULT validateOnLoad(
|
---|
585 | [in] VARIANT_BOOL validateOnLoad);
|
---|
586 |
|
---|
587 | [propget, id(DISPID_SOM_VALIDATEONLOAD)]
|
---|
588 | HRESULT validateOnLoad(
|
---|
589 | [out,retval] VARIANT_BOOL* validateOnLoad);
|
---|
590 |
|
---|
591 | [id(DISPID_SOM_GETSCHEMA)]
|
---|
592 | HRESULT getSchema(
|
---|
593 | [in] BSTR namespaceURI,
|
---|
594 | [out,retval] ISchema** schema);
|
---|
595 |
|
---|
596 | [id(DISPID_SOM_GETDECLARATION)]
|
---|
597 | HRESULT getDeclaration(
|
---|
598 | [in] IXMLDOMNode* node,
|
---|
599 | [out,retval]ISchemaItem** item);
|
---|
600 | };
|
---|
601 |
|
---|
602 | [
|
---|
603 | local,
|
---|
604 | object,
|
---|
605 | uuid (2933BF95-7B36-11d2-B20E-00C04F983E60)
|
---|
606 | ]
|
---|
607 | interface IXMLDOMDocument2 : IXMLDOMDocument
|
---|
608 | {
|
---|
609 | [propget, id(DISPID_XMLDOM_DOCUMENT2_NAMESPACES)]
|
---|
610 | HRESULT namespaces([retval, out] IXMLDOMSchemaCollection **schemaCollection);
|
---|
611 |
|
---|
612 | [propget, id(DISPID_XMLDOM_DOCUMENT2_SCHEMAS)]
|
---|
613 | HRESULT schemas([retval, out] VARIANT *var1);
|
---|
614 |
|
---|
615 | [propputref, id(DISPID_XMLDOM_DOCUMENT2_SCHEMAS)]
|
---|
616 | HRESULT schemas([in] VARIANT var1);
|
---|
617 |
|
---|
618 | [id(DISPID_XMLDOM_DOCUMENT2_VALIDATE)]
|
---|
619 | HRESULT validate(
|
---|
620 | [retval, out] IXMLDOMParseError **err);
|
---|
621 |
|
---|
622 | [id(DISPID_XMLDOM_DOCUMENT2_SETPROPERTY)]
|
---|
623 | HRESULT setProperty(
|
---|
624 | [in] BSTR p,
|
---|
625 | [in] VARIANT var);
|
---|
626 |
|
---|
627 | [id(DISPID_XMLDOM_DOCUMENT2_GETPROPERTY)]
|
---|
628 | HRESULT getProperty(
|
---|
629 | [in] BSTR p,
|
---|
630 | [retval, out] VARIANT *var);
|
---|
631 | }
|
---|
632 |
|
---|
633 | [
|
---|
634 | local,
|
---|
635 | object,
|
---|
636 | uuid (2933BF82-7B36-11d2-B20E-00C04F983E60)
|
---|
637 | ]
|
---|
638 | interface IXMLDOMNodeList : IDispatch
|
---|
639 | {
|
---|
640 | [propget, id(DISPID_VALUE)]
|
---|
641 | HRESULT item([in] LONG lIndex, [retval, out] IXMLDOMNode **outNode);
|
---|
642 |
|
---|
643 | [propget, id(DISPID_DOM_NODELIST_LENGTH)]
|
---|
644 | HRESULT length([retval, out] LONG *lLength);
|
---|
645 |
|
---|
646 | [id(DISPID_XMLDOM_NODELIST_NEXTNODE)]
|
---|
647 | HRESULT nextNode(
|
---|
648 | [retval, out] IXMLDOMNode **outNode);
|
---|
649 |
|
---|
650 | [id(DISPID_XMLDOM_NODELIST_RESET)]
|
---|
651 | HRESULT reset();
|
---|
652 |
|
---|
653 | [propget, id(DISPID_NEWENUM)]
|
---|
654 | HRESULT _newEnum([retval, out] IUnknown **ppUnk);
|
---|
655 | }
|
---|
656 |
|
---|
657 | [
|
---|
658 | local,
|
---|
659 | object,
|
---|
660 | uuid (AA634FC7-5888-44a7-A257-3A47150D3A0E)
|
---|
661 | ]
|
---|
662 | interface IXMLDOMSelection : IXMLDOMNodeList
|
---|
663 | {
|
---|
664 | [propget, id(DISPID_XMLDOM_SELECTION_EXPR)]
|
---|
665 | HRESULT expr([retval, out] BSTR *p);
|
---|
666 |
|
---|
667 | [propput, id(DISPID_XMLDOM_SELECTION_EXPR)]
|
---|
668 | HRESULT expr([in] BSTR p);
|
---|
669 |
|
---|
670 | [propget, id(DISPID_XMLDOM_SELECTION_CONTEXT)]
|
---|
671 | HRESULT context([retval, out] IXMLDOMNode **ppNode);
|
---|
672 |
|
---|
673 | [propputref, id(DISPID_XMLDOM_SELECTION_CONTEXT)]
|
---|
674 | HRESULT context([in] IXMLDOMNode * pNode);
|
---|
675 |
|
---|
676 | [id(DISPID_XMLDOM_SELECTION_PEEKNODE)]
|
---|
677 | HRESULT peekNode(
|
---|
678 | [retval, out] IXMLDOMNode **ppNode);
|
---|
679 |
|
---|
680 | [id(DISPID_XMLDOM_SELECTION_MATCHES)]
|
---|
681 | HRESULT matches(
|
---|
682 | [in] IXMLDOMNode *pNode,
|
---|
683 | [retval, out] IXMLDOMNode **ppNode);
|
---|
684 |
|
---|
685 | [id(DISPID_XMLDOM_SELECTION_REMOVENEXT)]
|
---|
686 | HRESULT removeNext(
|
---|
687 | [retval, out] IXMLDOMNode **ppNode);
|
---|
688 |
|
---|
689 | [id(DISPID_XMLDOM_SELECTION_REMOVEALL)]
|
---|
690 | HRESULT removeAll();
|
---|
691 |
|
---|
692 | [id(DISPID_XMLDOM_SELECTION_CLONE)]
|
---|
693 | HRESULT clone(
|
---|
694 | [retval, out] IXMLDOMSelection **ppNode);
|
---|
695 |
|
---|
696 | [id(DISPID_XMLDOM_SELECTION_GETPROPERTY)]
|
---|
697 | HRESULT getProperty(
|
---|
698 | [in] BSTR p,
|
---|
699 | [retval, out] VARIANT * var);
|
---|
700 |
|
---|
701 | [id(DISPID_XMLDOM_SELECTION_SETPROPERTY)]
|
---|
702 | HRESULT setProperty(
|
---|
703 | [in] BSTR p,
|
---|
704 | [in] VARIANT var);
|
---|
705 | }
|
---|
706 |
|
---|
707 | [
|
---|
708 | local,
|
---|
709 | object,
|
---|
710 | uuid (2933BF83-7B36-11d2-B20E-00C04F983E60)
|
---|
711 | ]
|
---|
712 | interface IXMLDOMNamedNodeMap : IDispatch
|
---|
713 | {
|
---|
714 | [id(DISPID_DOM_NAMEDNODEMAP_GETNAMEDITEM)]
|
---|
715 | HRESULT getNamedItem(
|
---|
716 | [in] BSTR p,
|
---|
717 | [retval, out] IXMLDOMNode **outNode);
|
---|
718 |
|
---|
719 | [id(DISPID_DOM_NAMEDNODEMAP_SETNAMEDITEM)]
|
---|
720 | HRESULT setNamedItem(
|
---|
721 | [in] IXMLDOMNode *newNode,
|
---|
722 | [retval, out] IXMLDOMNode **outNode);
|
---|
723 |
|
---|
724 | [id(DISPID_DOM_NAMEDNODEMAP_REMOVENAMEDITEM)]
|
---|
725 | HRESULT removeNamedItem(
|
---|
726 | [in] BSTR p,
|
---|
727 | [retval, out] IXMLDOMNode **outNode);
|
---|
728 |
|
---|
729 | [propget, id(DISPID_VALUE)]
|
---|
730 | HRESULT item([in] LONG lIndex, [retval, out] IXMLDOMNode **outNode);
|
---|
731 |
|
---|
732 | [propget, id(DISPID_DOM_NODELIST_LENGTH)]
|
---|
733 | HRESULT length([retval, out] LONG *lLength);
|
---|
734 |
|
---|
735 | [id(DISPID_XMLDOM_NAMEDNODEMAP_GETQUALIFIEDITEM)]
|
---|
736 | HRESULT getQualifiedItem(
|
---|
737 | [in] BSTR name,
|
---|
738 | [in] BSTR uri,
|
---|
739 | [retval, out] IXMLDOMNode **outNode);
|
---|
740 |
|
---|
741 | [id(DISPID_XMLDOM_NAMEDNODEMAP_REMOVEQUALIFIEDITEM)]
|
---|
742 | HRESULT removeQualifiedItem(
|
---|
743 | [in] BSTR name,
|
---|
744 | [in] BSTR uri,
|
---|
745 | [retval, out] IXMLDOMNode **outNode);
|
---|
746 |
|
---|
747 | [id(DISPID_XMLDOM_NAMEDNODEMAP_NEXTNODE)]
|
---|
748 | HRESULT nextNode(
|
---|
749 | [retval, out] IXMLDOMNode **outNode);
|
---|
750 |
|
---|
751 | [id(DISPID_XMLDOM_NAMEDNODEMAP_RESET)]
|
---|
752 | HRESULT reset();
|
---|
753 |
|
---|
754 | [propget, id(DISPID_NEWENUM)]
|
---|
755 | HRESULT _newEnum([retval, out] IUnknown **ppUnk);
|
---|
756 | }
|
---|
757 |
|
---|
758 | [
|
---|
759 | local,
|
---|
760 | object,
|
---|
761 | uuid (3efaa413-272f-11d2-836f-0000f87a7782)
|
---|
762 | ]
|
---|
763 | interface IXMLDOMDocumentFragment : IXMLDOMNode
|
---|
764 | {
|
---|
765 | }
|
---|
766 |
|
---|
767 | [
|
---|
768 | local,
|
---|
769 | object,
|
---|
770 | uuid (2933BF84-7B36-11d2-B20E-00C04F983E60)
|
---|
771 | ]
|
---|
772 | interface IXMLDOMCharacterData : IXMLDOMNode
|
---|
773 | {
|
---|
774 | [propget, id(DISPID_DOM_DATA_DATA)]
|
---|
775 | HRESULT data([retval, out] BSTR *p);
|
---|
776 |
|
---|
777 | [propput, id(DISPID_DOM_DATA_DATA)]
|
---|
778 | HRESULT data([in] BSTR data);
|
---|
779 |
|
---|
780 | [propget, id(DISPID_DOM_DATA_LENGTH)]
|
---|
781 | HRESULT length([retval, out] LONG *len);
|
---|
782 |
|
---|
783 | [id(DISPID_DOM_DATA_SUBSTRING)]
|
---|
784 | HRESULT substringData(
|
---|
785 | [in] LONG offset,
|
---|
786 | [in] LONG count,
|
---|
787 | [retval, out] BSTR *p);
|
---|
788 |
|
---|
789 | [id(DISPID_DOM_DATA_APPEND)]
|
---|
790 | HRESULT appendData(
|
---|
791 | [in] BSTR p);
|
---|
792 |
|
---|
793 | [id(DISPID_DOM_DATA_INSERT)]
|
---|
794 | HRESULT insertData(
|
---|
795 | [in] LONG offset,
|
---|
796 | [in] BSTR p);
|
---|
797 |
|
---|
798 | [id(DISPID_DOM_DATA_DELETE)]
|
---|
799 | HRESULT deleteData(
|
---|
800 | [in] LONG offset,
|
---|
801 | [in] LONG count);
|
---|
802 |
|
---|
803 | [id(DISPID_DOM_DATA_REPLACE)]
|
---|
804 | HRESULT replaceData(
|
---|
805 | [in] LONG offset,
|
---|
806 | [in] LONG count,
|
---|
807 | [in] BSTR p);
|
---|
808 | }
|
---|
809 |
|
---|
810 | [
|
---|
811 | local,
|
---|
812 | object,
|
---|
813 | uuid (2933BF85-7B36-11d2-B20E-00C04F983E60)
|
---|
814 | ]
|
---|
815 | interface IXMLDOMAttribute : IXMLDOMNode
|
---|
816 | {
|
---|
817 | [propget, id(DISPID_DOM_ATTRIBUTE_GETNAME)]
|
---|
818 | HRESULT name([retval, out] BSTR *p);
|
---|
819 |
|
---|
820 | [propget, id(DISPID_DOM_ATTRIBUTE_VALUE)]
|
---|
821 | HRESULT value([retval, out] VARIANT *var1);
|
---|
822 |
|
---|
823 | [propput, id(DISPID_DOM_ATTRIBUTE_VALUE)]
|
---|
824 | HRESULT value([in] VARIANT var1);
|
---|
825 | }
|
---|
826 |
|
---|
827 | [
|
---|
828 | local,
|
---|
829 | object,
|
---|
830 | uuid (2933BF86-7B36-11d2-B20E-00C04F983E60)
|
---|
831 | ]
|
---|
832 | interface IXMLDOMElement : IXMLDOMNode
|
---|
833 | {
|
---|
834 | [propget, id(DISPID_DOM_ELEMENT_GETTAGNAME)]
|
---|
835 | HRESULT tagName([retval, out] BSTR *p);
|
---|
836 |
|
---|
837 | [id(DISPID_DOM_ELEMENT_GETATTRIBUTE)]
|
---|
838 | HRESULT getAttribute(
|
---|
839 | [in] BSTR p,
|
---|
840 | [retval, out] VARIANT *var);
|
---|
841 |
|
---|
842 | [id(DISPID_DOM_ELEMENT_SETATTRIBUTE)]
|
---|
843 | HRESULT setAttribute(
|
---|
844 | [in] BSTR p,
|
---|
845 | [in] VARIANT var);
|
---|
846 |
|
---|
847 | [id(DISPID_DOM_ELEMENT_REMOVEATTRIBUTE)]
|
---|
848 | HRESULT removeAttribute(
|
---|
849 | [in] BSTR p);
|
---|
850 |
|
---|
851 | [id(DISPID_DOM_ELEMENT_GETATTRIBUTENODE)]
|
---|
852 | HRESULT getAttributeNode(
|
---|
853 | [in] BSTR p,
|
---|
854 | [retval, out] IXMLDOMAttribute **attributeNode);
|
---|
855 |
|
---|
856 | [id(DISPID_DOM_ELEMENT_SETATTRIBUTENODE)]
|
---|
857 | HRESULT setAttributeNode(
|
---|
858 | [in] IXMLDOMAttribute *domAttribute,
|
---|
859 | [retval, out] IXMLDOMAttribute **attributeNode);
|
---|
860 |
|
---|
861 | [id(DISPID_DOM_ELEMENT_REMOVEATTRIBUTENODE)]
|
---|
862 | HRESULT removeAttributeNode(
|
---|
863 | [in] IXMLDOMAttribute *domAttribute,
|
---|
864 | [retval, out] IXMLDOMAttribute **attributeNode);
|
---|
865 |
|
---|
866 | [id(DISPID_DOM_ELEMENT_GETELEMENTSBYTAGNAME)]
|
---|
867 | HRESULT getElementsByTagName(
|
---|
868 | [in] BSTR p,
|
---|
869 | [retval, out] IXMLDOMNodeList **resultList);
|
---|
870 |
|
---|
871 | [id(DISPID_DOM_ELEMENT_NORMALIZE)]
|
---|
872 | HRESULT normalize();
|
---|
873 | }
|
---|
874 |
|
---|
875 | [
|
---|
876 | local,
|
---|
877 | object,
|
---|
878 | uuid (2933BF87-7B36-11d2-B20E-00C04F983E60)
|
---|
879 | ]
|
---|
880 | interface IXMLDOMText : IXMLDOMCharacterData
|
---|
881 | {
|
---|
882 | [id(DISPID_DOM_TEXT_SPLITTEXT)]
|
---|
883 | HRESULT splitText(
|
---|
884 | [in] LONG offset,
|
---|
885 | [retval, out] IXMLDOMText **txtNode);
|
---|
886 | }
|
---|
887 |
|
---|
888 | [
|
---|
889 | local,
|
---|
890 | object,
|
---|
891 | uuid (2933BF88-7B36-11d2-B20E-00C04F983E60)
|
---|
892 | ]
|
---|
893 | interface IXMLDOMComment : IXMLDOMCharacterData
|
---|
894 | {
|
---|
895 | }
|
---|
896 |
|
---|
897 | [
|
---|
898 | local,
|
---|
899 | object,
|
---|
900 | uuid (2933BF89-7B36-11d2-B20E-00C04F983E60)
|
---|
901 | ]
|
---|
902 | interface IXMLDOMProcessingInstruction : IXMLDOMNode
|
---|
903 | {
|
---|
904 | [propget, id(DISPID_DOM_PI_TARGET)]
|
---|
905 | HRESULT target([retval, out] BSTR *p);
|
---|
906 |
|
---|
907 | [propget, id(DISPID_DOM_PI_DATA)]
|
---|
908 | HRESULT data([retval, out] BSTR *p);
|
---|
909 |
|
---|
910 | [propput, id(DISPID_DOM_PI_DATA)]
|
---|
911 | HRESULT data([in] BSTR p);
|
---|
912 | }
|
---|
913 |
|
---|
914 | [
|
---|
915 | local,
|
---|
916 | object,
|
---|
917 | uuid (2933BF8A-7B36-11d2-B20E-00C04F983E60)
|
---|
918 | ]
|
---|
919 | interface IXMLDOMCDATASection : IXMLDOMText
|
---|
920 | {
|
---|
921 | }
|
---|
922 |
|
---|
923 | [
|
---|
924 | local,
|
---|
925 | object,
|
---|
926 | uuid (2933BF8B-7B36-11d2-B20E-00C04F983E60)
|
---|
927 | ]
|
---|
928 | interface IXMLDOMDocumentType : IXMLDOMNode
|
---|
929 | {
|
---|
930 | [propget, id(DISPID_DOM_DOCUMENTTYPE_NAME)]
|
---|
931 | HRESULT name([retval, out] BSTR *p);
|
---|
932 |
|
---|
933 | [propget, id(DISPID_DOM_DOCUMENTTYPE_ENTITIES)]
|
---|
934 | HRESULT entities([retval, out] IXMLDOMNamedNodeMap **entityMap);
|
---|
935 |
|
---|
936 | [propget, id(DISPID_DOM_DOCUMENTTYPE_NOTATIONS)]
|
---|
937 | HRESULT notations([retval, out] IXMLDOMNamedNodeMap **notationMap);
|
---|
938 | }
|
---|
939 |
|
---|
940 | [
|
---|
941 | local,
|
---|
942 | object,
|
---|
943 | uuid (2933BF8C-7B36-11d2-B20E-00C04F983E60)
|
---|
944 | ]
|
---|
945 | interface IXMLDOMNotation : IXMLDOMNode
|
---|
946 | {
|
---|
947 | [propget, id(DISPID_DOM_NOTATION_PUBLICID)]
|
---|
948 | HRESULT publicId([retval, out] VARIANT *id);
|
---|
949 |
|
---|
950 | [propget, id(DISPID_DOM_NOTATION_SYSTEMID)]
|
---|
951 | HRESULT systemId([retval, out] VARIANT *id);
|
---|
952 | }
|
---|
953 |
|
---|
954 | [
|
---|
955 | local,
|
---|
956 | object,
|
---|
957 | uuid (2933BF8D-7B36-11d2-B20E-00C04F983E60)
|
---|
958 | ]
|
---|
959 | interface IXMLDOMEntity : IXMLDOMNode
|
---|
960 | {
|
---|
961 | [propget, id(DISPID_DOM_ENTITY_PUBLICID)]
|
---|
962 | HRESULT publicId([retval, out] VARIANT *id1);
|
---|
963 |
|
---|
964 | [propget, id(DISPID_DOM_ENTITY_SYSTEMID)]
|
---|
965 | HRESULT systemId([retval, out] VARIANT *id1);
|
---|
966 |
|
---|
967 | [propget, id(DISPID_DOM_ENTITY_NOTATIONNAME)]
|
---|
968 | HRESULT notationName([retval, out] BSTR *p);
|
---|
969 | }
|
---|
970 |
|
---|
971 | [
|
---|
972 | local,
|
---|
973 | object,
|
---|
974 | uuid (2933BF8E-7B36-11d2-B20E-00C04F983E60)
|
---|
975 | ]
|
---|
976 | interface IXMLDOMEntityReference : IXMLDOMNode
|
---|
977 | {
|
---|
978 | }
|
---|
979 |
|
---|
980 | [
|
---|
981 | local,
|
---|
982 | object,
|
---|
983 | uuid (2933BF8F-7B36-11d2-B20E-00C04F983E60)
|
---|
984 | ]
|
---|
985 | interface IXMLDOMImplementation : IDispatch
|
---|
986 | {
|
---|
987 | [id(DISPID_DOM_IMPLEMENTATION_HASFEATURE)]
|
---|
988 | HRESULT hasFeature(
|
---|
989 | [in] BSTR feature,
|
---|
990 | [in] BSTR version,
|
---|
991 | [retval, out] VARIANT_BOOL *pbool);
|
---|
992 | }
|
---|
993 |
|
---|
994 | [
|
---|
995 | local,
|
---|
996 | object,
|
---|
997 | uuid (3efaa425-272f-11d2-836f-0000f87a7782)
|
---|
998 | ]
|
---|
999 | interface IXTLRuntime : IXMLDOMNode
|
---|
1000 | {
|
---|
1001 | [id(DISPID_XTLRUNTIME_UNIQUEID)]
|
---|
1002 | HRESULT uniqueID(
|
---|
1003 | [in]IXMLDOMNode *pNode,
|
---|
1004 | [retval, out]LONG *pID);
|
---|
1005 |
|
---|
1006 | [id(DISPID_XTLRUNTIME_DEPTH)]
|
---|
1007 | HRESULT depth(
|
---|
1008 | [in] IXMLDOMNode *pNode,
|
---|
1009 | [retval, out]LONG * pDepth);
|
---|
1010 |
|
---|
1011 | [id(DISPID_XTLRUNTIME_CHILDNUMBER)]
|
---|
1012 | HRESULT childNumber(
|
---|
1013 | [in]IXMLDOMNode *pNode,
|
---|
1014 | [retval, out] LONG *pNumber);
|
---|
1015 |
|
---|
1016 | [id(DISPID_XTLRUNTIME_ANCESTORCHILDNUMBER)]
|
---|
1017 | HRESULT ancestorChildNumber(
|
---|
1018 | [in]BSTR bstr,
|
---|
1019 | [in]IXMLDOMNode *pNode,
|
---|
1020 | [retval, out]LONG *pNumber);
|
---|
1021 |
|
---|
1022 | [id(DISPID_XTLRUNTIME_ABSOLUTECHILDNUMBER)]
|
---|
1023 | HRESULT absoluteChildNumber(
|
---|
1024 | [in]IXMLDOMNode *pNode,
|
---|
1025 | [retval, out]LONG *pNumber);
|
---|
1026 |
|
---|
1027 | [id(DISPID_XTLRUNTIME_FORMATINDEX)]
|
---|
1028 | HRESULT formatIndex(
|
---|
1029 | [in] LONG lIndex,
|
---|
1030 | [in] BSTR bstr,
|
---|
1031 | [retval, out]BSTR *pbstr);
|
---|
1032 |
|
---|
1033 | [id(DISPID_XTLRUNTIME_FORMATNUMBER)]
|
---|
1034 | HRESULT formatNumber(
|
---|
1035 | [in] double dblNumber,
|
---|
1036 | [in] BSTR bstr,
|
---|
1037 | [retval, out]BSTR *pbstr);
|
---|
1038 |
|
---|
1039 | [id(DISPID_XTLRUNTIME_FORMATDATE)]
|
---|
1040 | HRESULT formatDate(
|
---|
1041 | [in] VARIANT var1,
|
---|
1042 | [in] BSTR bstr,
|
---|
1043 | [optional, in] VARIANT var2,
|
---|
1044 | [retval, out]BSTR *pbstr);
|
---|
1045 |
|
---|
1046 | [id(DISPID_XTLRUNTIME_FORMATTIME)]
|
---|
1047 | HRESULT formatTime(
|
---|
1048 | [in] VARIANT var1,
|
---|
1049 | [in] BSTR bstr,
|
---|
1050 | [optional, in] VARIANT var2,
|
---|
1051 | [retval, out]BSTR *pbstr);
|
---|
1052 |
|
---|
1053 | }
|
---|
1054 |
|
---|
1055 | [
|
---|
1056 | uuid(3efaa427-272f-11d2-836f-0000f87a7782)
|
---|
1057 | ]
|
---|
1058 | dispinterface XMLDOMDocumentEvents
|
---|
1059 | {
|
---|
1060 | properties:
|
---|
1061 | methods:
|
---|
1062 | [id (DISPID_XMLDOMEVENT_ONDATAAVAILABLE)]
|
---|
1063 | HRESULT ondataavailable();
|
---|
1064 |
|
---|
1065 | [id (DISPID_XMLDOMEVENT_ONREADYSTATECHANGE)]
|
---|
1066 | HRESULT onreadystatechange();
|
---|
1067 | }
|
---|
1068 |
|
---|
1069 | [
|
---|
1070 | local,
|
---|
1071 | object,
|
---|
1072 | uuid (2933BF92-7B36-11d2-B20E-00C04F983E60)
|
---|
1073 | ]
|
---|
1074 | interface IXSLProcessor : IDispatch
|
---|
1075 | {
|
---|
1076 | [propput, id(DISPID_XMLDOM_PROCESSOR_INPUT)]
|
---|
1077 | HRESULT input([in] VARIANT var);
|
---|
1078 |
|
---|
1079 | [propget, id(DISPID_XMLDOM_PROCESSOR_INPUT)]
|
---|
1080 | HRESULT input([retval, out] VARIANT *var);
|
---|
1081 |
|
---|
1082 | [propget, id(DISPID_XMLDOM_PROCESSOR_XSLTEMPLATE)]
|
---|
1083 | HRESULT ownerTemplate([retval, out] IXSLTemplate **ppTemplate);
|
---|
1084 |
|
---|
1085 | [id(DISPID_XMLDOM_PROCESSOR_SETSTARTMODE)]
|
---|
1086 | HRESULT setStartMode(
|
---|
1087 | [in] BSTR p,
|
---|
1088 | [in, defaultvalue("")] BSTR uri);
|
---|
1089 |
|
---|
1090 | [propget, id(DISPID_XMLDOM_PROCESSOR_STARTMODE)]
|
---|
1091 | HRESULT startMode([retval, out] BSTR *p);
|
---|
1092 |
|
---|
1093 | [propget, id(DISPID_XMLDOM_PROCESSOR_STARTMODEURI)]
|
---|
1094 | HRESULT startModeURI([retval, out] BSTR *uri);
|
---|
1095 |
|
---|
1096 | [propput, id(DISPID_XMLDOM_PROCESSOR_OUTPUT)]
|
---|
1097 | HRESULT output([in] VARIANT var);
|
---|
1098 |
|
---|
1099 | [propget, id(DISPID_XMLDOM_PROCESSOR_OUTPUT)]
|
---|
1100 | HRESULT output([retval, out] VARIANT *var);
|
---|
1101 |
|
---|
1102 | [id(DISPID_XMLDOM_PROCESSOR_TRANSFORM)]
|
---|
1103 | HRESULT transform(
|
---|
1104 | [retval, out] VARIANT_BOOL *pbool);
|
---|
1105 |
|
---|
1106 | [id(DISPID_XMLDOM_PROCESSOR_RESET)]
|
---|
1107 | HRESULT reset();
|
---|
1108 |
|
---|
1109 | [propget, id(DISPID_XMLDOM_PROCESSOR_READYSTATE)]
|
---|
1110 | HRESULT readyState([retval, out] LONG *pstate);
|
---|
1111 |
|
---|
1112 | [id(DISPID_XMLDOM_PROCESSOR_ADDPARAMETER)]
|
---|
1113 | HRESULT addParameter(
|
---|
1114 | [in] BSTR p,
|
---|
1115 | [in] VARIANT var,
|
---|
1116 | [in, defaultvalue("")] BSTR uri);
|
---|
1117 |
|
---|
1118 | [id(DISPID_XMLDOM_PROCESSOR_ADDOBJECT)]
|
---|
1119 | HRESULT addObject(
|
---|
1120 | [in] IDispatch* obj,
|
---|
1121 | [in] BSTR uri);
|
---|
1122 |
|
---|
1123 | [propget, id(DISPID_XMLDOM_PROCESSOR_STYLESHEET)]
|
---|
1124 | HRESULT stylesheet([retval, out] IXMLDOMNode **node);
|
---|
1125 | }
|
---|
1126 |
|
---|
1127 | [
|
---|
1128 | local,
|
---|
1129 | object,
|
---|
1130 | uuid (2933BF93-7B36-11d2-B20E-00C04F983E60)
|
---|
1131 | ]
|
---|
1132 | interface IXSLTemplate : IDispatch
|
---|
1133 | {
|
---|
1134 | [propputref, id(DISPID_XMLDOM_TEMPLATE_STYLESHEET)]
|
---|
1135 | HRESULT stylesheet([in] IXMLDOMNode *node);
|
---|
1136 |
|
---|
1137 | [propget, id(DISPID_XMLDOM_TEMPLATE_STYLESHEET)]
|
---|
1138 | HRESULT stylesheet([retval, out] IXMLDOMNode **node);
|
---|
1139 |
|
---|
1140 | [id(DISPID_XMLDOM_TEMPLATE_CREATEPROCESSOR)]
|
---|
1141 | HRESULT createProcessor(
|
---|
1142 | [retval, out] IXSLProcessor **ppProcessor);
|
---|
1143 | }
|
---|
1144 |
|
---|
1145 | [
|
---|
1146 | object,
|
---|
1147 | uuid(ED8C108D-4349-11D2-91A4-00C04F7969E8),
|
---|
1148 | odl,
|
---|
1149 | dual,
|
---|
1150 | oleautomation,
|
---|
1151 | pointer_default(unique)
|
---|
1152 | ]
|
---|
1153 | interface IXMLHTTPRequest : IDispatch
|
---|
1154 | {
|
---|
1155 | [id(1)]
|
---|
1156 | HRESULT open([in] BSTR bstrMethod, [in] BSTR bstrUrl, [in, optional] VARIANT varAsync,
|
---|
1157 | [in,optional] VARIANT username, [in,optional] VARIANT password);
|
---|
1158 |
|
---|
1159 | [id(2)]
|
---|
1160 | HRESULT setRequestHeader([in] BSTR bstrHeader, [in] BSTR bstrValue);
|
---|
1161 |
|
---|
1162 | [id(3)]
|
---|
1163 | HRESULT getResponseHeader([in] BSTR bstrHeader, [out, retval] BSTR * value);
|
---|
1164 |
|
---|
1165 | [id(4)]
|
---|
1166 | HRESULT getAllResponseHeaders([out, retval] BSTR * pbstrHeaders);
|
---|
1167 |
|
---|
1168 | [id(5)]
|
---|
1169 | HRESULT send([in, optional] VARIANT body);
|
---|
1170 |
|
---|
1171 | [id(6)]
|
---|
1172 | HRESULT abort();
|
---|
1173 |
|
---|
1174 | [propget, id(7)]
|
---|
1175 | HRESULT status([out, retval] LONG *pStatus);
|
---|
1176 |
|
---|
1177 | [propget, id(8)]
|
---|
1178 | HRESULT statusText([out, retval] BSTR *pStatus);
|
---|
1179 |
|
---|
1180 | [propget, id(9)]
|
---|
1181 | HRESULT responseXML([out, retval] IDispatch **pBody);
|
---|
1182 |
|
---|
1183 | [propget, id(10)]
|
---|
1184 | HRESULT responseText([out, retval] BSTR *pBody);
|
---|
1185 |
|
---|
1186 | [propget, id(11)]
|
---|
1187 | HRESULT responseBody([out, retval] VARIANT *pBody);
|
---|
1188 |
|
---|
1189 | [propget, id(12)]
|
---|
1190 | HRESULT responseStream([out, retval] VARIANT *pBody);
|
---|
1191 |
|
---|
1192 | [propget, id(13)]
|
---|
1193 | HRESULT readyState([out, retval] LONG *pState);
|
---|
1194 |
|
---|
1195 | [propput, id(14)]
|
---|
1196 | HRESULT onreadystatechange([in] IDispatch *pReadyStateSink);
|
---|
1197 | };
|
---|
1198 |
|
---|
1199 | [
|
---|
1200 | local,
|
---|
1201 | object,
|
---|
1202 | uuid (3efaa426-272f-11d2-836f-0000f87a7782)
|
---|
1203 | ]
|
---|
1204 | interface IXMLDOMParseError : IDispatch
|
---|
1205 | {
|
---|
1206 | [propget, id(DISPID_VALUE)]
|
---|
1207 | HRESULT errorCode([retval, out] LONG *errCode);
|
---|
1208 |
|
---|
1209 | [propget, id(DISPID_DOM_ERROR_URL)]
|
---|
1210 | HRESULT url([retval, out] BSTR *p);
|
---|
1211 |
|
---|
1212 | [propget, id(DISPID_DOM_ERROR_REASON)]
|
---|
1213 | HRESULT reason([retval, out] BSTR *p);
|
---|
1214 |
|
---|
1215 | [propget, id(DISPID_DOM_ERROR_SRCTEXT)]
|
---|
1216 | HRESULT srcText([retval, out] BSTR *p);
|
---|
1217 |
|
---|
1218 | [propget, id(DISPID_DOM_ERROR_LINE)]
|
---|
1219 | HRESULT line([retval, out] LONG *lineNo);
|
---|
1220 |
|
---|
1221 | [propget, id(DISPID_DOM_ERROR_LINEPOS)]
|
---|
1222 | HRESULT linepos([retval, out] LONG * linePos);
|
---|
1223 |
|
---|
1224 | [propget, id(DISPID_DOM_ERROR_FILEPOS)]
|
---|
1225 | HRESULT filepos([retval, out] LONG * filePos);
|
---|
1226 | }
|
---|
1227 |
|
---|
1228 | [
|
---|
1229 | uuid(F6D90F11-9C73-11D3-B32E-00C04F990BB4)
|
---|
1230 | ]
|
---|
1231 | coclass DOMDocument
|
---|
1232 | {
|
---|
1233 | [default] interface IXMLDOMDocument2;
|
---|
1234 | [default, source] dispinterface XMLDOMDocumentEvents;
|
---|
1235 | }
|
---|
1236 |
|
---|
1237 | [
|
---|
1238 | uuid(f5078f1b-c551-11d3-89b9-0000f81fe221)
|
---|
1239 | ]
|
---|
1240 | coclass DOMDocument26
|
---|
1241 | {
|
---|
1242 | [default] interface IXMLDOMDocument2;
|
---|
1243 | [default, source] dispinterface XMLDOMDocumentEvents;
|
---|
1244 | }
|
---|
1245 |
|
---|
1246 | [
|
---|
1247 | uuid(f5078f32-c551-11d3-89b9-0000f81fe221)
|
---|
1248 | ]
|
---|
1249 | coclass DOMDocument30
|
---|
1250 | {
|
---|
1251 | [default] interface IXMLDOMDocument2;
|
---|
1252 | [default, source] dispinterface XMLDOMDocumentEvents;
|
---|
1253 | }
|
---|
1254 |
|
---|
1255 | [
|
---|
1256 | uuid(88d969c0-f192-11d4-a65f-0040963251e5)
|
---|
1257 | ]
|
---|
1258 | coclass DOMDocument40
|
---|
1259 | {
|
---|
1260 | [default] interface IXMLDOMDocument2;
|
---|
1261 | [default, source] dispinterface XMLDOMDocumentEvents;
|
---|
1262 | }
|
---|
1263 |
|
---|
1264 | [
|
---|
1265 | uuid(F6D90F12-9C73-11D3-B32E-00C04F990BB4)
|
---|
1266 | ]
|
---|
1267 | coclass FreeThreadedDOMDocument
|
---|
1268 | {
|
---|
1269 | [default] interface IXMLDOMDocument2;
|
---|
1270 | [default, source] dispinterface XMLDOMDocumentEvents;
|
---|
1271 | }
|
---|
1272 |
|
---|
1273 | [
|
---|
1274 | uuid(f5078f1c-c551-11d3-89b9-0000f81fe221)
|
---|
1275 | ]
|
---|
1276 | coclass FreeThreadedDOMDocument26
|
---|
1277 | {
|
---|
1278 | [default] interface IXMLDOMDocument2;
|
---|
1279 | [default, source] dispinterface XMLDOMDocumentEvents;
|
---|
1280 | }
|
---|
1281 |
|
---|
1282 | [
|
---|
1283 | uuid(f5078f33-c551-11d3-89b9-0000f81fe221)
|
---|
1284 | ]
|
---|
1285 | coclass FreeThreadedDOMDocument30
|
---|
1286 | {
|
---|
1287 | [default] interface IXMLDOMDocument2;
|
---|
1288 | [default, source] dispinterface XMLDOMDocumentEvents;
|
---|
1289 | }
|
---|
1290 |
|
---|
1291 | [
|
---|
1292 | uuid(373984c9-b845-449b-91e7-45ac83036ade)
|
---|
1293 | ]
|
---|
1294 | coclass XMLSchemaCache
|
---|
1295 | {
|
---|
1296 | [default] interface IXMLDOMSchemaCollection;
|
---|
1297 | }
|
---|
1298 |
|
---|
1299 | [
|
---|
1300 | uuid(f5078f1d-c551-11d3-89b9-0000f81fe221)
|
---|
1301 | ]
|
---|
1302 | coclass XMLSchemaCache26
|
---|
1303 | {
|
---|
1304 | [default] interface IXMLDOMSchemaCollection;
|
---|
1305 | }
|
---|
1306 |
|
---|
1307 | [
|
---|
1308 | uuid(f5078f34-c551-11d3-89b9-0000f81fe221)
|
---|
1309 | ]
|
---|
1310 | coclass XMLSchemaCache30
|
---|
1311 | {
|
---|
1312 | [default] interface IXMLDOMSchemaCollection;
|
---|
1313 | }
|
---|
1314 |
|
---|
1315 | [
|
---|
1316 | uuid(2933BF94-7B36-11d2-B20E-00C04F983E60)
|
---|
1317 | ]
|
---|
1318 | coclass XSLTemplate
|
---|
1319 | {
|
---|
1320 | [default] interface IXSLTemplate;
|
---|
1321 | }
|
---|
1322 |
|
---|
1323 | [
|
---|
1324 | uuid(f5078f21-c551-11d3-89b9-0000f81fe221)
|
---|
1325 | ]
|
---|
1326 | coclass XSLTemplate26
|
---|
1327 | {
|
---|
1328 | [default] interface IXSLTemplate;
|
---|
1329 | }
|
---|
1330 |
|
---|
1331 | [
|
---|
1332 | uuid(f5078f36-c551-11d3-89b9-0000f81fe221)
|
---|
1333 | ]
|
---|
1334 | coclass XSLTemplate30
|
---|
1335 | {
|
---|
1336 | [default] interface IXSLTemplate;
|
---|
1337 | }
|
---|
1338 |
|
---|
1339 | /*
|
---|
1340 | * Sax Interfaces
|
---|
1341 | */
|
---|
1342 | [
|
---|
1343 | object,
|
---|
1344 | local,
|
---|
1345 | uuid(f078abe1-45d2-4832-91ea-4466ce2f25c9)
|
---|
1346 | ]
|
---|
1347 | interface ISAXAttributes : IUnknown
|
---|
1348 | {
|
---|
1349 | HRESULT getLength(
|
---|
1350 | [out, retval] int *length);
|
---|
1351 |
|
---|
1352 | HRESULT getURI(
|
---|
1353 | [in] int nIndex,
|
---|
1354 | [out] const WCHAR **pUrl,
|
---|
1355 | [out] int *pUriSize);
|
---|
1356 |
|
---|
1357 | HRESULT getLocalName(
|
---|
1358 | [in] int nIndex,
|
---|
1359 | [out] const WCHAR **pLocalName,
|
---|
1360 | [out] int *pLocalNameLength);
|
---|
1361 |
|
---|
1362 | HRESULT getQName(
|
---|
1363 | [in] int nIndex,
|
---|
1364 | [out] const WCHAR **pQName,
|
---|
1365 | [out] int *pQNameLength);
|
---|
1366 |
|
---|
1367 | HRESULT getName(
|
---|
1368 | [in] int nIndex,
|
---|
1369 | [out] const WCHAR **pUri,
|
---|
1370 | [out] int * pUriLength,
|
---|
1371 | [out] const WCHAR ** pLocalName,
|
---|
1372 | [out] int * pLocalNameSize,
|
---|
1373 | [out] const WCHAR ** pQName,
|
---|
1374 | [out] int * pQNameLength);
|
---|
1375 |
|
---|
1376 | HRESULT getIndexFromName(
|
---|
1377 | [in] const WCHAR * pUri,
|
---|
1378 | [in] int cUriLength,
|
---|
1379 | [in] const WCHAR * pLocalName,
|
---|
1380 | [in] int cocalNameLength,
|
---|
1381 | [out, retval] int * index);
|
---|
1382 |
|
---|
1383 | HRESULT getIndexFromQName(
|
---|
1384 | [in] const WCHAR * pQName,
|
---|
1385 | [in] int nQNameLength,
|
---|
1386 | [out, retval] int * index);
|
---|
1387 |
|
---|
1388 | HRESULT getType(
|
---|
1389 | [in] int nIndex,
|
---|
1390 | [out] const WCHAR ** pType,
|
---|
1391 | [out] int * pTypeLength);
|
---|
1392 |
|
---|
1393 | HRESULT getTypeFromName(
|
---|
1394 | [in] const WCHAR * pUri,
|
---|
1395 | [in] int nUri,
|
---|
1396 | [in] const WCHAR * pLocalName,
|
---|
1397 | [in] int nLocalName,
|
---|
1398 | [out] const WCHAR ** pType,
|
---|
1399 | [out] int * nType);
|
---|
1400 |
|
---|
1401 | HRESULT getTypeFromQName(
|
---|
1402 | [in] const WCHAR * pQName,
|
---|
1403 | [in] int nQName,
|
---|
1404 | [out] const WCHAR ** pType,
|
---|
1405 | [out] int * nType);
|
---|
1406 |
|
---|
1407 | HRESULT getValue(
|
---|
1408 | [in] int nIndex,
|
---|
1409 | [out] const WCHAR ** pValue,
|
---|
1410 | [out] int * nValue);
|
---|
1411 |
|
---|
1412 | HRESULT getValueFromName(
|
---|
1413 | [in] const WCHAR * pUri,
|
---|
1414 | [in] int nUri,
|
---|
1415 | [in] const WCHAR * pLocalName,
|
---|
1416 | [in] int nLocalName,
|
---|
1417 | [out] const WCHAR ** pValue,
|
---|
1418 | [out] int * nValue);
|
---|
1419 |
|
---|
1420 | HRESULT getValueFromQName(
|
---|
1421 | [in] const WCHAR * pQName,
|
---|
1422 | [in] int nQName,
|
---|
1423 | [out] const WCHAR ** pValue,
|
---|
1424 | [out] int * nValue);
|
---|
1425 | };
|
---|
1426 |
|
---|
1427 | [
|
---|
1428 | object,
|
---|
1429 | local,
|
---|
1430 | uuid(1545cdfa-9e4e-4497-a8a4-2bf7d0112c44)
|
---|
1431 | ]
|
---|
1432 | interface ISAXContentHandler : IUnknown
|
---|
1433 | {
|
---|
1434 | HRESULT putDocumentLocator(
|
---|
1435 | [in] ISAXLocator * pLocator);
|
---|
1436 |
|
---|
1437 | HRESULT startDocument();
|
---|
1438 |
|
---|
1439 | HRESULT endDocument();
|
---|
1440 |
|
---|
1441 | HRESULT startPrefixMapping(
|
---|
1442 | [in] const WCHAR * pPrefix,
|
---|
1443 | [in] int nPrefix,
|
---|
1444 | [in] const WCHAR * pUri,
|
---|
1445 | [in] int nUri);
|
---|
1446 |
|
---|
1447 | HRESULT endPrefixMapping(
|
---|
1448 | [in] const WCHAR * pPrefix,
|
---|
1449 | [in] int nPrefix);
|
---|
1450 |
|
---|
1451 | HRESULT startElement(
|
---|
1452 | [in] const WCHAR * pNamespaceUri,
|
---|
1453 | [in] int nNamespaceUri,
|
---|
1454 | [in] const WCHAR * pLocalName,
|
---|
1455 | [in] int nLocalName,
|
---|
1456 | [in] const WCHAR * pQName,
|
---|
1457 | [in] int nQName,
|
---|
1458 | [in] ISAXAttributes * pAttr);
|
---|
1459 |
|
---|
1460 | HRESULT endElement(
|
---|
1461 | [in] const WCHAR * pNamespaceUri,
|
---|
1462 | [in] int nNamespaceUri,
|
---|
1463 | [in] const WCHAR * pLocalName,
|
---|
1464 | [in] int nLocalName,
|
---|
1465 | [in] const WCHAR * pQName,
|
---|
1466 | [in] int nQName);
|
---|
1467 |
|
---|
1468 | HRESULT characters(
|
---|
1469 | [in] const WCHAR * pChars,
|
---|
1470 | [in] int nChars);
|
---|
1471 |
|
---|
1472 | HRESULT ignorableWhitespace(
|
---|
1473 | [in] const WCHAR * pChars,
|
---|
1474 | [in] int nChars);
|
---|
1475 |
|
---|
1476 | HRESULT processingInstruction(
|
---|
1477 | [in] const WCHAR * pTarget,
|
---|
1478 | [in] int nTarget,
|
---|
1479 | [in] const WCHAR * pData,
|
---|
1480 | [in] int nData);
|
---|
1481 |
|
---|
1482 | HRESULT skippedEntity(
|
---|
1483 | [in] const WCHAR * pName,
|
---|
1484 | [in] int nName);
|
---|
1485 | };
|
---|
1486 |
|
---|
1487 | [
|
---|
1488 | object,
|
---|
1489 | local,
|
---|
1490 | uuid(862629ac-771a-47b2-8337-4e6843c1be90)
|
---|
1491 | ]
|
---|
1492 | interface ISAXDeclHandler : IUnknown
|
---|
1493 | {
|
---|
1494 | HRESULT elementDecl(
|
---|
1495 | [in] const WCHAR * pName,
|
---|
1496 | [in] int nName,
|
---|
1497 | [in] const WCHAR * pModel,
|
---|
1498 | [in] int nModel);
|
---|
1499 |
|
---|
1500 | HRESULT attributeDecl(
|
---|
1501 | [in] const WCHAR * pElementName,
|
---|
1502 | [in] int nElementName,
|
---|
1503 | [in] const WCHAR * pAttributeName,
|
---|
1504 | [in] int nAttributeName,
|
---|
1505 | [in] const WCHAR * pType,
|
---|
1506 | [in] int nType,
|
---|
1507 | [in] const WCHAR * pValueDefault,
|
---|
1508 | [in] int nValueDefault,
|
---|
1509 | [in] const WCHAR * pValue,
|
---|
1510 | [in] int nValue);
|
---|
1511 |
|
---|
1512 | HRESULT internalEntityDecl(
|
---|
1513 | [in] const WCHAR * pName,
|
---|
1514 | [in] int nName,
|
---|
1515 | [in] const WCHAR * pValue,
|
---|
1516 | [in] int nValue);
|
---|
1517 |
|
---|
1518 | HRESULT externalEntityDecl(
|
---|
1519 | [in] const WCHAR * pName,
|
---|
1520 | [in] int nName,
|
---|
1521 | [in] const WCHAR * pPublicId,
|
---|
1522 | [in] int nPublicId,
|
---|
1523 | [in] const WCHAR * pSystemId,
|
---|
1524 | [in] int nSystemId);
|
---|
1525 | };
|
---|
1526 |
|
---|
1527 | [
|
---|
1528 | object,
|
---|
1529 | local,
|
---|
1530 | uuid(e15c1baf-afb3-4d60-8c36-19a8c45defed)
|
---|
1531 | ]
|
---|
1532 | interface ISAXDTDHandler : IUnknown
|
---|
1533 | {
|
---|
1534 | HRESULT notationDecl(
|
---|
1535 | [in] const WCHAR * pName,
|
---|
1536 | [in] int nName,
|
---|
1537 | [in] const WCHAR * pPublicId,
|
---|
1538 | [in] int nPublicId,
|
---|
1539 | [in] const WCHAR * pSystemId,
|
---|
1540 | [in] int nSystemId);
|
---|
1541 |
|
---|
1542 | HRESULT unparsedEntityDecl(
|
---|
1543 | [in] const WCHAR * pName,
|
---|
1544 | [in] int nName,
|
---|
1545 | [in] const WCHAR * pPublicId,
|
---|
1546 | [in] int nPublicId,
|
---|
1547 | [in] const WCHAR * pSystemId,
|
---|
1548 | [in] int nSystemId,
|
---|
1549 | [in] const WCHAR * pNotationName,
|
---|
1550 | [in] int nNotationName);
|
---|
1551 | };
|
---|
1552 |
|
---|
1553 | [
|
---|
1554 | object,
|
---|
1555 | local,
|
---|
1556 | uuid(99bca7bd-e8c4-4d5f-a0cf-6d907901ff07),
|
---|
1557 | ]
|
---|
1558 | interface ISAXEntityResolver : IUnknown
|
---|
1559 | {
|
---|
1560 | HRESULT resolveEntity(
|
---|
1561 | [in] const WCHAR * pPublicId,
|
---|
1562 | [in] const WCHAR * pSystemId,
|
---|
1563 | [out, retval] VARIANT * ret);
|
---|
1564 | };
|
---|
1565 |
|
---|
1566 | [
|
---|
1567 | object,
|
---|
1568 | local,
|
---|
1569 | uuid(a60511c4-ccf5-479e-98a3-dc8dc545b7d0)
|
---|
1570 | ]
|
---|
1571 | interface ISAXErrorHandler : IUnknown
|
---|
1572 | {
|
---|
1573 | HRESULT error(
|
---|
1574 | [in] ISAXLocator * pLocator,
|
---|
1575 | [in] const WCHAR * pErrorMessage,
|
---|
1576 | [in] HRESULT hrErrorCode);
|
---|
1577 |
|
---|
1578 | HRESULT fatalError(
|
---|
1579 | [in] ISAXLocator * pLocator,
|
---|
1580 | [in] const WCHAR * pErrorMessage,
|
---|
1581 | [in] HRESULT hrErrorCode);
|
---|
1582 |
|
---|
1583 | HRESULT ignorableWarning(
|
---|
1584 | [in] ISAXLocator * pLocator,
|
---|
1585 | [in] const WCHAR * pErrorMessage,
|
---|
1586 | [in] HRESULT hrErrorCode);
|
---|
1587 | };
|
---|
1588 |
|
---|
1589 | [
|
---|
1590 | object,
|
---|
1591 | local,
|
---|
1592 | uuid(7f85d5f5-47a8-4497-bda5-84ba04819ea6)
|
---|
1593 | ]
|
---|
1594 | interface ISAXLexicalHandler : IUnknown
|
---|
1595 | {
|
---|
1596 | HRESULT startDTD(
|
---|
1597 | [in] const WCHAR * pName,
|
---|
1598 | [in] int nName,
|
---|
1599 | [in] const WCHAR * pPublicId,
|
---|
1600 | [in] int nPublicId,
|
---|
1601 | [in] const WCHAR * pSystemId,
|
---|
1602 | [in] int nSystemId);
|
---|
1603 |
|
---|
1604 | HRESULT endDTD();
|
---|
1605 |
|
---|
1606 | HRESULT startEntity(
|
---|
1607 | [in] const WCHAR * pName,
|
---|
1608 | [in] int nName);
|
---|
1609 |
|
---|
1610 | HRESULT endEntity(
|
---|
1611 | [in] const WCHAR * pName,
|
---|
1612 | [in] int nName);
|
---|
1613 |
|
---|
1614 | HRESULT startCDATA();
|
---|
1615 |
|
---|
1616 | HRESULT endCDATA();
|
---|
1617 |
|
---|
1618 | HRESULT comment(
|
---|
1619 | [in] const WCHAR * pChars,
|
---|
1620 | [in] int nChars);
|
---|
1621 | };
|
---|
1622 |
|
---|
1623 | [
|
---|
1624 | object,
|
---|
1625 | local,
|
---|
1626 | uuid(9b7e472a-0de4-4640-bff3-84d38a051c31)
|
---|
1627 | ]
|
---|
1628 | interface ISAXLocator : IUnknown
|
---|
1629 | {
|
---|
1630 | HRESULT getColumnNumber(
|
---|
1631 | [out, retval] int * nColumn);
|
---|
1632 |
|
---|
1633 | HRESULT getLineNumber(
|
---|
1634 | [out, retval] int * nLine);
|
---|
1635 |
|
---|
1636 | HRESULT getPublicId(
|
---|
1637 | [out, retval] const WCHAR ** publicId);
|
---|
1638 |
|
---|
1639 | HRESULT getSystemId(
|
---|
1640 | [out, retval] const WCHAR ** systemId);
|
---|
1641 | };
|
---|
1642 |
|
---|
1643 | [
|
---|
1644 | local,
|
---|
1645 | object,
|
---|
1646 | uuid(70409222-ca09-4475-acb8-40312fe8d145)
|
---|
1647 | ]
|
---|
1648 | interface ISAXXMLFilter : ISAXXMLReader
|
---|
1649 | {
|
---|
1650 | HRESULT getParent(
|
---|
1651 | [out, retval] ISAXXMLReader ** pReader);
|
---|
1652 | HRESULT putParent(
|
---|
1653 | [in] ISAXXMLReader * reader);
|
---|
1654 | };
|
---|
1655 |
|
---|
1656 | [
|
---|
1657 | local,
|
---|
1658 | object,
|
---|
1659 | uuid (a4f96ed0-f829-476e-81c0-cdc7bd2a0802)
|
---|
1660 | ]
|
---|
1661 | interface ISAXXMLReader : IUnknown
|
---|
1662 | {
|
---|
1663 | HRESULT getFeature(
|
---|
1664 | [in] const WCHAR * pFeature,
|
---|
1665 | [out, retval] VARIANT_BOOL * pValue);
|
---|
1666 | HRESULT putFeature(
|
---|
1667 | [in] const WCHAR * pFeature,
|
---|
1668 | [in] VARIANT_BOOL vfValue);
|
---|
1669 |
|
---|
1670 | HRESULT getProperty(
|
---|
1671 | [in] const WCHAR * pProp,
|
---|
1672 | [out, retval] VARIANT * pValue);
|
---|
1673 | HRESULT putProperty(
|
---|
1674 | [in] const WCHAR * pProp,
|
---|
1675 | [in] VARIANT value);
|
---|
1676 |
|
---|
1677 | HRESULT getEntityResolver(
|
---|
1678 | [out, retval] ISAXEntityResolver ** ppEntityResolver);
|
---|
1679 | HRESULT putEntityResolver(
|
---|
1680 | [in] ISAXEntityResolver * pEntityResolver);
|
---|
1681 |
|
---|
1682 | HRESULT getContentHandler(
|
---|
1683 | [out, retval] ISAXContentHandler ** pContentHandler);
|
---|
1684 | HRESULT putContentHandler(
|
---|
1685 | [in] ISAXContentHandler * contentHandler);
|
---|
1686 |
|
---|
1687 | HRESULT getDTDHandler(
|
---|
1688 | [out, retval] ISAXDTDHandler ** pDTDHandler);
|
---|
1689 | HRESULT putDTDHandler(
|
---|
1690 | [in] ISAXDTDHandler * pDTDHandler);
|
---|
1691 |
|
---|
1692 | HRESULT getErrorHandler(
|
---|
1693 | [out, retval] ISAXErrorHandler ** pErrorHandler);
|
---|
1694 | HRESULT putErrorHandler(
|
---|
1695 | [in] ISAXErrorHandler * errorHandler);
|
---|
1696 |
|
---|
1697 | HRESULT getBaseURL(
|
---|
1698 | [out, retval] const WCHAR ** pBaseUrl);
|
---|
1699 | HRESULT putBaseURL(
|
---|
1700 | [in] const WCHAR * pBaseUrl);
|
---|
1701 |
|
---|
1702 | HRESULT getSecureBaseURL(
|
---|
1703 | [out, retval] const WCHAR ** pSecureBaseUrl);
|
---|
1704 | HRESULT putSecureBaseURL(
|
---|
1705 | [in] const WCHAR * secureBaseUrl);
|
---|
1706 |
|
---|
1707 | HRESULT parse(
|
---|
1708 | [in] VARIANT varInput);
|
---|
1709 | HRESULT parseURL(
|
---|
1710 | [in] const WCHAR * url);
|
---|
1711 | }
|
---|
1712 |
|
---|
1713 | [
|
---|
1714 | object,
|
---|
1715 | dual,
|
---|
1716 | uuid(10dc0586-132b-4cac-8bb3-db00ac8b7ee0)
|
---|
1717 | ]
|
---|
1718 | interface IVBSAXAttributes : IDispatch
|
---|
1719 | {
|
---|
1720 | [propget, id(DISPID_SAX_ATTRIBUTES_LENGTH)]
|
---|
1721 | HRESULT length( [out, retval] int * nLength);
|
---|
1722 |
|
---|
1723 | [id(DISPID_SAX_ATTRIBUTES_GETURI)]
|
---|
1724 | HRESULT getURI( [in] int nIndex, [out, retval] BSTR * uri);
|
---|
1725 |
|
---|
1726 | [id(DISPID_SAX_ATTRIBUTES_GETLOCALNAME)]
|
---|
1727 | HRESULT getLocalName( [in] int nIndex, [out, retval] BSTR * localName);
|
---|
1728 |
|
---|
1729 | [id(DISPID_SAX_ATTRIBUTES_GETQNAME)]
|
---|
1730 | HRESULT getQName( [in] int nIndex, [out, retval] BSTR * QName);
|
---|
1731 |
|
---|
1732 | [id(DISPID_SAX_ATTRIBUTES_GETINDEXFROMNAME)]
|
---|
1733 | HRESULT getIndexFromName( [in] BSTR uri,
|
---|
1734 | [in] BSTR localName, [out, retval] int * nIndex);
|
---|
1735 |
|
---|
1736 | [id(DISPID_SAX_ATTRIBUTES_GETINDEXFROMQNAME)]
|
---|
1737 | HRESULT getIndexFromQName( [in] BSTR QName, [out, retval] int * nIndex);
|
---|
1738 |
|
---|
1739 | [id(DISPID_SAX_ATTRIBUTES_GETTYPE)]
|
---|
1740 | HRESULT getType( [in] int nIndex, [out, retval] BSTR * type);
|
---|
1741 |
|
---|
1742 | [id(DISPID_SAX_ATTRIBUTES_GETTYPEFROMNAME)]
|
---|
1743 | HRESULT getTypeFromName( [in] BSTR uri, [in] BSTR localName,
|
---|
1744 | [out, retval] BSTR * type);
|
---|
1745 |
|
---|
1746 | [id(DISPID_SAX_ATTRIBUTES_GETTYPEFROMQNAME)]
|
---|
1747 | HRESULT getTypeFromQName( [in] BSTR QName, [out, retval] BSTR * type);
|
---|
1748 |
|
---|
1749 | [id(DISPID_SAX_ATTRIBUTES_GETVALUE)]
|
---|
1750 | HRESULT getValue( [in] int nIndex, [out, retval] BSTR * value);
|
---|
1751 |
|
---|
1752 | [id(DISPID_SAX_ATTRIBUTES_GETVALUEFROMNAME)]
|
---|
1753 | HRESULT getValueFromName( [in] BSTR uri,
|
---|
1754 | [in] BSTR localName,
|
---|
1755 | [out, retval] BSTR * value);
|
---|
1756 |
|
---|
1757 | [id(DISPID_SAX_ATTRIBUTES_GETVALUEFROMQNAME)]
|
---|
1758 | HRESULT getValueFromQName( [in] BSTR QName, [out, retval] BSTR * value);
|
---|
1759 | };
|
---|
1760 |
|
---|
1761 | [
|
---|
1762 | object,
|
---|
1763 | dual,
|
---|
1764 | uuid(2ed7290a-4dd5-4b46-bb26-4e4155e77faa)
|
---|
1765 | ]
|
---|
1766 | interface IVBSAXContentHandler : IDispatch
|
---|
1767 | {
|
---|
1768 | [propputref, id(DISPID_SAX_CONTENTHANDLER_DOCUMENTLOCATOR)]
|
---|
1769 | HRESULT documentLocator( [in] IVBSAXLocator * oLocator);
|
---|
1770 |
|
---|
1771 | [id(DISPID_SAX_CONTENTHANDLER_STARTDOCUMENT)]
|
---|
1772 | HRESULT startDocument();
|
---|
1773 |
|
---|
1774 | [id(DISPID_SAX_CONTENTHANDLER_ENDDOCUMENT)]
|
---|
1775 | HRESULT endDocument();
|
---|
1776 |
|
---|
1777 | [id(DISPID_SAX_CONTENTHANDLER_STARTPREFIXMAPPING)]
|
---|
1778 | HRESULT startPrefixMapping( [in, out] BSTR * prefix, [in, out] BSTR * uri);
|
---|
1779 |
|
---|
1780 | [id(DISPID_SAX_CONTENTHANDLER_ENDPREFIXMAPPING)]
|
---|
1781 | HRESULT endPrefixMapping( [in, out] BSTR * prefix);
|
---|
1782 |
|
---|
1783 | [id(DISPID_SAX_CONTENTHANDLER_STARTELEMENT)]
|
---|
1784 | HRESULT startElement( [in, out] BSTR * namespaceURI,
|
---|
1785 | [in, out] BSTR * localName,
|
---|
1786 | [in, out] BSTR * QName,
|
---|
1787 | [in] IVBSAXAttributes * oAttributes);
|
---|
1788 |
|
---|
1789 | [id(DISPID_SAX_CONTENTHANDLER_ENDELEMENT)]
|
---|
1790 | HRESULT endElement( [in, out] BSTR * namespaceURI,
|
---|
1791 | [in, out] BSTR * localName, [in, out] BSTR * strQName);
|
---|
1792 |
|
---|
1793 | [id(DISPID_SAX_CONTENTHANDLER_CHARACTERS)]
|
---|
1794 | HRESULT characters( [in, out] BSTR * chars);
|
---|
1795 |
|
---|
1796 | [id(DISPID_SAX_CONTENTHANDLER_IGNORABLEWHITESPACE)]
|
---|
1797 | HRESULT ignorableWhitespace( [in, out] BSTR * chars);
|
---|
1798 |
|
---|
1799 | [id(DISPID_SAX_CONTENTHANDLER_PROCESSINGINSTRUCTION)]
|
---|
1800 | HRESULT processingInstruction( [in, out] BSTR * target,
|
---|
1801 | [in, out] BSTR * data);
|
---|
1802 |
|
---|
1803 | [id(DISPID_SAX_CONTENTHANDLER_SKIPPEDENTITY)]
|
---|
1804 | HRESULT skippedEntity( [in, out] BSTR * name);
|
---|
1805 | };
|
---|
1806 |
|
---|
1807 | [
|
---|
1808 | object,
|
---|
1809 | dual,
|
---|
1810 | uuid(e8917260-7579-4be1-b5dd-7afbfa6f077b)
|
---|
1811 | ]
|
---|
1812 | interface IVBSAXDeclHandler : IDispatch
|
---|
1813 | {
|
---|
1814 | [id(DISPID_SAX_DECLHANDLER_ELEMENTDECL)]
|
---|
1815 | HRESULT elementDecl(
|
---|
1816 | [in, out] BSTR * name,
|
---|
1817 | [in, out] BSTR * model);
|
---|
1818 |
|
---|
1819 | [id(DISPID_SAX_DECLHANDLER_ATTRIBUTEDECL)]
|
---|
1820 | HRESULT attributeDecl(
|
---|
1821 | [in, out] BSTR * elementName,
|
---|
1822 | [in, out] BSTR * attributeName,
|
---|
1823 | [in, out] BSTR * type,
|
---|
1824 | [in, out] BSTR * valueDefault,
|
---|
1825 | [in, out] BSTR * value);
|
---|
1826 |
|
---|
1827 | [id(DISPID_SAX_DECLHANDLER_INTERNALENTITYDECL)]
|
---|
1828 | HRESULT internalEntityDecl(
|
---|
1829 | [in, out] BSTR * name,
|
---|
1830 | [in, out] BSTR * value);
|
---|
1831 |
|
---|
1832 | [id(DISPID_SAX_DECLHANDLER_EXTERNALENTITYDECL)]
|
---|
1833 | HRESULT externalEntityDecl(
|
---|
1834 | [in, out] BSTR * name,
|
---|
1835 | [in, out] BSTR * publicId,
|
---|
1836 | [in, out] BSTR * systemId);
|
---|
1837 | };
|
---|
1838 |
|
---|
1839 | [
|
---|
1840 | object,
|
---|
1841 | dual,
|
---|
1842 | uuid(24fb3297-302d-4620-ba39-3a732d850558)
|
---|
1843 | ]
|
---|
1844 | interface IVBSAXDTDHandler : IDispatch
|
---|
1845 | {
|
---|
1846 | [id(DISPID_SAX_DTDHANDLER_NOTATIONDECL)]
|
---|
1847 | HRESULT notationDecl(
|
---|
1848 | [in, out] BSTR * name,
|
---|
1849 | [in, out] BSTR * publicId,
|
---|
1850 | [in, out] BSTR * systemId);
|
---|
1851 |
|
---|
1852 | [id(DISPID_SAX_DTDHANDLER_UNPARSEDENTITYDECL)]
|
---|
1853 | HRESULT unparsedEntityDecl(
|
---|
1854 | [in, out] BSTR * name,
|
---|
1855 | [in, out] BSTR * publicId,
|
---|
1856 | [in, out] BSTR * systemId,
|
---|
1857 | [in, out] BSTR * notationName);
|
---|
1858 | };
|
---|
1859 |
|
---|
1860 | [
|
---|
1861 | object,
|
---|
1862 | dual,
|
---|
1863 | uuid(0c05d096-f45b-4aca-ad1a-aa0bc25518dc)
|
---|
1864 | ]
|
---|
1865 | interface IVBSAXEntityResolver : IDispatch
|
---|
1866 | {
|
---|
1867 | [id(DISPID_SAX_ENTITYRESOLVER_RESOLVEENTITY)]
|
---|
1868 | HRESULT resolveEntity(
|
---|
1869 | [in, out] BSTR * publicId,
|
---|
1870 | [in, out] BSTR * systemId,
|
---|
1871 | [out, retval] VARIANT * ret);
|
---|
1872 | };
|
---|
1873 |
|
---|
1874 | [
|
---|
1875 | object,
|
---|
1876 | dual,
|
---|
1877 | uuid(d963d3fe-173c-4862-9095-b92f66995f52)
|
---|
1878 | ]
|
---|
1879 | interface IVBSAXErrorHandler : IDispatch
|
---|
1880 | {
|
---|
1881 | [id(DISPID_SAX_ERRORHANDLER_ERROR)]
|
---|
1882 | HRESULT error(
|
---|
1883 | [in] IVBSAXLocator * locator,
|
---|
1884 | [in, out] BSTR * errorMessage,
|
---|
1885 | [in] LONG errorCode);
|
---|
1886 |
|
---|
1887 | [id(DISPID_SAX_ERRORHANDLER_FATALERROR)]
|
---|
1888 | HRESULT fatalError(
|
---|
1889 | [in] IVBSAXLocator * locator,
|
---|
1890 | [in, out] BSTR * errorMessage,
|
---|
1891 | [in] LONG errorCode);
|
---|
1892 |
|
---|
1893 | [id(DISPID_SAX_ERRORHANDLER_IGNORABLEWARNING)]
|
---|
1894 | HRESULT ignorableWarning(
|
---|
1895 | [in] IVBSAXLocator * locator,
|
---|
1896 | [in, out] BSTR * errorMessage,
|
---|
1897 | [in] LONG errorCode);
|
---|
1898 | };
|
---|
1899 |
|
---|
1900 | [
|
---|
1901 | object,
|
---|
1902 | dual,
|
---|
1903 | uuid(032aac35-8c0e-4d9d-979f-e3b702935576)
|
---|
1904 | ]
|
---|
1905 | interface IVBSAXLexicalHandler : IDispatch
|
---|
1906 | {
|
---|
1907 | [id(DISPID_SAX_LEXICALHANDLER_STARTDTD)]
|
---|
1908 | HRESULT startDTD(
|
---|
1909 | [in, out] BSTR * name,
|
---|
1910 | [in, out] BSTR * publicId,
|
---|
1911 | [in, out] BSTR * systemId);
|
---|
1912 | [id(DISPID_SAX_LEXICALHANDLER_ENDDTD)]
|
---|
1913 | HRESULT endDTD();
|
---|
1914 |
|
---|
1915 | [id(DISPID_SAX_LEXICALHANDLER_STARTENTITY)]
|
---|
1916 | HRESULT startEntity([in, out] BSTR * name);
|
---|
1917 | [id(DISPID_SAX_LEXICALHANDLER_ENDENTITY)]
|
---|
1918 | HRESULT endEntity([in, out] BSTR * name);
|
---|
1919 |
|
---|
1920 | [id(DISPID_SAX_LEXICALHANDLER_STARTCDATA)]
|
---|
1921 | HRESULT startCDATA();
|
---|
1922 | [id(DISPID_SAX_LEXICALHANDLER_ENDCDATA)]
|
---|
1923 | HRESULT endCDATA();
|
---|
1924 |
|
---|
1925 | [id(DISPID_SAX_LEXICALHANDLER_COMMENT)]
|
---|
1926 | HRESULT comment( [in, out] BSTR * chars);
|
---|
1927 | };
|
---|
1928 |
|
---|
1929 | [
|
---|
1930 | object,
|
---|
1931 | uuid(796e7ac5-5aa2-4eff-acad-3faaf01a3288)
|
---|
1932 | ]
|
---|
1933 | interface IVBSAXLocator : IDispatch
|
---|
1934 | {
|
---|
1935 | [propget, id(DISPID_SAX_LOCATOR_COLUMNNUMBER)]
|
---|
1936 | HRESULT columnNumber( [out, retval] int * column);
|
---|
1937 |
|
---|
1938 | [propget, id(DISPID_SAX_LOCATOR_LINENUMBER)]
|
---|
1939 | HRESULT lineNumber( [out, retval] int * line);
|
---|
1940 |
|
---|
1941 | [propget, id(DISPID_SAX_LOCATOR_PUBLICID)]
|
---|
1942 | HRESULT publicId( [out, retval] BSTR * publicId);
|
---|
1943 |
|
---|
1944 | [propget, id(DISPID_SAX_LOCATOR_SYSTEMID)]
|
---|
1945 | HRESULT systemId( [out, retval] BSTR * systemId);
|
---|
1946 | };
|
---|
1947 |
|
---|
1948 | [
|
---|
1949 | object,
|
---|
1950 | dual,
|
---|
1951 | uuid(1299eb1b-5b88-433e-82de-82ca75ad4e04)
|
---|
1952 | ]
|
---|
1953 | interface IVBSAXXMLFilter : IDispatch
|
---|
1954 | {
|
---|
1955 | [propget, id(DISPID_SAX_XMLFILTER_PARENT)]
|
---|
1956 | HRESULT parent( [out, retval] IVBSAXXMLReader ** reader);
|
---|
1957 | [propputref, id(DISPID_SAX_XMLFILTER_PARENT)]
|
---|
1958 | HRESULT parent( [in] IVBSAXXMLReader * reader);
|
---|
1959 |
|
---|
1960 | };
|
---|
1961 |
|
---|
1962 | [
|
---|
1963 | dual,
|
---|
1964 | object,
|
---|
1965 | uuid (8c033caa-6cd6-4f73-b728-4531af74945f)
|
---|
1966 | ]
|
---|
1967 | interface IVBSAXXMLReader : IDispatch
|
---|
1968 | {
|
---|
1969 | [id(DISPID_SAX_XMLREADER_GETFEATURE)]
|
---|
1970 | HRESULT getFeature( [in] const WCHAR * pFeature,
|
---|
1971 | [out, retval] VARIANT_BOOL * pValue);
|
---|
1972 | [id(DISPID_SAX_XMLREADER_PUTFEATURE)]
|
---|
1973 | HRESULT putFeature( [in] const WCHAR * pFeature,
|
---|
1974 | [in] VARIANT_BOOL vfValue);
|
---|
1975 |
|
---|
1976 | [id(DISPID_SAX_XMLREADER_GETPROPERTY)]
|
---|
1977 | HRESULT getProperty( [in] const WCHAR * pProp,
|
---|
1978 | [out, retval] VARIANT * pValue);
|
---|
1979 | [id(DISPID_SAX_XMLREADER_PUTPROPERTY)]
|
---|
1980 | HRESULT putProperty( [in] const WCHAR * pProp, [in] VARIANT value);
|
---|
1981 |
|
---|
1982 | [propget, id(DISPID_SAX_XMLREADER_ENTITYRESOLVER)]
|
---|
1983 | HRESULT entityResolver(
|
---|
1984 | [out, retval] IVBSAXEntityResolver ** ppEntityResolver);
|
---|
1985 | [propputref, id(DISPID_SAX_XMLREADER_ENTITYRESOLVER)]
|
---|
1986 | HRESULT entityResolver( [in] IVBSAXEntityResolver * pEntityResolver);
|
---|
1987 |
|
---|
1988 | [propget, id(DISPID_SAX_XMLREADER_CONTENTHANDLER)]
|
---|
1989 | HRESULT contentHandler(
|
---|
1990 | [out, retval] IVBSAXContentHandler ** pContentHandler);
|
---|
1991 | [propputref, id(DISPID_SAX_XMLREADER_CONTENTHANDLER)]
|
---|
1992 | HRESULT contentHandler([in] IVBSAXContentHandler * contentHandler);
|
---|
1993 |
|
---|
1994 | [propget, id(DISPID_SAX_XMLREADER_DTDHANDLER)]
|
---|
1995 | HRESULT dtdHandler([out, retval] IVBSAXDTDHandler ** pDTDHandler);
|
---|
1996 | [propputref, id(DISPID_SAX_XMLREADER_DTDHANDLER)]
|
---|
1997 | HRESULT dtdHandler([in] IVBSAXDTDHandler * pDTDHandler);
|
---|
1998 |
|
---|
1999 | [propget, id(DISPID_SAX_XMLREADER_ERRORHANDLER)]
|
---|
2000 | HRESULT errorHandler([out, retval] IVBSAXErrorHandler ** pErrorHandler);
|
---|
2001 | [propputref, id(DISPID_SAX_XMLREADER_ERRORHANDLER)]
|
---|
2002 | HRESULT errorHandler([in] IVBSAXErrorHandler * errorHandler);
|
---|
2003 |
|
---|
2004 | [propget, id(DISPID_SAX_XMLREADER_BASEURL)]
|
---|
2005 | HRESULT baseURL([out, retval] const WCHAR ** pBaseUrl);
|
---|
2006 | [propput, id(DISPID_SAX_XMLREADER_BASEURL)]
|
---|
2007 | HRESULT baseURL([in] const WCHAR * pBaseUrl);
|
---|
2008 |
|
---|
2009 | [propget, id(DISPID_SAX_XMLREADER_SECUREBASEURL)]
|
---|
2010 | HRESULT secureBaseURL([out, retval] const WCHAR ** pSecureBaseUrl);
|
---|
2011 | [propput, id(DISPID_SAX_XMLREADER_SECUREBASEURL)]
|
---|
2012 | HRESULT secureBaseURL([in] const WCHAR * secureBaseUrl);
|
---|
2013 |
|
---|
2014 | [id(DISPID_SAX_XMLREADER_PARSE)]
|
---|
2015 | HRESULT parse( [in] VARIANT varInput);
|
---|
2016 | [id(DISPID_SAX_XMLREADER_PARSEURL)]
|
---|
2017 | HRESULT parseURL([in] const WCHAR * url);
|
---|
2018 | }
|
---|
2019 |
|
---|
2020 | [
|
---|
2021 | object,
|
---|
2022 | dual,
|
---|
2023 | uuid(f10d27cc-3ec0-415c-8ed8-77ab1c5e7262)
|
---|
2024 | ]
|
---|
2025 | interface IMXAttributes : IDispatch
|
---|
2026 | {
|
---|
2027 | [id(DISPID_MX_ATTRIBUTES_ADDATTRIBUTE)]
|
---|
2028 | HRESULT addAttribute(
|
---|
2029 | [in] BSTR uri,
|
---|
2030 | [in] BSTR localName,
|
---|
2031 | [in] BSTR QName,
|
---|
2032 | [in] BSTR type,
|
---|
2033 | [in] BSTR value);
|
---|
2034 |
|
---|
2035 | [id(DISPID_MX_ATTRIBUTES_ADDATTRIBUTEFROMINDEX)]
|
---|
2036 | HRESULT addAttributeFromIndex( [in] VARIANT atts,
|
---|
2037 | [in] int index);
|
---|
2038 |
|
---|
2039 | [id(DISPID_MX_ATTRIBUTES_CLEAR)]
|
---|
2040 | HRESULT clear();
|
---|
2041 |
|
---|
2042 | [id(DISPID_MX_ATTRIBUTES_REMOVEATTRIBUTE)]
|
---|
2043 | HRESULT removeAttribute( [in] int index);
|
---|
2044 |
|
---|
2045 | [id(DISPID_MX_ATTRIBUTES_SETATTRIBUTE)]
|
---|
2046 | HRESULT setAttribute(
|
---|
2047 | [in] int index,
|
---|
2048 | [in] BSTR uri,
|
---|
2049 | [in] BSTR localName,
|
---|
2050 | [in] BSTR QName,
|
---|
2051 | [in] BSTR type,
|
---|
2052 | [in] BSTR value);
|
---|
2053 |
|
---|
2054 | [id(DISPID_MX_ATTRIBUTES_SETATTRIBUTES)]
|
---|
2055 | HRESULT setAttributes( [in] VARIANT atts);
|
---|
2056 |
|
---|
2057 | [id(DISPID_MX_ATTRIBUTES_SETLOCALNAME)]
|
---|
2058 | HRESULT setLocalName( [in] int index,
|
---|
2059 | [in] BSTR localName);
|
---|
2060 |
|
---|
2061 | [id(DISPID_MX_ATTRIBUTES_SETQNAME)]
|
---|
2062 | HRESULT setQName(
|
---|
2063 | [in] int index,
|
---|
2064 | [in] BSTR QName);
|
---|
2065 |
|
---|
2066 | [id(DISPID_MX_ATTRIBUTES_SETTYPE)]
|
---|
2067 | HRESULT setType( [in] int index, [in] BSTR type);
|
---|
2068 |
|
---|
2069 | [id(DISPID_MX_ATTRIBUTES_SETURI)]
|
---|
2070 | HRESULT setURI( [in] int index, [in] BSTR uri);
|
---|
2071 |
|
---|
2072 | [id(DISPID_MX_ATTRIBUTES_SETVALUE)]
|
---|
2073 | HRESULT setValue([in] int index, [in] BSTR value);
|
---|
2074 | };
|
---|
2075 |
|
---|
2076 | [
|
---|
2077 | object,
|
---|
2078 | dual,
|
---|
2079 | uuid(808f4e35-8d5a-4fbe-8466-33a41279ed30)
|
---|
2080 | ]
|
---|
2081 | interface IMXReaderControl : IDispatch
|
---|
2082 | {
|
---|
2083 | [id(DISPID_MX_READER_CONTROL_ABORT)]
|
---|
2084 | HRESULT abort();
|
---|
2085 |
|
---|
2086 | [id(DISPID_MX_READER_CONTROL_RESUME)]
|
---|
2087 | HRESULT resume();
|
---|
2088 |
|
---|
2089 | [id(DISPID_MX_READER_CONTROL_SUSPEND)]
|
---|
2090 | HRESULT suspend();
|
---|
2091 | };
|
---|
2092 |
|
---|
2093 | [
|
---|
2094 | object,
|
---|
2095 | dual,
|
---|
2096 | uuid(4d7ff4ba-1565-4ea8-94e1-6e724a46f98d)
|
---|
2097 | ]
|
---|
2098 | interface IMXWriter : IDispatch
|
---|
2099 | {
|
---|
2100 | [propput, id(DISPID_MX_WRITER_OUTPUT)]
|
---|
2101 | HRESULT output ( [in] VARIANT Destination);
|
---|
2102 | [propget, id(DISPID_MX_WRITER_OUTPUT)]
|
---|
2103 | HRESULT output ( [out, retval] VARIANT * Destination);
|
---|
2104 |
|
---|
2105 | [propput, id(DISPID_MX_WRITER_ENCODING)]
|
---|
2106 | HRESULT encoding ([in] BSTR encoding);
|
---|
2107 | [propget, id(DISPID_MX_WRITER_ENCODING)]
|
---|
2108 | HRESULT encoding ([out, retval] BSTR * encoding);
|
---|
2109 |
|
---|
2110 | [propput, id(DISPID_MX_WRITER_BYTEORDERMARK)]
|
---|
2111 | HRESULT byteOrderMark ([in] VARIANT_BOOL writeByteOrderMark);
|
---|
2112 | [propget, id(DISPID_MX_WRITER_BYTEORDERMARK)]
|
---|
2113 | HRESULT byteOrderMark ([out, retval] VARIANT_BOOL * writeByteOrderMark);
|
---|
2114 |
|
---|
2115 | [propput, id(DISPID_MX_WRITER_INDENT)]
|
---|
2116 | HRESULT indent ([in] VARIANT_BOOL indentMode);
|
---|
2117 | [propget, id(DISPID_MX_WRITER_INDENT)]
|
---|
2118 | HRESULT indent ([out, retval] VARIANT_BOOL * indentMode);
|
---|
2119 |
|
---|
2120 | [propput, id(DISPID_MX_WRITER_STANDALONE)]
|
---|
2121 | HRESULT standalone ([in] VARIANT_BOOL value);
|
---|
2122 | [propget, id(DISPID_MX_WRITER_STANDALONE)]
|
---|
2123 | HRESULT standalone ([out, retval] VARIANT_BOOL * value);
|
---|
2124 |
|
---|
2125 | [propput, id(DISPID_MX_WRITER_OMITXMLDECLARATION)]
|
---|
2126 | HRESULT omitXMLDeclaration ([in] VARIANT_BOOL value);
|
---|
2127 | [propget, id(DISPID_MX_WRITER_OMITXMLDECLARATION)]
|
---|
2128 | HRESULT omitXMLDeclaration ([out, retval] VARIANT_BOOL * value);
|
---|
2129 |
|
---|
2130 | [propput, id(DISPID_MX_WRITER_VERSION)]
|
---|
2131 | HRESULT version ([in] BSTR version);
|
---|
2132 | [propget, id(DISPID_MX_WRITER_VERSION)]
|
---|
2133 | HRESULT version ([out, retval] BSTR * version);
|
---|
2134 |
|
---|
2135 | [propput, id(DISPID_MX_WRITER_DISABLEOUTPUTESCAPING)]
|
---|
2136 | HRESULT disableOutputEscaping([in] VARIANT_BOOL value);
|
---|
2137 | [propget, id(DISPID_MX_WRITER_DISABLEOUTPUTESCAPING)]
|
---|
2138 | HRESULT disableOutputEscaping([out, retval] VARIANT_BOOL * value);
|
---|
2139 |
|
---|
2140 | [id(DISPID_MX_WRITER_FLUSH)]
|
---|
2141 | HRESULT flush();
|
---|
2142 | };
|
---|
2143 |
|
---|
2144 | [
|
---|
2145 | local,
|
---|
2146 | object,
|
---|
2147 | uuid(50ea08b1-dd1b-4664-9a50-c2f40f4bd79a),
|
---|
2148 | dual
|
---|
2149 | ]
|
---|
2150 | interface ISchemaStringCollection : IDispatch
|
---|
2151 | {
|
---|
2152 | [id(DISPID_VALUE), propget]
|
---|
2153 | HRESULT item(
|
---|
2154 | [in] long index,
|
---|
2155 | [out,retval] BSTR* bstr);
|
---|
2156 |
|
---|
2157 | [id(DISPID_SOM_LENGTH), propget]
|
---|
2158 | HRESULT length(
|
---|
2159 | [out,retval] long* length);
|
---|
2160 |
|
---|
2161 | [id(DISPID_NEWENUM), hidden, restricted, propget]
|
---|
2162 | HRESULT _newEnum(
|
---|
2163 | [out,retval] IUnknown** ppunk);
|
---|
2164 | };
|
---|
2165 |
|
---|
2166 | [
|
---|
2167 | local,
|
---|
2168 | object,
|
---|
2169 | uuid(50ea08b2-dd1b-4664-9a50-c2f40f4bd79a),
|
---|
2170 | dual
|
---|
2171 | ]
|
---|
2172 | interface ISchemaItemCollection : IDispatch
|
---|
2173 | {
|
---|
2174 | [id(DISPID_VALUE), propget]
|
---|
2175 | HRESULT item(
|
---|
2176 | [in] long index,
|
---|
2177 | [out,retval]ISchemaItem** item);
|
---|
2178 |
|
---|
2179 | [id(DISPID_SOM_ITEMBYNAME)]
|
---|
2180 | HRESULT itemByName(
|
---|
2181 | [in] BSTR name,
|
---|
2182 | [out,retval] ISchemaItem** item);
|
---|
2183 |
|
---|
2184 | [id(DISPID_SOM_ITEMBYQNAME)]
|
---|
2185 | HRESULT itemByQName(
|
---|
2186 | [in] BSTR name,
|
---|
2187 | [in] BSTR namespaceURI,
|
---|
2188 | [out,retval] ISchemaItem** item);
|
---|
2189 |
|
---|
2190 | [id(DISPID_SOM_LENGTH), propget]
|
---|
2191 | HRESULT length(
|
---|
2192 | [out,retval]long* length);
|
---|
2193 |
|
---|
2194 | [id(DISPID_NEWENUM), hidden, restricted, propget]
|
---|
2195 | HRESULT _newEnum(
|
---|
2196 | [out,retval]IUnknown** ppunk);
|
---|
2197 | };
|
---|
2198 |
|
---|
2199 | [
|
---|
2200 | local,
|
---|
2201 | object,
|
---|
2202 | uuid(50ea08b3-dd1b-4664-9a50-c2f40f4bd79a),
|
---|
2203 | dual
|
---|
2204 | ]
|
---|
2205 | interface ISchemaItem : IDispatch
|
---|
2206 | {
|
---|
2207 | [id(DISPID_SOM_NAME), propget]
|
---|
2208 | HRESULT name(
|
---|
2209 | [out,retval] BSTR* name);
|
---|
2210 |
|
---|
2211 | [id(DISPID_SOM_NAMESPACEURI), propget]
|
---|
2212 | HRESULT namespaceURI(
|
---|
2213 | [out,retval] BSTR* namespaceURI);
|
---|
2214 |
|
---|
2215 | [id(DISPID_SOM_SCHEMA), propget]
|
---|
2216 | HRESULT schema(
|
---|
2217 | [out,retval] ISchema** schema);
|
---|
2218 |
|
---|
2219 | [id(DISPID_SOM_ID), propget]
|
---|
2220 | HRESULT id(
|
---|
2221 | [out,retval] BSTR* id);
|
---|
2222 |
|
---|
2223 | [id(DISPID_SOM_ITEMTYPE), propget]
|
---|
2224 | HRESULT itemType(
|
---|
2225 | [out,retval] SOMITEMTYPE* itemType);
|
---|
2226 |
|
---|
2227 | [id(DISPID_SOM_UNHANDLEDATTRS), propget]
|
---|
2228 | HRESULT unhandledAttributes(
|
---|
2229 | [out,retval] IVBSAXAttributes** attributes);
|
---|
2230 |
|
---|
2231 | [id(DISPID_SOM_WRITEANNOTATION)]
|
---|
2232 | HRESULT writeAnnotation(
|
---|
2233 | [in] IUnknown* annotationSink,
|
---|
2234 | [out,retval] VARIANT_BOOL* isWritten);
|
---|
2235 | };
|
---|
2236 |
|
---|
2237 | [
|
---|
2238 | local,
|
---|
2239 | object,
|
---|
2240 | uuid(50ea08b4-dd1b-4664-9a50-c2f40f4bd79a),
|
---|
2241 | dual
|
---|
2242 | ]
|
---|
2243 | interface ISchema : ISchemaItem
|
---|
2244 | {
|
---|
2245 | [id(DISPID_SOM_TARGETNAMESPACE), propget]
|
---|
2246 | HRESULT targetNamespace(
|
---|
2247 | [out,retval] BSTR* targetNamespace);
|
---|
2248 |
|
---|
2249 | [id(DISPID_SOM_VERSION), propget]
|
---|
2250 | HRESULT version(
|
---|
2251 | [out,retval] BSTR* version);
|
---|
2252 |
|
---|
2253 | [id(DISPID_SOM_TYPES), propget]
|
---|
2254 | HRESULT types(
|
---|
2255 | [out,retval] ISchemaItemCollection** types);
|
---|
2256 |
|
---|
2257 | [id(DISPID_SOM_ELEMENTS), propget]
|
---|
2258 | HRESULT elements(
|
---|
2259 | [out,retval] ISchemaItemCollection** elements);
|
---|
2260 |
|
---|
2261 | [id(DISPID_SOM_ATTRIBUTES), propget]
|
---|
2262 | HRESULT attributes(
|
---|
2263 | [out,retval] ISchemaItemCollection** attributes);
|
---|
2264 |
|
---|
2265 | [id(DISPID_SOM_ATTRIBUTEGROUPS), propget]
|
---|
2266 | HRESULT attributeGroups(
|
---|
2267 | [out,retval] ISchemaItemCollection** attributeGroups);
|
---|
2268 |
|
---|
2269 | [id(DISPID_SOM_MODELGROUPS), propget]
|
---|
2270 | HRESULT modelGroups(
|
---|
2271 | [out,retval] ISchemaItemCollection** modelGroups);
|
---|
2272 |
|
---|
2273 | [id(DISPID_SOM_NOTATIONS), propget]
|
---|
2274 | HRESULT notations(
|
---|
2275 | [out,retval] ISchemaItemCollection** notations);
|
---|
2276 |
|
---|
2277 | [id(DISPID_SOM_SCHEMALOCATIONS), propget]
|
---|
2278 | HRESULT schemaLocations(
|
---|
2279 | [out,retval] ISchemaStringCollection** schemaLocations);
|
---|
2280 | };
|
---|
2281 |
|
---|
2282 | [
|
---|
2283 | local,
|
---|
2284 | object,
|
---|
2285 | uuid(50ea08b5-dd1b-4664-9a50-c2f40f4bd79a),
|
---|
2286 | dual
|
---|
2287 | ]
|
---|
2288 | interface ISchemaParticle : ISchemaItem
|
---|
2289 | {
|
---|
2290 | [id(DISPID_SOM_MINOCCURS), propget]
|
---|
2291 | HRESULT minOccurs(
|
---|
2292 | [out,retval] VARIANT* minOccurs);
|
---|
2293 |
|
---|
2294 | [id(DISPID_SOM_MAXOCCURS), propget]
|
---|
2295 | HRESULT maxOccurs(
|
---|
2296 | [out,retval] VARIANT* maxOccurs);
|
---|
2297 | };
|
---|
2298 |
|
---|
2299 | [
|
---|
2300 | object,
|
---|
2301 | uuid(50ea08b6-dd1b-4664-9a50-c2f40f4bd79a),
|
---|
2302 | dual,
|
---|
2303 | ]
|
---|
2304 | interface ISchemaAttribute : ISchemaItem
|
---|
2305 | {
|
---|
2306 | [id(DISPID_SOM_TYPE), propget]
|
---|
2307 | HRESULT type(
|
---|
2308 | [out,retval] ISchemaType** type);
|
---|
2309 |
|
---|
2310 | [id(DISPID_SOM_SCOPE), propget]
|
---|
2311 | HRESULT scope(
|
---|
2312 | [out,retval] ISchemaComplexType** scope);
|
---|
2313 |
|
---|
2314 | [id(DISPID_SOM_DEFAULTVALUE), propget]
|
---|
2315 | HRESULT defaultValue(
|
---|
2316 | [out,retval]BSTR* defaultValue);
|
---|
2317 |
|
---|
2318 | [id(DISPID_SOM_FIXEDVALUE), propget]
|
---|
2319 | HRESULT fixedValue(
|
---|
2320 | [out,retval] BSTR* fixedValue);
|
---|
2321 |
|
---|
2322 | [id(DISPID_SOM_USE), propget]
|
---|
2323 | HRESULT use(
|
---|
2324 | [out,retval] SCHEMAUSE* use);
|
---|
2325 |
|
---|
2326 | [id(DISPID_SOM_ISREFERENCE), propget]
|
---|
2327 | HRESULT isReference(
|
---|
2328 | [out,retval] VARIANT_BOOL* reference);
|
---|
2329 | };
|
---|
2330 |
|
---|
2331 | [
|
---|
2332 | local,
|
---|
2333 | object,
|
---|
2334 | uuid(50ea08b7-dd1b-4664-9a50-c2f40f4bd79a),
|
---|
2335 | dual
|
---|
2336 | ]
|
---|
2337 | interface ISchemaElement : ISchemaParticle
|
---|
2338 | {
|
---|
2339 | [id(DISPID_SOM_TYPE), propget]
|
---|
2340 | HRESULT type(
|
---|
2341 | [out,retval] ISchemaType** type);
|
---|
2342 |
|
---|
2343 | [id(DISPID_SOM_SCOPE), propget]
|
---|
2344 | HRESULT scope(
|
---|
2345 | [out,retval] ISchemaComplexType** scope);
|
---|
2346 |
|
---|
2347 | [id(DISPID_SOM_DEFAULTVALUE), propget]
|
---|
2348 | HRESULT defaultValue(
|
---|
2349 | [out,retval] BSTR* defaultValue);
|
---|
2350 |
|
---|
2351 | [id(DISPID_SOM_FIXEDVALUE), propget]
|
---|
2352 | HRESULT fixedValue(
|
---|
2353 | [out,retval] BSTR* fixedValue);
|
---|
2354 |
|
---|
2355 | [id(DISPID_SOM_ISNILLABLE), propget]
|
---|
2356 | HRESULT isNillable(
|
---|
2357 | [out,retval] VARIANT_BOOL* nillable);
|
---|
2358 |
|
---|
2359 | [id(DISPID_SOM_IDCONSTRAINTS), propget]
|
---|
2360 | HRESULT identityConstraints(
|
---|
2361 | [out,retval] ISchemaItemCollection** constraints);
|
---|
2362 |
|
---|
2363 | [id(DISPID_SOM_SUBSTITUTIONGROUP), propget]
|
---|
2364 | HRESULT substitutionGroup(
|
---|
2365 | [out,retval] ISchemaElement** element);
|
---|
2366 |
|
---|
2367 | [id(DISPID_SOM_EXCLUSIONS), propget]
|
---|
2368 | HRESULT substitutionGroupExclusions(
|
---|
2369 | [out,retval] SCHEMADERIVATIONMETHOD* exclusions);
|
---|
2370 |
|
---|
2371 | [id(DISPID_SOM_DISALLOWED), propget]
|
---|
2372 | HRESULT disallowedSubstitutions(
|
---|
2373 | [out,retval] SCHEMADERIVATIONMETHOD* disallowed);
|
---|
2374 |
|
---|
2375 | [id(DISPID_SOM_ISABSTRACT), propget]
|
---|
2376 | HRESULT isAbstract(
|
---|
2377 | [out,retval] VARIANT_BOOL* abstract);
|
---|
2378 |
|
---|
2379 | [id(DISPID_SOM_ISREFERENCE), propget]
|
---|
2380 | HRESULT isReference(
|
---|
2381 | [out,retval] VARIANT_BOOL* reference);
|
---|
2382 | };
|
---|
2383 |
|
---|
2384 | [
|
---|
2385 | local,
|
---|
2386 | object,
|
---|
2387 | uuid(50ea08b8-dd1b-4664-9a50-c2f40f4bd79a),
|
---|
2388 | dual
|
---|
2389 | ]
|
---|
2390 | interface ISchemaType : ISchemaItem
|
---|
2391 | {
|
---|
2392 | [id(DISPID_SOM_BASETYPES), propget]
|
---|
2393 | HRESULT baseTypes(
|
---|
2394 | [out,retval] ISchemaItemCollection** baseTypes);
|
---|
2395 |
|
---|
2396 | [id(DISPID_SOM_FINAL), propget]
|
---|
2397 | HRESULT final(
|
---|
2398 | [out,retval] SCHEMADERIVATIONMETHOD* final);
|
---|
2399 |
|
---|
2400 | [id(DISPID_SOM_VARIETY), propget]
|
---|
2401 | HRESULT variety(
|
---|
2402 | [out,retval] SCHEMATYPEVARIETY* variety);
|
---|
2403 |
|
---|
2404 | [id(DISPID_SOM_DERIVEDBY), propget]
|
---|
2405 | HRESULT derivedBy(
|
---|
2406 | [out,retval] SCHEMADERIVATIONMETHOD* derivedBy);
|
---|
2407 |
|
---|
2408 | [id(DISPID_SOM_ISVALID)]
|
---|
2409 | HRESULT isValid(
|
---|
2410 | [in] BSTR data,
|
---|
2411 | [out,retval] VARIANT_BOOL* valid);
|
---|
2412 |
|
---|
2413 | [id(DISPID_SOM_MINEXCLUSIVE), propget]
|
---|
2414 | HRESULT minExclusive(
|
---|
2415 | [out,retval]BSTR* minExclusive);
|
---|
2416 |
|
---|
2417 | [id(DISPID_SOM_MININCLUSIVE), propget]
|
---|
2418 | HRESULT minInclusive(
|
---|
2419 | [out,retval] BSTR* minInclusive);
|
---|
2420 |
|
---|
2421 | [id(DISPID_SOM_MAXEXCLUSIVE), propget]
|
---|
2422 | HRESULT maxExclusive(
|
---|
2423 | [out,retval] BSTR* maxExclusive);
|
---|
2424 |
|
---|
2425 | [id(DISPID_SOM_MAXINCLUSIVE), propget]
|
---|
2426 | HRESULT maxInclusive(
|
---|
2427 | [out,retval] BSTR* maxInclusive);
|
---|
2428 |
|
---|
2429 | [id(DISPID_SOM_TOTALDIGITS), propget]
|
---|
2430 | HRESULT totalDigits(
|
---|
2431 | [out,retval] VARIANT* totalDigits);
|
---|
2432 |
|
---|
2433 | [id(DISPID_SOM_FRACTIONDIGITS), propget]
|
---|
2434 | HRESULT fractionDigits(
|
---|
2435 | [out,retval] VARIANT* fractionDigits);
|
---|
2436 |
|
---|
2437 | [id(DISPID_SOM_LENGTH), propget]
|
---|
2438 | HRESULT length(
|
---|
2439 | [out,retval] VARIANT* length);
|
---|
2440 |
|
---|
2441 | [id(DISPID_SOM_MINLENGTH), propget]
|
---|
2442 | HRESULT minLength(
|
---|
2443 | [out,retval]VARIANT* minLength);
|
---|
2444 |
|
---|
2445 | [id(DISPID_SOM_MAXLENGTH), propget]
|
---|
2446 | HRESULT maxLength(
|
---|
2447 | [out,retval]VARIANT* maxLength);
|
---|
2448 |
|
---|
2449 | [id(DISPID_SOM_ENUMERATION), propget]
|
---|
2450 | HRESULT enumeration(
|
---|
2451 | [out,retval] ISchemaStringCollection** enumeration);
|
---|
2452 |
|
---|
2453 | [id(DISPID_SOM_WHITESPACE), propget]
|
---|
2454 | HRESULT whitespace(
|
---|
2455 | [out,retval]SCHEMAWHITESPACE* whitespace);
|
---|
2456 |
|
---|
2457 | [id(DISPID_SOM_PATTERNS), propget]
|
---|
2458 | HRESULT patterns(
|
---|
2459 | [out,retval] ISchemaStringCollection** patterns);
|
---|
2460 | };
|
---|
2461 |
|
---|
2462 | [
|
---|
2463 | local,
|
---|
2464 | object,
|
---|
2465 | uuid(50ea08b9-dd1b-4664-9a50-c2f40f4bd79a),
|
---|
2466 | dual,
|
---|
2467 | ]
|
---|
2468 | interface ISchemaComplexType : ISchemaType
|
---|
2469 | {
|
---|
2470 | [id(DISPID_SOM_ISABSTRACT), propget]
|
---|
2471 | HRESULT isAbstract(
|
---|
2472 | [out,retval] VARIANT_BOOL* abstract);
|
---|
2473 |
|
---|
2474 | [id(DISPID_SOM_ANYATTRIBUTE), propget]
|
---|
2475 | HRESULT anyAttribute(
|
---|
2476 | [out,retval] ISchemaAny** anyAttribute);
|
---|
2477 |
|
---|
2478 | [id(DISPID_SOM_ATTRIBUTES), propget]
|
---|
2479 | HRESULT attributes(
|
---|
2480 | [out,retval] ISchemaItemCollection** attributes);
|
---|
2481 |
|
---|
2482 | [id(DISPID_SOM_CONTENTTYPE), propget]
|
---|
2483 | HRESULT contentType(
|
---|
2484 | [out,retval] SCHEMACONTENTTYPE* contentType);
|
---|
2485 |
|
---|
2486 | [id(DISPID_SOM_CONTENTMODEL), propget]
|
---|
2487 | HRESULT contentModel(
|
---|
2488 | [out,retval] ISchemaModelGroup** contentModel);
|
---|
2489 |
|
---|
2490 | [id(DISPID_SOM_PROHIBITED), propget]
|
---|
2491 | HRESULT prohibitedSubstitutions(
|
---|
2492 | [out,retval] SCHEMADERIVATIONMETHOD* prohibited);
|
---|
2493 | };
|
---|
2494 |
|
---|
2495 | [
|
---|
2496 | local,
|
---|
2497 | object,
|
---|
2498 | uuid(50ea08ba-dd1b-4664-9a50-c2f40f4bd79a),
|
---|
2499 | dual,
|
---|
2500 | ]
|
---|
2501 | interface ISchemaAttributeGroup : ISchemaItem
|
---|
2502 | {
|
---|
2503 | [id(DISPID_SOM_ANYATTRIBUTE), propget]
|
---|
2504 | HRESULT anyAttribute(
|
---|
2505 | [out,retval] ISchemaAny** anyAttribute);
|
---|
2506 |
|
---|
2507 | [id(DISPID_SOM_ATTRIBUTES), propget]
|
---|
2508 | HRESULT attributes(
|
---|
2509 | [out,retval] ISchemaItemCollection** attributes);
|
---|
2510 | };
|
---|
2511 |
|
---|
2512 | [
|
---|
2513 | local,
|
---|
2514 | object,
|
---|
2515 | uuid(50ea08bb-dd1b-4664-9a50-c2f40f4bd79a),
|
---|
2516 | dual,
|
---|
2517 | ]
|
---|
2518 | interface ISchemaModelGroup : ISchemaParticle
|
---|
2519 | {
|
---|
2520 | [id(DISPID_SOM_PARTICLES), propget]
|
---|
2521 | HRESULT particles(
|
---|
2522 | [out,retval] ISchemaItemCollection** particles);
|
---|
2523 | };
|
---|
2524 |
|
---|
2525 | [
|
---|
2526 | local,
|
---|
2527 | object,
|
---|
2528 | uuid(50ea08bc-dd1b-4664-9a50-c2f40f4bd79a),
|
---|
2529 | dual
|
---|
2530 | ]
|
---|
2531 | interface ISchemaAny : ISchemaParticle
|
---|
2532 | {
|
---|
2533 | [id(DISPID_SOM_NAMESPACES), propget]
|
---|
2534 | HRESULT namespaces(
|
---|
2535 | [out,retval] ISchemaStringCollection** namespaces);
|
---|
2536 |
|
---|
2537 | [id(DISPID_SOM_PROCESSCONTENTS), propget]
|
---|
2538 | HRESULT processContents(
|
---|
2539 | [out,retval] SCHEMAPROCESSCONTENTS* processContents);
|
---|
2540 | };
|
---|
2541 |
|
---|
2542 | [
|
---|
2543 | local,
|
---|
2544 | object,
|
---|
2545 | uuid(50ea08bd-dd1b-4664-9a50-c2f40f4bd79a),
|
---|
2546 | dual
|
---|
2547 | ]
|
---|
2548 | interface ISchemaIdentityConstraint : ISchemaItem
|
---|
2549 | {
|
---|
2550 | [id(DISPID_SOM_SELECTOR), propget]
|
---|
2551 | HRESULT selector(
|
---|
2552 | [out,retval] BSTR* selector);
|
---|
2553 |
|
---|
2554 | [id(DISPID_SOM_FIELDS), propget]
|
---|
2555 | HRESULT fields(
|
---|
2556 | [out,retval] ISchemaStringCollection** fields);
|
---|
2557 |
|
---|
2558 | [id(DISPID_SOM_REFERENCEDKEY), propget]
|
---|
2559 | HRESULT referencedKey(
|
---|
2560 | [out,retval] ISchemaIdentityConstraint** key);
|
---|
2561 | };
|
---|
2562 |
|
---|
2563 | [
|
---|
2564 | local,
|
---|
2565 | object,
|
---|
2566 | uuid(50ea08be-dd1b-4664-9a50-c2f40f4bd79a),
|
---|
2567 | dual
|
---|
2568 | ]
|
---|
2569 | interface ISchemaNotation : ISchemaItem
|
---|
2570 | {
|
---|
2571 | [id(DISPID_SOM_SYSTEMIDENTIFIER), propget]
|
---|
2572 | HRESULT systemIdentifier(
|
---|
2573 | [out,retval] BSTR* uri);
|
---|
2574 |
|
---|
2575 | [id(DISPID_SOM_PUBLICIDENTIFIER), propget]
|
---|
2576 | HRESULT publicIdentifier(
|
---|
2577 | [out,retval] BSTR* uri);
|
---|
2578 | };
|
---|
2579 |
|
---|
2580 |
|
---|
2581 | [
|
---|
2582 | uuid(079aa557-4a18-424a-8eee-e39f0a8d41b9)
|
---|
2583 | ]
|
---|
2584 | coclass SAXXMLReader
|
---|
2585 | {
|
---|
2586 | [default] interface IVBSAXXMLReader;
|
---|
2587 | interface ISAXXMLReader;
|
---|
2588 | interface IMXReaderControl;
|
---|
2589 | };
|
---|
2590 |
|
---|
2591 | [
|
---|
2592 | uuid(3124c396-fb13-4836-a6ad-1317f1713688)
|
---|
2593 | ]
|
---|
2594 | coclass SAXXMLReader30
|
---|
2595 | {
|
---|
2596 | [default] interface IVBSAXXMLReader;
|
---|
2597 | interface ISAXXMLReader;
|
---|
2598 | interface IMXReaderControl;
|
---|
2599 | };
|
---|
2600 |
|
---|
2601 | [
|
---|
2602 | uuid(7c6e29bc-8b8b-4c3d-859e-af6cd158be0f)
|
---|
2603 | ]
|
---|
2604 | coclass SAXXMLReader40
|
---|
2605 | {
|
---|
2606 | [default] interface IVBSAXXMLReader;
|
---|
2607 | interface ISAXXMLReader;
|
---|
2608 | };
|
---|
2609 |
|
---|
2610 | [
|
---|
2611 | uuid(fc220ad8-a72a-4ee8-926e-0b7ad152a020)
|
---|
2612 | ]
|
---|
2613 | coclass MXXMLWriter
|
---|
2614 | {
|
---|
2615 | [default] interface IMXWriter;
|
---|
2616 |
|
---|
2617 | interface ISAXContentHandler;
|
---|
2618 | interface ISAXErrorHandler;
|
---|
2619 | interface ISAXDTDHandler;
|
---|
2620 | interface ISAXLexicalHandler;
|
---|
2621 | interface ISAXDeclHandler;
|
---|
2622 |
|
---|
2623 | interface IVBSAXContentHandler;
|
---|
2624 | interface IVBSAXDeclHandler;
|
---|
2625 | interface IVBSAXDTDHandler;
|
---|
2626 | interface IVBSAXErrorHandler;
|
---|
2627 | interface IVBSAXLexicalHandler;
|
---|
2628 | };
|
---|
2629 |
|
---|
2630 | [
|
---|
2631 | uuid(3d813dfe-6c91-4a4e-8f41-04346a841d9c)
|
---|
2632 | ]
|
---|
2633 | coclass MXXMLWriter30
|
---|
2634 | {
|
---|
2635 | [default] interface IMXWriter;
|
---|
2636 |
|
---|
2637 | interface ISAXContentHandler;
|
---|
2638 | interface ISAXDeclHandler;
|
---|
2639 | interface ISAXDTDHandler;
|
---|
2640 | interface ISAXErrorHandler;
|
---|
2641 | interface ISAXLexicalHandler;
|
---|
2642 |
|
---|
2643 | interface IVBSAXContentHandler;
|
---|
2644 | interface IVBSAXDeclHandler;
|
---|
2645 | interface IVBSAXDTDHandler;
|
---|
2646 | interface IVBSAXErrorHandler;
|
---|
2647 | interface IVBSAXLexicalHandler;
|
---|
2648 | };
|
---|
2649 |
|
---|
2650 | [
|
---|
2651 | uuid(4dd441ad-526d-4a77-9f1b-9841ed802fb0)
|
---|
2652 | ]
|
---|
2653 | coclass SAXAttributes
|
---|
2654 | {
|
---|
2655 | [default] interface IMXAttributes;
|
---|
2656 | interface IVBSAXAttributes;
|
---|
2657 | interface ISAXAttributes;
|
---|
2658 | };
|
---|
2659 |
|
---|
2660 | [
|
---|
2661 | uuid(3e784a01-f3ae-4dc0-9354-9526b9370eba)
|
---|
2662 | ]
|
---|
2663 | coclass SAXAttributes30
|
---|
2664 | {
|
---|
2665 | [default] interface IMXAttributes;
|
---|
2666 | interface IVBSAXAttributes;
|
---|
2667 | interface ISAXAttributes;
|
---|
2668 | };
|
---|
2669 |
|
---|
2670 |
|
---|
2671 | } /* Library MSXML */
|
---|