pub type DeviceArrivedEventHandler = *mut c_void;