From: Piotr Caban piotr@codeweavers.com
--- dlls/msdaps/usrmarshal.c | 30 +++++++++++++++++++++++ include/Makefile.in | 1 + include/oledb.idl | 1 + include/rstvw.idl | 53 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 85 insertions(+) create mode 100644 include/rstvw.idl
diff --git a/dlls/msdaps/usrmarshal.c b/dlls/msdaps/usrmarshal.c index 80ae1305872..096b26967cc 100644 --- a/dlls/msdaps/usrmarshal.c +++ b/dlls/msdaps/usrmarshal.c @@ -1901,3 +1901,33 @@ HRESULT __RPC_STUB IErrorLookup_ReleaseErrors_Stub(IErrorLookup* This, FIXME("(%p)->(%#lx, %p): stub\n", This, dwDynamicErrorID, ppErrorInfoRem); return E_NOTIMPL; } + +HRESULT CALLBACK IRowsetView_CreateView_Proxy(IRowsetView* This, + IUnknown *unk_outer, REFIID riid, IUnknown **view) +{ + FIXME("(%p)->(%p, %s, %p): stub\n", This, unk_outer, wine_dbgstr_guid(riid), view); + return E_NOTIMPL; +} + +HRESULT __RPC_STUB IRowsetView_CreateView_Stub(IRowsetView* This, IUnknown *unk_outer, + REFIID riid, IUnknown **view, IErrorInfo **err_info) +{ + FIXME("(%p)->(%p, %s, %p, %p): stub\n", This, unk_outer, wine_dbgstr_guid(riid), view, err_info); + return E_NOTIMPL; +} + +HRESULT CALLBACK IRowsetView_GetView_Proxy(IRowsetView* This, HCHAPTER hchapter, + REFIID riid, HCHAPTER *hchapter_src, IUnknown **view) +{ + FIXME("(%p)->(%Ix, %s, %p %p): stub\n", This, hchapter, + wine_dbgstr_guid(riid), hchapter_src, view); + return E_NOTIMPL; +} + +HRESULT __RPC_STUB IRowsetView_GetView_Stub(IRowsetView* This, HCHAPTER hchapter, + REFIID riid, HCHAPTER *hchapter_src, IUnknown **view, IErrorInfo **err_info) +{ + FIXME("(%p)->(%Ix, %s, %p, %p, %p): stub\n", This, hchapter, + wine_dbgstr_guid(riid), hchapter_src, view, err_info); + return E_NOTIMPL; +} diff --git a/include/Makefile.in b/include/Makefile.in index 30a9e6ac1b3..de836b6067f 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -713,6 +713,7 @@ SOURCES = \ rstnot.idl \ rstscr.idl \ rstupd.idl \ + rstvw.idl \ rstxsc.idl \ rtlsupportapi.h \ rtutils.h \ diff --git a/include/oledb.idl b/include/oledb.idl index 54fe572f2dc..04c248b6ba7 100644 --- a/include/oledb.idl +++ b/include/oledb.idl @@ -52,6 +52,7 @@ typedef LONG_PTR DB_LRESERVE; #include "rstxsc.idl" #include "chprst.idl" #include "rstfnd.idl" +#include "rstvw.idl" #include "cmdbas.idl" #include "cmdtxt.idl" #include "colinf.idl" diff --git a/include/rstvw.idl b/include/rstvw.idl new file mode 100644 index 00000000000..1e0c0c59cc6 --- /dev/null +++ b/include/rstvw.idl @@ -0,0 +1,53 @@ +/* + * 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(0c733a99-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface IRowsetView : IUnknown +{ + [local] + HRESULT CreateView([in] IUnknown *unk_outer, + [in] REFIID riid, + [out] IUnknown **view); + + [call_as(CreateView)] + HRESULT RemoteCreateView([in] IUnknown *unk_outer, + [in] REFIID riid, + [out] IUnknown **view, + [out] IErrorInfo **err_info); + + [local] + HRESULT GetView([in] HCHAPTER hchapter, + [in] REFIID riid, + [out] HCHAPTER *hchapter_src, + [out] IUnknown **view); + + [call_as(GetView)] + HRESULT RemoteGetView([in] HCHAPTER hchapter, + [in] REFIID riid, + [out] HCHAPTER *hchapter_src, + [out] IUnknown **view, + [out] IErrorInfo **err_info); +}