CTRL_CLOSE_EVENT top-level constant

int const CTRL_CLOSE_EVENT

PHANDLER_ROUTINE callback function dwCtrlType parameter flag: A signal that the system sends to all processes attached to a console when the user closes the console (either by clicking Close on the console window's window menu, or by clicking the End Task button command from Task Manager).

Implementation

const CTRL_CLOSE_EVENT = 2;