Function odbc_sys::SQLGetDescRecW

source ·
pub unsafe extern "system" fn SQLGetDescRecW(
    descriptor_handle: HDesc,
    record_number: SmallInt,
    name: *mut WChar,
    buffer_length: SmallInt,
    string_length_ptr: *mut SmallInt,
    type_ptr: *mut SmallInt,
    sub_type_ptr: *mut SmallInt,
    length_ptr: *mut Len,
    precision_ptr: *mut SmallInt,
    scale_ptr: *mut SmallInt,
    nullable_ptr: *mut Nullability
) -> SqlReturn
Expand description

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

SUCCESS, SUCCESS_WITH_INFO, ERROR, SQL_NO_DATA, or 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.