Module: wine
Branch: master
Commit: 034bff29ec77f4e13c581433be6e659f85eb51dc
URL: http://source.winehq.org/git/wine.git/?a=commit;h=034bff29ec77f4e13c581433b…
Author: Huw Davies <huw(a)codeweavers.com>
Date: Wed Sep 9 17:14:18 2009 +0100
include: Add oledberr.h.
---
include/Makefile.in | 1 +
include/oledberr.h | 30 ++++++++++++++++++++++++++++++
2 files changed, 31 insertions(+), 0 deletions(-)
diff --git a/include/Makefile.in b/include/Makefile.in
index 24c392f..6ea2210 100644
--- a/include/Makefile.in
+++ b/include/Makefile.in
@@ -370,6 +370,7 @@ SRCDIR_INCLUDES = \
ole2ver.h \
oleauto.h \
olectl.h \
+ oledberr.h \
oledlg.h \
opnrst.idl \
pdh.h \
diff --git a/include/oledberr.h b/include/oledberr.h
new file mode 100644
index 0000000..6a169ef
--- /dev/null
+++ b/include/oledberr.h
@@ -0,0 +1,30 @@
+/* OLE DB error codes.
+ *
+ * Copyright 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
+ */
+
+
+#ifndef __WINE_OLEDBERR_H
+#define __WINE_OLEDBERR_H
+
+#define DB_E_NOTFOUND 0x80040e19
+
+#define DB_E_ERRORSOCCURRED 0x80040e21
+
+#define DB_S_ERRORSOCCURRED 0x00040eda
+
+#endif /* __WINE_OLEDBERR_H */