[][src]Function odbc_sys::SQLGetDiagRecW

pub unsafe extern "system" fn SQLGetDiagRecW(
    handle_type: HandleType,
    handle: SQLHANDLE,
    record_rumber: SQLSMALLINT,
    state: *mut SQLWCHAR,
    native_error_ptr: *mut SQLINTEGER,
    message_text: *mut SQLWCHAR,
    buffer_length: SQLSMALLINT,
    text_length_ptr: *mut SQLSMALLINT
) -> 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