pub type DeviceWatcher = *mut c_void;