Alistair Leslie-Hughes : include: Add missing DBPARAM* types and enums.

Alexandre Julliard julliard at winehq.org
Mon Oct 26 16:59:42 CDT 2020


Module: wine
Branch: master
Commit: 026ccc44a6dc469d32fc361e490f1b8171eff24b
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=026ccc44a6dc469d32fc361e490f1b8171eff24b

Author: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date:   Mon Oct 26 18:19:45 2020 +1100

include: Add missing DBPARAM* types and enums.

Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 include/dbs.idl | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/include/dbs.idl b/include/dbs.idl
index 65fd5b1d365..63617c88c00 100644
--- a/include/dbs.idl
+++ b/include/dbs.idl
@@ -800,3 +800,28 @@ typedef struct tagDBCOLUMNINFO {
     BYTE          bScale;
     DBID          columnid;
 } DBCOLUMNINFO;
+
+typedef DWORD DBPARAMFLAGS;
+
+enum DBPARAMFLAGSENUM {
+    DBPARAMFLAGS_ISINPUT    = 0x001,
+    DBPARAMFLAGS_ISOUTPUT   = 0x002,
+    DBPARAMFLAGS_ISSIGNED   = 0x010,
+    DBPARAMFLAGS_ISNULLABLE = 0x040,
+    DBPARAMFLAGS_ISLONG     = 0x080
+};
+
+enum DBPARAMFLAGSENUM20 {
+    DBPARAMFLAGS_SCALEISNEGATIVE = 0x100
+};
+
+typedef struct tagDBPARAMINFO {
+    DBPARAMFLAGS dwFlags;
+    DBORDINAL    iOrdinal;
+    LPOLESTR     pwszName;
+    ITypeInfo   *pTypeInfo;
+    DBLENGTH     ulParamSize;
+    DBTYPE       wType;
+    BYTE         bPrecision;
+    BYTE         bScale;
+} DBPARAMINFO;




More information about the wine-cvs mailing list