pub type IPreviewHandler = *mut c_void;