Huw Davies : include: Add DBTYPEENUM.

Alexandre Julliard julliard at winehq.org
Thu Sep 10 09:08:31 CDT 2009


Module: wine
Branch: master
Commit: 15a5e46a754964f0c40860a27d57e44c56595ca8
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=15a5e46a754964f0c40860a27d57e44c56595ca8

Author: Huw Davies <huw at codeweavers.com>
Date:   Wed Sep  9 19:14:38 2009 +0100

include: Add DBTYPEENUM.

---

 include/dbs.idl |   39 +++++++++++++++++++++++++++++++++++++++
 1 files changed, 39 insertions(+), 0 deletions(-)

diff --git a/include/dbs.idl b/include/dbs.idl
index 57ccf27..2383d0c 100644
--- a/include/dbs.idl
+++ b/include/dbs.idl
@@ -112,4 +112,43 @@ typedef struct tagDBIMPLICITSESSION
 
 typedef WORD DBTYPE;
 
+enum DBTYPEENUM
+{
+    DBTYPE_EMPTY         = 0,
+    DBTYPE_NULL          = 1,
+    DBTYPE_I2            = 2,
+    DBTYPE_I4            = 3,
+    DBTYPE_R4            = 4,
+    DBTYPE_R8            = 5,
+    DBTYPE_CY            = 6,
+    DBTYPE_DATE          = 7,
+    DBTYPE_BSTR          = 8,
+    DBTYPE_IDISPATCH     = 9,
+    DBTYPE_ERROR         = 10,
+    DBTYPE_BOOL          = 11,
+    DBTYPE_VARIANT       = 12,
+    DBTYPE_IUNKNOWN      = 13,
+    DBTYPE_DECIMAL       = 14,
+    DBTYPE_I1            = 16,
+    DBTYPE_UI1           = 17,
+    DBTYPE_UI2           = 18,
+    DBTYPE_UI4           = 19,
+    DBTYPE_I8            = 20,
+    DBTYPE_UI8           = 21,
+    DBTYPE_GUID          = 72,
+    DBTYPE_BYTES         = 128,
+    DBTYPE_STR           = 129,
+    DBTYPE_WSTR          = 130,
+    DBTYPE_NUMERIC       = 131,
+    DBTYPE_UDT           = 132,
+    DBTYPE_DBDATE        = 133,
+    DBTYPE_DBTIME        = 134,
+    DBTYPE_DBTIMESTAMP   = 135,
+
+    DBTYPE_VECTOR        = 0x1000,
+    DBTYPE_ARRAY         = 0x2000,
+    DBTYPE_BYREF         = 0x4000,
+    DBTYPE_RESERVED      = 0x8000
+};
+
 typedef DWORD DBSTATUS;




More information about the wine-cvs mailing list