pub type IObjectWithCancelEvent = *mut c_void;