atl100: Added AtlComModuleRegisterClassObjects implementation (based on AtlModuleRegi...
[wine] / include / xmldso.idl
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
28 interface IXMLDOMDocument;
29
30 [
31 local,
32 object,
33 odl,
34 dual,
35 oleautomation,
36 uuid(310afa62-0575-11d2-9ca9-0060b0ec3d39),
37 pointer_default(unique)
38 ]
39 interface 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);
55 }
56
57 [
58     helpstring("XML Data Source Object"),
59     progid("Microsoft.XMLDSO.1.0"),
60     vi_progid("Microsoft.XMLDSO"),
61     threading(apartment),
62     version(1.0),
63     uuid(550dda30-0541-11d2-9ca9-0060b0ec3d39)
64 ]
65 coclass XMLDSOControl
66 {
67         [default] interface IXMLDSOControl;
68 }