Huw Davies : include: Add row.idl.

Alexandre Julliard julliard at winehq.org
Thu Oct 29 11:20:39 CDT 2009


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

Author: Huw Davies <huw at codeweavers.com>
Date:   Wed Oct 28 13:44:06 2009 +0000

include: Add row.idl.

---

 include/Makefile.in  |    1 +
 include/oledb.idl    |    1 +
 include/row.idl      |   42 ++++++++++++++++++++++++++++++++++++++++++
 tools/make_makefiles |    1 +
 4 files changed, 45 insertions(+), 0 deletions(-)

diff --git a/include/Makefile.in b/include/Makefile.in
index f8fbfc9..c32137f 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -395,6 +395,7 @@ SRCDIR_INCLUDES = \
 	regstr.h \
 	richedit.h \
 	rmxfguid.h \
+	row.idl \
 	rpc.h \
 	rpcasync.h \
 	rpcdce.h \
diff --git a/include/oledb.idl b/include/oledb.idl
index 3f524eb..1aeacd7 100644
--- a/include/oledb.idl
+++ b/include/oledb.idl
@@ -56,6 +56,7 @@ typedef DWORD DBHASHVALUE;
 #include "dbdsad.idl"
 #include "sesprp.idl"
 #include "opnrst.idl"
+#include "row.idl"
 #include "binres.idl"
 #include "crtrow.idl"
 
diff --git a/include/row.idl b/include/row.idl
new file mode 100644
index 0000000..f56eade
--- /dev/null
+++ b/include/row.idl
@@ -0,0 +1,42 @@
+/*
+ * Copyright (C) 2009 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
+ */
+
+[
+    local,
+    object,
+    uuid(0c733ab4-2a1c-11ce-ade5-00aa0044773d),
+    pointer_default(unique)
+]
+interface IRow : IUnknown
+{
+    [local]
+    HRESULT GetColumns([in] DBORDINAL cColumns,
+                       [in, out, size_is(cColumns), annotation("__inout_ecount(cColumns)")] DBCOLUMNACCESS rgColumns[]);
+
+
+    HRESULT GetSourceRowset([in, annotation("__in")] REFIID riid,
+                            [out, iid_is(riid), annotation("__deref_opt_out_opt")] IUnknown **ppRowset,
+                            [out, annotation("__out_opt")] HROW *phRow);
+
+   HRESULT Open([in, unique, annotation("__in_opt")] IUnknown *pUnkOuter,
+                [in, annotation("__in")] DBID *pColumnID,
+                [in, annotation("__in")] REFGUID rguidColumnType,
+                [in] DWORD dwBindFlags,
+                [in, annotation("__in")] REFIID riid,
+                [out, iid_is(riid), annotation("__deref_opt_out")] IUnknown **ppUnk);
+}
diff --git a/tools/make_makefiles b/tools/make_makefiles
index 28c1e1c..f707564 100755
--- a/tools/make_makefiles
+++ b/tools/make_makefiles
@@ -125,6 +125,7 @@ my %private_idl_headers = (
     "devenum.idl" => 1,
     "dyngraph.idl" => 1,
     "opnrst.idl" => 1,
+    "row.idl" => 1,
     "rstbas.idl" => 1,
     "rstinf.idl" => 1,
     "rstloc.idl" => 1,




More information about the wine-cvs mailing list