xref: /reactos/sdk/include/psdk/xmldso.idl (revision 84ccccab)
1/*
2 * Copyright (C) 2005 Vijay Kiran Kamuju
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#include <idispids.h>
20#include <xmldsodid.h>
21
22#if !defined(progid) && !defined(__WIDL__)
23#define threading(model)
24#define progid(str)
25#define vi_progid(str)
26#endif
27
28import "oaidl.idl";
29
30interface IXMLDOMDocument;
31
32[
33local,
34object,
35odl,
36dual,
37oleautomation,
38uuid(310afa62-0575-11d2-9ca9-0060b0ec3d39),
39pointer_default(unique)
40]
41interface IXMLDSOControl : IDispatch
42{
43	[propget,id(DISPID_XMLDSO_DOCUMENT)]
44        HRESULT XMLDocument([out, retval] IXMLDOMDocument** ppDoc);
45
46	[propput,id(DISPID_XMLDSO_DOCUMENT)]
47        HRESULT XMLDocument([in] IXMLDOMDocument* ppDoc);
48
49	[propget,id(DISPID_XMLDSO_JAVADSOCOMPATIBLE)]
50        HRESULT JavaDSOCompatible([out, retval] BOOL* fJavaDSOCompatible);
51
52	[propput,id(DISPID_XMLDSO_JAVADSOCOMPATIBLE)]
53        HRESULT JavaDSOCompatible([in]  BOOL fJavaDSOCompatible);
54
55	[propget, id(DISPID_READYSTATE)]
56        HRESULT readyState([out, retval] long *state);
57}
58
59[
60    helpstring("XML Data Source Object"),
61    progid("Microsoft.XMLDSO.1.0"),
62    vi_progid("Microsoft.XMLDSO"),
63    threading(apartment),
64    version(1.0),
65    uuid(550dda30-0541-11d2-9ca9-0060b0ec3d39)
66]
67coclass XMLDSOControl
68{
69	[default] interface IXMLDSOControl;
70}
71