From 2a78e48e201dfcf05e2385ebeaf5d329ff3c55e3 Mon Sep 17 00:00:00 2001 From: Nikolay Sivov Date: Thu, 1 Aug 2013 07:57:55 +0400 Subject: [PATCH] oledb32: Added IRowPositionChange interface definition. --- dlls/msdaps/usrmarshal.c | 14 ++++++++++++++ include/Makefile.in | 1 + include/oledb.idl | 1 + include/rowpsc.idl | 36 ++++++++++++++++++++++++++++++++++++ tools/make_makefiles | 1 + 5 files changed, 53 insertions(+) create mode 100644 include/rowpsc.idl diff --git a/dlls/msdaps/usrmarshal.c b/dlls/msdaps/usrmarshal.c index bff07efbcc1..e5be7b69aa4 100644 --- a/dlls/msdaps/usrmarshal.c +++ b/dlls/msdaps/usrmarshal.c @@ -1477,3 +1477,17 @@ HRESULT CALLBACK IRowPosition_SetRowPosition_Proxy(IRowPosition* This, HCHAPTER FIXME("(%p)->(%lx %lx %d): stub\n", This, chapter, row, flags); return E_NOTIMPL; } + +HRESULT __RPC_STUB IRowPositionChange_OnRowPositionChange_Stub(IRowPositionChange* This, DBREASON reason, DBEVENTPHASE phase, + BOOL cant_deny, IErrorInfo **errorinfo) +{ + FIXME("(%p)->(0x%x 0x%x %d %p): stub\n", This, reason, phase, cant_deny, errorinfo); + return E_NOTIMPL; +} + +HRESULT CALLBACK IRowPositionChange_OnRowPositionChange_Proxy(IRowPositionChange* This, DBREASON reason, DBEVENTPHASE phase, + BOOL cant_deny) +{ + FIXME("(%p)->(0x%x 0x%x %d): stub\n", This, reason, phase, cant_deny); + return E_NOTIMPL; +} diff --git a/include/Makefile.in b/include/Makefile.in index 0818999e60d..7f26dca7f25 100644 --- a/include/Makefile.in +++ b/include/Makefile.in @@ -481,6 +481,7 @@ SRCDIR_INCLUDES = \ row.idl \ rowchg.idl \ rowpos.idl \ + rowpsc.idl \ rpc.h \ rpcasync.h \ rpcdce.h \ diff --git a/include/oledb.idl b/include/oledb.idl index 3d47fe7bd80..3f038c7f62f 100644 --- a/include/oledb.idl +++ b/include/oledb.idl @@ -65,6 +65,7 @@ typedef DWORD_PTR DBHASHVALUE; #include "row.idl" #include "rowchg.idl" #include "rowpos.idl" +#include "rowpsc.idl" #include "binres.idl" #include "crtrow.idl" #include "errrec.idl" diff --git a/include/rowpsc.idl b/include/rowpsc.idl new file mode 100644 index 00000000000..2cbe8ac8e2c --- /dev/null +++ b/include/rowpsc.idl @@ -0,0 +1,36 @@ +/* + * Copyright (C) 2013 Nikolay Sivov + * + * 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 + */ + +[ + object, + uuid(0997a571-126e-11d0-9f8a-00a0c9a0631e), + pointer_default(unique) +] +interface IRowPositionChange : IUnknown +{ + [local] + HRESULT OnRowPositionChange([in] DBREASON reason, + [in] DBEVENTPHASE phase, + [in] BOOL cant_deny); + + [call_as(OnRowPositionChange)] + HRESULT RemoteOnRowPositionChange([in] DBREASON reason, + [in] DBEVENTPHASE phase, + [in] BOOL cant_deny, + [out] IErrorInfo **errorinfo); +} diff --git a/tools/make_makefiles b/tools/make_makefiles index 566ca0d37bd..5f89683caf6 100755 --- a/tools/make_makefiles +++ b/tools/make_makefiles @@ -156,6 +156,7 @@ my %private_idl_headers = ( "row.idl" => 1, "rowchg.idl" => 1, "rowpos.idl" => 1, + "rowpsc.idl" => 1, "rstbas.idl" => 1, "rstinf.idl" => 1, "rstloc.idl" => 1,