Skip to main content

ConsoleWindow.CtrlType

An enum in Root.Township, WindowsConsole.

Windows console control signals (Ctrl+C, Ctrl+Break, close, logoff, shutdown) passed to the console control handler.

Values​

Member
CTRL_BREAK_EVENT = 1
CTRL_C_EVENT = 0
CTRL_CLOSE_EVENT = 2
CTRL_LOGOFF_EVENT = 5
CTRL_SHUTDOWN_EVENT = 6

Used in​

Members of other types that take, return or hold a CtrlType: