ReactOS 0.4.16-dev-424-ge4748fe
|
#include <sql.h>
Go to the source code of this file.
Definition at line 11 of file odbcinst.h.
#define ODBC_ADD_DSN 1 |
Definition at line 12 of file odbcinst.h.
#define ODBC_ADD_SYS_DSN 4 |
Definition at line 16 of file odbcinst.h.
#define ODBC_BOTH_DSN 0 |
Definition at line 28 of file odbcinst.h.
#define ODBC_CONFIG_DRIVER 3 |
Definition at line 23 of file odbcinst.h.
#define ODBC_CONFIG_DRIVER_MAX 100 |
Definition at line 24 of file odbcinst.h.
#define ODBC_CONFIG_DSN 2 |
Definition at line 13 of file odbcinst.h.
#define ODBC_CONFIG_SYS_DSN 5 |
Definition at line 17 of file odbcinst.h.
#define ODBC_ERROR_COMPONENT_NOT_FOUND 6 |
Definition at line 36 of file odbcinst.h.
#define ODBC_ERROR_CREATE_DSN_FAILED 18 |
Definition at line 48 of file odbcinst.h.
#define ODBC_ERROR_GENERAL_ERR 1 |
Definition at line 31 of file odbcinst.h.
#define ODBC_ERROR_INVALID_BUFF_LEN 2 |
Definition at line 32 of file odbcinst.h.
#define ODBC_ERROR_INVALID_DSN 9 |
Definition at line 39 of file odbcinst.h.
#define ODBC_ERROR_INVALID_HWND 3 |
Definition at line 33 of file odbcinst.h.
#define ODBC_ERROR_INVALID_INF 10 |
Definition at line 40 of file odbcinst.h.
#define ODBC_ERROR_INVALID_KEYWORD_VALUE 8 |
Definition at line 38 of file odbcinst.h.
#define ODBC_ERROR_INVALID_LOG_FILE 15 |
Definition at line 45 of file odbcinst.h.
#define ODBC_ERROR_INVALID_NAME 7 |
Definition at line 37 of file odbcinst.h.
#define ODBC_ERROR_INVALID_PARAM_SEQUENCE 14 |
Definition at line 44 of file odbcinst.h.
#define ODBC_ERROR_INVALID_PATH 12 |
Definition at line 42 of file odbcinst.h.
#define ODBC_ERROR_INVALID_REQUEST_TYPE 5 |
Definition at line 35 of file odbcinst.h.
#define ODBC_ERROR_INVALID_STR 4 |
Definition at line 34 of file odbcinst.h.
#define ODBC_ERROR_LOAD_LIB_FAILED 13 |
Definition at line 43 of file odbcinst.h.
#define ODBC_ERROR_OUT_OF_MEM 21 |
Definition at line 51 of file odbcinst.h.
#define ODBC_ERROR_OUTPUT_STRING_TRUNCATED 22 |
Definition at line 52 of file odbcinst.h.
#define ODBC_ERROR_REMOVE_DSN_FAILED 20 |
Definition at line 50 of file odbcinst.h.
#define ODBC_ERROR_REQUEST_FAILED 11 |
Definition at line 41 of file odbcinst.h.
#define ODBC_ERROR_USAGE_UPDATE_FAILED 17 |
Definition at line 47 of file odbcinst.h.
#define ODBC_ERROR_USER_CANCELED 16 |
Definition at line 46 of file odbcinst.h.
#define ODBC_ERROR_WRITING_SYSINFO_FAILED 19 |
Definition at line 49 of file odbcinst.h.
#define ODBC_INSTALL_COMPLETE 2 |
Definition at line 20 of file odbcinst.h.
#define ODBC_INSTALL_DRIVER 1 |
Definition at line 21 of file odbcinst.h.
#define ODBC_INSTALL_INQUIRY 1 |
Definition at line 19 of file odbcinst.h.
#define ODBC_REMOVE_DEFAULT_DSN 7 |
Definition at line 27 of file odbcinst.h.
#define ODBC_REMOVE_DRIVER 2 |
Definition at line 22 of file odbcinst.h.
#define ODBC_REMOVE_DSN 3 |
Definition at line 14 of file odbcinst.h.
#define ODBC_REMOVE_SYS_DSN 6 |
Definition at line 18 of file odbcinst.h.
#define ODBC_SYSTEM_DSN 2 |
Definition at line 30 of file odbcinst.h.
#define ODBC_USER_DSN 1 |
Definition at line 29 of file odbcinst.h.
#define ODBCVER 0x0351 |
Definition at line 9 of file odbcinst.h.
BOOL INSTAPI SQLConfigDataSource | ( | HWND | hwndParent, |
WORD | fRequest, | ||
LPCSTR | lpszDriver, | ||
LPCSTR | lpszAttributes | ||
) |
Definition at line 240 of file odbccp32.c.
Referenced by test_SQLConfigDataSource().
BOOL INSTAPI SQLConfigDataSourceW | ( | HWND | hwndParent, |
WORD | fRequest, | ||
LPCWSTR | lpszDriver, | ||
LPCWSTR | lpszAttributes | ||
) |
Definition at line 225 of file odbccp32.c.
Referenced by ITERATE_InstallODBCDataSource(), and ITERATE_RemoveODBCDataSource().
BOOL INSTAPI SQLConfigDriver | ( | HWND | hwnd, |
WORD | request, | ||
LPCSTR | driver, | ||
LPCSTR | args, | ||
LPSTR | msg, | ||
WORD | msgmax, | ||
WORD * | msgout | ||
) |
Definition at line 397 of file odbccp32.c.
Referenced by test_SQLInstallDriverEx().
BOOL INSTAPI SQLConfigDriverW | ( | HWND | hwnd, |
WORD | request, | ||
LPCWSTR | driver, | ||
LPCWSTR | args, | ||
LPWSTR | msg, | ||
WORD | msgmax, | ||
WORD * | msgout | ||
) |
Definition at line 365 of file odbccp32.c.
Definition at line 459 of file odbccp32.c.
Definition at line 451 of file odbccp32.c.
BOOL INSTAPI SQLGetAvailableDrivers | ( | LPCSTR | lpszInfFile, |
LPSTR | lpszBuf, | ||
WORD | cbBufMax, | ||
WORD * | pcbBufOut | ||
) |
Definition at line 476 of file odbccp32.c.
BOOL INSTAPI SQLGetAvailableDriversW | ( | LPCWSTR | lpszInfFile, |
LPWSTR | lpszBuf, | ||
WORD | cbBufMax, | ||
WORD * | pcbBufOut | ||
) |
Definition at line 467 of file odbccp32.c.
Definition at line 485 of file odbccp32.c.
Referenced by test_SQLConfigMode().
int INSTAPI SQLGetPrivateProfileString | ( | LPCSTR | section, |
LPCSTR | entry, | ||
LPCSTR | defvalue, | ||
LPSTR | buff, | ||
int | buff_len, | ||
LPCSTR | filename | ||
) |
Definition at line 687 of file odbccp32.c.
Referenced by test_SQLGetPrivateProfileString().
int INSTAPI SQLGetPrivateProfileStringW | ( | LPCWSTR | section, |
LPCWSTR | entry, | ||
LPCWSTR | defvalue, | ||
LPWSTR | buff, | ||
int | buff_len, | ||
LPCWSTR | filename | ||
) |
Definition at line 615 of file odbccp32.c.
Referenced by test_SQLGetPrivateProfileStringW().
BOOL INSTAPI SQLGetTranslator | ( | HWND | hwndParent, |
LPSTR | lpszName, | ||
WORD | cbNameMax, | ||
WORD * | pcbNameOut, | ||
LPSTR | lpszPath, | ||
WORD | cbPathMax, | ||
WORD * | pcbPathOut, | ||
DWORD * | pvOption | ||
) |
Definition at line 779 of file odbccp32.c.
BOOL INSTAPI SQLGetTranslatorW | ( | HWND | hwndParent, |
LPWSTR | lpszName, | ||
WORD | cbNameMax, | ||
WORD * | pcbNameOut, | ||
LPWSTR | lpszPath, | ||
WORD | cbPathMax, | ||
WORD * | pcbPathOut, | ||
DWORD * | pvOption | ||
) |
Definition at line 768 of file odbccp32.c.
BOOL INSTAPI SQLInstallDriver | ( | LPCSTR | lpszInfFile, |
LPCSTR | lpszDriver, | ||
LPSTR | lpszPath, | ||
WORD | cbPathMax, | ||
WORD * | pcbPathOut | ||
) |
Definition at line 806 of file odbccp32.c.
BOOL INSTAPI SQLInstallDriverEx | ( | LPCSTR | lpszDriver, |
LPCSTR | lpszPathIn, | ||
LPSTR | lpszPathOut, | ||
WORD | cbPathOutMax, | ||
WORD * | pcbPathOut, | ||
WORD | fRequest, | ||
LPDWORD | lpdwUsageCount | ||
) |
Definition at line 955 of file odbccp32.c.
Referenced by SQLInstallDriver(), test_SQLGetInstalledDrivers(), and test_SQLInstallDriverEx().
BOOL INSTAPI SQLInstallDriverExW | ( | LPCWSTR | lpszDriver, |
LPCWSTR | lpszPathIn, | ||
LPWSTR | lpszPathOut, | ||
WORD | cbPathOutMax, | ||
WORD * | pcbPathOut, | ||
WORD | fRequest, | ||
LPDWORD | lpdwUsageCount | ||
) |
Definition at line 928 of file odbccp32.c.
Referenced by ITERATE_InstallODBCDriver(), SQLInstallDriverEx(), and SQLInstallDriverW().
Definition at line 1025 of file odbccp32.c.
Referenced by test_SQLInstallDriverManager().
Definition at line 999 of file odbccp32.c.
Referenced by SQLInstallDriverManager().
BOOL INSTAPI SQLInstallDriverW | ( | LPCWSTR | lpszInfFile, |
LPCWSTR | lpszDriver, | ||
LPWSTR | lpszPath, | ||
WORD | cbPathMax, | ||
WORD * | pcbPathOut | ||
) |
Definition at line 790 of file odbccp32.c.
SQLRETURN INSTAPI SQLInstallerError | ( | WORD | iError, |
DWORD * | pfErrorCode, | ||
LPSTR | lpszErrorMsg, | ||
WORD | cbErrorMsgMax, | ||
WORD * | pcbErrorMsg | ||
) |
Definition at line 1138 of file odbccp32.c.
Referenced by check_error_(), test_SQLConfigDataSource(), and test_SQLInstallerError().
SQLRETURN INSTAPI SQLInstallerErrorW | ( | WORD | iError, |
DWORD * | pfErrorCode, | ||
LPWSTR | lpszErrorMsg, | ||
WORD | cbErrorMsgMax, | ||
WORD * | pcbErrorMsg | ||
) |
Definition at line 1079 of file odbccp32.c.
Referenced by SQLInstallerError(), test_SQLConfigMode(), test_SQLGetInstalledDrivers(), test_SQLInstallDriverEx(), test_SQLInstallDriverManager(), test_SQLInstallTranslatorEx(), and test_SQLWritePrivateProfileString().
BOOL INSTAPI SQLInstallODBC | ( | HWND | hwndParent, |
LPCSTR | lpszInfFile, | ||
LPCSTR | lpszSrcPath, | ||
LPCSTR | lpszDrivers | ||
) |
Definition at line 1069 of file odbccp32.c.
BOOL INSTAPI SQLInstallODBCW | ( | HWND | hwndParent, |
LPCWSTR | lpszInfFile, | ||
LPCWSTR | lpszSrcPath, | ||
LPCWSTR | lpszDrivers | ||
) |
Definition at line 1059 of file odbccp32.c.
BOOL INSTAPI SQLInstallTranslator | ( | LPCSTR | lpszInfFile, |
LPCSTR | lpszTranslator, | ||
LPCSTR | lpszPathIn, | ||
LPSTR | lpszPathOut, | ||
WORD | cbPathOutMax, | ||
WORD * | pcbPathOut, | ||
WORD | fRequest, | ||
LPDWORD | lpdwUsageCount | ||
) |
Definition at line 1241 of file odbccp32.c.
BOOL INSTAPI SQLInstallTranslatorEx | ( | LPCSTR | lpszTranslator, |
LPCSTR | lpszPathIn, | ||
LPSTR | lpszPathOut, | ||
WORD | cbPathOutMax, | ||
WORD * | pcbPathOut, | ||
WORD | fRequest, | ||
LPDWORD | lpdwUsageCount | ||
) |
Definition at line 1193 of file odbccp32.c.
Referenced by SQLInstallTranslator(), and test_SQLInstallTranslatorEx().
BOOL INSTAPI SQLInstallTranslatorExW | ( | LPCWSTR | lpszTranslator, |
LPCWSTR | lpszPathIn, | ||
LPWSTR | lpszPathOut, | ||
WORD | cbPathOutMax, | ||
WORD * | pcbPathOut, | ||
WORD | fRequest, | ||
LPDWORD | lpdwUsageCount | ||
) |
Definition at line 1166 of file odbccp32.c.
Referenced by ITERATE_InstallODBCTranslator(), SQLInstallTranslatorEx(), and SQLInstallTranslatorW().
BOOL INSTAPI SQLInstallTranslatorW | ( | LPCWSTR | lpszInfFile, |
LPCWSTR | lpszTranslator, | ||
LPCWSTR | lpszPathIn, | ||
LPWSTR | lpszPathOut, | ||
WORD | cbPathOutMax, | ||
WORD * | pcbPathOut, | ||
WORD | fRequest, | ||
LPDWORD | lpdwUsageCount | ||
) |
Definition at line 1257 of file odbccp32.c.
Definition at line 1273 of file odbccp32.c.
Definition at line 1288 of file odbccp32.c.
Definition at line 1281 of file odbccp32.c.
BOOL INSTAPI SQLReadFileDSN | ( | LPCSTR | lpszFileName, |
LPCSTR | lpszAppName, | ||
LPCSTR | lpszKeyName, | ||
LPSTR | lpszString, | ||
WORD | cbString, | ||
WORD * | pcbString | ||
) |
Definition at line 1306 of file odbccp32.c.
BOOL INSTAPI SQLReadFileDSNW | ( | LPCWSTR | lpszFileName, |
LPCWSTR | lpszAppName, | ||
LPCWSTR | lpszKeyName, | ||
LPWSTR | lpszString, | ||
WORD | cbString, | ||
WORD * | pcbString | ||
) |
Definition at line 1295 of file odbccp32.c.
Definition at line 1317 of file odbccp32.c.
Definition at line 1380 of file odbccp32.c.
Referenced by test_SQLGetInstalledDrivers(), and test_SQLInstallDriverEx().
Definition at line 1397 of file odbccp32.c.
Definition at line 1325 of file odbccp32.c.
Referenced by ITERATE_RemoveODBCDriver(), and SQLRemoveDriver().
Definition at line 1413 of file odbccp32.c.
Definition at line 1405 of file odbccp32.c.
Definition at line 1486 of file odbccp32.c.
Referenced by test_SQLInstallTranslatorEx().
Definition at line 1501 of file odbccp32.c.
Referenced by test_SQLConfigMode().
Definition at line 1532 of file odbccp32.c.
Referenced by test_SQLValidDSN().
Definition at line 1518 of file odbccp32.c.
Referenced by test_SQLValidDSNW().
Definition at line 1553 of file odbccp32.c.
Definition at line 1546 of file odbccp32.c.
BOOL INSTAPI SQLWriteFileDSN | ( | LPCSTR | lpszFileName, |
LPCSTR | lpszAppName, | ||
LPCSTR | lpszKeyName, | ||
LPCSTR | lpszString | ||
) |
Definition at line 1570 of file odbccp32.c.
BOOL INSTAPI SQLWriteFileDSNW | ( | LPCWSTR | lpszFileName, |
LPCWSTR | lpszAppName, | ||
LPCWSTR | lpszKeyName, | ||
LPCWSTR | lpszString | ||
) |
Definition at line 1560 of file odbccp32.c.
BOOL INSTAPI SQLWritePrivateProfileString | ( | LPCSTR | lpszSection, |
LPCSTR | lpszEntry, | ||
LPCSTR | lpszString, | ||
LPCSTR | lpszFilename | ||
) |
Definition at line 1623 of file odbccp32.c.
Referenced by test_SQLGetPrivateProfileString(), test_SQLGetPrivateProfileStringW(), and test_SQLWritePrivateProfileString().
BOOL INSTAPI SQLWritePrivateProfileStringW | ( | LPCWSTR | lpszSection, |
LPCWSTR | lpszEntry, | ||
LPCWSTR | lpszString, | ||
LPCWSTR | lpszFilename | ||
) |
Definition at line 1580 of file odbccp32.c.
Referenced by SQLWritePrivateProfileString().