Rework RegisterFonts to use MSI_IterateRecords.
[wine.git] / include / odbcinst.h
blobf29617202db63a7212a4255d9c731d1a385c35d6
1 /*
2 * Copyright (C) 2005 Mike McCormack
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Lesser General Public
6 * License as published by the Free Software Foundation; either
7 * version 2.1 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Lesser General Public License for more details.
14 * You should have received a copy of the GNU Lesser General Public
15 * License along with this library; if not, write to the Free Software
16 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
19 #ifndef __WINE_ODBCINST_H
20 #define __WINE_ODBCINST_H
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
26 #include "sql.h"
28 BOOL WINAPI ODBCCPlApplet(LONG,LONG,LONG*,LONG*);
29 BOOL WINAPI SQLConfigDataSource(HWND,WORD,LPCSTR,LPCSTR);
30 BOOL WINAPI SQLConfigDataSourceW(HWND,WORD,LPCWSTR,LPCWSTR);
31 BOOL WINAPI SQLConfigDriver(HWND,WORD,LPCSTR,LPCSTR,LPSTR,WORD,WORD*);
32 BOOL WINAPI SQLConfigDriverW(HWND,WORD,LPCWSTR,LPCWSTR,LPWSTR,WORD,WORD*);
33 BOOL WINAPI SQLCreateDataSource(HWND,LPCSTR);
34 BOOL WINAPI SQLCreateDataSourceW(HWND,LPCWSTR);
35 BOOL WINAPI SQLGetConfigMode(UWORD*);
36 BOOL WINAPI SQLGetInstalledDrivers(LPSTR,WORD,WORD*);
37 BOOL WINAPI SQLGetInstalledDriversW(LPWSTR,WORD,WORD*);
38 int WINAPI SQLGetPrivateProfileString(LPCSTR,LPCSTR,LPCSTR,LPCSTR,int,LPCSTR);
39 int WINAPI SQLGetPrivateProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR,int,LPCWSTR);
40 BOOL WINAPI SQLGetTranslator(HWND,LPSTR,WORD,WORD*,LPSTR,WORD,WORD*,DWORD*);
41 BOOL WINAPI SQLGetTranslatorW(HWND,LPWSTR,WORD,WORD*,LPWSTR,WORD,WORD*,DWORD*);
42 BOOL WINAPI SQLInstallDriverEx(LPCSTR,LPCSTR,LPSTR,WORD,WORD*,WORD,LPDWORD);
43 BOOL WINAPI SQLInstallDriverExW(LPCWSTR,LPCWSTR,LPWSTR,WORD,WORD*,WORD,LPDWORD);
44 BOOL WINAPI SQLInstallDriverManager(LPSTR,WORD,WORD*);
45 BOOL WINAPI SQLInstallDriverManagerW(LPWSTR,WORD,WORD*);
46 SQLRETURN WINAPI SQLInstallerError(WORD,DWORD*,LPSTR,WORD,WORD*);
47 SQLRETURN WINAPI SQLInstallerErrorW(WORD,DWORD*,LPWSTR,WORD,WORD*);
48 BOOL WINAPI SQLInstallTranslatorEx(LPCSTR,LPCSTR,LPSTR,WORD,WORD*,WORD,LPDWORD);
49 BOOL WINAPI SQLInstallTranslatorExW(LPCWSTR,LPCWSTR,LPWSTR,WORD,WORD*,WORD,LPDWORD);
50 BOOL WINAPI SQLInstallTranslator(LPCSTR,LPCSTR,LPCSTR,LPSTR,WORD,WORD*,WORD,LPDWORD);
51 BOOL WINAPI SQLInstallTranslatorW(LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,WORD,WORD*,WORD,LPDWORD);
52 BOOL WINAPI SQLManageDataSources(HWND hwnd);
53 SQLRETURN WINAPI SQLPostInstallerError(DWORD,LPCSTR);
54 SQLRETURN WINAPI SQLPostInstallerErrorW(DWORD,LPCWSTR);
55 BOOL WINAPI SQLReadFileDSN(LPCSTR,LPCSTR,LPCSTR,LPSTR,WORD,WORD*);
56 BOOL WINAPI SQLReadFileDSNW(LPCWSTR,LPCWSTR,LPCWSTR,LPWSTR,WORD,WORD*);
57 BOOL WINAPI SQLRemoveDefaultDataSource(void);
58 BOOL WINAPI SQLRemoveDriver(LPCSTR,BOOL,LPDWORD);
59 BOOL WINAPI SQLRemoveDriverW(LPCWSTR,BOOL,LPDWORD);
60 BOOL WINAPI SQLRemoveDriverManager(LPDWORD);
61 BOOL WINAPI SQLRemoveDSNFromIni(LPCSTR);
62 BOOL WINAPI SQLRemoveDSNFromIniW(LPCWSTR);
63 BOOL WINAPI SQLRemoveTranslator(LPCSTR,LPDWORD);
64 BOOL WINAPI SQLRemoveTranslatorW(LPCWSTR,LPDWORD);
65 BOOL WINAPI SQLSetConfigMode(UWORD);
66 BOOL WINAPI SQLValidDSN(LPCSTR);
67 BOOL WINAPI SQLValidDSNW(LPCWSTR);
68 BOOL WINAPI SQLWriteDSNToIni(LPCSTR,LPCSTR);
69 BOOL WINAPI SQLWriteDSNToIniW(LPCWSTR,LPCWSTR);
70 BOOL WINAPI SQLWriteFileDSN(LPCSTR,LPCSTR,LPCSTR,LPCSTR);
71 BOOL WINAPI SQLWriteFileDSNW(LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR);
72 BOOL WINAPI SQLWritePrivateProfileString(LPCSTR,LPCSTR,LPCSTR,LPCSTR);
73 BOOL WINAPI SQLWritePrivateProfileStringW(LPCWSTR,LPCWSTR,LPCWSTR,LPCWSTR);
75 #ifdef __cplusplus
77 #endif
79 #endif /*__WINE_ODBCINST_H*/