user32: Avoid dereferencing NULL pointer in a trace.
[wine.git] / include / oledberr.h
blob8af38ef4c2db337006def4d674419c5d7c4ba09d
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_ERRORSINCOMMAND 0x80040e14
27 #define DB_E_CANTCANCEL 0x80040e15
28 #define DB_E_DIALECTNOTSUPPORTED 0x80040e16
29 #define DB_E_DUPLICATEDATASOURCE 0x80040e17
30 #define DB_E_CANNOTRESTART 0x80040e18
31 #define DB_E_NOTFOUND 0x80040e19
33 #define DB_E_UNSUPPORTEDCONVERSION 0x80040e1d
35 #define DB_E_ERRORSOCCURRED 0x80040e21
37 #define DB_E_BADSTORAGEFLAG 0x80040e26
38 #define DB_E_BADCOMPAREOP 0x80040e27
39 #define DB_E_BADSTATUSVALUE 0x80040e28
40 #define DB_E_CANTSCROLLBACKWARDS 0x80040e29
41 #define DB_E_BADREGIONHANDLE 0x80040e2a
42 #define DB_E_NONCONTIGUOUSRANGE 0x80040e2b
43 #define DB_E_INVALIDTRANSITION 0x80040e2c
44 #define DB_E_NOTASUBREGION 0x80040e2d
45 #define DB_E_MULTIPLESTATEMENTS 0x80040e2e
46 #define DB_E_INTEGRITYVIOLATION 0x80040e2f
47 #define DB_E_BADTYPENAME 0x80040e30
48 #define DB_E_ABORTLIMITREACHED 0x80040e31
49 #define DB_E_ROWSETINCOMMAND 0x80040e32
50 #define DB_E_CANTTRANSLATE 0x80040e33
51 #define DB_E_DUPLICATEINDEXID 0x80040e34
52 #define DB_E_NOINDEX 0x80040e35
53 #define DB_E_INDEXINUSE 0x80040e36
54 #define DB_E_NOTABLE 0x80040e37
55 #define DB_E_CONCURRENCYVIOLATION 0x80040e38
57 #define DB_E_TABLEINUSE 0x80040e40
58 #define DB_E_NOLOCALE 0x80040e41
59 #define DB_E_BADRECORDNUM 0x80040e42
60 #define DB_E_BOOKMARKSKIPPED 0x80040e43
61 #define DB_E_BADPROPERTYVALUE 0x80040e44
62 #define DB_E_INVALID 0x80040e45
63 #define DB_E_BADACCESSORFLAGS 0x80040e46
64 #define DB_E_BADSTORAGEFLAGS 0x80040e47
65 #define DB_E_BYREFACCESSORNOTSUPPORTED 0x80040e48
66 #define DB_E_NULLACCESSORNOTSUPPORTED 0x80040e49
67 #define DB_E_NOTPREPARED 0x80040e4a
68 #define DB_E_BADACCESSORTYPE 0x80040e4b
69 #define DB_E_WRITEONLYACCESSOR 0x80040e4c
70 #define DB_SEC_E_AUTH_FAILED 0x80040e4d
71 #define DB_E_CANCELED 0x80040e4e
73 #define DB_E_ALREADYINITIALIZED 0x80040e52
74 #define DB_E_DATAOVERFLOW 0x80040e57
76 #define DB_E_MISMATCHEDPROVIDER 0x80040e75
78 #define DB_S_ERRORSOCCURRED 0x00040eda
80 #endif /* __WINE_OLEDBERR_H */