pub type CustomDevice = *mut c_void;