pub type LeavingBackgroundEventArgs = *mut c_void;