|
ReactOS 0.4.17-dev-966-gf06eace
|
#include <assert.h>#include <stdarg.h>#include "windef.h"#include "winbase.h"#include "winreg.h"#include "winnls.h"#include "sqlext.h"#include "wine/debug.h"#include "odbcinst.h"
Go to the source code of this file.
Macros | |
| #define | COBJMACROS |
Variables | |
| static UWORD | config_mode = ODBC_BOTH_DSN |
| static int | num_errors |
| static int | error_code [8] |
| static const WCHAR * | error_msg [8] |
| static WORD | request |
| static WORD const char * | driver |
| static WORD const char const char * | attr |
| #define COBJMACROS |
Definition at line 26 of file odbccp32.c.
Definition at line 71 of file odbccp32.c.
Referenced by ODBCCPlApplet(), SQLConfigDataSource(), SQLConfigDataSourceW(), SQLConfigDriver(), SQLConfigDriverW(), SQLCreateDataSource(), SQLCreateDataSourceW(), SQLGetAvailableDrivers(), SQLGetAvailableDriversW(), SQLGetConfigMode(), SQLGetInstalledDriversW(), SQLGetPrivateProfileString(), SQLGetPrivateProfileStringW(), SQLGetTranslator(), SQLGetTranslatorW(), SQLInstallDriver(), SQLInstallDriverEx(), SQLInstallDriverExW(), SQLInstallDriverManager(), SQLInstallDriverManagerW(), SQLInstallDriverW(), SQLInstallODBC(), SQLInstallODBCW(), SQLInstallTranslator(), SQLInstallTranslatorEx(), SQLInstallTranslatorExW(), SQLInstallTranslatorW(), SQLManageDataSources(), SQLReadFileDSN(), SQLReadFileDSNW(), SQLRemoveDefaultDataSource(), SQLRemoveDriver(), SQLRemoveDriverManager(), SQLRemoveDriverW(), SQLRemoveDSNFromIni(), SQLRemoveDSNFromIniW(), SQLRemoveTranslator(), SQLRemoveTranslatorW(), SQLSetConfigMode(), SQLValidDSN(), SQLValidDSNW(), SQLWriteDSNToIniW(), SQLWriteFileDSN(), SQLWriteFileDSNW(), SQLWritePrivateProfileString(), and SQLWritePrivateProfileStringW().
Definition at line 379 of file odbccp32.c.
Referenced by SQLConfigDataSource(), and SQLConfigDataSourceW().
|
static |
Definition at line 746 of file odbccp32.c.
Referenced by SQLGetPrivateProfileString(), and SQLGetPrivateProfileStringW().
Definition at line 242 of file odbccp32.c.
Referenced by SQLConfigDataSource(), SQLConfigDataSourceW(), SQLConfigDriver(), and SQLConfigDriverW().
Definition at line 357 of file odbccp32.c.
Referenced by SQLConfigDataSource(), and SQLConfigDataSourceW().
Definition at line 93 of file odbccp32.c.
Definition at line 60 of file odbccp32.c.
Referenced by load_config_driver(), SQLConfigDataSource(), SQLConfigDataSourceW(), SQLConfigDriver(), SQLConfigDriverW(), SQLGetInstalledDrivers(), SQLGetInstalledDriversW(), SQLRemoveDSNFromIni(), SQLRemoveDSNFromIniW(), SQLRemoveTranslatorW(), SQLSetConfigMode(), SQLWriteDSNToIni(), SQLWriteDSNToIniW(), SQLWritePrivateProfileStringW(), and write_config_value().
Definition at line 442 of file odbccp32.c.
Referenced by test_SQLConfigDataSource().
Definition at line 385 of file odbccp32.c.
Referenced by ITERATE_InstallODBCDataSource(), and ITERATE_RemoveODBCDataSource().
| BOOL WINAPI SQLConfigDriver | ( | HWND | hwnd, |
| WORD | request, | ||
| LPCSTR | driver, | ||
| LPCSTR | args, | ||
| LPSTR | msg, | ||
| WORD | msgmax, | ||
| WORD * | msgout | ||
| ) |
Definition at line 545 of file odbccp32.c.
Referenced by test_SQLInstallDriverEx().
| BOOL WINAPI SQLConfigDriverW | ( | HWND | hwnd, |
| WORD | request, | ||
| LPCWSTR | driver, | ||
| LPCWSTR | args, | ||
| LPWSTR | msg, | ||
| WORD | msgmax, | ||
| WORD * | msgout | ||
| ) |
Definition at line 513 of file odbccp32.c.
Definition at line 607 of file odbccp32.c.
Definition at line 599 of file odbccp32.c.
| BOOL WINAPI SQLGetAvailableDrivers | ( | LPCSTR | lpszInfFile, |
| LPSTR | lpszBuf, | ||
| WORD | cbBufMax, | ||
| WORD * | pcbBufOut | ||
| ) |
Definition at line 624 of file odbccp32.c.
| BOOL WINAPI SQLGetAvailableDriversW | ( | LPCWSTR | lpszInfFile, |
| LPWSTR | lpszBuf, | ||
| WORD | cbBufMax, | ||
| WORD * | pcbBufOut | ||
| ) |
Definition at line 615 of file odbccp32.c.
Definition at line 633 of file odbccp32.c.
Referenced by test_SQLConfigMode(), and test_SQLGetPrivateProfileStringW().
Definition at line 710 of file odbccp32.c.
Referenced by odbc_absent(), odbc_present(), test_install_remove_odbc(), test_SQLGetInstalledDrivers(), and test_SQLInstallerError().
Definition at line 642 of file odbccp32.c.
Referenced by SQLGetInstalledDrivers().
| int WINAPI SQLGetPrivateProfileString | ( | LPCSTR | section, |
| LPCSTR | entry, | ||
| LPCSTR | defvalue, | ||
| LPSTR | buff, | ||
| int | buff_len, | ||
| LPCSTR | filename | ||
| ) |
Definition at line 847 of file odbccp32.c.
Referenced by test_SQLGetPrivateProfileString().
| int WINAPI SQLGetPrivateProfileStringW | ( | LPCWSTR | section, |
| LPCWSTR | entry, | ||
| LPCWSTR | defvalue, | ||
| LPWSTR | buff, | ||
| int | buff_len, | ||
| LPCWSTR | filename | ||
| ) |
Definition at line 765 of file odbccp32.c.
Referenced by test_SQLGetPrivateProfileStringW().
| BOOL WINAPI SQLGetTranslator | ( | HWND | hwndParent, |
| LPSTR | lpszName, | ||
| WORD | cbNameMax, | ||
| WORD * | pcbNameOut, | ||
| LPSTR | lpszPath, | ||
| WORD | cbPathMax, | ||
| WORD * | pcbPathOut, | ||
| DWORD * | pvOption | ||
| ) |
Definition at line 951 of file odbccp32.c.
| BOOL WINAPI SQLGetTranslatorW | ( | HWND | hwndParent, |
| LPWSTR | lpszName, | ||
| WORD | cbNameMax, | ||
| WORD * | pcbNameOut, | ||
| LPWSTR | lpszPath, | ||
| WORD | cbPathMax, | ||
| WORD * | pcbPathOut, | ||
| DWORD * | pvOption | ||
| ) |
Definition at line 940 of file odbccp32.c.
|
static |
Definition at line 190 of file odbccp32.c.
Referenced by SQLInstallerError().
Definition at line 152 of file odbccp32.c.
Referenced by SQLInstallDriverEx(), SQLInstallTranslatorEx(), SQLRemoveDriver(), SQLRemoveDSNFromIni(), SQLRemoveTranslator(), and SQLWriteDSNToIni().
Definition at line 100 of file odbccp32.c.
Referenced by SQLConfigDataSource(), SQLInstallDriverEx(), and SQLInstallTranslatorEx().
Definition at line 120 of file odbccp32.c.
Referenced by SQLConfigDataSourceW().
| BOOL WINAPI SQLInstallDriver | ( | LPCSTR | lpszInfFile, |
| LPCSTR | lpszDriver, | ||
| LPSTR | lpszPath, | ||
| WORD | cbPathMax, | ||
| WORD * | pcbPathOut | ||
| ) |
Definition at line 978 of file odbccp32.c.
| BOOL WINAPI SQLInstallDriverEx | ( | LPCSTR | lpszDriver, |
| LPCSTR | lpszPathIn, | ||
| LPSTR | lpszPathOut, | ||
| WORD | cbPathOutMax, | ||
| WORD * | pcbPathOut, | ||
| WORD | fRequest, | ||
| LPDWORD | lpdwUsageCount | ||
| ) |
Definition at line 1138 of file odbccp32.c.
Referenced by SQLInstallDriver(), test_SQLGetInstalledDrivers(), and test_SQLInstallDriverEx().
| BOOL WINAPI SQLInstallDriverExW | ( | LPCWSTR | lpszDriver, |
| LPCWSTR | lpszPathIn, | ||
| LPWSTR | lpszPathOut, | ||
| WORD | cbPathOutMax, | ||
| WORD * | pcbPathOut, | ||
| WORD | fRequest, | ||
| LPDWORD | lpdwUsageCount | ||
| ) |
Definition at line 1111 of file odbccp32.c.
Referenced by ITERATE_InstallODBCDriver(), SQLInstallDriverEx(), and SQLInstallDriverW().
Definition at line 1208 of file odbccp32.c.
Referenced by test_SQLInstallDriverManager().
Definition at line 1182 of file odbccp32.c.
Referenced by SQLInstallDriverManager().
| BOOL WINAPI SQLInstallDriverW | ( | LPCWSTR | lpszInfFile, |
| LPCWSTR | lpszDriver, | ||
| LPWSTR | lpszPath, | ||
| WORD | cbPathMax, | ||
| WORD * | pcbPathOut | ||
| ) |
Definition at line 962 of file odbccp32.c.
| SQLRETURN WINAPI SQLInstallerError | ( | WORD | iError, |
| DWORD * | pfErrorCode, | ||
| LPSTR | lpszErrorMsg, | ||
| WORD | cbErrorMsgMax, | ||
| WORD * | pcbErrorMsg | ||
| ) |
Definition at line 1321 of file odbccp32.c.
Referenced by check_error_(), test_SQLConfigDataSource(), and test_SQLInstallerError().
| SQLRETURN WINAPI SQLInstallerErrorW | ( | WORD | iError, |
| DWORD * | pfErrorCode, | ||
| LPWSTR | lpszErrorMsg, | ||
| WORD | cbErrorMsgMax, | ||
| WORD * | pcbErrorMsg | ||
| ) |
Definition at line 1262 of file odbccp32.c.
Referenced by SQLInstallerError(), test_SQLConfigMode(), test_SQLGetInstalledDrivers(), test_SQLGetPrivateProfileStringW(), test_SQLInstallDriverEx(), test_SQLInstallDriverManager(), test_SQLInstallTranslatorEx(), and test_SQLWritePrivateProfileString().
| BOOL WINAPI SQLInstallODBC | ( | HWND | hwndParent, |
| LPCSTR | lpszInfFile, | ||
| LPCSTR | lpszSrcPath, | ||
| LPCSTR | lpszDrivers | ||
| ) |
Definition at line 1252 of file odbccp32.c.
| BOOL WINAPI SQLInstallODBCW | ( | HWND | hwndParent, |
| LPCWSTR | lpszInfFile, | ||
| LPCWSTR | lpszSrcPath, | ||
| LPCWSTR | lpszDrivers | ||
| ) |
Definition at line 1242 of file odbccp32.c.
| BOOL WINAPI SQLInstallTranslator | ( | LPCSTR | lpszInfFile, |
| LPCSTR | lpszTranslator, | ||
| LPCSTR | lpszPathIn, | ||
| LPSTR | lpszPathOut, | ||
| WORD | cbPathOutMax, | ||
| WORD * | pcbPathOut, | ||
| WORD | fRequest, | ||
| LPDWORD | lpdwUsageCount | ||
| ) |
Definition at line 1424 of file odbccp32.c.
| BOOL WINAPI SQLInstallTranslatorEx | ( | LPCSTR | lpszTranslator, |
| LPCSTR | lpszPathIn, | ||
| LPSTR | lpszPathOut, | ||
| WORD | cbPathOutMax, | ||
| WORD * | pcbPathOut, | ||
| WORD | fRequest, | ||
| LPDWORD | lpdwUsageCount | ||
| ) |
Definition at line 1376 of file odbccp32.c.
Referenced by SQLInstallTranslator(), and test_SQLInstallTranslatorEx().
| BOOL WINAPI SQLInstallTranslatorExW | ( | LPCWSTR | lpszTranslator, |
| LPCWSTR | lpszPathIn, | ||
| LPWSTR | lpszPathOut, | ||
| WORD | cbPathOutMax, | ||
| WORD * | pcbPathOut, | ||
| WORD | fRequest, | ||
| LPDWORD | lpdwUsageCount | ||
| ) |
Definition at line 1349 of file odbccp32.c.
Referenced by ITERATE_InstallODBCTranslator(), SQLInstallTranslatorEx(), and SQLInstallTranslatorW().
| BOOL WINAPI SQLInstallTranslatorW | ( | LPCWSTR | lpszInfFile, |
| LPCWSTR | lpszTranslator, | ||
| LPCWSTR | lpszPathIn, | ||
| LPWSTR | lpszPathOut, | ||
| WORD | cbPathOutMax, | ||
| WORD * | pcbPathOut, | ||
| WORD | fRequest, | ||
| LPDWORD | lpdwUsageCount | ||
| ) |
Definition at line 1440 of file odbccp32.c.
Definition at line 1456 of file odbccp32.c.
Definition at line 1471 of file odbccp32.c.
Definition at line 1464 of file odbccp32.c.
| BOOL WINAPI SQLReadFileDSN | ( | LPCSTR | lpszFileName, |
| LPCSTR | lpszAppName, | ||
| LPCSTR | lpszKeyName, | ||
| LPSTR | lpszString, | ||
| WORD | cbString, | ||
| WORD * | pcbString | ||
| ) |
Definition at line 1489 of file odbccp32.c.
| BOOL WINAPI SQLReadFileDSNW | ( | LPCWSTR | lpszFileName, |
| LPCWSTR | lpszAppName, | ||
| LPCWSTR | lpszKeyName, | ||
| LPWSTR | lpszString, | ||
| WORD | cbString, | ||
| WORD * | pcbString | ||
| ) |
Definition at line 1478 of file odbccp32.c.
Definition at line 1500 of file odbccp32.c.
Definition at line 1563 of file odbccp32.c.
Referenced by test_SQLGetInstalledDrivers(), and test_SQLInstallDriverEx().
Definition at line 1580 of file odbccp32.c.
Definition at line 1508 of file odbccp32.c.
Referenced by ITERATE_RemoveODBCDriver(), and SQLRemoveDriver().
Definition at line 1640 of file odbccp32.c.
Referenced by test_SQLWriteDSNToIni().
Definition at line 1588 of file odbccp32.c.
Referenced by SQLRemoveDSNFromIni(), and test_SQLWriteDSNToIni().
Definition at line 1725 of file odbccp32.c.
Referenced by test_SQLInstallTranslatorEx().
Definition at line 1660 of file odbccp32.c.
Referenced by ITERATE_RemoveODBCTranslator(), and SQLRemoveTranslator().
Definition at line 1740 of file odbccp32.c.
Referenced by test_SQLConfigMode(), test_SQLGetPrivateProfileStringW(), and test_SQLWriteDSNToIni().
Definition at line 1770 of file odbccp32.c.
Referenced by test_SQLValidDSN().
Definition at line 1757 of file odbccp32.c.
Referenced by SQLRemoveDSNFromIniW(), SQLWriteDSNToIniW(), and test_SQLValidDSNW().
Definition at line 1863 of file odbccp32.c.
Referenced by test_SQLWriteDSNToIni().
Definition at line 1784 of file odbccp32.c.
Referenced by SQLWriteDSNToIni().
| BOOL WINAPI SQLWriteFileDSN | ( | LPCSTR | lpszFileName, |
| LPCSTR | lpszAppName, | ||
| LPCSTR | lpszKeyName, | ||
| LPCSTR | lpszString | ||
| ) |
Definition at line 1893 of file odbccp32.c.
| BOOL WINAPI SQLWriteFileDSNW | ( | LPCWSTR | lpszFileName, |
| LPCWSTR | lpszAppName, | ||
| LPCWSTR | lpszKeyName, | ||
| LPCWSTR | lpszString | ||
| ) |
Definition at line 1883 of file odbccp32.c.
| BOOL WINAPI SQLWritePrivateProfileString | ( | LPCSTR | lpszSection, |
| LPCSTR | lpszEntry, | ||
| LPCSTR | lpszString, | ||
| LPCSTR | lpszFilename | ||
| ) |
Definition at line 1961 of file odbccp32.c.
Referenced by test_SQLGetPrivateProfileString(), test_SQLGetPrivateProfileStringW(), and test_SQLWritePrivateProfileString().
| BOOL WINAPI SQLWritePrivateProfileStringW | ( | LPCWSTR | lpszSection, |
| LPCWSTR | lpszEntry, | ||
| LPCWSTR | lpszString, | ||
| LPCWSTR | lpszFilename | ||
| ) |
Definition at line 1903 of file odbccp32.c.
Referenced by SQLWritePrivateProfileString(), and test_SQLGetPrivateProfileStringW().
Definition at line 76 of file odbccp32.c.
Referenced by SQLConfigDataSource(), SQLConfigDriver(), SQLGetPrivateProfileString(), and SQLWritePrivateProfileString().
Definition at line 140 of file odbccp32.c.
Referenced by SQLConfigDataSourceW().
| WINE_DEFAULT_DEBUG_CHANNEL | ( | odbc | ) |
Definition at line 299 of file odbccp32.c.
Referenced by SQLConfigDriver(), and SQLConfigDriverW().
|
static |
Definition at line 994 of file odbccp32.c.
Referenced by SQLInstallDriverExW(), and SQLInstallTranslatorExW().
|
static |
Definition at line 46 of file odbccp32.c.
Referenced by SQLConfigDataSource(), SQLConfigDataSourceW(), SQLGetConfigMode(), SQLGetPrivateProfileString(), SQLGetPrivateProfileStringW(), SQLRemoveDSNFromIniW(), SQLSetConfigMode(), SQLWriteDSNToIniW(), SQLWritePrivateProfileStringW(), and test_SQLConfigMode().
Definition at line 56 of file odbccp32.c.
Referenced by acpi_bus_attach(), acpi_bus_driver_init(), acpi_bus_find_driver(), acpi_bus_match(), acpi_bus_notify(), acpi_bus_register_driver(), acpi_bus_unattach(), acpi_bus_unregister_driver(), AtlCreateTargetDC(), cf2_decoder_parse_charstrings(), cff_builder_add_point(), cff_driver_init(), cff_get_interface(), cff_slot_load(), cff_subfont_load(), cid_driver_done(), cid_driver_init(), compute_glyph_metrics(), Destroy_Driver(), destroy_face(), destroy_size(), DriverEvtCleanup(), FT_Add_Module(), FT_Attach_Stream(), FT_Done_Face(), FT_Done_GlyphSlot(), FT_Done_Size(), FT_Get_Kerning(), ft_glyphslot_done(), ft_glyphslot_init(), FT_Load_Glyph(), FT_New_GlyphSlot(), FT_New_Size(), ft_open_face_internal(), gdf_driver_proc(), get_driver_version_info(), ICInfo(), ICInstall(), ICOpen(), ICRemove(), if(), init_driver(), ITERATE_InstallODBCDataSource(), ITERATE_InstallODBCDriver(), ITERATE_RemoveODBCDataSource(), load_config_driver(), load_driver(), open_face(), pcf_driver_init(), pcf_load_font(), pcf_property_get(), pcf_property_set(), printercache_process(), ps_builder_add_point(), ps_property_get(), ps_property_set(), SQLConfigDataSource(), SQLConfigDataSourceW(), SQLConfigDriver(), SQLConfigDriverW(), SQLInstallDriverEx(), SQLRemoveDriver(), SQLWriteDSNToIni(), T1_Driver_Done(), T1_Driver_Init(), T1_Parse_Glyph_And_Get_Char_String(), T42_Driver_Init(), test_create_device_from_clipper1(), test_create_device_from_clipper2(), test_create_device_from_clipper3(), test_create_device_from_surface1(), test_create_device_from_surface2(), test_create_device_from_surface3(), test_Device(), test_device_qi(), test_DeviceCapabilities(), test_driver_install(), test_PrintDlgA(), test_Viewport(), test_viewport_clear1(), test_viewport_clear2(), test_viewport_qi(), tt_driver_init(), tt_get_interface(), tt_get_metrics(), TT_Hint_Glyph(), tt_loader_init(), tt_loader_set_pp(), TT_Process_Composite_Component(), TT_Process_Simple_Glyph(), tt_property_get(), tt_property_set(), VerifyWdfDeviceWdmDispatchIrp(), vfw_driver_proc(), wined3d_driver_info_init(), write_config_value(), and write_registry_values().
|
static |
Definition at line 53 of file odbccp32.c.
Referenced by check_file_size(), common_open(), common_sopen_dispatch(), DdeGetLastError(), do_error_dialog(), error_code_messagebox(), ErrorToMmResult(), FT_Error_String(), licence_process_error_alert(), push_error(), REGPROC_print_error(), SQLInstallerErrorW(), test_file_truncate(), test_message_system_errors(), test_SQLConfigMode(), test_SQLGetInstalledDrivers(), test_SQLGetPrivateProfileStringW(), test_SQLInstallDriverEx(), test_SQLInstallDriverManager(), test_SQLInstallTranslatorEx(), test_SQLWritePrivateProfileString(), and verify_output_file().
Definition at line 54 of file odbccp32.c.
Referenced by __ext4_ext_check(), ext3_check_dir_entry(), MAPISendMail(), MAPISendMailW(), push_error(), and SQLInstallerErrorW().
|
static |
Definition at line 52 of file odbccp32.c.
Referenced by clear_errors(), main(), partial_stripe_read(), push_error(), read_data_raid6(), scrub_raid5_stripe(), scrub_raid6_stripe(), and SQLInstallerErrorW().
| FxSyncRequest request |
Definition at line 56 of file odbccp32.c.
Referenced by SQLConfigDriver(), and SQLConfigDriverW().