blob: 86f2a3a86b9d3e4652d3c0c6bc827dbf6b6f7e59 [file] [log] [blame]
Vijay Kiran Kamuju746b2302005-07-01 16:14:33 +00001/*
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
Jonathan Ernst360a3f92006-05-18 14:49:52 +020016 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
Vijay Kiran Kamuju746b2302005-07-01 16:14:33 +000017 */
18
Vijay Kiran Kamuju746b2302005-07-01 16:14:33 +000019#include <idispids.h>
20#include <xmldsodid.h>
21
Alexandre Julliardea9750d2011-05-24 23:58:55 +020022#if !defined(progid) && !defined(__WIDL__)
23#define threading(model)
24#define progid(str)
25#define vi_progid(str)
26#endif
27
Vijay Kiran Kamuju746b2302005-07-01 16:14:33 +000028interface IXMLDOMDocument;
29
30[
31local,
32object,
33odl,
34dual,
35oleautomation,
36uuid(310afa62-0575-11d2-9ca9-0060b0ec3d39),
37pointer_default(unique)
38]
39interface IXMLDSOControl : IDispatch
40{
41 [propget,id(DISPID_XMLDSO_DOCUMENT)]
42 HRESULT XMLDocument([out, retval] IXMLDOMDocument** ppDoc);
43
44 [propput,id(DISPID_XMLDSO_DOCUMENT)]
45 HRESULT XMLDocument([in] IXMLDOMDocument* ppDoc);
46
47 [propget,id(DISPID_XMLDSO_JAVADSOCOMPATIBLE)]
48 HRESULT JavaDSOCompatible([out, retval] BOOL* fJavaDSOCompatible);
49
50 [propput,id(DISPID_XMLDSO_JAVADSOCOMPATIBLE)]
51 HRESULT JavaDSOCompatible([in] BOOL fJavaDSOCompatible);
52
53 [propget, id(DISPID_READYSTATE)]
54 HRESULT readyState([out, retval] long *state);
Mike McCormack57f8bd02006-07-20 18:22:08 +090055}
Vijay Kiran Kamuju746b2302005-07-01 16:14:33 +000056
57[
Alexandre Julliardcfa37212010-12-21 13:26:15 +010058 helpstring("XML Data Source Object"),
59 progid("Microsoft.XMLDSO.1.0"),
60 vi_progid("Microsoft.XMLDSO"),
61 threading(apartment),
Alexandre Julliarde11f65f2010-12-22 15:51:45 +010062 version(1.0),
Alexandre Julliardcfa37212010-12-21 13:26:15 +010063 uuid(550dda30-0541-11d2-9ca9-0060b0ec3d39)
Vijay Kiran Kamuju746b2302005-07-01 16:14:33 +000064]
65coclass XMLDSOControl
66{
67 [default] interface IXMLDSOControl;
Mike McCormack57f8bd02006-07-20 18:22:08 +090068}