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 |
|
---|
98 | cpp_quote("#define DOMDocument DOMDocument2")
|
---|
99 | cpp_quote("#define CLSID_DOMDocument CLSID_DOMDocument2")
|
---|
100 |
|
---|
101 | cpp_quote("#ifndef __WIDL_XMLDOM_H")
|
---|
102 | typedef enum tagDOMNodeType
|
---|
103 | {
|
---|
104 | NODE_INVALID = 0,
|
---|
105 | NODE_ELEMENT = 1,
|
---|
106 | NODE_ATTRIBUTE = 2,
|
---|
107 | NODE_TEXT = 3,
|
---|
108 | NODE_CDATA_SECTION = 4,
|
---|
109 | NODE_ENTITY_REFERENCE = 5,
|
---|
110 | NODE_ENTITY = 6,
|
---|
111 | NODE_PROCESSING_INSTRUCTION = 7,
|
---|
112 | NODE_COMMENT = 8,
|
---|
113 | NODE_DOCUMENT = 9,
|
---|
114 | NODE_DOCUMENT_TYPE = 10,
|
---|
115 | NODE_DOCUMENT_FRAGMENT = 11,
|
---|
116 | NODE_NOTATION = 12
|
---|
117 | } DOMNodeType;
|
---|
118 | cpp_quote("#endif /* __WIDL_XMLDOM_H */")
|
---|
119 |
|
---|
120 | [
|
---|
121 | local,
|
---|
122 | object,
|
---|
123 | uuid (2933BF80-7B36-11d2-B20E-00C04F983E60)
|
---|
124 | ]
|
---|
125 | interface IXMLDOMNode : IDispatch
|
---|
126 | {
|
---|
127 | [propget, id(DISPID_DOM_NODE_NODENAME)]
|
---|
128 | HRESULT nodeName([retval, out] BSTR *p);
|
---|
129 |
|
---|
130 | [propget, id(DISPID_DOM_NODE_NODEVALUE)]
|
---|
131 | HRESULT nodeValue([retval, out] VARIANT *var1);
|
---|
132 |
|
---|
133 | [propput, id(DISPID_DOM_NODE_NODEVALUE)]
|
---|
134 | HRESULT nodeValue([in] VARIANT var1);
|
---|
135 |
|
---|
136 | [propget, id(DISPID_DOM_NODE_NODETYPE)]
|
---|
137 | HRESULT nodeType([retval, out] DOMNodeType *domNodeType);
|
---|
138 |
|
---|
139 | [propget, id(DISPID_DOM_NODE_PARENTNODE)]
|
---|
140 | HRESULT parentNode([retval, out] IXMLDOMNode **parent);
|
---|
141 |
|
---|
142 | [propget, id(DISPID_DOM_NODE_CHILDNODES)]
|
---|
143 | HRESULT childNodes([retval, out] IXMLDOMNodeList **outList);
|
---|
144 |
|
---|
145 | [propget, id(DISPID_DOM_NODE_FIRSTCHILD)]
|
---|
146 | HRESULT firstChild([retval, out] IXMLDOMNode **domNode);
|
---|
147 |
|
---|
148 | [propget, id(DISPID_DOM_NODE_LASTCHILD)]
|
---|
149 | HRESULT lastChild([retval, out] IXMLDOMNode **domNode);
|
---|
150 |
|
---|
151 | [propget, id(DISPID_DOM_NODE_PREVIOUSSIBLING)]
|
---|
152 | HRESULT previousSibling([retval, out] IXMLDOMNode **domNode);
|
---|
153 |
|
---|
154 | [propget, id(DISPID_DOM_NODE_NEXTSIBLING)]
|
---|
155 | HRESULT nextSibling([retval, out] IXMLDOMNode **domNode);
|
---|
156 |
|
---|
157 | [propget, id(DISPID_DOM_NODE_ATTRIBUTES)]
|
---|
158 | HRESULT attributes([retval, out] IXMLDOMNamedNodeMap **attributeMap);
|
---|
159 |
|
---|
160 | [id(DISPID_DOM_NODE_INSERTBEFORE)]
|
---|
161 | HRESULT insertBefore(
|
---|
162 | [in] IXMLDOMNode *newNode,
|
---|
163 | [in] VARIANT var1,
|
---|
164 | [retval, out] IXMLDOMNode **outOldNode);
|
---|
165 |
|
---|
166 | [id(DISPID_DOM_NODE_REPLACECHILD)]
|
---|
167 | HRESULT replaceChild(
|
---|
168 | [in] IXMLDOMNode *newNode,
|
---|
169 | [in] IXMLDOMNode *oldNode,
|
---|
170 | [retval, out] IXMLDOMNode **outOldNode);
|
---|
171 |
|
---|
172 | [id(DISPID_DOM_NODE_REMOVECHILD)]
|
---|
173 | HRESULT removeChild(
|
---|
174 | [in] IXMLDOMNode *domNode,
|
---|
175 | [retval, out] IXMLDOMNode **oldNode);
|
---|
176 |
|
---|
177 | [id(DISPID_DOM_NODE_APPENDCHILD)]
|
---|
178 | HRESULT appendChild(
|
---|
179 | [in] IXMLDOMNode *newNode,
|
---|
180 | [retval, out] IXMLDOMNode **outNewNode);
|
---|
181 |
|
---|
182 | [id(DISPID_DOM_NODE_HASCHILDNODES)]
|
---|
183 | HRESULT hasChildNodes(
|
---|
184 | [retval, out] VARIANT_BOOL *pbool);
|
---|
185 |
|
---|
186 | [propget, id(DISPID_DOM_NODE_OWNERDOC)]
|
---|
187 | HRESULT ownerDocument([retval, out] IXMLDOMDocument **domDocument);
|
---|
188 |
|
---|
189 | [id(DISPID_DOM_NODE_CLONENODE)]
|
---|
190 | HRESULT cloneNode(
|
---|
191 | [in] VARIANT_BOOL pbool,
|
---|
192 | [retval, out] IXMLDOMNode **outNode);
|
---|
193 |
|
---|
194 | [propget, id(DISPID_XMLDOM_NODE_STRINGTYPE)]
|
---|
195 | HRESULT nodeTypeString([retval, out] BSTR *p);
|
---|
196 |
|
---|
197 | [propget, id(DISPID_XMLDOM_NODE_TEXT)]
|
---|
198 | HRESULT text([retval, out] BSTR *p);
|
---|
199 |
|
---|
200 | [propput, id(DISPID_XMLDOM_NODE_TEXT)]
|
---|
201 | HRESULT text([in] BSTR p);
|
---|
202 |
|
---|
203 | [propget, id(DISPID_XMLDOM_NODE_SPECIFIED)]
|
---|
204 | HRESULT specified([retval, out] VARIANT_BOOL *pbool);
|
---|
205 |
|
---|
206 | [propget, id(DISPID_XMLDOM_NODE_DEFINITION)]
|
---|
207 | HRESULT definition([retval,out] IXMLDOMNode **domNode);
|
---|
208 |
|
---|
209 | [propget, id(DISPID_XMLDOM_NODE_NODETYPEDVALUE)]
|
---|
210 | HRESULT nodeTypedValue([retval, out] VARIANT *var1);
|
---|
211 |
|
---|
212 | [propput, id(DISPID_XMLDOM_NODE_NODETYPEDVALUE)]
|
---|
213 | HRESULT nodeTypedValue([in] VARIANT var1);
|
---|
214 |
|
---|
215 | [propget, id(DISPID_XMLDOM_NODE_DATATYPE)]
|
---|
216 | HRESULT dataType([retval, out] VARIANT *var1);
|
---|
217 |
|
---|
218 | [propput, id(DISPID_XMLDOM_NODE_DATATYPE)]
|
---|
219 | HRESULT dataType([in] BSTR p);
|
---|
220 |
|
---|
221 | [propget, id(DISPID_XMLDOM_NODE_XML)]
|
---|
222 | HRESULT xml([retval, out] BSTR *p);
|
---|
223 |
|
---|
224 | [id(DISPID_XMLDOM_NODE_TRANSFORMNODE)]
|
---|
225 | HRESULT transformNode(
|
---|
226 | [in] IXMLDOMNode *domNode,
|
---|
227 | [retval, out] BSTR *p);
|
---|
228 |
|
---|
229 | [id(DISPID_XMLDOM_NODE_SELECTNODES)]
|
---|
230 | HRESULT selectNodes(
|
---|
231 | [in] BSTR p,
|
---|
232 | [retval, out] IXMLDOMNodeList **outList);
|
---|
233 |
|
---|
234 | [id(DISPID_XMLDOM_NODE_SELECTSINGLENODE)]
|
---|
235 | HRESULT selectSingleNode(
|
---|
236 | [in] BSTR p,
|
---|
237 | [retval, out] IXMLDOMNode **outNode);
|
---|
238 |
|
---|
239 | [propget,id(DISPID_XMLDOM_NODE_PARSED)]
|
---|
240 | HRESULT parsed([retval, out] VARIANT_BOOL *pbool);
|
---|
241 |
|
---|
242 | [propget, id(DISPID_XMLDOM_NODE_NAMESPACE)]
|
---|
243 | HRESULT namespaceURI([retval, out] BSTR *p);
|
---|
244 |
|
---|
245 | [propget, id(DISPID_XMLDOM_NODE_PREFIX)]
|
---|
246 | HRESULT prefix([retval, out] BSTR *p);
|
---|
247 |
|
---|
248 | [propget, id(DISPID_XMLDOM_NODE_BASENAME)]
|
---|
249 | HRESULT baseName([retval, out] BSTR *p);
|
---|
250 |
|
---|
251 | [id(DISPID_XMLDOM_NODE_TRANSFORMNODETOOBJECT)]
|
---|
252 | HRESULT transformNodeToObject(
|
---|
253 | [in] IXMLDOMNode *domNode,
|
---|
254 | [in] VARIANT var1);
|
---|
255 | }
|
---|
256 |
|
---|
257 | [
|
---|
258 | local,
|
---|
259 | object,
|
---|
260 | uuid (2933BF81-7B36-11d2-B20E-00C04F983E60)
|
---|
261 | ]
|
---|
262 | interface IXMLDOMDocument : IXMLDOMNode
|
---|
263 | {
|
---|
264 | [propget, id(DISPID_DOM_DOCUMENT_DOCTYPE)]
|
---|
265 | HRESULT doctype([retval, out] IXMLDOMDocumentType **docType);
|
---|
266 |
|
---|
267 | [propget, id(DISPID_DOM_DOCUMENT_IMPLEMENTATION)]
|
---|
268 | HRESULT implementation([retval, out] IXMLDOMImplementation **impl);
|
---|
269 |
|
---|
270 | [propget, id(DISPID_DOM_DOCUMENT_DOCUMENTELEMENT)]
|
---|
271 | HRESULT documentElement([retval, out] IXMLDOMElement **domElement);
|
---|
272 |
|
---|
273 | [propputref, id(DISPID_DOM_DOCUMENT_DOCUMENTELEMENT)]
|
---|
274 | HRESULT documentElement([in] IXMLDOMElement *domElement);
|
---|
275 |
|
---|
276 | [id(DISPID_DOM_DOCUMENT_CREATEELEMENT)]
|
---|
277 | HRESULT createElement(
|
---|
278 | [in] BSTR p,
|
---|
279 | [retval, out] IXMLDOMElement **domElement);
|
---|
280 |
|
---|
281 | [id(DISPID_DOM_DOCUMENT_CREATEDOCUMENTFRAGMENT)]
|
---|
282 | HRESULT createDocumentFragment(
|
---|
283 | [retval, out] IXMLDOMDocumentFragment **docFrag);
|
---|
284 |
|
---|
285 | [id(DISPID_DOM_DOCUMENT_CREATETEXTNODE)]
|
---|
286 | HRESULT createTextNode(
|
---|
287 | [in] BSTR p,
|
---|
288 | [retval, out] IXMLDOMText **text);
|
---|
289 |
|
---|
290 | [id(DISPID_DOM_DOCUMENT_CREATECOMMENT)]
|
---|
291 | HRESULT createComment(
|
---|
292 | [in] BSTR p,
|
---|
293 | [retval, out] IXMLDOMComment **comment);
|
---|
294 |
|
---|
295 | [id(DISPID_DOM_DOCUMENT_CREATECDATASECTION)]
|
---|
296 | HRESULT createCDATASection(
|
---|
297 | [in] BSTR p,
|
---|
298 | [retval, out] IXMLDOMCDATASection **cdata);
|
---|
299 |
|
---|
300 | [id(DISPID_DOM_DOCUMENT_CREATEPROCESSINGINSTRUCTION)]
|
---|
301 | HRESULT createProcessingInstruction(
|
---|
302 | [in] BSTR target,
|
---|
303 | [in] BSTR data,
|
---|
304 | [retval, out] IXMLDOMProcessingInstruction **pi);
|
---|
305 |
|
---|
306 | [id(DISPID_DOM_DOCUMENT_CREATEATTRIBUTE)]
|
---|
307 | HRESULT createAttribute(
|
---|
308 | [in] BSTR p,
|
---|
309 | [retval, out] IXMLDOMAttribute **attribute);
|
---|
310 |
|
---|
311 | [id(DISPID_DOM_DOCUMENT_CREATEENTITYREFERENCE)]
|
---|
312 | HRESULT createEntityReference(
|
---|
313 | [in] BSTR p,
|
---|
314 | [retval, out] IXMLDOMEntityReference **entityRef);
|
---|
315 |
|
---|
316 | [id(DISPID_DOM_DOCUMENT_GETELEMENTSBYTAGNAME)]
|
---|
317 | HRESULT getElementsByTagName(
|
---|
318 | [in] BSTR p,
|
---|
319 | [retval, out] IXMLDOMNodeList **resultList);
|
---|
320 |
|
---|
321 | [id(DISPID_XMLDOM_DOCUMENT_CREATENODE)]
|
---|
322 | HRESULT createNode(
|
---|
323 | [in] VARIANT var,
|
---|
324 | [in] BSTR name,
|
---|
325 | [in] BSTR uri,
|
---|
326 | [retval, out] IXMLDOMNode **node);
|
---|
327 |
|
---|
328 | [id(DISPID_XMLDOM_DOCUMENT_NODEFROMID)]
|
---|
329 | HRESULT nodeFromID(
|
---|
330 | [in] BSTR id,
|
---|
331 | [retval, out] IXMLDOMNode **node);
|
---|
332 |
|
---|
333 | [id(DISPID_XMLDOM_DOCUMENT_LOAD)]
|
---|
334 | HRESULT load(
|
---|
335 | [in] VARIANT var1,
|
---|
336 | [retval, out] VARIANT_BOOL *pbool);
|
---|
337 |
|
---|
338 | [propget, id(DISPID_READYSTATE)]
|
---|
339 | HRESULT readyState([retval, out] LONG *value);
|
---|
340 |
|
---|
341 | [propget, id(DISPID_XMLDOM_DOCUMENT_PARSEERROR)]
|
---|
342 | HRESULT parseError([retval, out] IXMLDOMParseError **err);
|
---|
343 |
|
---|
344 | [propget, id(DISPID_XMLDOM_DOCUMENT_URL)]
|
---|
345 | HRESULT url([retval, out] BSTR *p);
|
---|
346 |
|
---|
347 | [propget, id(DISPID_XMLDOM_DOCUMENT_ASYNC)]
|
---|
348 | HRESULT async([retval, out] VARIANT_BOOL *pbool);
|
---|
349 |
|
---|
350 | [propput, id(DISPID_XMLDOM_DOCUMENT_ASYNC)]
|
---|
351 | HRESULT async([in] VARIANT_BOOL pbool);
|
---|
352 |
|
---|
353 | [id(DISPID_XMLDOM_DOCUMENT_ABORT)]
|
---|
354 | HRESULT abort();
|
---|
355 |
|
---|
356 | [id(DISPID_XMLDOM_DOCUMENT_LOADXML)]
|
---|
357 | HRESULT loadXML(
|
---|
358 | [in] BSTR p,
|
---|
359 | [out, retval] VARIANT_BOOL *pbool);
|
---|
360 |
|
---|
361 | [id(DISPID_XMLDOM_DOCUMENT_SAVE)]
|
---|
362 | HRESULT save(
|
---|
363 | [in] VARIANT var1);
|
---|
364 |
|
---|
365 | [propget, id(DISPID_XMLDOM_DOCUMENT_VALIDATE)]
|
---|
366 | HRESULT validateOnParse([retval, out] VARIANT_BOOL *pbool);
|
---|
367 |
|
---|
368 | [propput, id(DISPID_XMLDOM_DOCUMENT_VALIDATE)]
|
---|
369 | HRESULT validateOnParse([in] VARIANT_BOOL pbool);
|
---|
370 |
|
---|
371 | [propget, id(DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE)]
|
---|
372 | HRESULT resolveExternals([retval,out] VARIANT_BOOL *pbool);
|
---|
373 |
|
---|
374 | [propput, id(DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE)]
|
---|
375 | HRESULT resolveExternals([in] VARIANT_BOOL pbool);
|
---|
376 |
|
---|
377 | [propget, id(DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE)]
|
---|
378 | HRESULT preserveWhiteSpace([retval,out] VARIANT_BOOL *pbool);
|
---|
379 |
|
---|
380 | [propput, id(DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE)]
|
---|
381 | HRESULT preserveWhiteSpace([in] VARIANT_BOOL pbool);
|
---|
382 |
|
---|
383 | [propput, id(DISPID_XMLDOM_DOCUMENT_ONREADYSTATECHANGE)]
|
---|
384 | HRESULT onreadystatechange([in] VARIANT var1);
|
---|
385 |
|
---|
386 | [propput, id(DISPID_XMLDOM_DOCUMENT_ONDATAAVAILABLE)]
|
---|
387 | HRESULT ondataavailable([in] VARIANT var1);
|
---|
388 |
|
---|
389 | [propput, id(DISPID_XMLDOM_DOCUMENT_ONTRANSFORMNODE)]
|
---|
390 | HRESULT ontransformnode([in] VARIANT var1);
|
---|
391 | }
|
---|
392 |
|
---|
393 | [
|
---|
394 | local,
|
---|
395 | object,
|
---|
396 | uuid (373984c8-b845-449b-91e7-45ac83036ade)
|
---|
397 | ]
|
---|
398 | interface IXMLDOMSchemaCollection : IDispatch
|
---|
399 | {
|
---|
400 | [id(DISPID_XMLDOM_SCHEMACOLLECTION_ADD)]
|
---|
401 | HRESULT add(
|
---|
402 | [in] BSTR uri,
|
---|
403 | [in] VARIANT var);
|
---|
404 |
|
---|
405 | [id(DISPID_XMLDOM_SCHEMACOLLECTION_GET)]
|
---|
406 | HRESULT get(
|
---|
407 | [in] BSTR uri,
|
---|
408 | [retval, out] IXMLDOMNode **node);
|
---|
409 |
|
---|
410 | [id(DISPID_XMLDOM_SCHEMACOLLECTION_REMOVE)]
|
---|
411 | HRESULT remove(
|
---|
412 | [in] BSTR uri);
|
---|
413 |
|
---|
414 | [propget, id(DISPID_XMLDOM_SCHEMACOLLECTION_LENGTH)]
|
---|
415 | HRESULT length(
|
---|
416 | [retval, out] LONG *length);
|
---|
417 |
|
---|
418 | [propget, id(DISPID_VALUE)]
|
---|
419 | HRESULT namespaceURI([in] LONG index, [out, retval] BSTR *len);
|
---|
420 |
|
---|
421 | [id(DISPID_XMLDOM_SCHEMACOLLECTION_ADDCOLLECTION)]
|
---|
422 | HRESULT addCollection(
|
---|
423 | [in] IXMLDOMSchemaCollection *otherCollection);
|
---|
424 |
|
---|
425 | [propget, id(DISPID_NEWENUM)]
|
---|
426 | HRESULT _newEnum([retval, out] IUnknown **ppUnk);
|
---|
427 | }
|
---|
428 |
|
---|
429 | [
|
---|
430 | local,
|
---|
431 | object,
|
---|
432 | uuid (2933BF95-7B36-11d2-B20E-00C04F983E60)
|
---|
433 | ]
|
---|
434 | interface IXMLDOMDocument2 : IXMLDOMDocument
|
---|
435 | {
|
---|
436 | [propget, id(DISPID_XMLDOM_DOCUMENT2_NAMESPACES)]
|
---|
437 | HRESULT namespaces([retval, out] IXMLDOMSchemaCollection **schemaCollection);
|
---|
438 |
|
---|
439 | [propget, id(DISPID_XMLDOM_DOCUMENT2_SCHEMAS)]
|
---|
440 | HRESULT schemas([retval, out] VARIANT *var1);
|
---|
441 |
|
---|
442 | [propputref, id(DISPID_XMLDOM_DOCUMENT2_SCHEMAS)]
|
---|
443 | HRESULT schemas([in] VARIANT var1);
|
---|
444 |
|
---|
445 | [id(DISPID_XMLDOM_DOCUMENT2_VALIDATE)]
|
---|
446 | HRESULT validate(
|
---|
447 | [retval, out] IXMLDOMParseError **err);
|
---|
448 |
|
---|
449 | [id(DISPID_XMLDOM_DOCUMENT2_SETPROPERTY)]
|
---|
450 | HRESULT setProperty(
|
---|
451 | [in] BSTR p,
|
---|
452 | [in] VARIANT var);
|
---|
453 |
|
---|
454 | [id(DISPID_XMLDOM_DOCUMENT2_GETPROPERTY)]
|
---|
455 | HRESULT getProperty(
|
---|
456 | [in] BSTR p,
|
---|
457 | [retval, out] VARIANT *var);
|
---|
458 | }
|
---|
459 |
|
---|
460 | [
|
---|
461 | local,
|
---|
462 | object,
|
---|
463 | uuid (2933BF82-7B36-11d2-B20E-00C04F983E60)
|
---|
464 | ]
|
---|
465 | interface IXMLDOMNodeList : IDispatch
|
---|
466 | {
|
---|
467 | [propget, id(DISPID_VALUE)]
|
---|
468 | HRESULT item([in] LONG lIndex, [retval, out] IXMLDOMNode **outNode);
|
---|
469 |
|
---|
470 | [propget, id(DISPID_DOM_NODELIST_LENGTH)]
|
---|
471 | HRESULT length([retval, out] LONG *lLength);
|
---|
472 |
|
---|
473 | [id(DISPID_XMLDOM_NODELIST_NEXTNODE)]
|
---|
474 | HRESULT nextNode(
|
---|
475 | [retval, out] IXMLDOMNode **outNode);
|
---|
476 |
|
---|
477 | [id(DISPID_XMLDOM_NODELIST_RESET)]
|
---|
478 | HRESULT reset();
|
---|
479 |
|
---|
480 | [propget, id(DISPID_NEWENUM)]
|
---|
481 | HRESULT _newEnum([retval, out] IUnknown **ppUnk);
|
---|
482 | }
|
---|
483 |
|
---|
484 | [
|
---|
485 | local,
|
---|
486 | object,
|
---|
487 | uuid (AA634FC7-5888-44a7-A257-3A47150D3A0E)
|
---|
488 | ]
|
---|
489 | interface IXMLDOMSelection : IXMLDOMNodeList
|
---|
490 | {
|
---|
491 | [propget, id(DISPID_XMLDOM_SELECTION_EXPR)]
|
---|
492 | HRESULT expr([retval, out] BSTR *p);
|
---|
493 |
|
---|
494 | [propput, id(DISPID_XMLDOM_SELECTION_EXPR)]
|
---|
495 | HRESULT expr([in] BSTR p);
|
---|
496 |
|
---|
497 | [propget, id(DISPID_XMLDOM_SELECTION_CONTEXT)]
|
---|
498 | HRESULT context([retval, out] IXMLDOMNode **ppNode);
|
---|
499 |
|
---|
500 | [propputref, id(DISPID_XMLDOM_SELECTION_CONTEXT)]
|
---|
501 | HRESULT context([in] IXMLDOMNode * pNode);
|
---|
502 |
|
---|
503 | [id(DISPID_XMLDOM_SELECTION_PEEKNODE)]
|
---|
504 | HRESULT peekNode(
|
---|
505 | [retval, out] IXMLDOMNode **ppNode);
|
---|
506 |
|
---|
507 | [id(DISPID_XMLDOM_SELECTION_MATCHES)]
|
---|
508 | HRESULT matches(
|
---|
509 | [in] IXMLDOMNode *pNode,
|
---|
510 | [retval, out] IXMLDOMNode **ppNode);
|
---|
511 |
|
---|
512 | [id(DISPID_XMLDOM_SELECTION_REMOVENEXT)]
|
---|
513 | HRESULT removeNext(
|
---|
514 | [retval, out] IXMLDOMNode **ppNode);
|
---|
515 |
|
---|
516 | [id(DISPID_XMLDOM_SELECTION_REMOVEALL)]
|
---|
517 | HRESULT removeAll();
|
---|
518 |
|
---|
519 | [id(DISPID_XMLDOM_SELECTION_CLONE)]
|
---|
520 | HRESULT clone(
|
---|
521 | [retval, out] IXMLDOMSelection **ppNode);
|
---|
522 |
|
---|
523 | [id(DISPID_XMLDOM_SELECTION_GETPROPERTY)]
|
---|
524 | HRESULT getProperty(
|
---|
525 | [in] BSTR p,
|
---|
526 | [retval, out] VARIANT * var);
|
---|
527 |
|
---|
528 | [id(DISPID_XMLDOM_SELECTION_SETPROPERTY)]
|
---|
529 | HRESULT setProperty(
|
---|
530 | [in] BSTR p,
|
---|
531 | [in] VARIANT var);
|
---|
532 | }
|
---|
533 |
|
---|
534 | [
|
---|
535 | local,
|
---|
536 | object,
|
---|
537 | uuid (2933BF83-7B36-11d2-B20E-00C04F983E60)
|
---|
538 | ]
|
---|
539 | interface IXMLDOMNamedNodeMap : IDispatch
|
---|
540 | {
|
---|
541 | [id(DISPID_DOM_NAMEDNODEMAP_GETNAMEDITEM)]
|
---|
542 | HRESULT getNamedItem(
|
---|
543 | [in] BSTR p,
|
---|
544 | [retval, out] IXMLDOMNode **outNode);
|
---|
545 |
|
---|
546 | [id(DISPID_DOM_NAMEDNODEMAP_SETNAMEDITEM)]
|
---|
547 | HRESULT setNamedItem(
|
---|
548 | [in] IXMLDOMNode *newNode,
|
---|
549 | [retval, out] IXMLDOMNode **outNode);
|
---|
550 |
|
---|
551 | [id(DISPID_DOM_NAMEDNODEMAP_REMOVENAMEDITEM)]
|
---|
552 | HRESULT removeNamedItem(
|
---|
553 | [in] BSTR p,
|
---|
554 | [retval, out] IXMLDOMNode **outNode);
|
---|
555 |
|
---|
556 | [propget, id(DISPID_VALUE)]
|
---|
557 | HRESULT item([in] LONG lIndex, [retval, out] IXMLDOMNode **outNode);
|
---|
558 |
|
---|
559 | [propget, id(DISPID_DOM_NODELIST_LENGTH)]
|
---|
560 | HRESULT length([retval, out] LONG *lLength);
|
---|
561 |
|
---|
562 | [id(DISPID_XMLDOM_NAMEDNODEMAP_GETQUALIFIEDITEM)]
|
---|
563 | HRESULT getQualifiedItem(
|
---|
564 | [in] BSTR name,
|
---|
565 | [in] BSTR uri,
|
---|
566 | [retval, out] IXMLDOMNode **outNode);
|
---|
567 |
|
---|
568 | [id(DISPID_XMLDOM_NAMEDNODEMAP_REMOVEQUALIFIEDITEM)]
|
---|
569 | HRESULT removeQualifiedItem(
|
---|
570 | [in] BSTR name,
|
---|
571 | [in] BSTR uri,
|
---|
572 | [retval, out] IXMLDOMNode **outNode);
|
---|
573 |
|
---|
574 | [id(DISPID_XMLDOM_NAMEDNODEMAP_NEXTNODE)]
|
---|
575 | HRESULT nextNode(
|
---|
576 | [retval, out] IXMLDOMNode **outNode);
|
---|
577 |
|
---|
578 | [id(DISPID_XMLDOM_NAMEDNODEMAP_RESET)]
|
---|
579 | HRESULT reset();
|
---|
580 |
|
---|
581 | [propget, id(DISPID_NEWENUM)]
|
---|
582 | HRESULT _newEnum([retval, out] IUnknown **ppUnk);
|
---|
583 | }
|
---|
584 |
|
---|
585 | [
|
---|
586 | local,
|
---|
587 | object,
|
---|
588 | uuid (3efaa413-272f-11d2-836f-0000f87a7782)
|
---|
589 | ]
|
---|
590 | interface IXMLDOMDocumentFragment : IXMLDOMNode
|
---|
591 | {
|
---|
592 | }
|
---|
593 |
|
---|
594 | [
|
---|
595 | local,
|
---|
596 | object,
|
---|
597 | uuid (2933BF84-7B36-11d2-B20E-00C04F983E60)
|
---|
598 | ]
|
---|
599 | interface IXMLDOMCharacterData : IXMLDOMNode
|
---|
600 | {
|
---|
601 | [propget, id(DISPID_DOM_DATA_DATA)]
|
---|
602 | HRESULT data([retval, out] BSTR *p);
|
---|
603 |
|
---|
604 | [propput, id(DISPID_DOM_DATA_DATA)]
|
---|
605 | HRESULT data([in] BSTR data);
|
---|
606 |
|
---|
607 | [propget, id(DISPID_DOM_DATA_LENGTH)]
|
---|
608 | HRESULT length([retval, out] LONG *len);
|
---|
609 |
|
---|
610 | [id(DISPID_DOM_DATA_SUBSTRING)]
|
---|
611 | HRESULT substringData(
|
---|
612 | [in] LONG offset,
|
---|
613 | [in] LONG count,
|
---|
614 | [retval, out] BSTR *p);
|
---|
615 |
|
---|
616 | [id(DISPID_DOM_DATA_APPEND)]
|
---|
617 | HRESULT appendData(
|
---|
618 | [in] BSTR p);
|
---|
619 |
|
---|
620 | [id(DISPID_DOM_DATA_INSERT)]
|
---|
621 | HRESULT insertData(
|
---|
622 | [in] LONG offset,
|
---|
623 | [in] BSTR p);
|
---|
624 |
|
---|
625 | [id(DISPID_DOM_DATA_DELETE)]
|
---|
626 | HRESULT deleteData(
|
---|
627 | [in] LONG offset,
|
---|
628 | [in] LONG count);
|
---|
629 |
|
---|
630 | [id(DISPID_DOM_DATA_REPLACE)]
|
---|
631 | HRESULT replaceData(
|
---|
632 | [in] LONG offset,
|
---|
633 | [in] LONG count,
|
---|
634 | [in] BSTR p);
|
---|
635 | }
|
---|
636 |
|
---|
637 | [
|
---|
638 | local,
|
---|
639 | object,
|
---|
640 | uuid (2933BF85-7B36-11d2-B20E-00C04F983E60)
|
---|
641 | ]
|
---|
642 | interface IXMLDOMAttribute : IXMLDOMNode
|
---|
643 | {
|
---|
644 | [propget, id(DISPID_DOM_ATTRIBUTE_GETNAME)]
|
---|
645 | HRESULT name([retval, out] BSTR *p);
|
---|
646 |
|
---|
647 | [propget, id(DISPID_DOM_ATTRIBUTE_VALUE)]
|
---|
648 | HRESULT value([retval, out] VARIANT *var1);
|
---|
649 |
|
---|
650 | [propput, id(DISPID_DOM_ATTRIBUTE_VALUE)]
|
---|
651 | HRESULT value([in] VARIANT var1);
|
---|
652 | }
|
---|
653 |
|
---|
654 | [
|
---|
655 | local,
|
---|
656 | object,
|
---|
657 | uuid (2933BF86-7B36-11d2-B20E-00C04F983E60)
|
---|
658 | ]
|
---|
659 | interface IXMLDOMElement : IXMLDOMNode
|
---|
660 | {
|
---|
661 | [propget, id(DISPID_DOM_ELEMENT_GETTAGNAME)]
|
---|
662 | HRESULT tagName([retval, out] BSTR *p);
|
---|
663 |
|
---|
664 | [id(DISPID_DOM_ELEMENT_GETATTRIBUTE)]
|
---|
665 | HRESULT getAttribute(
|
---|
666 | [in] BSTR p,
|
---|
667 | [retval, out] VARIANT *var);
|
---|
668 |
|
---|
669 | [id(DISPID_DOM_ELEMENT_SETATTRIBUTE)]
|
---|
670 | HRESULT setAttribute(
|
---|
671 | [in] BSTR p,
|
---|
672 | [in] VARIANT var);
|
---|
673 |
|
---|
674 | [id(DISPID_DOM_ELEMENT_REMOVEATTRIBUTE)]
|
---|
675 | HRESULT removeAttribute(
|
---|
676 | [in] BSTR p);
|
---|
677 |
|
---|
678 | [id(DISPID_DOM_ELEMENT_GETATTRIBUTENODE)]
|
---|
679 | HRESULT getAttributeNode(
|
---|
680 | [in] BSTR p,
|
---|
681 | [retval, out] IXMLDOMAttribute **attributeNode);
|
---|
682 |
|
---|
683 | [id(DISPID_DOM_ELEMENT_SETATTRIBUTENODE)]
|
---|
684 | HRESULT setAttributeNode(
|
---|
685 | [in] IXMLDOMAttribute *domAttribute,
|
---|
686 | [retval, out] IXMLDOMAttribute **attributeNode);
|
---|
687 |
|
---|
688 | [id(DISPID_DOM_ELEMENT_REMOVEATTRIBUTENODE)]
|
---|
689 | HRESULT removeAttributeNode(
|
---|
690 | [in] IXMLDOMAttribute *domAttribute,
|
---|
691 | [retval, out] IXMLDOMAttribute **attributeNode);
|
---|
692 |
|
---|
693 | [id(DISPID_DOM_ELEMENT_GETELEMENTSBYTAGNAME)]
|
---|
694 | HRESULT getElementsByTagName(
|
---|
695 | [in] BSTR p,
|
---|
696 | [retval, out] IXMLDOMNodeList **resultList);
|
---|
697 |
|
---|
698 | [id(DISPID_DOM_ELEMENT_NORMALIZE)]
|
---|
699 | HRESULT normalize();
|
---|
700 | }
|
---|
701 |
|
---|
702 | [
|
---|
703 | local,
|
---|
704 | object,
|
---|
705 | uuid (2933BF87-7B36-11d2-B20E-00C04F983E60)
|
---|
706 | ]
|
---|
707 | interface IXMLDOMText : IXMLDOMCharacterData
|
---|
708 | {
|
---|
709 | [id(DISPID_DOM_TEXT_SPLITTEXT)]
|
---|
710 | HRESULT splitText(
|
---|
711 | [in] LONG offset,
|
---|
712 | [retval, out] IXMLDOMText **txtNode);
|
---|
713 | }
|
---|
714 |
|
---|
715 | [
|
---|
716 | local,
|
---|
717 | object,
|
---|
718 | uuid (2933BF88-7B36-11d2-B20E-00C04F983E60)
|
---|
719 | ]
|
---|
720 | interface IXMLDOMComment : IXMLDOMCharacterData
|
---|
721 | {
|
---|
722 | }
|
---|
723 |
|
---|
724 | [
|
---|
725 | local,
|
---|
726 | object,
|
---|
727 | uuid (2933BF89-7B36-11d2-B20E-00C04F983E60)
|
---|
728 | ]
|
---|
729 | interface IXMLDOMProcessingInstruction : IXMLDOMNode
|
---|
730 | {
|
---|
731 | [propget, id(DISPID_DOM_PI_TARGET)]
|
---|
732 | HRESULT target([retval, out] BSTR *p);
|
---|
733 |
|
---|
734 | [propget, id(DISPID_DOM_PI_DATA)]
|
---|
735 | HRESULT data([retval, out] BSTR *p);
|
---|
736 |
|
---|
737 | [propput, id(DISPID_DOM_PI_DATA)]
|
---|
738 | HRESULT data([in] BSTR p);
|
---|
739 | }
|
---|
740 |
|
---|
741 | [
|
---|
742 | local,
|
---|
743 | object,
|
---|
744 | uuid (2933BF8A-7B36-11d2-B20E-00C04F983E60)
|
---|
745 | ]
|
---|
746 | interface IXMLDOMCDATASection : IXMLDOMText
|
---|
747 | {
|
---|
748 | }
|
---|
749 |
|
---|
750 | [
|
---|
751 | local,
|
---|
752 | object,
|
---|
753 | uuid (2933BF8B-7B36-11d2-B20E-00C04F983E60)
|
---|
754 | ]
|
---|
755 | interface IXMLDOMDocumentType : IXMLDOMNode
|
---|
756 | {
|
---|
757 | [propget, id(DISPID_DOM_DOCUMENTTYPE_NAME)]
|
---|
758 | HRESULT name([retval, out] BSTR *p);
|
---|
759 |
|
---|
760 | [propget, id(DISPID_DOM_DOCUMENTTYPE_ENTITIES)]
|
---|
761 | HRESULT entities([retval, out] IXMLDOMNamedNodeMap **entityMap);
|
---|
762 |
|
---|
763 | [propget, id(DISPID_DOM_DOCUMENTTYPE_NOTATIONS)]
|
---|
764 | HRESULT notations([retval, out] IXMLDOMNamedNodeMap **notationMap);
|
---|
765 | }
|
---|
766 |
|
---|
767 | [
|
---|
768 | local,
|
---|
769 | object,
|
---|
770 | uuid (2933BF8C-7B36-11d2-B20E-00C04F983E60)
|
---|
771 | ]
|
---|
772 | interface IXMLDOMNotation : IXMLDOMNode
|
---|
773 | {
|
---|
774 | [propget, id(DISPID_DOM_NOTATION_PUBLICID)]
|
---|
775 | HRESULT publicId([retval, out] VARIANT *id);
|
---|
776 |
|
---|
777 | [propget, id(DISPID_DOM_NOTATION_SYSTEMID)]
|
---|
778 | HRESULT systemId([retval, out] VARIANT *id);
|
---|
779 | }
|
---|
780 |
|
---|
781 | [
|
---|
782 | local,
|
---|
783 | object,
|
---|
784 | uuid (2933BF8D-7B36-11d2-B20E-00C04F983E60)
|
---|
785 | ]
|
---|
786 | interface IXMLDOMEntity : IXMLDOMNode
|
---|
787 | {
|
---|
788 | [propget, id(DISPID_DOM_ENTITY_PUBLICID)]
|
---|
789 | HRESULT publicId([retval, out] VARIANT *id1);
|
---|
790 |
|
---|
791 | [propget, id(DISPID_DOM_ENTITY_SYSTEMID)]
|
---|
792 | HRESULT systemId([retval, out] VARIANT *id1);
|
---|
793 |
|
---|
794 | [propget, id(DISPID_DOM_ENTITY_NOTATIONNAME)]
|
---|
795 | HRESULT notationName([retval, out] BSTR *p);
|
---|
796 | }
|
---|
797 |
|
---|
798 | [
|
---|
799 | local,
|
---|
800 | object,
|
---|
801 | uuid (2933BF8E-7B36-11d2-B20E-00C04F983E60)
|
---|
802 | ]
|
---|
803 | interface IXMLDOMEntityReference : IXMLDOMNode
|
---|
804 | {
|
---|
805 | }
|
---|
806 |
|
---|
807 | [
|
---|
808 | local,
|
---|
809 | object,
|
---|
810 | uuid (2933BF8F-7B36-11d2-B20E-00C04F983E60)
|
---|
811 | ]
|
---|
812 | interface IXMLDOMImplementation : IDispatch
|
---|
813 | {
|
---|
814 | [id(DISPID_DOM_IMPLEMENTATION_HASFEATURE)]
|
---|
815 | HRESULT hasFeature(
|
---|
816 | [in] BSTR feature,
|
---|
817 | [in] BSTR version,
|
---|
818 | [retval, out] VARIANT_BOOL *pbool);
|
---|
819 | }
|
---|
820 |
|
---|
821 | [
|
---|
822 | local,
|
---|
823 | object,
|
---|
824 | uuid (3efaa425-272f-11d2-836f-0000f87a7782)
|
---|
825 | ]
|
---|
826 | interface IXTLRuntime : IXMLDOMNode
|
---|
827 | {
|
---|
828 | [id(DISPID_XTLRUNTIME_UNIQUEID)]
|
---|
829 | HRESULT uniqueID(
|
---|
830 | [in]IXMLDOMNode *pNode,
|
---|
831 | [retval, out]LONG *pID);
|
---|
832 |
|
---|
833 | [id(DISPID_XTLRUNTIME_DEPTH)]
|
---|
834 | HRESULT depth(
|
---|
835 | [in] IXMLDOMNode *pNode,
|
---|
836 | [retval, out]LONG * pDepth);
|
---|
837 |
|
---|
838 | [id(DISPID_XTLRUNTIME_CHILDNUMBER)]
|
---|
839 | HRESULT childNumber(
|
---|
840 | [in]IXMLDOMNode *pNode,
|
---|
841 | [retval, out] LONG *pNumber);
|
---|
842 |
|
---|
843 | [id(DISPID_XTLRUNTIME_ANCESTORCHILDNUMBER)]
|
---|
844 | HRESULT ancestorChildNumber(
|
---|
845 | [in]BSTR bstr,
|
---|
846 | [in]IXMLDOMNode *pNode,
|
---|
847 | [retval, out]LONG *pNumber);
|
---|
848 |
|
---|
849 | [id(DISPID_XTLRUNTIME_ABSOLUTECHILDNUMBER)]
|
---|
850 | HRESULT absoluteChildNumber(
|
---|
851 | [in]IXMLDOMNode *pNode,
|
---|
852 | [retval, out]LONG *pNumber);
|
---|
853 |
|
---|
854 | [id(DISPID_XTLRUNTIME_FORMATINDEX)]
|
---|
855 | HRESULT formatIndex(
|
---|
856 | [in] LONG lIndex,
|
---|
857 | [in] BSTR bstr,
|
---|
858 | [retval, out]BSTR *pbstr);
|
---|
859 |
|
---|
860 | [id(DISPID_XTLRUNTIME_FORMATNUMBER)]
|
---|
861 | HRESULT formatNumber(
|
---|
862 | [in] double dblNumber,
|
---|
863 | [in] BSTR bstr,
|
---|
864 | [retval, out]BSTR *pbstr);
|
---|
865 |
|
---|
866 | [id(DISPID_XTLRUNTIME_FORMATDATE)]
|
---|
867 | HRESULT formatDate(
|
---|
868 | [in] VARIANT var1,
|
---|
869 | [in] BSTR bstr,
|
---|
870 | [optional, in] VARIANT var2,
|
---|
871 | [retval, out]BSTR *pbstr);
|
---|
872 |
|
---|
873 | [id(DISPID_XTLRUNTIME_FORMATTIME)]
|
---|
874 | HRESULT formatTime(
|
---|
875 | [in] VARIANT var1,
|
---|
876 | [in] BSTR bstr,
|
---|
877 | [optional, in] VARIANT var2,
|
---|
878 | [retval, out]BSTR *pbstr);
|
---|
879 |
|
---|
880 | }
|
---|
881 |
|
---|
882 | [
|
---|
883 | uuid(3efaa427-272f-11d2-836f-0000f87a7782)
|
---|
884 | ]
|
---|
885 | dispinterface XMLDOMDocumentEvents
|
---|
886 | {
|
---|
887 | properties:
|
---|
888 | methods:
|
---|
889 | [id (DISPID_XMLDOMEVENT_ONDATAAVAILABLE)]
|
---|
890 | HRESULT ondataavailable();
|
---|
891 |
|
---|
892 | [id (DISPID_XMLDOMEVENT_ONREADYSTATECHANGE)]
|
---|
893 | HRESULT onreadystatechange();
|
---|
894 | }
|
---|
895 |
|
---|
896 | [
|
---|
897 | local,
|
---|
898 | object,
|
---|
899 | uuid (2933BF92-7B36-11d2-B20E-00C04F983E60)
|
---|
900 | ]
|
---|
901 | interface IXSLProcessor : IDispatch
|
---|
902 | {
|
---|
903 | [propput, id(DISPID_XMLDOM_PROCESSOR_INPUT)]
|
---|
904 | HRESULT input([in] VARIANT var);
|
---|
905 |
|
---|
906 | [propget, id(DISPID_XMLDOM_PROCESSOR_INPUT)]
|
---|
907 | HRESULT input([retval, out] VARIANT *var);
|
---|
908 |
|
---|
909 | [propget, id(DISPID_XMLDOM_PROCESSOR_XSLTEMPLATE)]
|
---|
910 | HRESULT ownerTemplate([retval, out] IXSLTemplate **ppTemplate);
|
---|
911 |
|
---|
912 | [id(DISPID_XMLDOM_PROCESSOR_SETSTARTMODE)]
|
---|
913 | HRESULT setStartMode(
|
---|
914 | [in] BSTR p,
|
---|
915 | [in, defaultvalue("")] BSTR uri);
|
---|
916 |
|
---|
917 | [propget, id(DISPID_XMLDOM_PROCESSOR_STARTMODE)]
|
---|
918 | HRESULT startMode([retval, out] BSTR *p);
|
---|
919 |
|
---|
920 | [propget, id(DISPID_XMLDOM_PROCESSOR_STARTMODEURI)]
|
---|
921 | HRESULT startModeURI([retval, out] BSTR *uri);
|
---|
922 |
|
---|
923 | [propput, id(DISPID_XMLDOM_PROCESSOR_OUTPUT)]
|
---|
924 | HRESULT output([in] VARIANT var);
|
---|
925 |
|
---|
926 | [propget, id(DISPID_XMLDOM_PROCESSOR_OUTPUT)]
|
---|
927 | HRESULT output([retval, out] VARIANT *var);
|
---|
928 |
|
---|
929 | [id(DISPID_XMLDOM_PROCESSOR_TRANSFORM)]
|
---|
930 | HRESULT transform(
|
---|
931 | [retval, out] VARIANT_BOOL *pbool);
|
---|
932 |
|
---|
933 | [id(DISPID_XMLDOM_PROCESSOR_RESET)]
|
---|
934 | HRESULT reset();
|
---|
935 |
|
---|
936 | [propget, id(DISPID_XMLDOM_PROCESSOR_READYSTATE)]
|
---|
937 | HRESULT readyState([retval, out] LONG *pstate);
|
---|
938 |
|
---|
939 | [id(DISPID_XMLDOM_PROCESSOR_ADDPARAMETER)]
|
---|
940 | HRESULT addParameter(
|
---|
941 | [in] BSTR p,
|
---|
942 | [in] VARIANT var,
|
---|
943 | [in, defaultvalue("")] BSTR uri);
|
---|
944 |
|
---|
945 | [id(DISPID_XMLDOM_PROCESSOR_ADDOBJECT)]
|
---|
946 | HRESULT addObject(
|
---|
947 | [in] IDispatch* obj,
|
---|
948 | [in] BSTR uri);
|
---|
949 |
|
---|
950 | [propget, id(DISPID_XMLDOM_PROCESSOR_STYLESHEET)]
|
---|
951 | HRESULT stylesheet([retval, out] IXMLDOMNode **node);
|
---|
952 | }
|
---|
953 |
|
---|
954 | [
|
---|
955 | local,
|
---|
956 | object,
|
---|
957 | uuid (2933BF93-7B36-11d2-B20E-00C04F983E60)
|
---|
958 | ]
|
---|
959 | interface IXSLTemplate : IDispatch
|
---|
960 | {
|
---|
961 | [propputref, id(DISPID_XMLDOM_TEMPLATE_STYLESHEET)]
|
---|
962 | HRESULT stylesheet([in] IXMLDOMNode *node);
|
---|
963 |
|
---|
964 | [propget, id(DISPID_XMLDOM_TEMPLATE_STYLESHEET)]
|
---|
965 | HRESULT stylesheet([retval, out] IXMLDOMNode **node);
|
---|
966 |
|
---|
967 | [id(DISPID_XMLDOM_TEMPLATE_CREATEPROCESSOR)]
|
---|
968 | HRESULT createProcessor(
|
---|
969 | [retval, out] IXSLProcessor **ppProcessor);
|
---|
970 | }
|
---|
971 |
|
---|
972 | [
|
---|
973 | object,
|
---|
974 | uuid(ED8C108D-4349-11D2-91A4-00C04F7969E8),
|
---|
975 | odl,
|
---|
976 | dual,
|
---|
977 | oleautomation,
|
---|
978 | pointer_default(unique)
|
---|
979 | ]
|
---|
980 | interface IXMLHTTPRequest : IDispatch
|
---|
981 | {
|
---|
982 | [id(1)]
|
---|
983 | HRESULT open([in] BSTR bstrMethod, [in] BSTR bstrUrl, [in, optional] VARIANT varAsync,
|
---|
984 | [in,optional] VARIANT username, [in,optional] VARIANT password);
|
---|
985 |
|
---|
986 | [id(2)]
|
---|
987 | HRESULT setRequestHeader([in] BSTR bstrHeader, [in] BSTR bstrValue);
|
---|
988 |
|
---|
989 | [id(3)]
|
---|
990 | HRESULT getResponseHeader([in] BSTR bstrHeader, [out, retval] BSTR * value);
|
---|
991 |
|
---|
992 | [id(4)]
|
---|
993 | HRESULT getAllResponseHeaders([out, retval] BSTR * pbstrHeaders);
|
---|
994 |
|
---|
995 | [id(5)]
|
---|
996 | HRESULT send([in, optional] VARIANT body);
|
---|
997 |
|
---|
998 | [id(6)]
|
---|
999 | HRESULT abort();
|
---|
1000 |
|
---|
1001 | [propget, id(7)]
|
---|
1002 | HRESULT status([out, retval] LONG *pStatus);
|
---|
1003 |
|
---|
1004 | [propget, id(8)]
|
---|
1005 | HRESULT statusText([out, retval] BSTR *pStatus);
|
---|
1006 |
|
---|
1007 | [propget, id(9)]
|
---|
1008 | HRESULT responseXML([out, retval] IDispatch **pBody);
|
---|
1009 |
|
---|
1010 | [propget, id(10)]
|
---|
1011 | HRESULT responseText([out, retval] BSTR *pBody);
|
---|
1012 |
|
---|
1013 | [propget, id(11)]
|
---|
1014 | HRESULT responseBody([out, retval] VARIANT *pBody);
|
---|
1015 |
|
---|
1016 | [propget, id(12)]
|
---|
1017 | HRESULT responseStream([out, retval] VARIANT *pBody);
|
---|
1018 |
|
---|
1019 | [propget, id(13)]
|
---|
1020 | HRESULT readyState([out, retval] LONG *pState);
|
---|
1021 |
|
---|
1022 | [propput, id(14)]
|
---|
1023 | HRESULT onreadystatechange([in] IDispatch *pReadyStateSink);
|
---|
1024 | };
|
---|
1025 |
|
---|
1026 | [
|
---|
1027 | local,
|
---|
1028 | object,
|
---|
1029 | uuid (3efaa426-272f-11d2-836f-0000f87a7782)
|
---|
1030 | ]
|
---|
1031 | interface IXMLDOMParseError : IDispatch
|
---|
1032 | {
|
---|
1033 | [propget, id(DISPID_VALUE)]
|
---|
1034 | HRESULT errorCode([retval, out] LONG *errCode);
|
---|
1035 |
|
---|
1036 | [propget, id(DISPID_DOM_ERROR_URL)]
|
---|
1037 | HRESULT url([retval, out] BSTR *p);
|
---|
1038 |
|
---|
1039 | [propget, id(DISPID_DOM_ERROR_REASON)]
|
---|
1040 | HRESULT reason([retval, out] BSTR *p);
|
---|
1041 |
|
---|
1042 | [propget, id(DISPID_DOM_ERROR_SRCTEXT)]
|
---|
1043 | HRESULT srcText([retval, out] BSTR *p);
|
---|
1044 |
|
---|
1045 | [propget, id(DISPID_DOM_ERROR_LINE)]
|
---|
1046 | HRESULT line([retval, out] LONG *lineNo);
|
---|
1047 |
|
---|
1048 | [propget, id(DISPID_DOM_ERROR_LINEPOS)]
|
---|
1049 | HRESULT linepos([retval, out] LONG * linePos);
|
---|
1050 |
|
---|
1051 | [propget, id(DISPID_DOM_ERROR_FILEPOS)]
|
---|
1052 | HRESULT filepos([retval, out] LONG * filePos);
|
---|
1053 | }
|
---|
1054 |
|
---|
1055 | [
|
---|
1056 | uuid(F6D90F11-9C73-11D3-B32E-00C04F990BB4)
|
---|
1057 | ]
|
---|
1058 | coclass DOMDocument
|
---|
1059 | {
|
---|
1060 | [default] interface IXMLDOMDocument2;
|
---|
1061 | [default, source] dispinterface XMLDOMDocumentEvents;
|
---|
1062 | }
|
---|
1063 |
|
---|
1064 | [
|
---|
1065 | uuid(f5078f1b-c551-11d3-89b9-0000f81fe221)
|
---|
1066 | ]
|
---|
1067 | coclass DOMDocument26
|
---|
1068 | {
|
---|
1069 | [default] interface IXMLDOMDocument2;
|
---|
1070 | [default, source] dispinterface XMLDOMDocumentEvents;
|
---|
1071 | }
|
---|
1072 |
|
---|
1073 | [
|
---|
1074 | uuid(f5078f32-c551-11d3-89b9-0000f81fe221)
|
---|
1075 | ]
|
---|
1076 | coclass DOMDocument30
|
---|
1077 | {
|
---|
1078 | [default] interface IXMLDOMDocument2;
|
---|
1079 | [default, source] dispinterface XMLDOMDocumentEvents;
|
---|
1080 | }
|
---|
1081 |
|
---|
1082 |
|
---|
1083 | [
|
---|
1084 | uuid(F6D90F12-9C73-11D3-B32E-00C04F990BB4)
|
---|
1085 | ]
|
---|
1086 | coclass FreeThreadedDOMDocument
|
---|
1087 | {
|
---|
1088 | [default] interface IXMLDOMDocument2;
|
---|
1089 | [default, source] dispinterface XMLDOMDocumentEvents;
|
---|
1090 | }
|
---|
1091 |
|
---|
1092 | [
|
---|
1093 | uuid(f5078f1c-c551-11d3-89b9-0000f81fe221)
|
---|
1094 | ]
|
---|
1095 | coclass FreeThreadedDOMDocument26
|
---|
1096 | {
|
---|
1097 | [default] interface IXMLDOMDocument2;
|
---|
1098 | [default, source] dispinterface XMLDOMDocumentEvents;
|
---|
1099 | }
|
---|
1100 |
|
---|
1101 | [
|
---|
1102 | uuid(f5078f33-c551-11d3-89b9-0000f81fe221)
|
---|
1103 | ]
|
---|
1104 | coclass FreeThreadedDOMDocument30
|
---|
1105 | {
|
---|
1106 | [default] interface IXMLDOMDocument2;
|
---|
1107 | [default, source] dispinterface XMLDOMDocumentEvents;
|
---|
1108 | }
|
---|
1109 |
|
---|
1110 | [
|
---|
1111 | uuid(373984c9-b845-449b-91e7-45ac83036ade)
|
---|
1112 | ]
|
---|
1113 | coclass XMLSchemaCache
|
---|
1114 | {
|
---|
1115 | [default] interface IXMLDOMSchemaCollection;
|
---|
1116 | }
|
---|
1117 |
|
---|
1118 | [
|
---|
1119 | uuid(f5078f1d-c551-11d3-89b9-0000f81fe221)
|
---|
1120 | ]
|
---|
1121 | coclass XMLSchemaCache26
|
---|
1122 | {
|
---|
1123 | [default] interface IXMLDOMSchemaCollection;
|
---|
1124 | }
|
---|
1125 |
|
---|
1126 | [
|
---|
1127 | uuid(f5078f34-c551-11d3-89b9-0000f81fe221)
|
---|
1128 | ]
|
---|
1129 | coclass XMLSchemaCache30
|
---|
1130 | {
|
---|
1131 | [default] interface IXMLDOMSchemaCollection;
|
---|
1132 | }
|
---|
1133 |
|
---|
1134 | [
|
---|
1135 | uuid(2933BF94-7B36-11d2-B20E-00C04F983E60)
|
---|
1136 | ]
|
---|
1137 | coclass XSLTemplate
|
---|
1138 | {
|
---|
1139 | [default] interface IXSLTemplate;
|
---|
1140 | }
|
---|
1141 |
|
---|
1142 | [
|
---|
1143 | uuid(f5078f21-c551-11d3-89b9-0000f81fe221)
|
---|
1144 | ]
|
---|
1145 | coclass XSLTemplate26
|
---|
1146 | {
|
---|
1147 | [default] interface IXSLTemplate;
|
---|
1148 | }
|
---|
1149 |
|
---|
1150 | [
|
---|
1151 | uuid(f5078f36-c551-11d3-89b9-0000f81fe221)
|
---|
1152 | ]
|
---|
1153 | coclass XSLTemplate30
|
---|
1154 | {
|
---|
1155 | [default] interface IXSLTemplate;
|
---|
1156 | }
|
---|
1157 |
|
---|
1158 | /*
|
---|
1159 | * Sax Interfaces
|
---|
1160 | */
|
---|
1161 | [
|
---|
1162 | object,
|
---|
1163 | local,
|
---|
1164 | uuid(f078abe1-45d2-4832-91ea-4466ce2f25c9)
|
---|
1165 | ]
|
---|
1166 | interface ISAXAttributes : IUnknown
|
---|
1167 | {
|
---|
1168 | HRESULT getLength(
|
---|
1169 | [out, retval] int *length);
|
---|
1170 |
|
---|
1171 | HRESULT getURI(
|
---|
1172 | [in] int nIndex,
|
---|
1173 | [out] const WCHAR **pUrl,
|
---|
1174 | [out] int *pUriSize);
|
---|
1175 |
|
---|
1176 | HRESULT getLocalName(
|
---|
1177 | [in] int nIndex,
|
---|
1178 | [out] const WCHAR **pLocalName,
|
---|
1179 | [out] int *pLocalNameLength);
|
---|
1180 |
|
---|
1181 | HRESULT getQName(
|
---|
1182 | [in] int nIndex,
|
---|
1183 | [out] const WCHAR **pQName,
|
---|
1184 | [out] int *pQNameLength);
|
---|
1185 |
|
---|
1186 | HRESULT getName(
|
---|
1187 | [in] int nIndex,
|
---|
1188 | [out] const WCHAR **pUri,
|
---|
1189 | [out] int * pUriLength,
|
---|
1190 | [out] const WCHAR ** pLocalName,
|
---|
1191 | [out] int * pLocalNameSize,
|
---|
1192 | [out] const WCHAR ** pQName,
|
---|
1193 | [out] int * pQNameLength);
|
---|
1194 |
|
---|
1195 | HRESULT getIndexFromName(
|
---|
1196 | [in] const WCHAR * pUri,
|
---|
1197 | [in] int cUriLength,
|
---|
1198 | [in] const WCHAR * pLocalName,
|
---|
1199 | [in] int cocalNameLength,
|
---|
1200 | [out, retval] int * index);
|
---|
1201 |
|
---|
1202 | HRESULT getIndexFromQName(
|
---|
1203 | [in] const WCHAR * pQName,
|
---|
1204 | [in] int nQNameLength,
|
---|
1205 | [out, retval] int * index);
|
---|
1206 |
|
---|
1207 | HRESULT getType(
|
---|
1208 | [in] int nIndex,
|
---|
1209 | [out] const WCHAR ** pType,
|
---|
1210 | [out] int * pTypeLength);
|
---|
1211 |
|
---|
1212 | HRESULT getTypeFromName(
|
---|
1213 | [in] const WCHAR * pUri,
|
---|
1214 | [in] int nUri,
|
---|
1215 | [in] const WCHAR * pLocalName,
|
---|
1216 | [in] int nLocalName,
|
---|
1217 | [out] const WCHAR ** pType,
|
---|
1218 | [out] int * nType);
|
---|
1219 |
|
---|
1220 | HRESULT getTypeFromQName(
|
---|
1221 | [in] const WCHAR * pQName,
|
---|
1222 | [in] int nQName,
|
---|
1223 | [out] const WCHAR ** pType,
|
---|
1224 | [out] int * nType);
|
---|
1225 |
|
---|
1226 | HRESULT getValue(
|
---|
1227 | [in] int nIndex,
|
---|
1228 | [out] const WCHAR ** pValue,
|
---|
1229 | [out] int * nValue);
|
---|
1230 |
|
---|
1231 | HRESULT getValueFromName(
|
---|
1232 | [in] const WCHAR * pUri,
|
---|
1233 | [in] int nUri,
|
---|
1234 | [in] const WCHAR * pLocalName,
|
---|
1235 | [in] int nLocalName,
|
---|
1236 | [out] const WCHAR ** pValue,
|
---|
1237 | [out] int * nValue);
|
---|
1238 |
|
---|
1239 | HRESULT getValueFromQName(
|
---|
1240 | [in] const WCHAR * pQName,
|
---|
1241 | [in] int nQName,
|
---|
1242 | [out] const WCHAR ** pValue,
|
---|
1243 | [out] int * nValue);
|
---|
1244 | };
|
---|
1245 |
|
---|
1246 | [
|
---|
1247 | object,
|
---|
1248 | local,
|
---|
1249 | uuid(1545cdfa-9e4e-4497-a8a4-2bf7d0112c44)
|
---|
1250 | ]
|
---|
1251 | interface ISAXContentHandler : IUnknown
|
---|
1252 | {
|
---|
1253 | HRESULT putDocumentLocator(
|
---|
1254 | [in] ISAXLocator * pLocator);
|
---|
1255 |
|
---|
1256 | HRESULT startDocument();
|
---|
1257 |
|
---|
1258 | HRESULT endDocument();
|
---|
1259 |
|
---|
1260 | HRESULT startPrefixMapping(
|
---|
1261 | [in] const WCHAR * pPrefix,
|
---|
1262 | [in] int nPrefix,
|
---|
1263 | [in] const WCHAR * pUri,
|
---|
1264 | [in] int nUri);
|
---|
1265 |
|
---|
1266 | HRESULT endPrefixMapping(
|
---|
1267 | [in] const WCHAR * pPrefix,
|
---|
1268 | [in] int nPrefix);
|
---|
1269 |
|
---|
1270 | HRESULT startElement(
|
---|
1271 | [in] const WCHAR * pNamespaceUri,
|
---|
1272 | [in] int nNamespaceUri,
|
---|
1273 | [in] const WCHAR * pLocalName,
|
---|
1274 | [in] int nLocalName,
|
---|
1275 | [in] const WCHAR * pQName,
|
---|
1276 | [in] int nQName,
|
---|
1277 | [in] ISAXAttributes * pAttr);
|
---|
1278 |
|
---|
1279 | HRESULT endElement(
|
---|
1280 | [in] const WCHAR * pNamespaceUri,
|
---|
1281 | [in] int nNamespaceUri,
|
---|
1282 | [in] const WCHAR * pLocalName,
|
---|
1283 | [in] int nLocalName,
|
---|
1284 | [in] const WCHAR * pQName,
|
---|
1285 | [in] int nQName);
|
---|
1286 |
|
---|
1287 | HRESULT characters(
|
---|
1288 | [in] const WCHAR * pChars,
|
---|
1289 | [in] int nChars);
|
---|
1290 |
|
---|
1291 | HRESULT ignorableWhitespace(
|
---|
1292 | [in] const WCHAR * pChars,
|
---|
1293 | [in] int nChars);
|
---|
1294 |
|
---|
1295 | HRESULT processingInstruction(
|
---|
1296 | [in] const WCHAR * pTarget,
|
---|
1297 | [in] int nTarget,
|
---|
1298 | [in] const WCHAR * pData,
|
---|
1299 | [in] int nData);
|
---|
1300 |
|
---|
1301 | HRESULT skippedEntity(
|
---|
1302 | [in] const WCHAR * pName,
|
---|
1303 | [in] int nName);
|
---|
1304 | };
|
---|
1305 |
|
---|
1306 | [
|
---|
1307 | object,
|
---|
1308 | local,
|
---|
1309 | uuid(862629ac-771a-47b2-8337-4e6843c1be90)
|
---|
1310 | ]
|
---|
1311 | interface ISAXDeclHandler : IUnknown
|
---|
1312 | {
|
---|
1313 | HRESULT elementDecl(
|
---|
1314 | [in] const WCHAR * pName,
|
---|
1315 | [in] int nName,
|
---|
1316 | [in] const WCHAR * pModel,
|
---|
1317 | [in] int nModel);
|
---|
1318 |
|
---|
1319 | HRESULT attributeDecl(
|
---|
1320 | [in] const WCHAR * pElementName,
|
---|
1321 | [in] int nElementName,
|
---|
1322 | [in] const WCHAR * pAttributeName,
|
---|
1323 | [in] int nAttributeName,
|
---|
1324 | [in] const WCHAR * pType,
|
---|
1325 | [in] int nType,
|
---|
1326 | [in] const WCHAR * pValueDefault,
|
---|
1327 | [in] int nValueDefault,
|
---|
1328 | [in] const WCHAR * pValue,
|
---|
1329 | [in] int nValue);
|
---|
1330 |
|
---|
1331 | HRESULT internalEntityDecl(
|
---|
1332 | [in] const WCHAR * pName,
|
---|
1333 | [in] int nName,
|
---|
1334 | [in] const WCHAR * pValue,
|
---|
1335 | [in] int nValue);
|
---|
1336 |
|
---|
1337 | HRESULT externalEntityDecl(
|
---|
1338 | [in] const WCHAR * pName,
|
---|
1339 | [in] int nName,
|
---|
1340 | [in] const WCHAR * pPublicId,
|
---|
1341 | [in] int nPublicId,
|
---|
1342 | [in] const WCHAR * pSystemId,
|
---|
1343 | [in] int nSystemId);
|
---|
1344 | };
|
---|
1345 |
|
---|
1346 | [
|
---|
1347 | object,
|
---|
1348 | local,
|
---|
1349 | uuid(e15c1baf-afb3-4d60-8c36-19a8c45defed)
|
---|
1350 | ]
|
---|
1351 | interface ISAXDTDHandler : IUnknown
|
---|
1352 | {
|
---|
1353 | HRESULT notationDecl(
|
---|
1354 | [in] const WCHAR * pName,
|
---|
1355 | [in] int nName,
|
---|
1356 | [in] const WCHAR * pPublicId,
|
---|
1357 | [in] int nPublicId,
|
---|
1358 | [in] const WCHAR * pSystemId,
|
---|
1359 | [in] int nSystemId);
|
---|
1360 |
|
---|
1361 | HRESULT unparsedEntityDecl(
|
---|
1362 | [in] const WCHAR * pName,
|
---|
1363 | [in] int nName,
|
---|
1364 | [in] const WCHAR * pPublicId,
|
---|
1365 | [in] int nPublicId,
|
---|
1366 | [in] const WCHAR * pSystemId,
|
---|
1367 | [in] int nSystemId,
|
---|
1368 | [in] const WCHAR * pNotationName,
|
---|
1369 | [in] int nNotationName);
|
---|
1370 | };
|
---|
1371 |
|
---|
1372 | [
|
---|
1373 | object,
|
---|
1374 | local,
|
---|
1375 | uuid(99bca7bd-e8c4-4d5f-a0cf-6d907901ff07),
|
---|
1376 | ]
|
---|
1377 | interface ISAXEntityResolver : IUnknown
|
---|
1378 | {
|
---|
1379 | HRESULT resolveEntity(
|
---|
1380 | [in] const WCHAR * pPublicId,
|
---|
1381 | [in] const WCHAR * pSystemId,
|
---|
1382 | [out, retval] VARIANT * ret);
|
---|
1383 | };
|
---|
1384 |
|
---|
1385 | [
|
---|
1386 | object,
|
---|
1387 | local,
|
---|
1388 | uuid(a60511c4-ccf5-479e-98a3-dc8dc545b7d0)
|
---|
1389 | ]
|
---|
1390 | interface ISAXErrorHandler : IUnknown
|
---|
1391 | {
|
---|
1392 | HRESULT error(
|
---|
1393 | [in] ISAXLocator * pLocator,
|
---|
1394 | [in] const WCHAR * pErrorMessage,
|
---|
1395 | [in] HRESULT hrErrorCode);
|
---|
1396 |
|
---|
1397 | HRESULT fatalError(
|
---|
1398 | [in] ISAXLocator * pLocator,
|
---|
1399 | [in] const WCHAR * pErrorMessage,
|
---|
1400 | [in] HRESULT hrErrorCode);
|
---|
1401 |
|
---|
1402 | HRESULT ignorableWarning(
|
---|
1403 | [in] ISAXLocator * pLocator,
|
---|
1404 | [in] const WCHAR * pErrorMessage,
|
---|
1405 | [in] HRESULT hrErrorCode);
|
---|
1406 | };
|
---|
1407 |
|
---|
1408 | [
|
---|
1409 | object,
|
---|
1410 | local,
|
---|
1411 | uuid(7f85d5f5-47a8-4497-bda5-84ba04819ea6)
|
---|
1412 | ]
|
---|
1413 | interface ISAXLexicalHandler : IUnknown
|
---|
1414 | {
|
---|
1415 | HRESULT startDTD(
|
---|
1416 | [in] const WCHAR * pName,
|
---|
1417 | [in] int nName,
|
---|
1418 | [in] const WCHAR * pPublicId,
|
---|
1419 | [in] int nPublicId,
|
---|
1420 | [in] const WCHAR * pSystemId,
|
---|
1421 | [in] int nSystemId);
|
---|
1422 |
|
---|
1423 | HRESULT endDTD();
|
---|
1424 |
|
---|
1425 | HRESULT startEntity(
|
---|
1426 | [in] const WCHAR * pName,
|
---|
1427 | [in] int nName);
|
---|
1428 |
|
---|
1429 | HRESULT endEntity(
|
---|
1430 | [in] const WCHAR * pName,
|
---|
1431 | [in] int nName);
|
---|
1432 |
|
---|
1433 | HRESULT startCDATA();
|
---|
1434 |
|
---|
1435 | HRESULT endCDATA();
|
---|
1436 |
|
---|
1437 | HRESULT comment(
|
---|
1438 | [in] const WCHAR * pChars,
|
---|
1439 | [in] int nChars);
|
---|
1440 | };
|
---|
1441 |
|
---|
1442 | [
|
---|
1443 | object,
|
---|
1444 | local,
|
---|
1445 | uuid(9b7e472a-0de4-4640-bff3-84d38a051c31)
|
---|
1446 | ]
|
---|
1447 | interface ISAXLocator : IUnknown
|
---|
1448 | {
|
---|
1449 | HRESULT getColumnNumber(
|
---|
1450 | [out, retval] int * nColumn);
|
---|
1451 |
|
---|
1452 | HRESULT getLineNumber(
|
---|
1453 | [out, retval] int * nLine);
|
---|
1454 |
|
---|
1455 | HRESULT getPublicId(
|
---|
1456 | [out, retval] const WCHAR ** publicId);
|
---|
1457 |
|
---|
1458 | HRESULT getSystemId(
|
---|
1459 | [out, retval] const WCHAR ** systemId);
|
---|
1460 | };
|
---|
1461 |
|
---|
1462 | [
|
---|
1463 | local,
|
---|
1464 | object,
|
---|
1465 | uuid(70409222-ca09-4475-acb8-40312fe8d145)
|
---|
1466 | ]
|
---|
1467 | interface ISAXXMLFilter : ISAXXMLReader
|
---|
1468 | {
|
---|
1469 | HRESULT getParent(
|
---|
1470 | [out, retval] ISAXXMLReader ** pReader);
|
---|
1471 | HRESULT putParent(
|
---|
1472 | [in] ISAXXMLReader * reader);
|
---|
1473 | };
|
---|
1474 |
|
---|
1475 | [
|
---|
1476 | local,
|
---|
1477 | object,
|
---|
1478 | uuid (a4f96ed0-f829-476e-81c0-cdc7bd2a0802)
|
---|
1479 | ]
|
---|
1480 | interface ISAXXMLReader : IUnknown
|
---|
1481 | {
|
---|
1482 | HRESULT getFeature(
|
---|
1483 | [in] const WCHAR * pFeature,
|
---|
1484 | [out, retval] VARIANT_BOOL * pValue);
|
---|
1485 | HRESULT putFeature(
|
---|
1486 | [in] const WCHAR * pFeature,
|
---|
1487 | [in] VARIANT_BOOL vfValue);
|
---|
1488 |
|
---|
1489 | HRESULT getProperty(
|
---|
1490 | [in] const WCHAR * pProp,
|
---|
1491 | [out, retval] VARIANT * pValue);
|
---|
1492 | HRESULT putProperty(
|
---|
1493 | [in] const WCHAR * pProp,
|
---|
1494 | [in] VARIANT value);
|
---|
1495 |
|
---|
1496 | HRESULT getEntityResolver(
|
---|
1497 | [out, retval] ISAXEntityResolver ** ppEntityResolver);
|
---|
1498 | HRESULT putEntityResolver(
|
---|
1499 | [in] ISAXEntityResolver * pEntityResolver);
|
---|
1500 |
|
---|
1501 | HRESULT getContentHandler(
|
---|
1502 | [out, retval] ISAXContentHandler ** pContentHandler);
|
---|
1503 | HRESULT putContentHandler(
|
---|
1504 | [in] ISAXContentHandler * contentHandler);
|
---|
1505 |
|
---|
1506 | HRESULT getDTDHandler(
|
---|
1507 | [out, retval] ISAXDTDHandler ** pDTDHandler);
|
---|
1508 | HRESULT putDTDHandler(
|
---|
1509 | [in] ISAXDTDHandler * pDTDHandler);
|
---|
1510 |
|
---|
1511 | HRESULT getErrorHandler(
|
---|
1512 | [out, retval] ISAXErrorHandler ** pErrorHandler);
|
---|
1513 | HRESULT putErrorHandler(
|
---|
1514 | [in] ISAXErrorHandler * errorHandler);
|
---|
1515 |
|
---|
1516 | HRESULT getBaseURL(
|
---|
1517 | [out, retval] const WCHAR ** pBaseUrl);
|
---|
1518 | HRESULT putBaseURL(
|
---|
1519 | [in] const WCHAR * pBaseUrl);
|
---|
1520 |
|
---|
1521 | HRESULT getSecureBaseURL(
|
---|
1522 | [out, retval] const WCHAR ** pSecureBaseUrl);
|
---|
1523 | HRESULT putSecureBaseURL(
|
---|
1524 | [in] const WCHAR * secureBaseUrl);
|
---|
1525 |
|
---|
1526 | HRESULT parse(
|
---|
1527 | [in] VARIANT varInput);
|
---|
1528 | HRESULT parseURL(
|
---|
1529 | [in] const WCHAR * url);
|
---|
1530 | }
|
---|
1531 |
|
---|
1532 | [
|
---|
1533 | object,
|
---|
1534 | dual,
|
---|
1535 | uuid(10dc0586-132b-4cac-8bb3-db00ac8b7ee0)
|
---|
1536 | ]
|
---|
1537 | interface IVBSAXAttributes : IDispatch
|
---|
1538 | {
|
---|
1539 | [propget, id(DISPID_SAX_ATTRIBUTES_LENGTH)]
|
---|
1540 | HRESULT length( [out, retval] int * nLength);
|
---|
1541 |
|
---|
1542 | [id(DISPID_SAX_ATTRIBUTES_GETURI)]
|
---|
1543 | HRESULT getURI( [in] int nIndex, [out, retval] BSTR * uri);
|
---|
1544 |
|
---|
1545 | [id(DISPID_SAX_ATTRIBUTES_GETLOCALNAME)]
|
---|
1546 | HRESULT getLocalName( [in] int nIndex, [out, retval] BSTR * localName);
|
---|
1547 |
|
---|
1548 | [id(DISPID_SAX_ATTRIBUTES_GETQNAME)]
|
---|
1549 | HRESULT getQName( [in] int nIndex, [out, retval] BSTR * QName);
|
---|
1550 |
|
---|
1551 | [id(DISPID_SAX_ATTRIBUTES_GETINDEXFROMNAME)]
|
---|
1552 | HRESULT getIndexFromName( [in] BSTR uri,
|
---|
1553 | [in] BSTR localName, [out, retval] int * nIndex);
|
---|
1554 |
|
---|
1555 | [id(DISPID_SAX_ATTRIBUTES_GETINDEXFROMQNAME)]
|
---|
1556 | HRESULT getIndexFromQName( [in] BSTR QName, [out, retval] int * nIndex);
|
---|
1557 |
|
---|
1558 | [id(DISPID_SAX_ATTRIBUTES_GETTYPE)]
|
---|
1559 | HRESULT getType( [in] int nIndex, [out, retval] BSTR * type);
|
---|
1560 |
|
---|
1561 | [id(DISPID_SAX_ATTRIBUTES_GETTYPEFROMNAME)]
|
---|
1562 | HRESULT getTypeFromName( [in] BSTR uri, [in] BSTR localName,
|
---|
1563 | [out, retval] BSTR * type);
|
---|
1564 |
|
---|
1565 | [id(DISPID_SAX_ATTRIBUTES_GETTYPEFROMQNAME)]
|
---|
1566 | HRESULT getTypeFromQName( [in] BSTR QName, [out, retval] BSTR * type);
|
---|
1567 |
|
---|
1568 | [id(DISPID_SAX_ATTRIBUTES_GETVALUE)]
|
---|
1569 | HRESULT getValue( [in] int nIndex, [out, retval] BSTR * value);
|
---|
1570 |
|
---|
1571 | [id(DISPID_SAX_ATTRIBUTES_GETVALUEFROMNAME)]
|
---|
1572 | HRESULT getValueFromName( [in] BSTR uri,
|
---|
1573 | [in] BSTR localName,
|
---|
1574 | [out, retval] BSTR * value);
|
---|
1575 |
|
---|
1576 | [id(DISPID_SAX_ATTRIBUTES_GETVALUEFROMQNAME)]
|
---|
1577 | HRESULT getValueFromQName( [in] BSTR QName, [out, retval] BSTR * value);
|
---|
1578 | };
|
---|
1579 |
|
---|
1580 | [
|
---|
1581 | object,
|
---|
1582 | dual,
|
---|
1583 | uuid(2ed7290a-4dd5-4b46-bb26-4e4155e77faa)
|
---|
1584 | ]
|
---|
1585 | interface IVBSAXContentHandler : IDispatch
|
---|
1586 | {
|
---|
1587 | [propputref, id(DISPID_SAX_CONTENTHANDLER_DOCUMENTLOCATOR)]
|
---|
1588 | HRESULT documentLocator( [in] IVBSAXLocator * oLocator);
|
---|
1589 |
|
---|
1590 | [id(DISPID_SAX_CONTENTHANDLER_STARTDOCUMENT)]
|
---|
1591 | HRESULT startDocument();
|
---|
1592 |
|
---|
1593 | [id(DISPID_SAX_CONTENTHANDLER_ENDDOCUMENT)]
|
---|
1594 | HRESULT endDocument();
|
---|
1595 |
|
---|
1596 | [id(DISPID_SAX_CONTENTHANDLER_STARTPREFIXMAPPING)]
|
---|
1597 | HRESULT startPrefixMapping( [in, out] BSTR * prefix, [in, out] BSTR * uri);
|
---|
1598 |
|
---|
1599 | [id(DISPID_SAX_CONTENTHANDLER_ENDPREFIXMAPPING)]
|
---|
1600 | HRESULT endPrefixMapping( [in, out] BSTR * prefix);
|
---|
1601 |
|
---|
1602 | [id(DISPID_SAX_CONTENTHANDLER_STARTELEMENT)]
|
---|
1603 | HRESULT startElement( [in, out] BSTR * namespaceURI,
|
---|
1604 | [in, out] BSTR * localName,
|
---|
1605 | [in, out] BSTR * QName,
|
---|
1606 | [in] IVBSAXAttributes * oAttributes);
|
---|
1607 |
|
---|
1608 | [id(DISPID_SAX_CONTENTHANDLER_ENDELEMENT)]
|
---|
1609 | HRESULT endElement( [in, out] BSTR * namespaceURI,
|
---|
1610 | [in, out] BSTR * localName, [in, out] BSTR * strQName);
|
---|
1611 |
|
---|
1612 | [id(DISPID_SAX_CONTENTHANDLER_CHARACTERS)]
|
---|
1613 | HRESULT characters( [in, out] BSTR * chars);
|
---|
1614 |
|
---|
1615 | [id(DISPID_SAX_CONTENTHANDLER_IGNORABLEWHITESPACE)]
|
---|
1616 | HRESULT ignorableWhitespace( [in, out] BSTR * chars);
|
---|
1617 |
|
---|
1618 | [id(DISPID_SAX_CONTENTHANDLER_PROCESSINGINSTRUCTION)]
|
---|
1619 | HRESULT processingInstruction( [in, out] BSTR * target,
|
---|
1620 | [in, out] BSTR * data);
|
---|
1621 |
|
---|
1622 | [id(DISPID_SAX_CONTENTHANDLER_SKIPPEDENTITY)]
|
---|
1623 | HRESULT skippedEntity( [in, out] BSTR * name);
|
---|
1624 | };
|
---|
1625 |
|
---|
1626 | [
|
---|
1627 | object,
|
---|
1628 | dual,
|
---|
1629 | uuid(e8917260-7579-4be1-b5dd-7afbfa6f077b)
|
---|
1630 | ]
|
---|
1631 | interface IVBSAXDeclHandler : IDispatch
|
---|
1632 | {
|
---|
1633 | [id(DISPID_SAX_DECLHANDLER_ELEMENTDECL)]
|
---|
1634 | HRESULT elementDecl(
|
---|
1635 | [in, out] BSTR * name,
|
---|
1636 | [in, out] BSTR * model);
|
---|
1637 |
|
---|
1638 | [id(DISPID_SAX_DECLHANDLER_ATTRIBUTEDECL)]
|
---|
1639 | HRESULT attributeDecl(
|
---|
1640 | [in, out] BSTR * elementName,
|
---|
1641 | [in, out] BSTR * attributeName,
|
---|
1642 | [in, out] BSTR * type,
|
---|
1643 | [in, out] BSTR * valueDefault,
|
---|
1644 | [in, out] BSTR * value);
|
---|
1645 |
|
---|
1646 | [id(DISPID_SAX_DECLHANDLER_INTERNALENTITYDECL)]
|
---|
1647 | HRESULT internalEntityDecl(
|
---|
1648 | [in, out] BSTR * name,
|
---|
1649 | [in, out] BSTR * value);
|
---|
1650 |
|
---|
1651 | [id(DISPID_SAX_DECLHANDLER_EXTERNALENTITYDECL)]
|
---|
1652 | HRESULT externalEntityDecl(
|
---|
1653 | [in, out] BSTR * name,
|
---|
1654 | [in, out] BSTR * publicId,
|
---|
1655 | [in, out] BSTR * systemId);
|
---|
1656 | };
|
---|
1657 |
|
---|
1658 | [
|
---|
1659 | object,
|
---|
1660 | dual,
|
---|
1661 | uuid(24fb3297-302d-4620-ba39-3a732d850558)
|
---|
1662 | ]
|
---|
1663 | interface IVBSAXDTDHandler : IDispatch
|
---|
1664 | {
|
---|
1665 | [id(DISPID_SAX_DTDHANDLER_NOTATIONDECL)]
|
---|
1666 | HRESULT notationDecl(
|
---|
1667 | [in, out] BSTR * name,
|
---|
1668 | [in, out] BSTR * publicId,
|
---|
1669 | [in, out] BSTR * systemId);
|
---|
1670 |
|
---|
1671 | [id(DISPID_SAX_DTDHANDLER_UNPARSEDENTITYDECL)]
|
---|
1672 | HRESULT unparsedEntityDecl(
|
---|
1673 | [in, out] BSTR * name,
|
---|
1674 | [in, out] BSTR * publicId,
|
---|
1675 | [in, out] BSTR * systemId,
|
---|
1676 | [in, out] BSTR * notationName);
|
---|
1677 | };
|
---|
1678 |
|
---|
1679 | [
|
---|
1680 | object,
|
---|
1681 | dual,
|
---|
1682 | uuid(0c05d096-f45b-4aca-ad1a-aa0bc25518dc)
|
---|
1683 | ]
|
---|
1684 | interface IVBSAXEntityResolver : IDispatch
|
---|
1685 | {
|
---|
1686 | [id(DISPID_SAX_ENTITYRESOLVER_RESOLVEENTITY)]
|
---|
1687 | HRESULT resolveEntity(
|
---|
1688 | [in, out] BSTR * publicId,
|
---|
1689 | [in, out] BSTR * systemId,
|
---|
1690 | [out, retval] VARIANT * ret);
|
---|
1691 | };
|
---|
1692 |
|
---|
1693 | [
|
---|
1694 | object,
|
---|
1695 | dual,
|
---|
1696 | uuid(d963d3fe-173c-4862-9095-b92f66995f52)
|
---|
1697 | ]
|
---|
1698 | interface IVBSAXErrorHandler : IDispatch
|
---|
1699 | {
|
---|
1700 | [id(DISPID_SAX_ERRORHANDLER_ERROR)]
|
---|
1701 | HRESULT error(
|
---|
1702 | [in] IVBSAXLocator * locator,
|
---|
1703 | [in, out] BSTR * errorMessage,
|
---|
1704 | [in] LONG errorCode);
|
---|
1705 |
|
---|
1706 | [id(DISPID_SAX_ERRORHANDLER_FATALERROR)]
|
---|
1707 | HRESULT fatalError(
|
---|
1708 | [in] IVBSAXLocator * locator,
|
---|
1709 | [in, out] BSTR * errorMessage,
|
---|
1710 | [in] LONG errorCode);
|
---|
1711 |
|
---|
1712 | [id(DISPID_SAX_ERRORHANDLER_IGNORABLEWARNING)]
|
---|
1713 | HRESULT ignorableWarning(
|
---|
1714 | [in] IVBSAXLocator * locator,
|
---|
1715 | [in, out] BSTR * errorMessage,
|
---|
1716 | [in] LONG errorCode);
|
---|
1717 | };
|
---|
1718 |
|
---|
1719 | [
|
---|
1720 | object,
|
---|
1721 | dual,
|
---|
1722 | uuid(032aac35-8c0e-4d9d-979f-e3b702935576)
|
---|
1723 | ]
|
---|
1724 | interface IVBSAXLexicalHandler : IDispatch
|
---|
1725 | {
|
---|
1726 | [id(DISPID_SAX_LEXICALHANDLER_STARTDTD)]
|
---|
1727 | HRESULT startDTD(
|
---|
1728 | [in, out] BSTR * name,
|
---|
1729 | [in, out] BSTR * publicId,
|
---|
1730 | [in, out] BSTR * systemId);
|
---|
1731 | [id(DISPID_SAX_LEXICALHANDLER_ENDDTD)]
|
---|
1732 | HRESULT endDTD();
|
---|
1733 |
|
---|
1734 | [id(DISPID_SAX_LEXICALHANDLER_STARTENTITY)]
|
---|
1735 | HRESULT startEntity([in, out] BSTR * name);
|
---|
1736 | [id(DISPID_SAX_LEXICALHANDLER_ENDENTITY)]
|
---|
1737 | HRESULT endEntity([in, out] BSTR * name);
|
---|
1738 |
|
---|
1739 | [id(DISPID_SAX_LEXICALHANDLER_STARTCDATA)]
|
---|
1740 | HRESULT startCDATA();
|
---|
1741 | [id(DISPID_SAX_LEXICALHANDLER_ENDCDATA)]
|
---|
1742 | HRESULT endCDATA();
|
---|
1743 |
|
---|
1744 | [id(DISPID_SAX_LEXICALHANDLER_COMMENT)]
|
---|
1745 | HRESULT comment( [in, out] BSTR * chars);
|
---|
1746 | };
|
---|
1747 |
|
---|
1748 | [
|
---|
1749 | object,
|
---|
1750 | uuid(796e7ac5-5aa2-4eff-acad-3faaf01a3288)
|
---|
1751 | ]
|
---|
1752 | interface IVBSAXLocator : IDispatch
|
---|
1753 | {
|
---|
1754 | [propget, id(DISPID_SAX_LOCATOR_COLUMNNUMBER)]
|
---|
1755 | HRESULT columnNumber( [out, retval] int * column);
|
---|
1756 |
|
---|
1757 | [propget, id(DISPID_SAX_LOCATOR_LINENUMBER)]
|
---|
1758 | HRESULT lineNumber( [out, retval] int * line);
|
---|
1759 |
|
---|
1760 | [propget, id(DISPID_SAX_LOCATOR_PUBLICID)]
|
---|
1761 | HRESULT publicId( [out, retval] BSTR * publicId);
|
---|
1762 |
|
---|
1763 | [propget, id(DISPID_SAX_LOCATOR_SYSTEMID)]
|
---|
1764 | HRESULT systemId( [out, retval] BSTR * systemId);
|
---|
1765 | };
|
---|
1766 |
|
---|
1767 | [
|
---|
1768 | object,
|
---|
1769 | dual,
|
---|
1770 | uuid(1299eb1b-5b88-433e-82de-82ca75ad4e04)
|
---|
1771 | ]
|
---|
1772 | interface IVBSAXXMLFilter : IDispatch
|
---|
1773 | {
|
---|
1774 | [propget, id(DISPID_SAX_XMLFILTER_PARENT)]
|
---|
1775 | HRESULT parent( [out, retval] IVBSAXXMLReader ** reader);
|
---|
1776 | [propputref, id(DISPID_SAX_XMLFILTER_PARENT)]
|
---|
1777 | HRESULT parent( [in] IVBSAXXMLReader * reader);
|
---|
1778 |
|
---|
1779 | };
|
---|
1780 |
|
---|
1781 | [
|
---|
1782 | dual,
|
---|
1783 | object,
|
---|
1784 | uuid (8c033caa-6cd6-4f73-b728-4531af74945f)
|
---|
1785 | ]
|
---|
1786 | interface IVBSAXXMLReader : IDispatch
|
---|
1787 | {
|
---|
1788 | [id(DISPID_SAX_XMLREADER_GETFEATURE)]
|
---|
1789 | HRESULT getFeature( [in] const WCHAR * pFeature,
|
---|
1790 | [out, retval] VARIANT_BOOL * pValue);
|
---|
1791 | [id(DISPID_SAX_XMLREADER_PUTFEATURE)]
|
---|
1792 | HRESULT putFeature( [in] const WCHAR * pFeature,
|
---|
1793 | [in] VARIANT_BOOL vfValue);
|
---|
1794 |
|
---|
1795 | [id(DISPID_SAX_XMLREADER_GETPROPERTY)]
|
---|
1796 | HRESULT getProperty( [in] const WCHAR * pProp,
|
---|
1797 | [out, retval] VARIANT * pValue);
|
---|
1798 | [id(DISPID_SAX_XMLREADER_PUTPROPERTY)]
|
---|
1799 | HRESULT putProperty( [in] const WCHAR * pProp, [in] VARIANT value);
|
---|
1800 |
|
---|
1801 | [propget, id(DISPID_SAX_XMLREADER_ENTITYRESOLVER)]
|
---|
1802 | HRESULT entityResolver(
|
---|
1803 | [out, retval] IVBSAXEntityResolver ** ppEntityResolver);
|
---|
1804 | [propputref, id(DISPID_SAX_XMLREADER_ENTITYRESOLVER)]
|
---|
1805 | HRESULT entityResolver( [in] IVBSAXEntityResolver * pEntityResolver);
|
---|
1806 |
|
---|
1807 | [propget, id(DISPID_SAX_XMLREADER_CONTENTHANDLER)]
|
---|
1808 | HRESULT contentHandler(
|
---|
1809 | [out, retval] IVBSAXContentHandler ** pContentHandler);
|
---|
1810 | [propputref, id(DISPID_SAX_XMLREADER_CONTENTHANDLER)]
|
---|
1811 | HRESULT contentHandler([in] IVBSAXContentHandler * contentHandler);
|
---|
1812 |
|
---|
1813 | [propget, id(DISPID_SAX_XMLREADER_DTDHANDLER)]
|
---|
1814 | HRESULT dtdHandler([out, retval] IVBSAXDTDHandler ** pDTDHandler);
|
---|
1815 | [propputref, id(DISPID_SAX_XMLREADER_DTDHANDLER)]
|
---|
1816 | HRESULT dtdHandler([in] IVBSAXDTDHandler * pDTDHandler);
|
---|
1817 |
|
---|
1818 | [propget, id(DISPID_SAX_XMLREADER_ERRORHANDLER)]
|
---|
1819 | HRESULT errorHandler([out, retval] IVBSAXErrorHandler ** pErrorHandler);
|
---|
1820 | [propputref, id(DISPID_SAX_XMLREADER_ERRORHANDLER)]
|
---|
1821 | HRESULT errorHandler([in] IVBSAXErrorHandler * errorHandler);
|
---|
1822 |
|
---|
1823 | [propget, id(DISPID_SAX_XMLREADER_BASEURL)]
|
---|
1824 | HRESULT baseURL([out, retval] const WCHAR ** pBaseUrl);
|
---|
1825 | [propput, id(DISPID_SAX_XMLREADER_BASEURL)]
|
---|
1826 | HRESULT baseURL([in] const WCHAR * pBaseUrl);
|
---|
1827 |
|
---|
1828 | [propget, id(DISPID_SAX_XMLREADER_SECUREBASEURL)]
|
---|
1829 | HRESULT secureBaseURL([out, retval] const WCHAR ** pSecureBaseUrl);
|
---|
1830 | [propput, id(DISPID_SAX_XMLREADER_SECUREBASEURL)]
|
---|
1831 | HRESULT secureBaseURL([in] const WCHAR * secureBaseUrl);
|
---|
1832 |
|
---|
1833 | [id(DISPID_SAX_XMLREADER_PARSE)]
|
---|
1834 | HRESULT parse( [in] VARIANT varInput);
|
---|
1835 | [id(DISPID_SAX_XMLREADER_PARSEURL)]
|
---|
1836 | HRESULT parseURL([in] const WCHAR * url);
|
---|
1837 | }
|
---|
1838 |
|
---|
1839 | [
|
---|
1840 | object,
|
---|
1841 | dual,
|
---|
1842 | uuid(f10d27cc-3ec0-415c-8ed8-77ab1c5e7262)
|
---|
1843 | ]
|
---|
1844 | interface IMXAttributes : IDispatch
|
---|
1845 | {
|
---|
1846 | [id(DISPID_MX_ATTRIBUTES_ADDATTRIBUTE)]
|
---|
1847 | HRESULT addAttribute(
|
---|
1848 | [in] BSTR uri,
|
---|
1849 | [in] BSTR localName,
|
---|
1850 | [in] BSTR QName,
|
---|
1851 | [in] BSTR type,
|
---|
1852 | [in] BSTR value);
|
---|
1853 |
|
---|
1854 | [id(DISPID_MX_ATTRIBUTES_ADDATTRIBUTEFROMINDEX)]
|
---|
1855 | HRESULT addAttributeFromIndex( [in] VARIANT atts,
|
---|
1856 | [in] int index);
|
---|
1857 |
|
---|
1858 | [id(DISPID_MX_ATTRIBUTES_CLEAR)]
|
---|
1859 | HRESULT clear();
|
---|
1860 |
|
---|
1861 | [id(DISPID_MX_ATTRIBUTES_REMOVEATTRIBUTE)]
|
---|
1862 | HRESULT removeAttribute( [in] int index);
|
---|
1863 |
|
---|
1864 | [id(DISPID_MX_ATTRIBUTES_SETATTRIBUTE)]
|
---|
1865 | HRESULT setAttribute(
|
---|
1866 | [in] int index,
|
---|
1867 | [in] BSTR uri,
|
---|
1868 | [in] BSTR localName,
|
---|
1869 | [in] BSTR QName,
|
---|
1870 | [in] BSTR type,
|
---|
1871 | [in] BSTR value);
|
---|
1872 |
|
---|
1873 | [id(DISPID_MX_ATTRIBUTES_SETATTRIBUTES)]
|
---|
1874 | HRESULT setAttributes( [in] VARIANT atts);
|
---|
1875 |
|
---|
1876 | [id(DISPID_MX_ATTRIBUTES_SETLOCALNAME)]
|
---|
1877 | HRESULT setLocalName( [in] int index,
|
---|
1878 | [in] BSTR localName);
|
---|
1879 |
|
---|
1880 | [id(DISPID_MX_ATTRIBUTES_SETQNAME)]
|
---|
1881 | HRESULT setQName(
|
---|
1882 | [in] int index,
|
---|
1883 | [in] BSTR QName);
|
---|
1884 |
|
---|
1885 | [id(DISPID_MX_ATTRIBUTES_SETTYPE)]
|
---|
1886 | HRESULT setType( [in] int index, [in] BSTR type);
|
---|
1887 |
|
---|
1888 | [id(DISPID_MX_ATTRIBUTES_SETURI)]
|
---|
1889 | HRESULT setURI( [in] int index, [in] BSTR uri);
|
---|
1890 |
|
---|
1891 | [id(DISPID_MX_ATTRIBUTES_SETVALUE)]
|
---|
1892 | HRESULT setValue([in] int index, [in] BSTR value);
|
---|
1893 | };
|
---|
1894 |
|
---|
1895 | [
|
---|
1896 | object,
|
---|
1897 | dual,
|
---|
1898 | uuid(808f4e35-8d5a-4fbe-8466-33a41279ed30)
|
---|
1899 | ]
|
---|
1900 | interface IMXReaderControl : IDispatch
|
---|
1901 | {
|
---|
1902 | [id(DISPID_MX_READER_CONTROL_ABORT)]
|
---|
1903 | HRESULT abort();
|
---|
1904 |
|
---|
1905 | [id(DISPID_MX_READER_CONTROL_RESUME)]
|
---|
1906 | HRESULT resume();
|
---|
1907 |
|
---|
1908 | [id(DISPID_MX_READER_CONTROL_SUSPEND)]
|
---|
1909 | HRESULT suspend();
|
---|
1910 | };
|
---|
1911 |
|
---|
1912 | [
|
---|
1913 | object,
|
---|
1914 | dual,
|
---|
1915 | uuid(4d7ff4ba-1565-4ea8-94e1-6e724a46f98d)
|
---|
1916 | ]
|
---|
1917 | interface IMXWriter : IDispatch
|
---|
1918 | {
|
---|
1919 | [propput, id(DISPID_MX_WRITER_OUTPUT)]
|
---|
1920 | HRESULT output ( [in] VARIANT Destination);
|
---|
1921 | [propget, id(DISPID_MX_WRITER_OUTPUT)]
|
---|
1922 | HRESULT output ( [out, retval] VARIANT * Destination);
|
---|
1923 |
|
---|
1924 | [propput, id(DISPID_MX_WRITER_ENCODING)]
|
---|
1925 | HRESULT encoding ([in] BSTR encoding);
|
---|
1926 | [propget, id(DISPID_MX_WRITER_ENCODING)]
|
---|
1927 | HRESULT encoding ([out, retval] BSTR * encoding);
|
---|
1928 |
|
---|
1929 | [propput, id(DISPID_MX_WRITER_BYTEORDERMARK)]
|
---|
1930 | HRESULT byteOrderMark ([in] VARIANT_BOOL writeByteOrderMark);
|
---|
1931 | [propget, id(DISPID_MX_WRITER_BYTEORDERMARK)]
|
---|
1932 | HRESULT byteOrderMark ([out, retval] VARIANT_BOOL * writeByteOrderMark);
|
---|
1933 |
|
---|
1934 | [propput, id(DISPID_MX_WRITER_INDENT)]
|
---|
1935 | HRESULT indent ([in] VARIANT_BOOL indentMode);
|
---|
1936 | [propget, id(DISPID_MX_WRITER_INDENT)]
|
---|
1937 | HRESULT indent ([out, retval] VARIANT_BOOL * indentMode);
|
---|
1938 |
|
---|
1939 | [propput, id(DISPID_MX_WRITER_STANDALONE)]
|
---|
1940 | HRESULT standalone ([in] VARIANT_BOOL value);
|
---|
1941 | [propget, id(DISPID_MX_WRITER_STANDALONE)]
|
---|
1942 | HRESULT standalone ([out, retval] VARIANT_BOOL * value);
|
---|
1943 |
|
---|
1944 | [propput, id(DISPID_MX_WRITER_OMITXMLDECLARATION)]
|
---|
1945 | HRESULT omitXMLDeclaration ([in] VARIANT_BOOL value);
|
---|
1946 | [propget, id(DISPID_MX_WRITER_OMITXMLDECLARATION)]
|
---|
1947 | HRESULT omitXMLDeclaration ([out, retval] VARIANT_BOOL * value);
|
---|
1948 |
|
---|
1949 | [propput, id(DISPID_MX_WRITER_VERSION)]
|
---|
1950 | HRESULT version ([in] BSTR version);
|
---|
1951 | [propget, id(DISPID_MX_WRITER_VERSION)]
|
---|
1952 | HRESULT version ([out, retval] BSTR * version);
|
---|
1953 |
|
---|
1954 | [propput, id(DISPID_MX_WRITER_DISABLEOUTPUTESCAPING)]
|
---|
1955 | HRESULT disableOutputEscaping([in] VARIANT_BOOL value);
|
---|
1956 | [propget, id(DISPID_MX_WRITER_DISABLEOUTPUTESCAPING)]
|
---|
1957 | HRESULT disableOutputEscaping([out, retval] VARIANT_BOOL * value);
|
---|
1958 |
|
---|
1959 | [id(DISPID_MX_WRITER_FLUSH)]
|
---|
1960 | HRESULT flush();
|
---|
1961 | };
|
---|
1962 |
|
---|
1963 | [
|
---|
1964 | uuid(079aa557-4a18-424a-8eee-e39f0a8d41b9)
|
---|
1965 | ]
|
---|
1966 | coclass SAXXMLReader
|
---|
1967 | {
|
---|
1968 | [default] interface IVBSAXXMLReader;
|
---|
1969 | interface ISAXXMLReader;
|
---|
1970 | interface IMXReaderControl;
|
---|
1971 | };
|
---|
1972 |
|
---|
1973 | [
|
---|
1974 | uuid(3124c396-fb13-4836-a6ad-1317f1713688)
|
---|
1975 | ]
|
---|
1976 | coclass SAXXMLReader30
|
---|
1977 | {
|
---|
1978 | [default] interface IVBSAXXMLReader;
|
---|
1979 | interface ISAXXMLReader;
|
---|
1980 | interface IMXReaderControl;
|
---|
1981 | };
|
---|
1982 |
|
---|
1983 | [
|
---|
1984 | uuid(fc220ad8-a72a-4ee8-926e-0b7ad152a020)
|
---|
1985 | ]
|
---|
1986 | coclass MXXMLWriter
|
---|
1987 | {
|
---|
1988 | [default] interface IMXWriter;
|
---|
1989 |
|
---|
1990 | interface ISAXContentHandler;
|
---|
1991 | interface ISAXErrorHandler;
|
---|
1992 | interface ISAXDTDHandler;
|
---|
1993 | interface ISAXLexicalHandler;
|
---|
1994 | interface ISAXDeclHandler;
|
---|
1995 |
|
---|
1996 | interface IVBSAXContentHandler;
|
---|
1997 | interface IVBSAXDeclHandler;
|
---|
1998 | interface IVBSAXDTDHandler;
|
---|
1999 | interface IVBSAXErrorHandler;
|
---|
2000 | interface IVBSAXLexicalHandler;
|
---|
2001 | };
|
---|
2002 |
|
---|
2003 | [
|
---|
2004 | uuid(3d813dfe-6c91-4a4e-8f41-04346a841d9c)
|
---|
2005 | ]
|
---|
2006 | coclass MXXMLWriter30
|
---|
2007 | {
|
---|
2008 | [default] interface IMXWriter;
|
---|
2009 |
|
---|
2010 | interface ISAXContentHandler;
|
---|
2011 | interface ISAXDeclHandler;
|
---|
2012 | interface ISAXDTDHandler;
|
---|
2013 | interface ISAXErrorHandler;
|
---|
2014 | interface ISAXLexicalHandler;
|
---|
2015 |
|
---|
2016 | interface IVBSAXContentHandler;
|
---|
2017 | interface IVBSAXDeclHandler;
|
---|
2018 | interface IVBSAXDTDHandler;
|
---|
2019 | interface IVBSAXErrorHandler;
|
---|
2020 | interface IVBSAXLexicalHandler;
|
---|
2021 | };
|
---|
2022 |
|
---|
2023 | [
|
---|
2024 | uuid(4dd441ad-526d-4a77-9f1b-9841ed802fb0)
|
---|
2025 | ]
|
---|
2026 | coclass SAXAttributes
|
---|
2027 | {
|
---|
2028 | [default] interface IMXAttributes;
|
---|
2029 | interface IVBSAXAttributes;
|
---|
2030 | interface ISAXAttributes;
|
---|
2031 | };
|
---|
2032 |
|
---|
2033 | [
|
---|
2034 | uuid(3e784a01-f3ae-4dc0-9354-9526b9370eba)
|
---|
2035 | ]
|
---|
2036 | coclass SAXAttributes30
|
---|
2037 | {
|
---|
2038 | [default] interface IMXAttributes;
|
---|
2039 | interface IVBSAXAttributes;
|
---|
2040 | interface ISAXAttributes;
|
---|
2041 | };
|
---|
2042 |
|
---|
2043 |
|
---|
2044 | } /* Library MSXML */
|
---|