From 034bff29ec77f4e13c581433be6e659f85eb51dc Mon Sep 17 00:00:00 2001 From: Huw Davies Date: Wed, 9 Sep 2009 17:14:18 +0100 Subject: [PATCH] include: Add oledberr.h. --- include/Makefile.in | 1 + include/oledberr.h | 30 ++++++++++++++++++++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 include/oledberr.h diff --git a/include/Makefile.in b/include/Makefile.in index 24c392f52d4..6ea2210876f 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 00000000000..6a169ef084b --- /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 */