[KERNEL32]

- Add a debug output to the default console dispatcher for the CTRL_LAST_CLOSE_EVENT code;
- hardcoded_value--;
Addendum to revision 62847.

svn path=/trunk/; revision=62848
This commit is contained in:
Hermès Bélusca-Maïto 2014-04-21 01:36:00 +00:00
parent 286ee4b8b1
commit 6e8dcec9f7

View file

@ -59,6 +59,10 @@ DefaultConsoleCtrlHandler(DWORD Event)
DPRINT("Ctrl Close Event\n");
break;
case CTRL_LAST_CLOSE_EVENT:
DPRINT("Ctrl Last Close Event\n");
break;
case CTRL_LOGOFF_EVENT:
DPRINT("Ctrl Logoff Event\n");
break;
@ -171,9 +175,9 @@ ConsoleControlDispatcher(IN LPVOID lpThreadParameter)
switch(nCode)
{
case CTRL_CLOSE_EVENT:
case CTRL_LAST_CLOSE_EVENT:
case CTRL_LOGOFF_EVENT:
case CTRL_SHUTDOWN_EVENT:
case 3:
nExitCode = CodeAndFlag;
break;
}