Function odbc_sys::SQLDataSourcesW[][src]

pub unsafe extern "system" fn SQLDataSourcesW(
    environment_handle: HEnv,
    direction: FetchOrientation,
    server_name: *mut WChar,
    buffer_length_1: SmallInt,
    name_length_1: *mut SmallInt,
    description: *mut WChar,
    buffer_length_2: SmallInt,
    name_length_2: *mut SmallInt
) -> SqlReturn

Returns information about a data source. This function is implemented only by the Driver Manager.

Returns

SUCCESS, SUCCESS_WITH_INFO, ERROR, INVALID_HANDLE, or SQL_NO_DATA