VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/xmldom.idl@ 19678

最後變更 在這個檔案從19678是 19678,由 vboxsync 提交於 16 年 前

opengl: update wine to 1.1.21, add d3d9.dll to build list

  • 屬性 svn:eol-style 設為 native
檔案大小: 22.6 KB
 
1/*
2 * Copyright (C) 2005 Mike McCormack
3 *
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
8 *
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
13 *
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
17 */
18
19/*
20 * Sun LGPL Disclaimer: For the avoidance of doubt, except that if any license choice
21 * other than GPL or LGPL is available it will apply instead, Sun elects to use only
22 * the Lesser General Public License version 2.1 (LGPLv2) at this time for any software where
23 * a choice of LGPL license versions is made available with the language indicating
24 * that LGPLv2 or any later version may be used, or where a choice of which version
25 * of the LGPL is applied is otherwise unspecified.
26 */
27
28#include <xmldomdid.h>
29#include <idispids.h>
30
31import "ocidl.idl";
32
33interface IXMLDOMImplementation;
34interface IXMLDOMNode;
35interface IXMLDOMDocumentFragment;
36interface IXMLDOMDocument;
37interface IXMLDOMNodeList;
38interface IXMLDOMNamedNodeMap;
39interface IXMLDOMCharacterData;
40interface IXMLDOMAttribute;
41interface IXMLDOMElement;
42interface IXMLDOMText;
43interface IXMLDOMComment;
44interface IXMLDOMProcessingInstruction;
45interface IXMLDOMCDATASection;
46interface IXMLDOMDocumentType;
47interface IXMLDOMNotation;
48interface IXMLDOMEntity;
49interface IXMLDOMEntityReference;
50interface IXMLDOMParseError;
51interface IXTLRuntime;
52
53typedef enum tagDOMNodeType {
54 NODE_INVALID,
55 NODE_ELEMENT,
56 NODE_ATTRIBUTE,
57 NODE_TEXT,
58 NODE_CDATA_SECTION,
59 NODE_ENTITY_REFERENCE,
60 NODE_ENTITY,
61 NODE_PROCESSING_INSTRUCTION,
62 NODE_COMMENT,
63 NODE_DOCUMENT,
64 NODE_DOCUMENT_TYPE,
65 NODE_DOCUMENT_FRAGMENT,
66 NODE_NOTATION
67} DOMNodeType;
68
69[
70local,
71object,
72odl,
73dual,
74oleautomation,
75/*nonextensible,*/
76uuid(2933bf80-7b36-11d2-b20e-00c04f983e60),
77pointer_default(unique)
78]
79interface IXMLDOMNode : IDispatch
80{
81 [propget, id(DISPID_DOM_NODE_NODENAME)]
82 HRESULT nodeName( [out,retval] BSTR *name );
83
84 [propget, id(DISPID_DOM_NODE_NODEVALUE)]
85 HRESULT nodeValue( [out,retval] VARIANT *value );
86
87 [propput, id(DISPID_DOM_NODE_NODEVALUE)]
88 HRESULT nodeValue( [in] VARIANT value );
89
90 [propget, id(DISPID_DOM_NODE_NODETYPE)]
91 HRESULT nodeType( [out,retval] DOMNodeType *type );
92
93 [propget, id(DISPID_DOM_NODE_PARENTNODE)]
94 HRESULT parentNode( [out,retval] IXMLDOMNode **parent );
95
96 [propget, id(DISPID_DOM_NODE_CHILDNODES)]
97 HRESULT childNodes( [out,retval] IXMLDOMNodeList **childList );
98
99 [propget, id(DISPID_DOM_NODE_FIRSTCHILD)]
100 HRESULT firstChild( [out,retval] IXMLDOMNode **firstChild );
101
102 [propget, id(DISPID_DOM_NODE_LASTCHILD)]
103 HRESULT lastChild( [out,retval] IXMLDOMNode **lastChild );
104
105 [propget, id(DISPID_DOM_NODE_PREVIOUSSIBLING)]
106 HRESULT previousSibling( [out,retval] IXMLDOMNode **previousSibling );
107
108 [propget, id(DISPID_DOM_NODE_NEXTSIBLING)]
109 HRESULT nextSibling( [out,retval] IXMLDOMNode **nextSibling );
110
111 [propget, id(DISPID_DOM_NODE_ATTRIBUTES)]
112 HRESULT attributes( [out,retval] IXMLDOMNamedNodeMap **attributeMap );
113
114 [id(DISPID_DOM_NODE_INSERTBEFORE)]
115 HRESULT insertBefore( [in] IXMLDOMNode * newChild,
116 [in] VARIANT refChild,
117 [out,retval] IXMLDOMNode **outNewChild );
118
119 [id(DISPID_DOM_NODE_REPLACECHILD)]
120 HRESULT replaceChild( [in] IXMLDOMNode *newChild,
121 [in] IXMLDOMNode *oldChild,
122 [out,retval] IXMLDOMNode **outOldChild );
123
124 [id(DISPID_DOM_NODE_REMOVECHILD)]
125 HRESULT removeChild( [in] IXMLDOMNode *childNode,
126 [out,retval] IXMLDOMNode **oldChild );
127
128 [id(DISPID_DOM_NODE_APPENDCHILD)]
129 HRESULT appendChild( [in] IXMLDOMNode *newChild,
130 [out,retval] IXMLDOMNode **outNewChild );
131
132 [id(DISPID_DOM_NODE_HASCHILDNODES)]
133 HRESULT hasChildNodes( [out,retval] VARIANT_BOOL *hasChild );
134
135 [propget, id(DISPID_DOM_NODE_OWNERDOC)]
136 HRESULT ownerDocument( [out,retval] IXMLDOMDocument **DOMDocument );
137
138 [id(DISPID_DOM_NODE_CLONENODE)]
139 HRESULT cloneNode( [in] VARIANT_BOOL deep,
140 [out,retval] IXMLDOMNode **cloneRoot );
141
142 [propget, id(DISPID_XMLDOM_NODE_STRINGTYPE)]
143 HRESULT nodeTypeString( [out,retval] BSTR *nodeType );
144
145 [propget, id(DISPID_XMLDOM_NODE_TEXT)]
146 HRESULT text( [out,retval] BSTR *text );
147
148 [propput, id(DISPID_XMLDOM_NODE_TEXT)]
149 HRESULT text( [in] BSTR text );
150
151 [propget, id(DISPID_XMLDOM_NODE_SPECIFIED)]
152 HRESULT specified( [out,retval] VARIANT_BOOL *isSpecified );
153
154 [propget, id(DISPID_XMLDOM_NODE_DEFINITION)]
155 HRESULT definition( [out,retval] IXMLDOMNode **definitionNode );
156
157 [propget, id(DISPID_XMLDOM_NODE_NODETYPEDVALUE)]
158 HRESULT nodeTypedValue( [out,retval] VARIANT *typedValue );
159
160 [propput, id(DISPID_XMLDOM_NODE_NODETYPEDVALUE)]
161 HRESULT nodeTypedValue( [in] VARIANT typedValue );
162
163 [propget, id(DISPID_XMLDOM_NODE_DATATYPE)]
164 HRESULT dataType( [out,retval] VARIANT *dataTypeName );
165
166 [propput, id(DISPID_XMLDOM_NODE_DATATYPE)]
167 HRESULT dataType( [in] BSTR dataTypeName );
168
169 [propget, id(DISPID_XMLDOM_NODE_XML)]
170 HRESULT xml( [out,retval] BSTR *xmlString );
171
172 [id(DISPID_XMLDOM_NODE_TRANSFORMNODE)]
173 HRESULT transformNode( [in] IXMLDOMNode *styleSheet,
174 [out,retval] BSTR *xmlString );
175
176 [id(DISPID_XMLDOM_NODE_SELECTNODES)]
177 HRESULT selectNodes( [in] BSTR queryString,
178 [out,retval] IXMLDOMNodeList **resultList );
179
180 [id(DISPID_XMLDOM_NODE_SELECTSINGLENODE)]
181 HRESULT selectSingleNode( [in] BSTR queryString,
182 [out,retval] IXMLDOMNode **resultNode );
183
184 [propget, id(DISPID_XMLDOM_NODE_PARSED)]
185 HRESULT parsed( [out,retval] VARIANT_BOOL *isParsed );
186
187 [propget, id(DISPID_XMLDOM_NODE_NAMESPACE)]
188 HRESULT namespaceURI( [out,retval] BSTR *namespaceURI );
189
190 [propget, id(DISPID_XMLDOM_NODE_PREFIX)]
191 HRESULT prefix( [out,retval] BSTR *prefixString );
192
193 [propget, id(DISPID_XMLDOM_NODE_BASENAME)]
194 HRESULT baseName( [out,retval] BSTR *nameString );
195
196 [id(DISPID_XMLDOM_NODE_TRANSFORMNODETOOBJECT)]
197 HRESULT transformNodeToObject( [in] IXMLDOMNode *stylesheet,
198 [in] VARIANT outputObject );
199}
200
201[
202local,
203object,
204odl,
205dual,
206/*nonextensible,*/
207oleautomation,
208uuid(2933bf81-7b36-11d2-b20e-00c04f983e60),
209pointer_default(unique)
210]
211interface IXMLDOMDocument : IXMLDOMNode
212{
213 [propget, id(DISPID_DOM_DOCUMENT_DOCTYPE)]
214 HRESULT doctype( [out,retval] IXMLDOMDocumentType **documentType );
215
216 [propget, id(DISPID_DOM_DOCUMENT_IMPLEMENTATION)]
217 HRESULT implementation( [out,retval] IXMLDOMImplementation **impl );
218
219 [propget, id(DISPID_DOM_DOCUMENT_DOCUMENTELEMENT)]
220 HRESULT documentElement( [out,retval] IXMLDOMElement **DOMElement );
221
222 [propputref, id(DISPID_DOM_DOCUMENT_DOCUMENTELEMENT)]
223 HRESULT documentElement( [in] IXMLDOMElement *DOMElement );
224
225 [id(DISPID_DOM_DOCUMENT_CREATEELEMENT)]
226 HRESULT createElement( [in] BSTR tagname,
227 [out,retval] IXMLDOMElement **element );
228
229 [id(DISPID_DOM_DOCUMENT_CREATEDOCUMENTFRAGMENT)]
230 HRESULT createDocumentFragment( [out,retval] IXMLDOMDocumentFragment **docFrag );
231
232 [id(DISPID_DOM_DOCUMENT_CREATETEXTNODE)]
233 HRESULT createTextNode( [in] BSTR data,
234 [out,retval] IXMLDOMText **text );
235
236 [id(DISPID_DOM_DOCUMENT_CREATECOMMENT)]
237 HRESULT createComment( [in] BSTR data,
238 [out,retval] IXMLDOMComment **comment );
239
240 [id(DISPID_DOM_DOCUMENT_CREATECDATASECTION)]
241 HRESULT createCDATASection( [in] BSTR data,
242 [out,retval] IXMLDOMCDATASection **cdata );
243
244 [id(DISPID_DOM_DOCUMENT_CREATEPROCESSINGINSTRUCTION)]
245 HRESULT createProcessingInstruction( [in] BSTR target,
246 [in] BSTR data,
247 [out,retval] IXMLDOMProcessingInstruction **pi );
248
249 [id(DISPID_DOM_DOCUMENT_CREATEATTRIBUTE)]
250 HRESULT createAttribute( [in] BSTR name,
251 [out,retval] IXMLDOMAttribute **attribute );
252
253 [id(DISPID_DOM_DOCUMENT_CREATEENTITYREFERENCE)]
254 HRESULT createEntityReference( [in] BSTR name,
255 [out,retval] IXMLDOMEntityReference **entityRef );
256
257 [id(DISPID_DOM_DOCUMENT_GETELEMENTSBYTAGNAME)]
258 HRESULT getElementsByTagName( [in] BSTR tagName,
259 [out,retval] IXMLDOMNodeList **resultList );
260
261 [id(DISPID_XMLDOM_DOCUMENT_CREATENODE)]
262 HRESULT createNode( [in] VARIANT Type,
263 [in] BSTR name,
264 [in] BSTR namespaceURI,
265 [out,retval] IXMLDOMNode **node );
266
267 [id(DISPID_XMLDOM_DOCUMENT_NODEFROMID)]
268 HRESULT nodeFromID( [in] BSTR idString,
269 [out,retval] IXMLDOMNode **node );
270
271 [id(DISPID_XMLDOM_DOCUMENT_LOAD)]
272 HRESULT load( [in] VARIANT xmlSource,
273 [out,retval] VARIANT_BOOL *isSuccessful );
274
275 [propget, id(DISPID_READYSTATE)]
276 HRESULT readyState( [out,retval] LONG *value );
277
278 [propget, id(DISPID_XMLDOM_DOCUMENT_PARSEERROR)]
279 HRESULT parseError( [out,retval] IXMLDOMParseError **errorObj );
280
281 [propget, id(DISPID_XMLDOM_DOCUMENT_URL)]
282 HRESULT url( [out,retval] BSTR *urlString );
283
284 /* FIXME: these is meant to be async, but widl parses that as a keyword */
285 [propget, id(DISPID_XMLDOM_DOCUMENT_ASYNC)]
286 HRESULT async( [out,retval] VARIANT_BOOL *isAsync );
287
288 [propput, id(DISPID_XMLDOM_DOCUMENT_ASYNC)]
289 HRESULT async( [in] VARIANT_BOOL isAsync );
290
291 [id(DISPID_XMLDOM_DOCUMENT_ABORT)]
292 HRESULT abort();
293
294 [id(DISPID_XMLDOM_DOCUMENT_LOADXML)]
295 HRESULT loadXML( [in] BSTR bstrXML,
296 [out,retval] VARIANT_BOOL *isSuccessful );
297
298 [id(DISPID_XMLDOM_DOCUMENT_SAVE)]
299 HRESULT save( [in] VARIANT destination );
300
301 [propget, id(DISPID_XMLDOM_DOCUMENT_VALIDATE)]
302 HRESULT validateOnParse( [out,retval] VARIANT_BOOL *isValidating );
303
304 [propput, id(DISPID_XMLDOM_DOCUMENT_VALIDATE)]
305 HRESULT validateOnParse( [in] VARIANT_BOOL isValidating );
306
307 [propget, id(DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE)]
308 HRESULT resolveExternals( [out,retval] VARIANT_BOOL *isResolving );
309
310 [propput, id(DISPID_XMLDOM_DOCUMENT_RESOLVENAMESPACE)]
311 HRESULT resolveExternals( [in] VARIANT_BOOL isValidating );
312
313 [propget, id(DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE)]
314 HRESULT preserveWhiteSpace( [out,retval] VARIANT_BOOL *isPreserving );
315
316 [propput, id(DISPID_XMLDOM_DOCUMENT_PRESERVEWHITESPACE)]
317 HRESULT preserveWhiteSpace( [in] VARIANT_BOOL isPreserving );
318
319 [propput, id(DISPID_XMLDOM_DOCUMENT_ONREADYSTATECHANGE)]
320 HRESULT onreadystatechange( [in] VARIANT readystatechangeSink );
321
322 [propput, id(DISPID_XMLDOM_DOCUMENT_ONDATAAVAILABLE)]
323 HRESULT ondataavailable( [in] VARIANT ondataavailableSink );
324
325 [propput, id(DISPID_XMLDOM_DOCUMENT_ONTRANSFORMNODE)]
326 HRESULT ontransformnode( [in] VARIANT ontransformnodeSink );
327}
328
329[
330local,
331object,
332odl,
333dual,
334/*nonextensible,*/
335oleautomation,
336uuid(2933bf82-7b36-11d2-b20e-00c04f983e60),
337pointer_default(unique)
338]
339interface IXMLDOMNodeList : IDispatch
340{
341 [propget, id(DISPID_VALUE)]
342 HRESULT item( [in] LONG index,
343 [out,retval] IXMLDOMNode **listItem );
344
345 [propget, id(DISPID_DOM_NODELIST_LENGTH)]
346 HRESULT length( [out,retval] LONG *listLength );
347
348 [id(DISPID_XMLDOM_NODELIST_NEXTNODE)]
349 HRESULT nextNode( [out,retval] IXMLDOMNode **nextItem );
350
351 [id(DISPID_XMLDOM_NODELIST_RESET)]
352 HRESULT reset();
353
354 [id(DISPID_NEWENUM)]
355 HRESULT _newEnum( [out,retval] IUnknown **ppUnk );
356}
357
358[
359local,
360object,
361odl,
362dual,
363/*nonextensible,*/
364oleautomation,
365uuid(2933bf83-7b36-11d2-b20e-00c04f983e60),
366pointer_default(unique)
367]
368interface IXMLDOMNamedNodeMap : IDispatch
369{
370 [id(DISPID_DOM_NAMEDNODEMAP_GETNAMEDITEM)]
371 HRESULT getNamedItem( [in] BSTR name,
372 [out,retval] IXMLDOMNode **namedItem );
373
374 [id(DISPID_DOM_NAMEDNODEMAP_SETNAMEDITEM)]
375 HRESULT setNamedItem( [in] IXMLDOMNode *newItem,
376 [out,retval] IXMLDOMNode **namedItem );
377
378 [id(DISPID_DOM_NAMEDNODEMAP_REMOVENAMEDITEM)]
379 HRESULT removeNamedItem( [in] BSTR name,
380 [out,retval] IXMLDOMNode **namedItem );
381
382 [propget, id(DISPID_VALUE)]
383 HRESULT item( [in] LONG index,
384 [out,retval] IXMLDOMNode **listItem );
385
386 [propget, id(DISPID_DOM_NODELIST_LENGTH)]
387 HRESULT length( [out,retval] LONG *listLength );
388
389 [id(DISPID_XMLDOM_NAMEDNODEMAP_GETQUALIFIEDITEM)]
390 HRESULT getQualifiedItem( [in] BSTR baseName,
391 [in] BSTR namespaceURI,
392 [out,retval] IXMLDOMNode **qualifiedItem );
393
394 [id(DISPID_XMLDOM_NAMEDNODEMAP_REMOVEQUALIFIEDITEM)]
395 HRESULT removeQualifiedItem( [in] BSTR baseName,
396 [in] BSTR namespaceURI,
397 [out,retval] IXMLDOMNode **qualifiedItem );
398
399 [id(DISPID_XMLDOM_NAMEDNODEMAP_NEXTNODE)]
400 HRESULT nextNode( [out,retval] IXMLDOMNode **nextItem );
401
402 [id(DISPID_XMLDOM_NAMEDNODEMAP_RESET)]
403 HRESULT reset();
404
405 [id(DISPID_NEWENUM)]
406 HRESULT _newEnum( [out,retval] IUnknown **ppUnk );
407}
408
409[
410local,
411object,
412odl,
413dual,
414/*nonextensible,*/
415oleautomation,
416uuid(3efaa413-272f-11d2-836f-0000f87a7782),
417pointer_default(unique)
418]
419interface IXMLDOMDocumentFragment : IXMLDOMNode
420{
421 /* empty */
422}
423
424[
425local,
426object,
427odl,
428dual,
429/*nonextensible,*/
430oleautomation,
431uuid(2933bf84-7b36-11d2-b20e-00c04f983e60),
432pointer_default(unique)
433]
434interface IXMLDOMCharacterData : IXMLDOMNode
435{
436 [propget, id(DISPID_DOM_DATA_DATA)]
437 HRESULT data( [out,retval] BSTR *data );
438
439 [propput, id(DISPID_DOM_DATA_DATA)]
440 HRESULT data( [in] BSTR data );
441
442 [propget, id(DISPID_DOM_DATA_LENGTH)]
443 HRESULT length( [out,retval] LONG *dataLength );
444
445 [id(DISPID_DOM_DATA_SUBSTRING)]
446 HRESULT substringData( [in] LONG offset,
447 [in] LONG count,
448 [out,retval] BSTR *data );
449
450 [id(DISPID_DOM_DATA_APPEND)]
451 HRESULT appendData( [in] BSTR data );
452
453 [id(DISPID_DOM_DATA_INSERT)]
454 HRESULT insertData( [in] LONG offset,
455 [in] BSTR data );
456
457 [id(DISPID_DOM_DATA_DELETE)]
458 HRESULT deleteData( [in] LONG offset,
459 [in] LONG count );
460
461 [id(DISPID_DOM_DATA_REPLACE)]
462 HRESULT replaceData( [in] LONG offset,
463 [in] LONG count,
464 [in] BSTR data );
465}
466
467[
468local,
469object,
470odl,
471dual,
472/*nonextensible,*/
473oleautomation,
474uuid(2933bf85-7b36-11d2-b20e-00c04f983e60),
475pointer_default(unique)
476]
477interface IXMLDOMAttribute : IXMLDOMNode
478{
479 [propget,id(DISPID_DOM_ATTRIBUTE_GETNAME)]
480 HRESULT name( [out,retval] BSTR *attributeName );
481
482 [propget,id(DISPID_DOM_ATTRIBUTE_VALUE)]
483 HRESULT value( [out,retval] VARIANT *attributeValue );
484
485 [propput,id(DISPID_DOM_ATTRIBUTE_VALUE)]
486 HRESULT value( [in] VARIANT attributeValue );
487}
488
489[
490local,
491object,
492odl,
493dual,
494/*nonextensible,*/
495oleautomation,
496uuid(2933bf86-7b36-11d2-b20e-00c04f983e60),
497pointer_default(unique)
498]
499interface IXMLDOMElement : IXMLDOMNode
500{
501 [propget, id(DISPID_DOM_ELEMENT_GETTAGNAME)]
502 HRESULT tagName( [out,retval] BSTR *tagName );
503
504 [id(DISPID_DOM_ELEMENT_GETATTRIBUTE)]
505 HRESULT getAttribute( [in] BSTR name,
506 [out,retval] VARIANT * value );
507
508 [id(DISPID_DOM_ELEMENT_SETATTRIBUTE)]
509 HRESULT setAttribute( [in] BSTR name,
510 [in] VARIANT value );
511
512 [id(DISPID_DOM_ELEMENT_REMOVEATTRIBUTE)]
513 HRESULT removeAttribute( [in] BSTR name );
514
515 [id(DISPID_DOM_ELEMENT_GETATTRIBUTENODE)]
516 HRESULT getAttributeNode( [in] BSTR name,
517 [out, retval] IXMLDOMAttribute ** attributeNode );
518
519 [id(DISPID_DOM_ELEMENT_SETATTRIBUTENODE)]
520 HRESULT setAttributeNode( [in] IXMLDOMAttribute *DOMAttribute,
521 [out, retval] IXMLDOMAttribute ** attributeNode );
522
523 [id(DISPID_DOM_ELEMENT_REMOVEATTRIBUTENODE)]
524 HRESULT removeAttributeNode( [in] IXMLDOMAttribute *DOMAttribute,
525 [out, retval] IXMLDOMAttribute ** attributeNode );
526
527 [id(DISPID_DOM_ELEMENT_GETELEMENTSBYTAGNAME)]
528 HRESULT getElementsByTagName( [in] BSTR tagName,
529 [out, retval] IXMLDOMNodeList ** resultList );
530
531 [id(DISPID_DOM_ELEMENT_NORMALIZE)]
532 HRESULT normalize();
533}
534
535[
536local,
537object,
538odl,
539dual,
540/*nonextensible,*/
541oleautomation,
542uuid(2933bf87-7b36-11d2-b20e-00c04f983e60),
543pointer_default(unique)
544]
545interface IXMLDOMText : IXMLDOMCharacterData
546{
547 [id(DISPID_DOM_TEXT_SPLITTEXT)]
548 HRESULT splitText( [in] LONG offset,
549 [out,retval] IXMLDOMText **rightHandTextNode );
550}
551
552[
553local,
554object,
555odl,
556dual,
557/*nonextensible,*/
558oleautomation,
559uuid(2933bf88-7b36-11d2-b20e-00c04f983e60),
560pointer_default(unique)
561]
562interface IXMLDOMComment : IXMLDOMCharacterData
563{
564 /* empty */
565}
566
567[
568local,
569object,
570odl,
571dual,
572/*nonextensible,*/
573oleautomation,
574uuid(2933bf89-7b36-11d2-b20e-00c04f983e60),
575pointer_default(unique)
576]
577interface IXMLDOMProcessingInstruction : IXMLDOMNode
578{
579 [propget, id(DISPID_DOM_PI_TARGET)]
580 HRESULT target( [out, retval] BSTR *name );
581
582 [propget, id(DISPID_DOM_PI_DATA)]
583 HRESULT data( [out, retval] BSTR *value );
584
585 [propput, id(DISPID_DOM_PI_DATA)]
586 HRESULT data( [in] BSTR value );
587}
588
589[
590local,
591object,
592odl,
593dual,
594/*nonextensible,*/
595oleautomation,
596uuid(2933bf8a-7b36-11d2-b20e-00c04f983e60),
597pointer_default(unique)
598]
599interface IXMLDOMCDATASection : IXMLDOMText
600{
601 /* empty */
602}
603
604[
605local,
606object,
607odl,
608dual,
609/*nonextensible,*/
610oleautomation,
611uuid(2933bf8b-7b36-11d2-b20e-00c04f983e60),
612pointer_default(unique)
613]
614interface IXMLDOMDocumentType : IXMLDOMNode
615{
616 [propget, id(DISPID_DOM_DOCUMENTTYPE_NAME)]
617 HRESULT name( [out,retval] BSTR *rootName );
618
619 [propget, id(DISPID_DOM_DOCUMENTTYPE_ENTITIES)]
620 HRESULT entities( [out,retval] IXMLDOMNamedNodeMap **entityMap );
621
622 [propget, id(DISPID_DOM_DOCUMENTTYPE_NOTATIONS)]
623 HRESULT notations( [out,retval] IXMLDOMNamedNodeMap **notationMap );
624}
625
626[
627local,
628object,
629odl,
630dual,
631nonextensible,
632oleautomation,
633uuid(2933bf8c-7b36-11d2-b20e-00c04f983e60),
634pointer_default(unique)
635]
636interface IXMLDOMNotation : IXMLDOMNode
637{
638 [propget, id(DISPID_DOM_NOTATION_PUBLICID)]
639 HRESULT publicId([out, retval] VARIANT *publicId);
640
641 [propget, id(DISPID_DOM_NOTATION_SYSTEMID)]
642 HRESULT systemId([out, retval] VARIANT *systemId);
643}
644
645[
646local,
647object,
648odl,
649dual,
650nonextensible,
651oleautomation,
652uuid(2933bf8d-7b36-11d2-b20e-00c04f983e60),
653pointer_default(unique)
654]
655interface IXMLDOMEntity : IXMLDOMNode
656{
657 [propget, id(DISPID_DOM_ENTITY_PUBLICID)]
658 HRESULT publicId([out, retval] VARIANT *publicId);
659
660 [propget, id(DISPID_DOM_ENTITY_SYSTEMID)]
661 HRESULT systemId([out, retval] VARIANT *systemId);
662
663 [propget, id(DISPID_DOM_ENTITY_NOTATIONNAME)]
664 HRESULT notationName([out, retval] BSTR *name);
665}
666
667[
668local,
669object,
670odl,
671dual,
672nonextensible,
673oleautomation,
674uuid(2933bf8e-7b36-11d2-b20e-00c04f983e60),
675pointer_default(unique)
676]
677interface IXMLDOMEntityReference : IXMLDOMNode
678{
679}
680
681[
682local,
683object,
684odl,
685dual,
686nonextensible,
687oleautomation,
688uuid(2933bf8f-7b36-11d2-b20e-00c04f983e60),
689pointer_default(unique)
690]
691interface IXMLDOMImplementation : IDispatch
692{
693 [id(DISPID_DOM_IMPLEMENTATION_HASFEATURE)]
694 HRESULT hasFeature([in] BSTR feature, [in] BSTR version, [out, retval] VARIANT_BOOL *pbool);
695}
696
697[
698local,
699object,
700odl,
701dual,
702oleautomation,
703/*nonextensible,*/
704helpstring("structure for reporting parse errors"),
705pointer_default(unique),
706uuid (3efaa426-272f-11d2-836f-0000f87a7782)
707]
708interface IXMLDOMParseError : IDispatch
709{
710 [propget, id(DISPID_VALUE)]
711 HRESULT errorCode([retval, out] LONG *errCode);
712
713 [propget, id(DISPID_DOM_ERROR_URL)]
714 HRESULT url([retval, out] BSTR *p);
715
716 [propget, id(DISPID_DOM_ERROR_REASON)]
717 HRESULT reason([retval, out] BSTR *p);
718
719 [propget, id(DISPID_DOM_ERROR_SRCTEXT)]
720 HRESULT srcText([retval, out] BSTR *p);
721
722 [propget, id(DISPID_DOM_ERROR_LINE)]
723 HRESULT line([retval, out] LONG *lineNo);
724
725 [propget, id(DISPID_DOM_ERROR_LINEPOS)]
726 HRESULT linepos([retval, out] LONG * linePos);
727
728 [propget, id(DISPID_DOM_ERROR_FILEPOS)]
729 HRESULT filepos([retval, out] LONG * filePos);
730}
731
732[
733 hidden,
734 uuid(3efaa427-272f-11d2-836f-0000f87a7782)
735]
736dispinterface XMLDOMDocumentEvents
737{
738 properties:
739 methods:
740 [id(DISPID_XMLDOMEVENT_ONDATAAVAILABLE)]
741 HRESULT ondataavailable();
742
743 [id(DISPID_XMLDOMEVENT_ONREADYSTATECHANGE)]
744 HRESULT onreadystatechange();
745}
746
747[
748uuid(2933bf90-7b36-11d2-b20e-00c04f983e60)
749]
750coclass DOMDocument
751{
752 [default] interface IXMLDOMDocument;
753 [default, source] dispinterface XMLDOMDocumentEvents;
754}
755
756[
757uuid(2933bf91-7b36-11d2-b20e-00c04f983e60)
758]
759coclass DOMFreeThreadedDocument
760{
761 [default] interface IXMLDOMDocument;
762 [default, source] dispinterface XMLDOMDocumentEvents;
763}
764
765[
766object,
767uuid(ed8c108d-4349-11d2-91a4-00c04f7969e8),
768odl,
769dual,
770oleautomation,
771pointer_default(unique)
772]
773interface IXMLHttpRequest : IDispatch
774{
775 [id(1)]
776 HRESULT open([in] BSTR bstrMethod, [in] BSTR bstrUrl,
777 [in, optional] VARIANT varAsync,
778 [in, optional] VARIANT varUser,
779 [in, optional] VARIANT varPassword);
780 [id(2)]
781 HRESULT setRequestHeader([in] BSTR bstrHeader, [in] BSTR bstrValue);
782
783 [id(3)]
784 HRESULT getResponseHeader([in] BSTR bstrHeader, [out, retval] BSTR *pbstrValue);
785
786 [id(4)]
787 HRESULT getAllResponseHeaders([out, retval] BSTR *pbstrHeaders);
788
789 [id(5)]
790 HRESULT send([in, optional] VARIANT varBody);
791
792 [id(6)]
793 HRESULT abort();
794
795 [propget, id(7)]
796 HRESULT status([out, retval] LONG *plStatus);
797
798 [propget, id(8)]
799 HRESULT statusText([out, retval] BSTR *bstrStatus);
800
801 [propget, id(9)]
802 HRESULT responseXML([out, retval] IDispatch **ppBody);
803
804 [propget, id(10)]
805 HRESULT responseText([out, retval] BSTR *pbstrBody);
806
807 [propget, id(11)]
808 HRESULT responseBody([out, retval] VARIANT *pvarBody);
809
810 [propget, id(12)]
811 HRESULT responseStream([out, retval] VARIANT *pvarBody);
812
813 [propget, id(13)]
814 HRESULT readyState([out, retval] LONG *plState);
815
816 [propput, id(14)]
817 HRESULT onreadystatechange([in] IDispatch *pReadyStateSink);
818}
819
820[
821uuid(ed8c108e-4349-11d2-91a4-00c04f7969e8)
822]
823coclass XMLHTTPRequest
824{
825 [default] interface IXMLHttpRequest;
826}
注意: 瀏覽 TracBrowser 來幫助您使用儲存庫瀏覽器

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