[][src]Function odbc_sys::SQLGetDescFieldW

pub unsafe extern "system" fn SQLGetDescFieldW(
    descriptor_handle: SQLHDESC,
    record_number: SQLSMALLINT,
    field_identifier: SQLSMALLINT,
    value_ptr: SQLPOINTER,
    buffer_length: SQLINTEGER,
    string_length_ptr: *mut SQLINTEGER
) -> 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.