Vijay Kiran Kamuju | 746b230 | 2005-07-01 16:14:33 +0000 | [diff] [blame] | 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 |
Jonathan Ernst | 360a3f9 | 2006-05-18 14:49:52 +0200 | [diff] [blame] | 16 | * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA |
Vijay Kiran Kamuju | 746b230 | 2005-07-01 16:14:33 +0000 | [diff] [blame] | 17 | */ |
| 18 | |
Vijay Kiran Kamuju | 746b230 | 2005-07-01 16:14:33 +0000 | [diff] [blame] | 19 | #include <idispids.h> |
| 20 | #include <xmldsodid.h> |
| 21 | |
Alexandre Julliard | ea9750d | 2011-05-24 23:58:55 +0200 | [diff] [blame] | 22 | #if !defined(progid) && !defined(__WIDL__) |
| 23 | #define threading(model) |
| 24 | #define progid(str) |
| 25 | #define vi_progid(str) |
| 26 | #endif |
| 27 | |
Vijay Kiran Kamuju | 746b230 | 2005-07-01 16:14:33 +0000 | [diff] [blame] | 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); |
Mike McCormack | 57f8bd0 | 2006-07-20 18:22:08 +0900 | [diff] [blame] | 55 | } |
Vijay Kiran Kamuju | 746b230 | 2005-07-01 16:14:33 +0000 | [diff] [blame] | 56 | |
| 57 | [ |
Alexandre Julliard | cfa3721 | 2010-12-21 13:26:15 +0100 | [diff] [blame] | 58 | helpstring("XML Data Source Object"), |
| 59 | progid("Microsoft.XMLDSO.1.0"), |
| 60 | vi_progid("Microsoft.XMLDSO"), |
| 61 | threading(apartment), |
Alexandre Julliard | e11f65f | 2010-12-22 15:51:45 +0100 | [diff] [blame] | 62 | version(1.0), |
Alexandre Julliard | cfa3721 | 2010-12-21 13:26:15 +0100 | [diff] [blame] | 63 | uuid(550dda30-0541-11d2-9ca9-0060b0ec3d39) |
Vijay Kiran Kamuju | 746b230 | 2005-07-01 16:14:33 +0000 | [diff] [blame] | 64 | ] |
| 65 | coclass XMLDSOControl |
| 66 | { |
| 67 | [default] interface IXMLDSOControl; |
Mike McCormack | 57f8bd0 | 2006-07-20 18:22:08 +0900 | [diff] [blame] | 68 | } |