pub type AppCaptureState = *mut c_void;