Function odbc_sys::SQLGetDiagRecW[][src]

pub unsafe extern "system" fn SQLGetDiagRecW(
    handle_type: HandleType,
    handle: Handle,
    record_rumber: SmallInt,
    state: *mut WChar,
    native_error_ptr: *mut Integer,
    message_text: *mut WChar,
    buffer_length: SmallInt,
    text_length_ptr: *mut SmallInt
) -> SqlReturn

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

Returns

SUCCESS, SUCCESS_WITH_INFO, ERROR, or INVALID_HANDLE