[−][src]Function odbc::ffi::SQLGetDescRecW
pub unsafe extern "system" fn SQLGetDescRecW(
descriptor_handle: *mut Desc,
record_number: i16,
name: *mut u16,
buffer_length: i16,
string_length_ptr: *mut i16,
type_ptr: *mut i16,
sub_type_ptr: *mut i16,
length_ptr: *mut i64,
precision_ptr: *mut i16,
scale_ptr: *mut i16,
nullable_ptr: *mut Nullable
) -> SQLRETURN
Returns the current settings or values of multiple fields of a descriptor record. The fields returned describe the name, data type, and storage of column or parameter data.
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.