Sets the callback to be invoked when an error occurs.
public ul_ret_void ULSetErrorCallbackW( SQLCA * sqlca, ul_error_callback_fn_w2 callback, ul_void * user_data, ul_wchar * buffer, size_t len )
sqlca A pointer to the SQLCA.
callback The callback function
user_data User context information passed to the callback.
buffer A user-supplied buffer that contains the error parameters when the callback is invoked.
len The size of the buffer in bytes.
This method prototype is used internally when you refer to ULSetErrorCallback and #define the UNICODE macro on Win32 platforms. Typically, you would not reference this method directly when creating an UltraLite application.