pub type IDeviceRect = *mut c_void;