From: Alistair Leslie-Hughes leslie_alistair@hotmail.com
--- include/Makefile.in | 1 + include/oledb.idl | 1 + include/rstxsc.idl | 33 +++++++++++++++++++++++++++++++++ 3 files changed, 35 insertions(+) create mode 100644 include/rstxsc.idl
diff --git a/include/Makefile.in b/include/Makefile.in index e8018ab601c..d189f78162f 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -684,6 +684,7 @@ SOURCES = \ rstnot.idl \ rstscr.idl \ rstupd.idl \ + rstxsc.idl \ rtlsupportapi.h \ rtutils.h \ rtworkq.idl \ diff --git a/include/oledb.idl b/include/oledb.idl index e8cc5df609f..ff8ac71ebcf 100644 --- a/include/oledb.idl +++ b/include/oledb.idl @@ -49,6 +49,7 @@ typedef LONG_PTR DB_LRESERVE; #include "rstinf.idl" #include "rstloc.idl" #include "rstscr.idl" +#include "rstxsc.idl" #include "chprst.idl" #include "cmdbas.idl" #include "cmdtxt.idl" diff --git a/include/rstxsc.idl b/include/rstxsc.idl new file mode 100644 index 00000000000..2d4cb2f5bec --- /dev/null +++ b/include/rstxsc.idl @@ -0,0 +1,33 @@ +/* + * Copyright (C) 2024 Alistair Leslie-Hughes + * + * 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(0c733a7f-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface IRowsetExactScroll : IRowsetScroll +{ + HRESULT GetExactPosition([in] HCHAPTER chapter, [in] DBBKMARK bookmark_cnt, [in, size_is(bookmark_cnt)] const BYTE *bookmarks, + [out] DBCOUNTITEM *position, [out] DBCOUNTITEM *rows); +}