Module: wine Branch: master Commit: f08f3c87dc4d0fbe914d58b9a88fb12dea3a8829 URL: http://source.winehq.org/git/wine.git/?a=commit;h=f08f3c87dc4d0fbe914d58b9a8...
Author: Owen Rudge orudge@codeweavers.com Date: Wed Mar 29 22:53:40 2017 +0100
include: Add partial wsdxml.idl.
Signed-off-by: Owen Rudge orudge@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
---
include/Makefile.in | 1 + include/wsdxml.idl | 48 ++++++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 49 insertions(+)
diff --git a/include/Makefile.in b/include/Makefile.in index c3267fa..a6f5feb 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -182,6 +182,7 @@ IDL_SRCS = \ wmsdkidl.idl \ wpcapi.idl \ wsdbase.idl \ + wsdxml.idl \ wtypes.idl \ wuapi.idl \ xapo.idl \ diff --git a/include/wsdxml.idl b/include/wsdxml.idl new file mode 100644 index 0000000..0a63ffb --- /dev/null +++ b/include/wsdxml.idl @@ -0,0 +1,48 @@ +/* + * Copyright 2017 Owen Rudge for CodeWeavers + * + * 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., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA + */ + +import "oaidl.idl"; +import "ocidl.idl"; + +typedef struct _WSDXML_NAMESPACE WSDXML_NAMESPACE; +typedef struct _WSDXML_NAME WSDXML_NAME; +typedef struct _WSDXML_TYPE WSDXML_TYPE; +typedef struct _WSDXML_ELEMENT WSDXML_ELEMENT; + +typedef const WSDXML_NAMESPACE *PCWSDXML_NAMESPACE; +typedef const WSDXML_TYPE *PCWSDXML_TYPE; + +interface IWSDXMLContext; + +[ +uuid(75d8f3ee-3e5a-43b4-a15a-bcf6887460c0), +object, +local, +restricted, +pointer_default(unique) +] +interface IWSDXMLContext : IUnknown +{ + HRESULT AddNamespace([in] LPCWSTR pszUri, [in] LPCWSTR pszSuggestedPrefix, [out] WSDXML_NAMESPACE** ppNamespace); + + HRESULT AddNameToNamespace([in] LPCWSTR pszUri, [in] LPCWSTR pszName, [out] WSDXML_NAME** ppName); + + HRESULT SetNamespaces([in, size_is(wNamespacesCount)] const PCWSDXML_NAMESPACE* pNamespaces, [in] WORD wNamespacesCount, [in] BYTE bLayerNumber); + + HRESULT SetTypes([in, size_is(dwTypesCount)] const PCWSDXML_TYPE* pTypes, [in] DWORD dwTypesCount, [in] BYTE bLayerNumber); +};