pub type IPartDiscardControl = *mut c_void;