include: Add DBSTATUSENUM.

This commit is contained in:
Huw Davies 2009-09-16 11:44:00 +01:00 committed by Alexandre Julliard
parent 142af7e1b4
commit 6b6d8ccc39
1 changed files with 18 additions and 0 deletions

View File

@ -152,3 +152,21 @@ enum DBTYPEENUM
};
typedef DWORD DBSTATUS;
enum DBSTATUSENUM
{
DBSTATUS_S_OK = 0,
DBSTATUS_E_BADACCESSOR = 1,
DBSTATUS_E_CANTCONVERTVALUE = 2,
DBSTATUS_S_ISNULL = 3,
DBSTATUS_S_TRUNCATED = 4,
DBSTATUS_E_SIGNMISMATCH = 5,
DBSTATUS_E_DATAOVERFLOW = 6,
DBSTATUS_E_CANTCREATE = 7,
DBSTATUS_E_UNAVAILABLE = 8,
DBSTATUS_E_PERMISSIONDENIED = 9,
DBSTATUS_E_INTEGRITYVIOLATION = 10,
DBSTATUS_E_SCHEMAVIOLATION = 11,
DBSTATUS_E_BADSTATUS = 12,
DBSTATUS_S_DEFAULT = 13
};