Function odbc_sys::SQLGetDescFieldW

source ·
pub unsafe extern "system" fn SQLGetDescFieldW(
    descriptor_handle: HDesc,
    record_number: SmallInt,
    field_identifier: Desc,
    value_ptr: Pointer,
    buffer_length: Integer,
    string_length_ptr: *mut Integer
) -> SqlReturn
Expand description

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

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.