Win32-2.12.0.0: A binding to Windows Win32 API.
Copyright(c) Alastair Reid 1997-2003
LicenseBSD-style (see the file libraries/base/LICENSE)
MaintainerEsa Ilari Vuokko <ei@vuokko.info>
Stabilityprovisional
Portabilityportable
Safe HaskellTrustworthy
LanguageHaskell2010

System.Win32.NLS

Description

A collection of FFI declarations for interfacing with Win32.

Synopsis

Documentation

enumSystemLocalesEx' Source #

Arguments

:: EnumLocalesFlag 
-> Maybe Bool

Maybe include (or exclude) replacement locales?

-> IO [String] 

getDefaultLocaleName :: String -> (LPWSTR -> CInt -> IO CInt) -> IO String Source #

Helper function for use with c_GetUserDefaultLocaleName or c_GetSystemDefaultLocaleName. See getUserDefaultLocaleName and getSystemUserDefaultLocaleName.

lOCALE_SDATE :: LCTYPE Source #

Type representing locale data

lOCALE_SISO3166CTRYNAME2 :: LCTYPE Source #

Type representing 128-bit Unicode subset bitfields, as the base package does include a module exporting a 128-bit unsigned integer type.

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.

data GUID Source #

Instances

Instances details
Storable GUID Source # 
Instance details

Defined in System.Win32.NLS

Show GUID Source # 
Instance details

Defined in System.Win32.NLS

Eq GUID Source # 
Instance details

Defined in System.Win32.NLS

Methods

(==) :: GUID -> GUID -> Bool #

(/=) :: GUID -> GUID -> Bool #

data LCData Source #

Constructors

LCTextualData !String

Data in the form of a Unicode string.

LCNumericData !DWORD

Data in the form of a number. See lOCAL_RETURN_NUMBER and LOCAL_I* locate information constants.

LCSignatureData !LOCALESIGNATURE

Data in the fomr of a LOCALESIGNATURE. See lOCAL_FONTSIGNATURE locale information constant.

Instances

Instances details
Show LCData Source # 
Instance details

Defined in System.Win32.NLS

Eq LCData Source # 
Instance details

Defined in System.Win32.NLS

Methods

(==) :: LCData -> LCData -> Bool #

(/=) :: LCData -> LCData -> Bool #