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

Copyright(c) Alastair Reid 1999-2003
LicenseBSD-style (see the file libraries/base/LICENSE)
MaintainerEsa Ilari Vuokko <[email protected]>
Stabilityprovisional
Portabilityportable
Safe HaskellSafe
LanguageHaskell2010

System.Win32

Description

An FFI binding to the system part of the Win32 API.

Synopsis

Documentation

sUBLANG_ENGLISH_SOUTH_AFRICA :: SubLANGID Source #

The IO input functions (e.g. getLine) don't automatically convert to Unicode, so this function is provided to make the conversion from a multibyte string in the given code page to a proper Unicode string. To get the code page for the console, use getConsoleCP.

maybeNum :: Num a => Maybe a -> a Source #

numToMaybe :: (Eq a, Num a) => a -> Maybe a Source #

try' :: Storable a => String -> (Ptr a -> PDWORD -> IO BOOL) -> DWORD -> IO [a] Source #

peekMaybe :: Storable a => Ptr a -> IO (Maybe a) Source #

See also: maybePeek function.

withMaybe :: Storable a => Maybe a -> (Ptr a -> IO b) -> IO b Source #

See also: maybeWith function.