Function odbc_ffi::SQLGetInfo [] [src]

pub unsafe extern fn SQLGetInfo(connection_handle: SQLHDBC,
                                info_type: InfoType,
                                info_value_ptr: SQLPOINTER,
                                buffer_length: SQLSMALLINT,
                                string_length_ptr: *mut SQLSMALLINT)
                                -> SQLRETURN

Returns general information about the driver and data source associated with a connection

Returns

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, or SQL_INVALID_HANDLE