Alistair Leslie-Hughes : include: Add oledb types DBDATE, DBTIME and move DBTIMESTAMP to the correct idl.

Alexandre Julliard julliard at winehq.org
Thu May 16 13:55:06 CDT 2013


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

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Thu May 16 14:58:10 2013 +1000

include: Add oledb types DBDATE, DBTIME and move DBTIMESTAMP to the correct idl.

---

 include/dbs.idl   |   22 ++++++++++++++++++++++
 include/oledb.idl |    9 ---------
 2 files changed, 22 insertions(+), 9 deletions(-)

diff --git a/include/dbs.idl b/include/dbs.idl
index d25b227..46d55ad 100644
--- a/include/dbs.idl
+++ b/include/dbs.idl
@@ -515,3 +515,25 @@ typedef struct tagRMTPACK
     ULONG cArray;
     [size_is(cArray)] VARIANT *rgArray;
 } RMTPACK;
+
+typedef struct tagDBDATE {
+	SHORT year;
+	USHORT month;
+	USHORT day;
+} DBDATE;
+
+typedef struct tagDBTIME {
+	USHORT hour;
+	USHORT minute;
+	USHORT second;
+} DBTIME;
+
+typedef struct tagDBTIMESTAMP {
+	SHORT year;
+	USHORT month;
+	USHORT day;
+	USHORT hour;
+	USHORT minute;
+	USHORT second;
+	ULONG fraction;
+} DBTIMESTAMP;
diff --git a/include/oledb.idl b/include/oledb.idl
index 57b404d..eaa49a6 100644
--- a/include/oledb.idl
+++ b/include/oledb.idl
@@ -42,15 +42,6 @@ typedef ULONG_PTR DBREFCOUNT;
 typedef ULONG_PTR DB_UPARAMS;
 typedef LONG_PTR  DB_LPARAMS;
 typedef DWORD_PTR DBHASHVALUE;
-typedef struct {
-    SHORT year;
-    USHORT month;
-    USHORT day;
-    USHORT hour;
-    USHORT minute;
-    USHORT second;
-    ULONG fraction;
-} DBTIMESTAMP;
 
 #include "dbs.idl"
 




More information about the wine-cvs mailing list