[2/4] include: Add oledb types DBDATE, DBTIME and move DBTIMESTAMP to the, correct idl

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Thu May 16 04:39:17 CDT 2013


Hi,


Changelog:
     oledb32: Add oledb types DBDATE, DBTIME and move DBTIMESTAMP to the
  correct idl


Best Regards
  Alistair Leslie-Hughes
-------------- next part --------------
>From 8f6174c7a5849bf8095e37299ac77d5df4ce9615 Mon Sep 17 00:00:00 2001
From: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Thu, 16 May 2013 14:58:10 +1000
Subject: [PATCH] Add oledb types DBDATE, DBTIME and move DBTIMESTAMP to the
 correct idl
To: wine-patches <wine-patches at winehq.org>

---
 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"
 
-- 
1.8.1.2



More information about the wine-patches mailing list