pub type SetEjectStateFn = unsafe extern "C" fn(ejected: bool) -> bool;