From: Piotr Caban piotr@codeweavers.com
--- dlls/msdaps/usrmarshal.c | 27 +++++++++++++++++++++++ include/Makefile.in | 1 + include/oledb.idl | 1 + include/vwchp.idl | 47 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 76 insertions(+) create mode 100644 include/vwchp.idl
diff --git a/dlls/msdaps/usrmarshal.c b/dlls/msdaps/usrmarshal.c index 096b26967cc..53f134a6a6b 100644 --- a/dlls/msdaps/usrmarshal.c +++ b/dlls/msdaps/usrmarshal.c @@ -1931,3 +1931,30 @@ HRESULT __RPC_STUB IRowsetView_GetView_Stub(IRowsetView* This, HCHAPTER hchapter wine_dbgstr_guid(riid), hchapter_src, view, err_info); return E_NOTIMPL; } + +HRESULT CALLBACK IViewChapter_GetSpecification_Proxy(IViewChapter* This, REFIID riid, IUnknown **rowset) +{ + FIXME("(%p)->(%s, %p): stub\n", This, wine_dbgstr_guid(riid), rowset); + return E_NOTIMPL; +} + +HRESULT __RPC_STUB IViewChapter_GetSpecification_Stub(IViewChapter* This, + REFIID riid, IUnknown **rowset, IErrorInfo **err_info) +{ + FIXME("(%p)->(%s, %p, %p): stub\n", This, wine_dbgstr_guid(riid), rowset, err_info); + return E_NOTIMPL; +} + +HRESULT CALLBACK IViewChapter_OpenViewChapter_Proxy(IViewChapter* This, + HCHAPTER hsrc, HCHAPTER *view_hchapter) +{ + FIXME("(%p)->(%Ix, %p):stub\n", This, hsrc, view_hchapter); + return E_NOTIMPL; +} + +HRESULT __RPC_STUB IViewChapter_OpenViewChapter_Stub(IViewChapter* This, + HCHAPTER hsrc, HCHAPTER *view_hchapter, IErrorInfo **err_info) +{ + FIXME("(%p)->(%Ix, %p, %p):stub\n", This, hsrc, view_hchapter, err_info); + return E_NOTIMPL; +} diff --git a/include/Makefile.in b/include/Makefile.in index de836b6067f..b42f67007b6 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -835,6 +835,7 @@ SOURCES = \ vsstyle.h \ vssym32.h \ vswriter.idl \ + vwchp.idl \ wbemcli.idl \ wbemdisp.idl \ wbemprov.idl \ diff --git a/include/oledb.idl b/include/oledb.idl index 04c248b6ba7..5dad6dbaf07 100644 --- a/include/oledb.idl +++ b/include/oledb.idl @@ -53,6 +53,7 @@ typedef LONG_PTR DB_LRESERVE; #include "chprst.idl" #include "rstfnd.idl" #include "rstvw.idl" +#include "vwchp.idl" #include "cmdbas.idl" #include "cmdtxt.idl" #include "colinf.idl" diff --git a/include/vwchp.idl b/include/vwchp.idl new file mode 100644 index 00000000000..e867f31e6e0 --- /dev/null +++ b/include/vwchp.idl @@ -0,0 +1,47 @@ +/* + * Copyright (C) 2025 Piotr Caban + * + * 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 + */ + +#if 0 +#pragma makedep install +#endif + +[ + object, + uuid(0c733a98-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface IViewChapter : IUnknown +{ + [local] + HRESULT GetSpecification([in] REFIID riid, + [out] IUnknown **rowset); + + [call_as(GetSpecification)] + HRESULT RemoteGetSpecification([in] REFIID riid, + [out] IUnknown **rowset, + [out] IErrorInfo **err_info); + + [local] + HRESULT OpenViewChapter([in] HCHAPTER hsrc, + [out] HCHAPTER *view_hchapter); + + [call_as(OpenViewChapter)] + HRESULT RemoteOpenViewChapter([in] HCHAPTER hsrc, + [out] HCHAPTER *view_hchapter, + [out] IErrorInfo **err_info); +}