From: Piotr Caban piotr@codeweavers.com
--- dlls/msdaps/usrmarshal.c | 14 +++++++++++ include/Makefile.in | 1 + include/oledb.idl | 1 + include/vwflt.idl | 50 ++++++++++++++++++++++++++++++++++++++++ 4 files changed, 66 insertions(+) create mode 100644 include/vwflt.idl
diff --git a/dlls/msdaps/usrmarshal.c b/dlls/msdaps/usrmarshal.c index 53f134a6a6b..0029069f6c7 100644 --- a/dlls/msdaps/usrmarshal.c +++ b/dlls/msdaps/usrmarshal.c @@ -1958,3 +1958,17 @@ HRESULT __RPC_STUB IViewChapter_OpenViewChapter_Stub(IViewChapter* This, FIXME("(%p)->(%Ix, %p, %p):stub\n", This, hsrc, view_hchapter, err_info); return E_NOTIMPL; } + +HRESULT CALLBACK IViewFilter_GetFilterBindings_Proxy(IViewFilter* This, + DBCOUNTITEM *bindings_count, DBBINDING **bindings) +{ + FIXME("(%p)->(%p, %p): stub\n", This, bindings_count, bindings); + return E_NOTIMPL; +} + +HRESULT __RPC_STUB IViewFilter_GetFilterBindings_Stub(IViewFilter* This, + DBCOUNTITEM *bindings_count, DBBINDING **bindings, IErrorInfo **err_info) +{ + FIXME("(%p)->(%p, %p, %p): stub\n", This, bindings_count, bindings, err_info); + return E_NOTIMPL; +} diff --git a/include/Makefile.in b/include/Makefile.in index b42f67007b6..b8df29d4788 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -836,6 +836,7 @@ SOURCES = \ vssym32.h \ vswriter.idl \ vwchp.idl \ + vwflt.idl \ wbemcli.idl \ wbemdisp.idl \ wbemprov.idl \ diff --git a/include/oledb.idl b/include/oledb.idl index 5dad6dbaf07..c2e0f91f8f7 100644 --- a/include/oledb.idl +++ b/include/oledb.idl @@ -54,6 +54,7 @@ typedef LONG_PTR DB_LRESERVE; #include "rstfnd.idl" #include "rstvw.idl" #include "vwchp.idl" +#include "vwflt.idl" #include "cmdbas.idl" #include "cmdtxt.idl" #include "colinf.idl" diff --git a/include/vwflt.idl b/include/vwflt.idl new file mode 100644 index 00000000000..90cb4cd6b4a --- /dev/null +++ b/include/vwflt.idl @@ -0,0 +1,50 @@ +/* + * 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(0c733a9b-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface IViewFilter : IUnknown +{ + [local] + HRESULT GetFilter([in] HACCESSOR haccessor, + [out] DBCOUNTITEM *rows, + [out] DBCOMPAREOP *compare[], + [out] void *criteria); + + [local] + HRESULT GetFilterBindings([out] DBCOUNTITEM *bindings_count, + [out] DBBINDING **bindings); + + [call_as(GetFilterBindings)] + HRESULT RemoteGetFilterBindings([in, out] DBCOUNTITEM *bindings_count, + [out, size_is(, (ULONG)*bindings_count)] DBBINDING **bindings, + [out] IErrorInfo **err_info); + + [local] + HRESULT SetFilter([in] HACCESSOR haccessor, + [in] DBCOUNTITEM rows, + [in] DBCOMPAREOP compare[], + [in] void *criteria); +}