Function odbc_sys::SQLGetDiagRecW

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

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