From cc2ac078295bff09aac2bf9a3e82340fc1bac646 Mon Sep 17 00:00:00 2001 From: Alistair Leslie-Hughes Date: Thu, 16 May 2013 14:58:10 +1000 Subject: [PATCH] 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 d25b2273ca6..46d55ad9f63 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 57b404d46a7..eaa49a6b028 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"