[][src]Function odbc::ffi::SQLGetDiagRecW

pub unsafe extern "system" fn SQLGetDiagRecW(
    handle_type: HandleType,
    handle: *mut Obj,
    record_rumber: i16,
    state: *mut u16,
    native_error_ptr: *mut i32,
    message_text: *mut u16,
    buffer_length: i16,
    text_length_ptr: *mut i16
) -> SQLRETURN

Return the current values of multiple fields of a diagnostic record that contains eror, warning, and status information.

Returns

SQL_SUCCESS, SQL_SUCCESS_WITH_INFO, SQL_ERROR, or SQL_INVALID_HANDLE