pub type GetEjectStateFn = unsafe extern "C" fn() -> bool;