Changeset 8775 for trunk/src/kernel32/exceptions.cpp
- Timestamp:
- Jun 26, 2002, 9:14:18 AM (23 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/kernel32/exceptions.cpp
r8548 r8775 1 /* $Id: exceptions.cpp,v 1. 59 2002-06-02 12:42:09sandervl Exp $ */1 /* $Id: exceptions.cpp,v 1.60 2002-06-26 07:14:18 sandervl Exp $ */ 2 2 3 3 /* … … 69 69 #include "WinDllBase.h" 70 70 #include "WinExeBase.h" 71 72 /* Really lazy! But, including wincon.h means lot's of missing COORD. */ 73 #define CTRL_C_EVENT 0 //#include <wincon.h> 74 #define CTRL_BREAK_EVENT 1 //#include <wincon.h> 75 #include "console.h" 76 71 77 72 78 #define DBG_LOCALLOG DBG_exceptions … … 1315 1321 goto continuesearch; 1316 1322 1317 case XCPT_SIGNAL: 1318 if(pERepRec->ExceptionInfo[0] == XCPT_SIGNAL_KILLPROC) /* resolve signal information */ 1323 1324 /* 1325 * In OS/2 VIO Ctrl-C and Ctrl-Break is special stuff which comes in 1326 * thru the exception handler. In Win32 CUI they are handled by a 1327 * ControlCtrlEvent procedure. So, if we receive one of those signals 1328 * we assume that this is a VIO program and let the handlers handle this. 1329 * (If they want to.) 1330 */ 1331 case XCPT_SIGNAL: 1332 switch (pERepRec->ExceptionInfo[0]) 1319 1333 { 1320 SetExceptionChain((ULONG)-1); 1321 goto continuesearch; 1334 case XCPT_SIGNAL_BREAK: 1335 if (InternalGenerateConsoleCtrlEvent(CTRL_BREAK_EVENT, 0)) 1336 goto continueexecution; 1337 goto continuesearch; 1338 case XCPT_SIGNAL_INTR: 1339 if (InternalGenerateConsoleCtrlEvent(CTRL_C_EVENT, 0)) 1340 goto continueexecution; 1341 goto continuesearch; 1342 1343 case XCPT_SIGNAL_KILLPROC: /* resolve signal information */ 1344 SetExceptionChain((ULONG)-1); 1345 goto continuesearch; 1322 1346 } 1323 1347 goto CrashAndBurn;
Note:
See TracChangeset
for help on using the changeset viewer.