[PATCH 2/3] include: Add IRowsetChange interface

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Wed Nov 11 04:32:54 CST 2020


Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
 include/oledb.idl  |  1 +
 include/rstchg.idl | 36 ++++++++++++++++++++++++++++++++++++
 2 files changed, 37 insertions(+)
 create mode 100644 include/rstchg.idl

diff --git a/include/oledb.idl b/include/oledb.idl
index 5060378b351..256d5fc7917 100644
--- a/include/oledb.idl
+++ b/include/oledb.idl
@@ -74,6 +74,7 @@ typedef DWORD_PTR DBHASHVALUE;
 #include "cmdprp.idl"
 #include "cvttyp.idl"
 #include "cmdpre.idl"
+#include "rstchg.idl"
 
 cpp_quote("#include <accctrl.h>")
 
diff --git a/include/rstchg.idl b/include/rstchg.idl
new file mode 100644
index 00000000000..973db1aab13
--- /dev/null
+++ b/include/rstchg.idl
@@ -0,0 +1,36 @@
+/*
+ * Copyright (C) 2020 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
+
+[
+    local,
+    object,
+    uuid(0c733a05-2a1c-11ce-ade5-00aa0044773d),
+    pointer_default(unique)
+]
+interface IRowsetChange : IUnknown
+{
+    HRESULT DeleteRows([in] HCHAPTER reserved, [in] DBCOUNTITEM count, [in, size_is(count)] const HROW rows[],
+                [out, size_is(count)] DBROWSTATUS status[] );
+
+    HRESULT SetData([in] HROW row, [in] HACCESSOR accessor, [in] void *data);
+
+    HRESULT InsertRow([in] HCHAPTER reserved, [in] HACCESSOR accessor, [in] void *data, [out] HROW *row);
+}
-- 
2.28.0




More information about the wine-devel mailing list