typedef enum { MPICaptureStateINVALID, MPICaptureStateIDLE, MPICaptureStateARMED, MPICaptureStateCAPTURED, } MPICaptureState;