1/*************************************************
2 * SQLInstallODBC
3 *
4 * Just provide stub for ODBC 2 installer functions
5 *
6 **************************************************/
7
8#include <config.h>
9#include <odbcinstext.h>
10
11BOOL INSTAPI SQLInstallODBC(HWND hwndParent,
12 LPCSTR lpszInfFile,
13 LPCSTR lpszSrcPath,
14 LPCSTR lpszDrivers)
15{
16 return FALSE;
17}
18
19BOOL INSTAPI SQLInstallDriver (LPCSTR lpszInfFile,
20 LPCSTR lpszDriver,
21 LPSTR lpszPath,
22 WORD cbPathMax,
23 WORD * pcbPathOut)
24{
25 return FALSE;
26}
27
28BOOL INSTAPI SQLInstallTranslator( LPCSTR lpszInfFile,
29 LPCSTR pszTranslator,
30 LPCSTR pszPathIn,
31 LPSTR pszPathOut,
32 WORD nPathOutMax,
33 WORD *pnPathOut,
34 WORD nRequest,
35 LPDWORD pnUsageCount )
36
37{
38 inst_logClear();
39
40 return FALSE;
41}
42
43BOOL INSTAPI SQLRemoveDefaultDataSource( void )
44{
45 inst_logClear();
46
47 return SQLConfigDataSource (NULL, ODBC_REMOVE_DEFAULT_DSN, NULL, NULL);
48}
49
50BOOL INSTAPI SQLInstallDriverW (LPCWSTR lpszInfFile,
51 LPCWSTR lpszDriver,
52 LPWSTR lpszPath,
53 WORD cbPathMax,
54 WORD * pcbPathOut)
55{
56 return FALSE;
57}
58
59BOOL INSTAPI SQLInstallODBCW (HWND hwndParent,
60 LPCWSTR lpszInfFile,
61 LPCWSTR lpszSrcPath,
62 LPCWSTR lpszDrivers)
63{
64 return FALSE;
65}
66
67BOOL INSTAPI SQLInstallTranslatorW(LPCWSTR lpszInfFile,
68 LPCWSTR lpszTranslator,
69 LPCWSTR lpszPathIn,
70 LPWSTR lpszPathOut,
71 WORD cbPathOutMax,
72 WORD *pcbPathOut,
73 WORD fRequest,
74 LPDWORD lpdwUsageCount)
75{
76 inst_logClear();
77
78 return FALSE;
79}
80