Nikolay Sivov : oledb32: Added IChapteredRowset definition.

Alexandre Julliard julliard at winehq.org
Thu Aug 22 14:18:41 CDT 2013


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

Author: Nikolay Sivov <nsivov at codeweavers.com>
Date:   Thu Aug 22 14:41:02 2013 +0400

oledb32: Added IChapteredRowset definition.

---

 dlls/msdaps/usrmarshal.c |   24 ++++++++++++++++++++++++
 include/Makefile.in      |    1 +
 include/chprst.idl       |   43 +++++++++++++++++++++++++++++++++++++++++++
 include/oledb.idl        |    1 +
 tools/make_makefiles     |    1 +
 5 files changed, 70 insertions(+), 0 deletions(-)

diff --git a/dlls/msdaps/usrmarshal.c b/dlls/msdaps/usrmarshal.c
index e5be7b6..b70d3f4 100644
--- a/dlls/msdaps/usrmarshal.c
+++ b/dlls/msdaps/usrmarshal.c
@@ -1491,3 +1491,27 @@ HRESULT CALLBACK IRowPositionChange_OnRowPositionChange_Proxy(IRowPositionChange
     FIXME("(%p)->(0x%x 0x%x %d): stub\n", This, reason, phase, cant_deny);
     return E_NOTIMPL;
 }
+
+HRESULT __RPC_STUB IChapteredRowset_ReleaseChapter_Stub(IChapteredRowset* This, HCHAPTER chapter, DBREFCOUNT *refcount, IErrorInfo **errorinfo)
+{
+    FIXME("(%p)->(%lx %p %p): stub\n", This, chapter, refcount, errorinfo);
+    return E_NOTIMPL;
+}
+
+HRESULT __RPC_STUB IChapteredRowset_AddRefChapter_Stub(IChapteredRowset* This, HCHAPTER chapter, DBREFCOUNT *refcount, IErrorInfo **errorinfo)
+{
+    FIXME("(%p)->(%lx %p %p): stub\n", This, chapter, refcount, errorinfo);
+    return E_NOTIMPL;
+}
+
+HRESULT CALLBACK IChapteredRowset_AddRefChapter_Proxy(IChapteredRowset* This, HCHAPTER chapter, DBREFCOUNT *refcount)
+{
+    FIXME("(%p)->(%lx %p): stub\n", This, chapter, refcount);
+    return E_NOTIMPL;
+}
+
+HRESULT CALLBACK IChapteredRowset_ReleaseChapter_Proxy(IChapteredRowset* This, HCHAPTER chapter, DBREFCOUNT *refcount)
+{
+    FIXME("(%p)->(%lx %p): stub\n", This, chapter, refcount);
+    return E_NOTIMPL;
+}
diff --git a/include/Makefile.in b/include/Makefile.in
index 8615a99..d6e08e0 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -164,6 +164,7 @@ SRCDIR_INCLUDES = \
 	cderr.h \
 	cfgmgr32.h \
 	cguid.h \
+	chprst.idl \
 	cierror.h \
 	clusapi.h \
 	cmdbas.idl \
diff --git a/include/chprst.idl b/include/chprst.idl
new file mode 100644
index 0000000..90aed71
--- /dev/null
+++ b/include/chprst.idl
@@ -0,0 +1,43 @@
+/*
+ * Copyright (C) 2013 Huw Davies
+ *
+ * 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(0c733a93-2a1c-11ce-ade5-00aa0044773d),
+    pointer_default(unique)
+]
+interface IChapteredRowset : IUnknown
+{
+    [local]
+    HRESULT AddRefChapter([in] HCHAPTER chapter,
+                          [out] DBREFCOUNT *refcount);
+
+    [call_as(AddRefChapter)]
+    HRESULT RemoteAddRefChapter([in] HCHAPTER chapter,
+                                [out] DBREFCOUNT *refcount,
+                                [out] IErrorInfo **errorinfo);
+
+    [local]
+    HRESULT ReleaseChapter([in] HCHAPTER chapter,
+                           [out] DBREFCOUNT *refcount);
+
+    [call_as(ReleaseChapter)]
+    HRESULT RemoteReleaseChapter([in] HCHAPTER chapter,
+                                 [out] DBREFCOUNT *refcount,
+                                 [out] IErrorInfo **errorinfo);
+}
diff --git a/include/oledb.idl b/include/oledb.idl
index 3f038c7..34cbd34 100644
--- a/include/oledb.idl
+++ b/include/oledb.idl
@@ -49,6 +49,7 @@ typedef DWORD_PTR DBHASHVALUE;
 #include "rstbas.idl"
 #include "rstinf.idl"
 #include "rstloc.idl"
+#include "chprst.idl"
 #include "cmdbas.idl"
 #include "cmdtxt.idl"
 #include "dbccmd.idl"
diff --git a/tools/make_makefiles b/tools/make_makefiles
index 5f89683..567e929 100755
--- a/tools/make_makefiles
+++ b/tools/make_makefiles
@@ -140,6 +140,7 @@ my %private_idl_headers = (
     "axcore.idl" => 1,
     "axextend.idl" => 1,
     "binres.idl" => 1,
+    "chprst.idl" => 1,
     "cmdbas.idl" => 1,
     "cmdtxt.idl" => 1,
     "crtrow.idl" => 1,




More information about the wine-cvs mailing list