From: Alistair Leslie-Hughes leslie_alistair@hotmail.com
--- dlls/msdaps/usrmarshal.c | 13 +++++++++++++ include/Makefile.in | 1 + include/oledb.idl | 1 + include/rstidn.idl | 36 ++++++++++++++++++++++++++++++++++++ 4 files changed, 51 insertions(+) create mode 100644 include/rstidn.idl
diff --git a/dlls/msdaps/usrmarshal.c b/dlls/msdaps/usrmarshal.c index 48308c7ee71..3aeaa38629a 100644 --- a/dlls/msdaps/usrmarshal.c +++ b/dlls/msdaps/usrmarshal.c @@ -1810,3 +1810,16 @@ HRESULT __RPC_STUB ITransactionObject_GetTransactionObject_Stub(ITransactionObje FIXME("(%p)->(%ld, %p, %p): stub\n", This, level, transaction, info); return E_NOTIMPL; } + +HRESULT CALLBACK IRowsetIdentity_IsSameRow_Proxy(IRowsetIdentity* This, HROW hThisRow, HROW hThatRow) +{ + FIXME("(%p)->(%Id, %Id): stub\n", This, hThisRow, hThatRow); + return E_NOTIMPL; +} + +HRESULT __RPC_STUB IRowsetIdentity_IsSameRow_Stub(IRowsetIdentity* This, HROW hThisRow, + HROW hThatRow, IErrorInfo **error_info) +{ + FIXME("(%p)->(%Id, %Id, %p): stub\n", This, hThisRow, hThatRow, error_info); + return E_NOTIMPL; +} diff --git a/include/Makefile.in b/include/Makefile.in index 2d60264c905..29e62859633 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -680,6 +680,7 @@ SOURCES = \ rstbas.idl \ rstchg.idl \ rstfnd.idl \ + rstidn.idl \ rstinf.idl \ rstloc.idl \ rstnot.idl \ diff --git a/include/oledb.idl b/include/oledb.idl index 7ef6ea12500..f123e3e3c9d 100644 --- a/include/oledb.idl +++ b/include/oledb.idl @@ -81,6 +81,7 @@ typedef LONG_PTR DB_LRESERVE; #include "cmdpre.idl" #include "rstchg.idl" #include "rstupd.idl" +#include "rstidn.idl" #include "mulres.idl" #include "transact.idl" #include "trnjoi.idl" diff --git a/include/rstidn.idl b/include/rstidn.idl new file mode 100644 index 00000000000..f66a6794511 --- /dev/null +++ b/include/rstidn.idl @@ -0,0 +1,36 @@ +/* + * 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 + + +[ + object, + uuid(0c733a09-2a1c-11ce-ade5-00aa0044773d), + pointer_default(unique) +] +interface IRowsetIdentity : IUnknown +{ + [local] + HRESULT IsSameRow([in] HROW hThisRow, [in] HROW hThatRow); + + [call_as(IsSameRow)] + HRESULT RemoteIsSameRow( [in] HROW hThisRow, [in] HROW hThatRow, [out] IErrorInfo **error_info); +}