pub type PenDevice = *mut c_void;