[−][src]Function odbc::ffi::SQLDriverConnect
pub unsafe extern "system" fn SQLDriverConnect(
connection_handle: *mut Dbc,
window_handle: *mut c_void,
in_connection_string: *const u8,
string_length_1: i16,
out_connection_string: *mut u8,
buffer_length: i16,
string_length_2: *mut i16,
DriverCompletion: SqlDriverConnectOption
) -> SQLRETURN
An alternative to SQLConnect
. It supports data sources that require more connection
information than the three arguments in SQLConnect
, dialog boxes to prompt the user for
all connection information, and data sources that are not defined in the system information
Returns
SQL_SUCCESS
, SQL_SUCCESS_WITH_INFO
, SQL_ERROR
, SQL_INVALID_HANDLE
, SQL_NO_DATA
,
or SQL_STILL_EXECUTING