ReactOS 0.4.16-dev-106-g10b08aa
msxml.idl
Go to the documentation of this file.
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#include <msxmldid.h>
21#include <msxml2did.h>
22#include <idispids.h>
23
24#ifndef DO_NO_IMPORTS
25import "unknwn.idl";
26import "wtypes.idl";
27import "objidl.idl";
28import "oaidl.idl";
29#endif
30
31[
32 uuid(d63e0ce2-a0a2-11d0-9c02-00c04fc99c8e),
33 version(2.0),
34 helpstring("Microsoft XML, v2.0")
35]
37{
38
39importlib("stdole2.tlb");
40
41#include <xmldom.idl>
42#include <xmldso.idl>
43
44[
45local,
46object,
47odl,
48dual,
49oleautomation,
50uuid(65725580-9b5d-11d0-9bfe-00c04fc99c8e)
51]
53{
55 HRESULT length( [in] LONG v );
56
58 HRESULT length( [retval, out] LONG *p );
59
61 HRESULT _newEnum( [retval, out] IUnknown ** ppUnk );
62
65 [optional, in] VARIANT var1,
66 [optional, in] VARIANT var2,
67 [retval, out] IDispatch ** ppDisp );
68}
69
70[
71local,
72object,
73uuid(3f7f31ac-e15f-11d0-9c25-00c04fc99c8e)
74]
76{
78 HRESULT tagName( [retval, out] BSTR *p);
79
81 HRESULT tagName( [in] BSTR p );
82
85
87 HRESULT setAttribute(
88 [in] BSTR strPropertyName,
89 [in] VARIANT PropertyValue );
90
92 HRESULT getAttribute(
93 [in] BSTR strPropertyName,
94 [retval, out] VARIANT *PropertyValue );
95
97 HRESULT removeAttribute(
98 [in] BSTR strPropertyName );
101 HRESULT children( [retval, out] IXMLElementCollection **p );
102
103 [propget, id(DISPID_XMLELEMENT_TYPE)]
104 HRESULT type( [retval, out] LONG *p );
105
107 HRESULT text( [retval, out] BSTR *p );
108
109 [propput, id(DISPID_XMLELEMENT_TEXT)]
110 HRESULT text( [in] BSTR p );
111
113 HRESULT addChild(
114 [in] IXMLElement *pChildElem,
115 [in] LONG lIndex,
116 [in] LONG lreserved );
117
119 HRESULT removeChild(
120 [in] IXMLElement *pChildElem );
121}
122
123[
124local,
125object,
126uuid(f52e2b61-18a1-11d1-b105-00805f49916b)
127]
129{
131 HRESULT root( [retval, out] IXMLElement **p );
134 HRESULT fileSize( [retval, out] BSTR *p );
135
137 HRESULT fileModifiedDate( [retval, out] BSTR *p );
140 HRESULT fileUpdatedDate( [retval, out] BSTR *p );
141
143 HRESULT URL( [retval, out] BSTR *p );
145 [propput, id(DISPID_XMLDOCUMENT_URL)]
146 HRESULT URL( [in] BSTR p );
147
149 HRESULT mimeType( [retval, out] BSTR *p );
152 HRESULT readyState( [retval, out] LONG *p );
153
155 HRESULT charset( [retval, out] BSTR *p );
156
158 HRESULT charset( [in] BSTR p );
159
161 HRESULT version( [retval, out] BSTR *p );
162
164 HRESULT doctype( [retval, out] BSTR *p );
165
166 [propget, id(DISPID_XMLDOCUMENT_DTDURL)]
167 HRESULT dtdURl( [retval, out] BSTR *p );
168
170 HRESULT createElement(
171 [in] VARIANT vType,
172 [optional, in] VARIANT var1,
173 [retval, out] IXMLElement **ppElem );
174}
175
176[
177local,
178object,
179uuid(2B8DE2FF-8D2D-11d1-B2FC-00C04FD915A9)
180]
182{
184 HRESULT tagName([retval, out] BSTR *p);
185
186 [propput, id(DISPID_XMLELEMENT_TAGNAME)]
187 HRESULT tagName([in] BSTR p);
188
189 [propget, id(DISPID_XMLELEMENT_PARENT)]
190 HRESULT parent([retval, out]IXMLElement2 **ppParent);
191
193 HRESULT setAttribute(
194 [in] BSTR strPropertyName,
195 [in] VARIANT PropertyValue);
196
198 HRESULT getAttribute(
199 [in] BSTR strPropertyName,
200 [retval, out] VARIANT *PropertyValue);
201
203 HRESULT removeAttribute([in] BSTR strPropertyName);
206 HRESULT children([retval, out] IXMLElementCollection **pp);
207
208 [propget, id(DISPID_XMLELEMENT_TYPE)]
209 HRESULT type([retval, out] LONG *plType);
210
212 HRESULT text([retval, out] BSTR *p);
213
214 [propput, id(DISPID_XMLELEMENT_TEXT)]
215 HRESULT text([in] BSTR p);
216
218 HRESULT addChild(
219 [in] IXMLElement2 *pChildElem,
220 [in] LONG lIndex,
221 [in] LONG lReserved);
222
224 HRESULT removeChild([in]IXMLElement2 *pChildElem);
225
227 HRESULT attributes([retval, out] IXMLElementCollection **pp);
228}
229
230[
231local,
232object,
233uuid(2B8DE2FE-8D2D-11d1-B2FC-00C04FD915A9)
234]
235interface IXMLDocument2 : IDispatch
236{
238 HRESULT root([retval, out] IXMLElement2 **p);
241 HRESULT fileSize([retval, out] BSTR *p);
242
244 HRESULT fileModifiedDate([retval, out] BSTR *p);
247 HRESULT fileUpdatedDate([retval, out] BSTR *p);
248
250 HRESULT URL([retval, out] BSTR *p);
252 [propput, id(DISPID_XMLDOCUMENT_URL)]
253 HRESULT URL([in] BSTR p);
254
256 HRESULT mimeType([retval, out] BSTR *p);
259 HRESULT readyState([retval, out]LONG *pl);
260
262 HRESULT charset([retval, out]BSTR *p);
263
266
268 HRESULT version([retval, out]BSTR *p);
271 HRESULT doctype([retval, out]BSTR *p);
272
273 [propget, restricted, id(DISPID_XMLDOCUMENT_DTDURL)]
274 HRESULT dtdURL([retval, out]BSTR *p);
275
277 HRESULT createElement(
278 [in] VARIANT vType,
280 [retval, out] IXMLElement2 **ppElem);
281
282 [propget, id(DISPID_XMLDOCUMENT_ASYNC)]
283 HRESULT async([retval, out] VARIANT_BOOL *pf);
284
285 [propput, id(DISPID_XMLDOCUMENT_ASYNC)]
286 HRESULT async([in] VARIANT_BOOL f);
287}
288
289typedef enum tagXMLEMEM_TYPE {
290 XMLELEMTYPE_ELEMENT = 0,
297} XMLELEM_TYPE;
298
299typedef struct _xml_error {
308} XML_ERROR;
309
310[
311local,
312object,
313uuid(d4d4a0fc-3b73-11d1-b2b4-00c04fb92596)
314]
316{
318 HRESULT name( [retval, out] BSTR *p );
320 [propget, id(DISPID_XMLATTRIBUTE_VALUE)]
321 HRESULT value( [retval, out] BSTR *p );
322}
323
324[
325local,
326object,
327uuid(948c5ad3-c58d-11d0-9c0b-00c04fc99c8e)
328]
330{
332}
333
334[
335 object,
336 local,
337 uuid(D9F1E15A-CCDB-11d0-9C0C-00C04FC99C8E)
338]
340{
343}
344
345[
346 helpstring("Msxml"),
347 progid("Msxml"),
348 threading(both),
349 version(1.0),
350 uuid(cfc399af-d876-11d0-9c10-00c04fc99c8e)
351]
353{
354 [default] interface IXMLDocument;
355}
356
357} /* Library MSXML */
@ optional
Definition: SystemMenu.c:34
coclass MediaStreamFilter helpstring("Stream Class")
struct _root root
CFF_Charset charset
Definition: cffcmap.c:138
FT_Library library
Definition: cffdrivr.c:654
OLECHAR * BSTR
Definition: compat.h:2293
short VARIANT_BOOL
Definition: compat.h:2290
static const WCHAR version[]
Definition: asmname.c:66
const WCHAR * text
Definition: package.c:1794
r parent
Definition: btrfs.c:3010
#define progid(str)
Definition: exdisp.idl:31
#define threading(model)
Definition: exdisp.idl:30
unsigned long DWORD
Definition: ntddk_ex.h:95
#define local
Definition: zutil.h:30
const GLdouble * v
Definition: gl.h:2040
GLuint GLuint GLsizei GLenum type
Definition: gl.h:1545
GLfloat f
Definition: glext.h:7540
GLuint in
Definition: glext.h:9616
GLuint GLsizei GLsizei * length
Definition: glext.h:6040
GLfloat GLfloat p
Definition: glext.h:8902
GLuint id
Definition: glext.h:5910
HRESULT ChildAdded([in]IDispatch *pChildElem)
HRESULT GetErrorInfo([out]XML_ERROR *pErrorReturn)
Definition: msctf.idl:550
static const struct update_accum a1
Definition: msg.c:578
const char * var
Definition: shader.c:5666
static ATOM item
Definition: dde.c:856
#define DISPID_XMLELEMENT_ATTRIBUTES
Definition: msxml2did.h:59
#define DISPID_XMLDOCUMENT_READYSTATE
Definition: msxml2did.h:39
#define DISPID_XMLDOCUMENT_DTDURL
Definition: msxml2did.h:44
#define DISPID_XMLELEMENT_CHILDREN
Definition: msxml2did.h:54
#define DISPID_XMLELEMENT_REMOVEATTRIBUTE
Definition: msxml2did.h:53
#define DISPID_XMLELEMENTCOLLECTION_NEWENUM
Definition: msxml2did.h:29
#define DISPID_XMLATTRIBUTE_NAME
Definition: msxml2did.h:65
#define DISPID_XMLELEMENT_GETATTRIBUTE
Definition: msxml2did.h:52
#define DISPID_XMLELEMENTCOLLECTION_ITEM
Definition: msxml2did.h:30
#define DISPID_XMLELEMENT_TAGNAME
Definition: msxml2did.h:49
#define DISPID_XMLDOCUMENT_FILEMODIFIEDDATE
Definition: msxml2did.h:35
#define DISPID_XMLELEMENT_ADDCHILD
Definition: msxml2did.h:57
#define DISPID_XMLDOCUMENT_CHARSET
Definition: msxml2did.h:41
#define DISPID_XMLELEMENT_TYPE
Definition: msxml2did.h:55
#define DISPID_XMLELEMENT_TEXT
Definition: msxml2did.h:56
#define DISPID_XMLDOCUMENT_ROOT
Definition: msxml2did.h:33
#define DISPID_XMLNOTIFSINK_CHILDADDED
Definition: msxml2did.h:62
#define DISPID_XMLDOCUMENT_CREATEELEMENT
Definition: msxml2did.h:40
#define DISPID_XMLDOCUMENT_MIMETYPE
Definition: msxml2did.h:38
#define DISPID_XMLELEMENT_REMOVECHILD
Definition: msxml2did.h:58
#define DISPID_XMLDOCUMENT_FILESIZE
Definition: msxml2did.h:34
#define DISPID_XMLELEMENT_SETATTRIBUTE
Definition: msxml2did.h:51
#define DISPID_XMLELEMENT_PARENT
Definition: msxml2did.h:50
#define DISPID_XMLDOCUMENT_ASYNC
Definition: msxml2did.h:45
#define DISPID_XMLELEMENTCOLLECTION_LENGTH
Definition: msxml2did.h:28
#define DISPID_XMLDOCUMENT_FILEUPDATEDDATE
Definition: msxml2did.h:36
#define DISPID_XMLDOCUMENT_URL
Definition: msxml2did.h:37
#define DISPID_XMLDOCUMENT_VERSION
Definition: msxml2did.h:42
#define DISPID_XMLATTRIBUTE_VALUE
Definition: msxml2did.h:66
#define DISPID_XMLDOCUMENT_DOCTYPE
Definition: msxml2did.h:43
Definition: msxml.idl:37
unsigned int UINT
Definition: ndis.h:50
long LONG
Definition: pedump.c:60
static FILE * out
Definition: regtests2xml.c:44
DWORD _reserved2
Definition: msxml.idl:307
DWORD _reserved1
Definition: msxml.idl:306
Definition: name.c:39
Definition: pdh_main.c:94