[][src]Function odbc_sys::SQLDriverConnectW

pub unsafe extern "system" fn SQLDriverConnectW(
    connection_handle: SQLHDBC,
    window_handle: SQLHWND,
    in_connection_string: *const SQLWCHAR,
    string_length_1: SQLSMALLINT,
    out_connection_string: *mut SQLWCHAR,
    buffer_length: SQLSMALLINT,
    string_length_2: *mut SQLSMALLINT,
    driver_completion: 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