pub type ErrorReceivedEventArgs = *mut c_void;