From 746b230e714566c83c436445470ec75a2415b0db Mon Sep 17 00:00:00 2001 From: Vijay Kiran Kamuju Date: Fri, 1 Jul 2005 16:14:33 +0000 Subject: [PATCH] Added xmldso.idl. --- include/.cvsignore | 1 + include/Makefile.in | 4 ++- include/xmldso.idl | 60 +++++++++++++++++++++++++++++++++++++++++++++ include/xmldsodid.h | 30 +++++++++++++++++++++++ 4 files changed, 94 insertions(+), 1 deletion(-) create mode 100644 include/xmldso.idl create mode 100644 include/xmldsodid.h diff --git a/include/.cvsignore b/include/.cvsignore index 2af2aa2d68f..8aebd174859 100644 --- a/include/.cvsignore +++ b/include/.cvsignore @@ -34,3 +34,4 @@ unknwn.h urlmon.h wtypes.h xmldom.h +xmldso.h diff --git a/include/Makefile.in b/include/Makefile.in index 90a8ee9f892..7946b0fe701 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -38,7 +38,8 @@ IDL_SRCS = \ unknwn.idl \ urlmon.idl \ wtypes.idl \ - xmldom.idl + xmldom.idl \ + xmldso.idl IDL_INCLUDES = \ $(IDL_SRCS) \ @@ -277,6 +278,7 @@ WINDOWS_INCLUDES = \ wtsapi32.h \ xcmc.h \ xmldomdid.h \ + xmldsodid.h \ zmouse.h MSVCRT_INCLUDES = \ diff --git a/include/xmldso.idl b/include/xmldso.idl new file mode 100644 index 00000000000..4b12ab7134a --- /dev/null +++ b/include/xmldso.idl @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2005 Vijay Kiran Kamuju + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +import "wtypes.idl"; +import "ocidl.idl"; + +#include +#include + +interface IXMLDOMDocument; + +[ +local, +object, +odl, +dual, +oleautomation, +uuid(310afa62-0575-11d2-9ca9-0060b0ec3d39), +pointer_default(unique) +] +interface IXMLDSOControl : IDispatch +{ + [propget,id(DISPID_XMLDSO_DOCUMENT)] + HRESULT XMLDocument([out, retval] IXMLDOMDocument** ppDoc); + + [propput,id(DISPID_XMLDSO_DOCUMENT)] + HRESULT XMLDocument([in] IXMLDOMDocument* ppDoc); + + [propget,id(DISPID_XMLDSO_JAVADSOCOMPATIBLE)] + HRESULT JavaDSOCompatible([out, retval] BOOL* fJavaDSOCompatible); + + [propput,id(DISPID_XMLDSO_JAVADSOCOMPATIBLE)] + HRESULT JavaDSOCompatible([in] BOOL fJavaDSOCompatible); + + [propget, id(DISPID_READYSTATE)] + HRESULT readyState([out, retval] long *state); +}; + +[ +uuid(550dda30-0541-11d2-9ca9-0060b0ec3d39) +] +coclass XMLDSOControl +{ + [default] interface IXMLDSOControl; +}; diff --git a/include/xmldsodid.h b/include/xmldsodid.h new file mode 100644 index 00000000000..f0c2f3af873 --- /dev/null +++ b/include/xmldsodid.h @@ -0,0 +1,30 @@ +/* + * Copyright (C) 2005 Vijay Kiran Kamuju + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2.1 of the License, or (at your option) any later version. + * + * This library is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#ifndef __XMLDSODID_H__ +#define __XMLDSODID_H__ + +#define DISPID_XOBJ_MIN 0x00010000 +#define DISPID_XOBJ_MAX 0x0001FFFF +#define DISPID_XOBJ_BASE 0x00010000 + +#define DISPID_XMLDSO 0x00010000 +#define DISPID_XMLDSO_DOCUMENT 0x00010001 +#define DISPID_XMLDSO_JAVADSOCOMPATIBLE 0x00010002 + +#endif /* __XMLDSODID_H__ */