VirtualBox

source: vbox/trunk/src/VBox/Additions/WINNT/Graphics/Wine/include/msxml.idl@ 33281

Last change on this file since 33281 was 19678, checked in by vboxsync, 16 years ago

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

  • Property svn:eol-style set to native
File size: 9.1 KB
Line 
1/*
2 * Copyright (C) 2005 Mike McCormack
3 * Copyright (C) 2005 Vijay Kiran Kamuju
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 <msxmldid.h>
30
31#ifndef DO_NO_IMPORTS
32import "unknwn.idl";
33import "wtypes.idl";
34import "objidl.idl";
35import "oaidl.idl";
36#endif
37
38[
39local,
40object,
41odl,
42dual,
43oleautomation,
44uuid(65725580-9b5d-11d0-9bfe-00c04fc99c8e)
45]
46interface IXMLElementCollection : IDispatch
47{
48 [propput, id(DISPID_XMLELEMENTCOLLECTION_LENGTH)]
49 HRESULT length( [in] LONG v );
50
51 [propget, id(DISPID_XMLELEMENTCOLLECTION_LENGTH)]
52 HRESULT length( [retval, out] LONG *p );
53
54 [propget, id(DISPID_XMLELEMENTCOLLECTION_NEWENUM)]
55 HRESULT _newEnum( [retval, out] IUnknown ** ppUnk );
56
57 [id(DISPID_XMLELEMENTCOLLECTION_ITEM)]
58 HRESULT item(
59 [optional, in] VARIANT var1,
60 [optional, in] VARIANT var2,
61 [retval, out] IDispatch ** ppDisp );
62}
63
64[
65local,
66object,
67uuid(3f7f31ac-e15f-11d0-9c25-00c04fc99c8e)
68]
69interface IXMLElement : IDispatch
70{
71 [propget, id(DISPID_XMLELEMENT_TAGNAME)]
72 HRESULT tagName( [retval, out] BSTR *p);
73
74 [propput, id(DISPID_XMLELEMENT_TAGNAME)]
75 HRESULT tagName( [in] BSTR p );
76
77 [propget, id(DISPID_XMLELEMENT_PARENT)]
78 HRESULT parent( [retval, out] IXMLElement **parent );
79
80 [id(DISPID_XMLELEMENT_SETATTRIBUTE)]
81 HRESULT setAttribute(
82 [in] BSTR strPropertyName,
83 [in] VARIANT PropertyValue );
84
85 [id(DISPID_XMLELEMENT_GETATTRIBUTE)]
86 HRESULT getAttribute(
87 [in] BSTR strPropertyName,
88 [retval, out] VARIANT *PropertyValue );
89
90 [id(DISPID_XMLELEMENT_REMOVEATTRIBUTE)]
91 HRESULT removeAttribute(
92 [in] BSTR strPropertyName );
93
94 [propget, id(DISPID_XMLELEMENT_CHILDREN)]
95 HRESULT children( [retval, out] IXMLElementCollection **p );
96
97 [propget, id(DISPID_XMLELEMENT_TYPE)]
98 HRESULT type( [retval, out] LONG *p );
99
100 [propget, id(DISPID_XMLELEMENT_TEXT)]
101 HRESULT text( [retval, out] BSTR *p );
102
103 [propput, id(DISPID_XMLELEMENT_TEXT)]
104 HRESULT text( [in] BSTR p );
105
106 [id(DISPID_XMLELEMENT_ADDCHILD)]
107 HRESULT addChild(
108 [in] IXMLElement *pChildElem,
109 [in] LONG lIndex,
110 [in] LONG lreserved );
111
112 [id(DISPID_XMLELEMENT_REMOVECHILD)]
113 HRESULT removeChild(
114 [in] IXMLElement *pChildElem );
115}
116
117[
118local,
119object,
120uuid(f52e2b61-18a1-11d1-b105-00805f49916b)
121]
122interface IXMLDocument : IDispatch
123{
124 [propget, id(DISPID_XMLDOCUMENT_ROOT)]
125 HRESULT root( [retval, out] IXMLElement **p );
126
127 [propget, id(DISPID_XMLDOCUMENT_FILESIZE)]
128 HRESULT fileSize( [retval, out] BSTR *p );
129
130 [propget, id(DISPID_XMLDOCUMENT_FILEMODIFIEDDATE)]
131 HRESULT fileModifiedDate( [retval, out] BSTR *p );
132
133 [propget, id(DISPID_XMLDOCUMENT_FILEUPDATEDDATE)]
134 HRESULT fileUpdatedDate( [retval, out] BSTR *p );
135
136 [propget, id(DISPID_XMLDOCUMENT_URL)]
137 HRESULT URL( [retval, out] BSTR *p );
138
139 [propput, id(DISPID_XMLDOCUMENT_URL)]
140 HRESULT URL( [in] BSTR p );
141
142 [propget, id(DISPID_XMLDOCUMENT_MIMETYPE)]
143 HRESULT mimeType( [retval, out] BSTR *p );
144
145 [propget, id(DISPID_XMLDOCUMENT_READYSTATE)]
146 HRESULT readyState( [retval, out] LONG *p );
147
148 [propget, id(DISPID_XMLDOCUMENT_CHARSET)]
149 HRESULT charset( [retval, out] BSTR *p );
150
151 [propput, id(DISPID_XMLDOCUMENT_CHARSET)]
152 HRESULT charset( [in] BSTR p );
153
154 [propget, id(DISPID_XMLDOCUMENT_VERSION)]
155 HRESULT version( [retval, out] BSTR *p );
156
157 [propget, id(DISPID_XMLDOCUMENT_DOCTYPE)]
158 HRESULT doctype( [retval, out] BSTR *p );
159
160 [propget, id(DISPID_XMLDOCUMENT_DTDURL)]
161 HRESULT dtdURl( [retval, out] BSTR *p );
162
163 [id(DISPID_XMLDOCUMENT_CREATEELEMENT)]
164 HRESULT createElement(
165 [in] VARIANT vType,
166 [optional, in] VARIANT var1,
167 [retval, out] IXMLElement **ppElem );
168}
169
170[
171local,
172object,
173uuid(2B8DE2FF-8D2D-11d1-B2FC-00C04FD915A9)
174]
175interface IXMLElement2 : IDispatch
176{
177 [propget, id(DISPID_XMLELEMENT_TAGNAME)]
178 HRESULT tagName([retval, out] BSTR *p);
179
180 [propput, id(DISPID_XMLELEMENT_TAGNAME)]
181 HRESULT tagName([in] BSTR p);
182
183 [propget, id(DISPID_XMLELEMENT_PARENT)]
184 HRESULT parent([retval, out]IXMLElement2 **ppParent);
185
186 [id(DISPID_XMLELEMENT_SETATTRIBUTE)]
187 HRESULT setAttribute(
188 [in] BSTR strPropertyName,
189 [in] VARIANT PropertyValue);
190
191 [id(DISPID_XMLELEMENT_GETATTRIBUTE)]
192 HRESULT getAttribute(
193 [in] BSTR strPropertyName,
194 [retval, out] VARIANT *PropertyValue);
195
196 [id(DISPID_XMLELEMENT_REMOVEATTRIBUTE)]
197 HRESULT removeAttribute([in] BSTR strPropertyName);
198
199 [propget, id(DISPID_XMLELEMENT_CHILDREN)]
200 HRESULT children([retval, out] IXMLElementCollection **pp);
201
202 [propget, id(DISPID_XMLELEMENT_TYPE)]
203 HRESULT type([retval, out] LONG *plType);
204
205 [propget, id(DISPID_XMLELEMENT_TEXT)]
206 HRESULT text([retval, out] BSTR *p);
207
208 [propput, id(DISPID_XMLELEMENT_TEXT)]
209 HRESULT text([in] BSTR p);
210
211 [id(DISPID_XMLELEMENT_ADDCHILD)]
212 HRESULT addChild(
213 [in] IXMLElement2 *pChildElem,
214 [in] LONG lIndex,
215 [in] LONG lReserved);
216
217 [id(DISPID_XMLELEMENT_REMOVECHILD)]
218 HRESULT removeChild([in]IXMLElement2 *pChildElem);
219
220 [propget, id(DISPID_XMLELEMENT_ATTRIBUTES)]
221 HRESULT attributes([retval, out] IXMLElementCollection **pp);
222}
223
224[
225local,
226object,
227uuid(2B8DE2FE-8D2D-11d1-B2FC-00C04FD915A9)
228]
229interface IXMLDocument2 : IDispatch
230{
231 [propget, id(DISPID_XMLDOCUMENT_ROOT)]
232 HRESULT root([retval, out] IXMLElement2 **p);
233
234 [propget, id(DISPID_XMLDOCUMENT_FILESIZE)]
235 HRESULT fileSize([retval, out] BSTR *p);
236
237 [propget, id(DISPID_XMLDOCUMENT_FILEMODIFIEDDATE)]
238 HRESULT fileModifiedDate([retval, out] BSTR *p);
239
240 [propget, id(DISPID_XMLDOCUMENT_FILEUPDATEDDATE)]
241 HRESULT fileUpdatedDate([retval, out] BSTR *p);
242
243 [propget, id(DISPID_XMLDOCUMENT_URL)]
244 HRESULT URL([retval, out] BSTR *p);
245
246 [propput, id(DISPID_XMLDOCUMENT_URL)]
247 HRESULT URL([in] BSTR p);
248
249 [propget, id(DISPID_XMLDOCUMENT_MIMETYPE)]
250 HRESULT mimeType([retval, out] BSTR *p);
251
252 [propget, id(DISPID_XMLDOCUMENT_READYSTATE)]
253 HRESULT readyState([retval, out]LONG *pl);
254
255 [propget, id(DISPID_XMLDOCUMENT_CHARSET)]
256 HRESULT charset([retval, out]BSTR *p);
257
258 [propput, id(DISPID_XMLDOCUMENT_CHARSET)]
259 HRESULT charset([in]BSTR p);
260
261 [propget, id(DISPID_XMLDOCUMENT_VERSION)]
262 HRESULT version([retval, out]BSTR *p);
263
264 [propget, id(DISPID_XMLDOCUMENT_DOCTYPE)]
265 HRESULT doctype([retval, out]BSTR *p);
266
267 [propget, restricted, id(DISPID_XMLDOCUMENT_DTDURL)]
268 HRESULT dtdURL([retval, out]BSTR *p);
269
270 [id(DISPID_XMLDOCUMENT_CREATEELEMENT)]
271 HRESULT createElement(
272 [in] VARIANT vType,
273 [optional, in] VARIANT var,
274 [retval, out] IXMLElement2 **ppElem);
275
276 [propget, id(DISPID_XMLDOCUMENT_ASYNC)]
277 HRESULT async([retval, out] VARIANT_BOOL *pf);
278
279 [propput, id(DISPID_XMLDOCUMENT_ASYNC)]
280 HRESULT async([in] VARIANT_BOOL f);
281}
282
283typedef enum tagXMLEMEM_TYPE {
284 XMLELEMTYPE_ELEMENT = 0,
285 XMLELEMTYPE_TEXT = 1,
286 XMLELEMTYPE_COMMENT = 2,
287 XMLELEMTYPE_DOCUMENT = 3,
288 XMLELEMTYPE_DTD = 4,
289 XMLELEMTYPE_PI = 5,
290 XMLELEMTYPE_OTHER = 6
291} XMLELEM_TYPE;
292
293typedef struct _xml_error {
294 UINT _nLine;
295 BSTR _pchBuf;
296 BSTR _cchBuf;
297 UINT _ich;
298 BSTR _pszFound;
299 BSTR _pszExpected;
300 DWORD _reserved1;
301 DWORD _reserved2;
302} XML_ERROR;
303
304[
305local,
306object,
307uuid(d4d4a0fc-3b73-11d1-b2b4-00c04fb92596)
308]
309interface IXMLAttribute : IDispatch
310{
311 [propget, id(DISPID_XMLATTRIBUTE_NAME)]
312 HRESULT name( [retval, out] BSTR *p );
313
314 [propget, id(DISPID_XMLATTRIBUTE_VALUE)]
315 HRESULT value( [retval, out] BSTR *p );
316}
317
318[
319local,
320object,
321uuid(948c5ad3-c58d-11d0-9c0b-00c04fc99c8e)
322]
323interface IXMLError : IUnknown
324{
325 HRESULT GetErrorInfo([out]XML_ERROR *pErrorReturn);
326}
327
328[
329 object,
330 local,
331 uuid(D9F1E15A-CCDB-11d0-9C0C-00C04FC99C8E)
332]
333interface IXMLElementNotificationSink : IDispatch
334{
335 [id(DISPID_XMLNOTIFSINK_CHILDADDED)]
336 HRESULT ChildAdded([in]IDispatch *pChildElem);
337}
338
339[
340uuid(cfc399af-d876-11d0-9c10-00c04fc99c8e)
341]
342coclass XMLDocument
343{
344 [default] interface IXMLDocument;
345}
Note: See TracBrowser for help on using the repository browser.

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