odbccu32: Add new dll.

This commit is contained in:
Alistair Leslie-Hughes 2012-09-18 10:59:04 +10:00 committed by Alexandre Julliard
parent b0cefe897c
commit cee8a76ecc
6 changed files with 116 additions and 0 deletions

1
configure vendored
View File

@ -15593,6 +15593,7 @@ wine_fn_config_dll objsel enable_objsel
wine_fn_config_dll odbc32 enable_odbc32 implib
wine_fn_config_dll odbccp32 enable_odbccp32 implib
wine_fn_config_test dlls/odbccp32/tests odbccp32_test
wine_fn_config_dll odbccu32 enable_odbccu32
wine_fn_config_dll ole2.dll16 enable_win16
wine_fn_config_dll ole2conv.dll16 enable_win16
wine_fn_config_dll ole2disp.dll16 enable_win16

View File

@ -2866,6 +2866,7 @@ WINE_CONFIG_DLL(objsel)
WINE_CONFIG_DLL(odbc32,,[implib])
WINE_CONFIG_DLL(odbccp32,,[implib])
WINE_CONFIG_TEST(dlls/odbccp32/tests)
WINE_CONFIG_DLL(odbccu32)
WINE_CONFIG_DLL(ole2.dll16,enable_win16)
WINE_CONFIG_DLL(ole2conv.dll16,enable_win16)
WINE_CONFIG_DLL(ole2disp.dll16,enable_win16)

View File

@ -0,0 +1,8 @@
MODULE = odbccu32.dll
C_SRCS = \
odbccu32_main.c
RC_SRCS = version.rc
@MAKE_DLL_RULES@

View File

@ -0,0 +1,37 @@
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

View File

@ -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;
}

27
dlls/odbccu32/version.rc Normal file
View File

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