Win32-2.5.4.1: A binding to part of the Win32 library

Copyright2008-2013 Judah Jacobson 2013 shelarcy
LicenseBSD-style
Maintainershelarcy@gmail.com
StabilityProvisional
PortabilityNon-portable (Win32 API)
Safe HaskellSafe
LanguageHaskell98

System.Win32.Console.CtrlHandler (signature[?])

Description

Set handlers of console Ctrl events.

Synopsis

Documentation

setConsoleCtrlHandler :: PHANDLER_ROUTINE -> BOOL -> IO () Source #

This function isn't suitable when we want to set the cTRL_C_EVENT handler. If you want to set the cTRL_C_EVENT handler, use c_SetConsoleCtrlHandler instead.