Nikolay Sivov : oledb32: Added IRowPositionChange interface definition.

Alexandre Julliard julliard at winehq.org
Thu Aug 1 14:25:45 CDT 2013


Module: wine
Branch: master
Commit: 2a78e48e201dfcf05e2385ebeaf5d329ff3c55e3
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=2a78e48e201dfcf05e2385ebeaf5d329ff3c55e3

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Thu Aug  1 07:57:55 2013 +0400

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(+), 0 deletions(-)

diff --git a/dlls/msdaps/usrmarshal.c b/dlls/msdaps/usrmarshal.c
index bff07ef..e5be7b6 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 0818999..7f26dca 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 3d47fe7..3f038c7 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 0000000..2cbe8ac
--- /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 566ca0d..5f89683 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,




More information about the wine-cvs mailing list