[][src]Function odbc::ffi::SQLGetDescFieldW

pub unsafe extern "system" fn SQLGetDescFieldW(
    descriptor_handle: *mut Desc,
    record_number: i16,
    field_identifier: i16,
    value_ptr: *mut c_void,
    buffer_length: i32,
    string_length_ptr: *mut i32
) -> SQLRETURN

Returns the current setting or value of a single field of a descriptor record.

Returns

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, SQL_NO_DATA, or SQL_INVALID_HANDLE. SQL_NO_DATA is returned if RecNumber is greater than the current number of descriptor records. SQL_NO_DATA is returned if DescriptorHandle is an IRD handle and the statement is in the prepared or executed state but there was no open cursor associated with it.