24 #define DBG_PROGNAME "ARCH.LIB"
32 static ARCH_CTRLBREAK_HANDLER handler;
35 ControlHandler(DWORD dwCtrlType)
39 case CTRL_BREAK_EVENT:
41 case CTRL_CLOSE_EVENT:
42 case CTRL_LOGOFF_EVENT:
43 case CTRL_SHUTDOWN_EVENT:
65 SetConsoleCtrlHandler(ControlHandler, TRUE);
Define makros for debugging purposes.
void arch_set_ctrlbreak_handler(ARCH_CTRLBREAK_HANDLER Handler)
Set the Ctrl+C / Ctrl+Break handler.
Define makros and functions which account for differences between the different architectures.