winefile: Use BOOL type where appropriate.
[wine.git] / include / oledberr.h
blob96adcae53fc7515d88bb30afe3ff760b9e274850
1 /* OLE DB error codes.
3 * Copyright 2009 Huw Davies
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2.1 of the License, or (at your option) any later version.
10 * This library is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Lesser General Public License for more details.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
21 #ifndef __WINE_OLEDBERR_H
22 #define __WINE_OLEDBERR_H
24 #define DB_E_BADBINDINFO 0x80040e08
26 #define DB_E_NOTFOUND 0x80040e19
28 #define DB_E_UNSUPPORTEDCONVERSION 0x80040e1d
30 #define DB_E_ERRORSOCCURRED 0x80040e21
32 #define DB_E_BADSTORAGEFLAG 0x80040e26
33 #define DB_E_BADCOMPAREOP 0x80040e27
34 #define DB_E_BADSTATUSVALUE 0x80040e28
35 #define DB_E_CANTSCROLLBACKWARDS 0x80040e29
36 #define DB_E_BADREGIONHANDLE 0x80040e2a
37 #define DB_E_NONCONTIGUOUSRANGE 0x80040e2b
38 #define DB_E_INVALIDTRANSITION 0x80040e2c
39 #define DB_E_NOTASUBREGION 0x80040e2d
40 #define DB_E_MULTIPLESTATEMENTS 0x80040e2e
41 #define DB_E_INTEGRITYVIOLATION 0x80040e2f
42 #define DB_E_BADTYPENAME 0x80040e30
43 #define DB_E_ABORTLIMITREACHED 0x80040e31
44 #define DB_E_ROWSETINCOMMAND 0x80040e32
45 #define DB_E_CANTTRANSLATE 0x80040e33
46 #define DB_E_DUPLICATEINDEXID 0x80040e34
47 #define DB_E_NOINDEX 0x80040e35
48 #define DB_E_INDEXINUSE 0x80040e36
49 #define DB_E_NOTABLE 0x80040e37
50 #define DB_E_CONCURRENCYVIOLATION 0x80040e38
52 #define DB_E_TABLEINUSE 0x80040e40
53 #define DB_E_NOLOCALE 0x80040e41
54 #define DB_E_BADRECORDNUM 0x80040e42
55 #define DB_E_BOOKMARKSKIPPED 0x80040e43
56 #define DB_E_BADPROPERTYVALUE 0x80040e44
57 #define DB_E_INVALID 0x80040e45
58 #define DB_E_BADACCESSORFLAGS 0x80040e46
59 #define DB_E_BADSTORAGEFLAGS 0x80040e47
60 #define DB_E_BYREFACCESSORNOTSUPPORTED 0x80040e48
61 #define DB_E_NULLACCESSORNOTSUPPORTED 0x80040e49
62 #define DB_E_NOTPREPARED 0x80040e4a
63 #define DB_E_BADACCESSORTYPE 0x80040e4b
64 #define DB_E_WRITEONLYACCESSOR 0x80040e4c
65 #define DB_SEC_E_AUTH_FAILED 0x80040e4d
66 #define DB_E_CANCELED 0x80040e4e
68 #define DB_E_ALREADYINITIALIZED 0x80040e52
69 #define DB_E_DATAOVERFLOW 0x80040e57
71 #define DB_E_MISMATCHEDPROVIDER 0x80040e75
73 #define DB_S_ERRORSOCCURRED 0x00040eda
75 #endif /* __WINE_OLEDBERR_H */