From 5a9db522e6367ece0f63d111e5f387f98dc42fb8 Mon Sep 17 00:00:00 2001 From: Owen Rudge Date: Wed, 29 Mar 2017 22:53:33 +0100 Subject: [PATCH] include: Add partial wsdbase.idl. Signed-off-by: Owen Rudge Signed-off-by: Alexandre Julliard --- include/Makefile.in | 1 + include/wsdbase.idl | 46 +++++++++++++++++++++++++++++++++++++++++++++ 2 files changed, 47 insertions(+) create mode 100644 include/wsdbase.idl diff --git a/include/Makefile.in b/include/Makefile.in index fa32beba229..c3267fae152 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -181,6 +181,7 @@ IDL_SRCS = \ wmsbuffer.idl \ wmsdkidl.idl \ wpcapi.idl \ + wsdbase.idl \ wtypes.idl \ wuapi.idl \ xapo.idl \ diff --git a/include/wsdbase.idl b/include/wsdbase.idl new file mode 100644 index 00000000000..35db5b90be0 --- /dev/null +++ b/include/wsdbase.idl @@ -0,0 +1,46 @@ +/* + * 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 "objidl.idl"; + +interface IWSDAddress; +interface IWSDMessageParameters; + +[ +uuid(b9574c6c-12a6-4f74-93a1-3318ff605759), +object, +local +] +interface IWSDAddress : IUnknown +{ + HRESULT Serialize([out, size_is(cchLength)] LPWSTR pszBuffer, [in] DWORD cchLength, [in] BOOL fSafe); + HRESULT Deserialize([in] LPCWSTR pszBuffer); +} + +[ +uuid(1fafe8a2-e6fc-4b80-b6cf-b7d45c416d7c), +object +] +interface IWSDMessageParameters : IUnknown +{ + HRESULT GetLocalAddress([out] IWSDAddress** ppAddress); + HRESULT SetLocalAddress([in] IWSDAddress* pAddress); + HRESULT GetRemoteAddress([out] IWSDAddress** ppAddress); + HRESULT SetRemoteAddress([in] IWSDAddress* pAddress); + HRESULT GetLowerParameters([out] IWSDMessageParameters** ppTxParams); +}