xcall MIAMEX, MX_GETCTRLC, ccon
The ccon parameter is a numeric field into which a non-zero value is returned if Ctrl+C interrupts are currently enabled, and a zero value otherwise.
You can enable/disable Ctrl+C interrupts using CCON.SBR or SET.LIT.