From: Piotr Caban <piotr(a)codeweavers.com> --- include/Makefile.in | 1 + include/oledb.idl | 1 + include/rstcridx.idl | 34 ++++++++++++++++++++++++++++++++++ 3 files changed, 36 insertions(+) create mode 100644 include/rstcridx.idl diff --git a/include/Makefile.in b/include/Makefile.in index 51212b26793..e0987cead85 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -707,6 +707,7 @@ SOURCES = \ rpcsal.h \ rstbas.idl \ rstchg.idl \ + rstcridx.idl \ rstfnd.idl \ rstidn.idl \ rstind.idl \ diff --git a/include/oledb.idl b/include/oledb.idl index 360935e2528..ff3512f3b26 100644 --- a/include/oledb.idl +++ b/include/oledb.idl @@ -88,6 +88,7 @@ typedef LONG_PTR DB_LRESERVE; #include "rstupd.idl" #include "rstidn.idl" #include "rstind.idl" +#include "rstcridx.idl" #include "mulres.idl" #include "transact.idl" #include "trnjoi.idl" diff --git a/include/rstcridx.idl b/include/rstcridx.idl new file mode 100644 index 00000000000..aa7d3c30b4b --- /dev/null +++ b/include/rstcridx.idl @@ -0,0 +1,34 @@ +/* + * 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 + +[ + local, + object, + uuid(0c733abd-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface IRowsetCurrentIndex : IRowsetIndex +{ + HRESULT GetIndex([out] DBID **ppIndexID); + + HRESULT SetIndex([in] DBID *pIndexID); +} -- GitLab https://gitlab.winehq.org/wine/wine/-/merge_requests/9667