odbccu32: Add new dll

Alistair Leslie-Hughes leslie_alistair at hotmail.com
Tue Sep 18 04:34:47 CDT 2012


Hi,


Changelog:
     odbccu32: Add new dll


Best Regards
  Alistair Leslie-Hughes
-------------- next part --------------
>From 776c612c69094c250fd4027d309616d21f64886e Mon Sep 17 00:00:00 2001
From: Alistair Leslie-Hughes <leslie_alistair at hotmail.com>
Date: Tue, 18 Sep 2012 10:59:04 +1000
Subject: [PATCH] Add odbccu32 dll
To: wine-patches <wine-patches at winehq.org>

---
 dlls/odbccu32/Makefile.in     |    9 +++++++++
 dlls/odbccu32/odbccu32.spec   |   38 +++++++++++++++++++++++++++++++++++++
 dlls/odbccu32/odbccu32_main.c |   42 +++++++++++++++++++++++++++++++++++++++++
 dlls/odbccu32/version.rc      |   27 ++++++++++++++++++++++++++
 4 files changed, 116 insertions(+)
 create mode 100644 dlls/odbccu32/Makefile.in
 create mode 100644 dlls/odbccu32/odbccu32.spec
 create mode 100644 dlls/odbccu32/odbccu32_main.c
 create mode 100644 dlls/odbccu32/version.rc

diff --git a/dlls/odbccu32/Makefile.in b/dlls/odbccu32/Makefile.in
new file mode 100644
index 0000000..89dcef4
--- /dev/null
+++ b/dlls/odbccu32/Makefile.in
@@ -0,0 +1,9 @@
+MODULE    = odbccu32.dll
+IMPORTS   = 
+
+C_SRCS = \
+	odbccu32_main.c
+
+RC_SRCS = version.rc
+
+ at MAKE_DLL_RULES@
diff --git a/dlls/odbccu32/odbccu32.spec b/dlls/odbccu32/odbccu32.spec
new file mode 100644
index 0000000..3293cc5
--- /dev/null
+++ b/dlls/odbccu32/odbccu32.spec
@@ -0,0 +1,38 @@
+  4 stdcall SQLBindCol(long long long ptr long ptr) odbc32.SQLBindCol
+  5 stdcall SQLCancel(long) odbc32.SQLCancel
+  6 stub ReleaseCLStmtResources
+ 11 stdcall SQLExecDirect(long str long) odbc32.SQLExecDirect
+ 12 stdcall SQLExecute(long) odbc32.SQLExecute
+ 13 stdcall SQLFetch(long) odbc32.SQLFetch
+ 16 stdcall SQLFreeStmt(long long ) odbc32.SQLFreeStmt 
+ 19 stdcall SQLPrepare(long str long) odbc32.SQLPrepare 
+ 20 stdcall SQLRowCount(long ptr) odbc32.SQLRowCount 
+ 23 stdcall SQLTransact(long long long) odbc32.SQLTransact
+ 26 stdcall SQLCloseCursor(long) odbc32.SQLCloseCursor
+ 29 stdcall SQLEndTran(long long long) odbc32.SQLEndTran
+ 30 stdcall SQLFetchScroll(long long long) odbc32.SQLFetchScroll
+ 31 stdcall SQLFreeHandle(long long) odbc32.SQLFreeHandle
+ 33 stdcall SQLGetDescField(long long long ptr long ptr) odbc32.SQLGetDescField
+ 34 stdcall SQLGetDescRec(long long str long ptr ptr ptr ptr ptr ptr ptr) odbc32.SQLGetDescRec
+ 38 stdcall SQLGetStmtAttr(long long ptr long ptr) odbc32.SQLGetStmtAttr
+ 39 stdcall SQLSetConnectAttr(long long ptr long) odbc32.SQLSetConnectAttr
+ 43 stdcall SQLGetData(long long long ptr long ptr) odbc32.SQLGetData
+ 45 stdcall SQLGetInfo(long long ptr long ptr) odbc32.SQLGetInfo
+ 46 stdcall SQLGetStmtOption(long long ptr) odbc32.SQLGetStmtOption
+ 48 stdcall SQLParamData(long ptr) odbc32.SQLParamData
+ 49 stdcall SQLPutData(long ptr long) odbc32.SQLPutData
+ 50 stdcall SQLSetConnectOption(long long long) odbc32.SQLSetConnectOption
+ 51 stdcall SQLSetStmtOption(long long long) odbc32.SQLSetStmtOption
+ 59 stdcall SQLExtendedFetch(long long long ptr ptr) odbc32.SQLExtendedFetch
+ 61 stdcall SQLMoreResults(long) odbc32.SQLMoreResults
+ 62 stdcall SQLNativeSql(long str long str long ptr) odbc32.SQLNativeSql
+ 63 stdcall SQLNumParams(long ptr) odbc32.SQLNumParams
+ 64 stdcall SQLParamOptions(long long ptr) odbc32.SQLParamOptions
+ 68 stdcall SQLSetPos(long long long long) odbc32.SQLSetPos
+ 69 stdcall SQLSetScrollOptions(long long long long) odbc32.SQLSetScrollOptions
+ 72 stdcall SQLBindParameter(long long long long long long long ptr long ptr) odbc32.SQLBindParameter
+ 73 stdcall SQLSetDescField(long long long ptr long) odbc32.SQLSetDescField
+ 74 stdcall SQLSetDescRec(long long long long long long long ptr ptr ptr) odbc32.SQLSetDescRec
+ 76 stdcall SQLSetStmtAttr(long long ptr long) odbc32.SQLSetStmtAttr
+ 78 stdcall SQLBulkOperations(long long) odbc32.SQLBulkOperations
+ 
diff --git a/dlls/odbccu32/odbccu32_main.c b/dlls/odbccu32/odbccu32_main.c
new file mode 100644
index 0000000..e5ba5ac
--- /dev/null
+++ b/dlls/odbccu32/odbccu32_main.c
@@ -0,0 +1,42 @@
+/*
+ * ODBC Cursor Library 
+ *
+ * Copyright 2012 Alistair Leslie-Hughes
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ *
+ */
+
+#include "config.h"
+#include "wine/port.h"
+
+#include <stdarg.h>
+
+#include "windef.h"
+#include "winbase.h"
+
+BOOL WINAPI DllMain(HINSTANCE hinstDLL, DWORD fdwReason, LPVOID lpvReserved)
+{
+    switch (fdwReason)
+    {
+        case DLL_PROCESS_ATTACH:
+            DisableThreadLibraryCalls(hinstDLL);
+            break;
+        case DLL_PROCESS_DETACH:
+            break;
+    }
+
+    return TRUE;
+}
diff --git a/dlls/odbccu32/version.rc b/dlls/odbccu32/version.rc
new file mode 100644
index 0000000..bc1e6f2
--- /dev/null
+++ b/dlls/odbccu32/version.rc
@@ -0,0 +1,27 @@
+/*
+ * Copyright 2012 Alistair Leslie-Hughes
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License as published by the Free Software Foundation; either
+ * version 2.1 of the License, or (at your option) any later version.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
+ *
+ */
+
+#define WINE_FILEDESCRIPTION_STR "Wine ODBC Cursor Library"
+#define WINE_FILENAME_STR "odbcu32.dll"
+#define WINE_FILEVERSION 6,1,7601,17632
+#define WINE_FILEVERSION_STR "6.1.7601.17632"
+#define WINE_PRODUCTVERSION 6,1,7601,17632
+#define WINE_PRODUCTVERSION_STR "6.1.7601.17632"
+
+#include "wine/wine_common_ver.rc"
-- 
1.7.9.5



More information about the wine-patches mailing list