pub type CastingConnectionErrorOccurredEventArgs = *mut c_void;