[PATCH] include: Add missing DBPARAM* types and enums

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Mon Oct 26 02:19:45 CDT 2020


Signed-off-by: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
---
 include/dbs.idl | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)

diff --git a/include/dbs.idl b/include/dbs.idl
index 65fd5b1d365..92265882016 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;
-- 
2.28.0




More information about the wine-devel mailing list