pub fn stop_surface_entry( dir: &Path, entry: &RegistryEntry, force: bool, out: &mut dyn Write, err: &mut dyn Write, ) -> i32