int CtrlCHit( void ) { int hit; DosHoldSignal( HLDSIG_DISABLE ); hit = interruptOccurred; interruptOccurred = 0; DosHoldSignal( HLDSIG_ENABLE ); return( hit ); }
bool CtrlCHit( void ) { bool hit; #ifdef _M_I86 DosHoldSignal( HLDSIG_DISABLE ); #endif hit = interruptOccurred; interruptOccurred = false; #ifdef _M_I86 DosHoldSignal( HLDSIG_ENABLE ); #endif return( hit ); }