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