Win32-2.2.0.0: A binding to part of the Win32 librarySource codeContentsIndex
System.Win32.Console
Portabilityportable
Stabilityprovisional
MaintainerEsa Ilari Vuokko <ei@vuokko.info>
Contents
Console code pages
Ctrl events
Description
A collection of FFI declarations for interfacing with Win32 Console API
Synopsis
getConsoleCP :: IO UINT
setConsoleCP :: UINT -> IO ()
getConsoleOutputCP :: IO UINT
setConsoleOutputCP :: UINT -> IO ()
type CtrlEvent = DWORD
cTRL_C_EVENT :: CtrlEvent
cTRL_BREAK_EVENT :: CtrlEvent
generateConsoleCtrlEvent :: CtrlEvent -> DWORD -> IO ()
Console code pages
getConsoleCP :: IO UINTSource
setConsoleCP :: UINT -> IO ()Source
getConsoleOutputCP :: IO UINTSource
setConsoleOutputCP :: UINT -> IO ()Source
Ctrl events
type CtrlEvent = DWORDSource
cTRL_C_EVENT :: CtrlEventSource
cTRL_BREAK_EVENT :: CtrlEventSource
generateConsoleCtrlEvent :: CtrlEvent -> DWORD -> IO ()Source
Produced by Haddock version 2.3.0