pub unsafe extern "system" fn SQLDriverConnectW(
    connection_handle: HDbc,
    window_handle: HWnd,
    in_connection_string: *const WChar,
    string_length_1: SmallInt,
    out_connection_string: *mut WChar,
    buffer_length: SmallInt,
    string_length_2: *mut SmallInt,
    driver_completion: DriverConnectOption
) -> SqlReturn
Expand description

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

SUCCESS, SUCCESS_WITH_INFO, ERROR, INVALID_HANDLE, SQL_NO_DATA, or SQL_STILL_EXECUTING