System.Win32.NLS

Win32-2.12.0.0: A binding to Windows Win32 API.

Copyright | (c) Alastair Reid 1997-2003
License | BSD-style (see the file libraries/base/LICENSE)
Maintainer | Esa Ilari Vuokko <ei@vuokko.info>
Stability | provisional
Portability | portable
Safe Haskell | Trustworthy
Language | Haskell2010

System.Win32.NLS

Description

A collection of FFI declarations for interfacing with Win32.

Synopsis

- type NLS_FUNCTION = DWORD
- type LCTYPE = UINT
- data LCData
  - = LCTextualData !String
  - | LCNumericData !DWORD
  - | LCSignatureData !LOCALESIGNATURE
- data LOCALESIGNATURE = LOCALESIGNATURE {
  - lsUsb :: !UnicodeSubsetBitfield
  - lsCsbDefault :: !DDWORD
  - lsCsbSupported :: !DDWORD
  }
- data UnicodeSubsetBitfield = UnicodeSubsetBitfield {
  - usbLow :: !DDWORD
  - usbHigh :: !DDWORD
  }
- type LCMapFlags = DWORD
- data NLSVERSIONINFOEX = NLSVERSIONINFOEX {
  - dwNLSVersionInfoSize :: DWORD
  - dwNLSVersion :: DWORD
  - dwDefinedVersion :: DWORD
  - dwEffectiveId :: DWORD
  - guidCustomVersion :: GUID
  }
- data GUID = GUID !Word32 !Word16 !Word16 !Word8 !Word8 !Word8 !Word8 !Word8 !Word8 !Word8 !Word8
- type LocaleTestFlags = DWORD
- type EnumLocalesFlag = DWORD
- type LOCALE_ENUMPROCEX = LPWSTR -> EnumLocalesFlag -> LPARAM -> IO BOOL
- multiByteToWideChar :: CodePage -> DWORD -> LPCSTR -> CInt -> LPWSTR -> CInt -> IO CInt
- stringToUnicode :: CodePage -> String -> IO String
- lOCALE_SYSTEM_DEFAULT :: LCID
- lOCALE_USER_DEFAULT :: LCID
- lOCALE_NEUTRAL :: LCID
- convertDefaultLocale :: LCID -> IO LCID
- cP_ACP :: CodePage
- cP_MACCP :: CodePage
- cP_OEMCP :: CodePage
- getACP :: IO CodePage
- setThreadLocale :: LCID -> IO ()
- lOCALE_FONTSIGNATURE :: LCTYPE
- lOCALE_ICALENDARTYPE :: LCTYPE
- lOCALE_ICENTURY :: LCTYPE
- lOCALE_ICOUNTRY :: LCTYPE
- lOCALE_ICURRDIGITS :: LCTYPE
- lOCALE_ICURRENCY :: LCTYPE
- lOCALE_IDATE :: LCTYPE
- lOCALE_IDAYLZERO :: LCTYPE
- lOCALE_IDEFAULTANSICODEPAGE :: LCTYPE
- lOCALE_IDEFAULTCODEPAGE :: LCTYPE
- lOCALE_IDEFAULTCOUNTRY :: LCTYPE
- lOCALE_IDEFAULTEBCDICCODEPAGE :: LCTYPE
- lOCALE_IDEFAULTLANGUAGE :: LCTYPE
- lOCALE_IDEFAULTMACCODEPAGE :: LCTYPE
- lOCALE_IDIGITS :: LCTYPE
- lOCALE_IDIGITSUBSTITUTION :: LCTYPE
- lOCALE_IFIRSTDAYOFWEEK :: LCTYPE
- lOCALE_IFIRSTWEEKOFYEAR :: LCTYPE
- lOCALE_IGEOID :: LCTYPE
- lOCALE_IINTLCURRDIGITS :: LCTYPE
- lOCALE_ILANGUAGE :: LCTYPE
- lOCALE_ILDATE :: LCTYPE
- lOCALE_ILZERO :: LCTYPE
- lOCALE_IMEASURE :: LCTYPE
- lOCALE_IMONLZERO :: LCTYPE
- lOCALE_INEGCURR :: LCTYPE
- lOCALE_INEGNUMBER :: LCTYPE
- lOCALE_INEGSEPBYSPACE :: LCTYPE
- lOCALE_INEGSIGNPOSN :: LCTYPE
- lOCALE_INEGSYMPRECEDES :: LCTYPE
- lOCALE_IOPTIONALCALENDAR :: LCTYPE
- lOCALE_PAPERSIZE :: LCTYPE
- lOCALE_IPOSSEPBYSPACE :: LCTYPE
- lOCALE_IPOSSIGNPOSN :: LCTYPE
- lOCALE_IPSSYMPRECEDES :: LCTYPE
- lOCALE_ITIME :: LCTYPE
- lOCALE_ITIMEMARKPOSN :: LCTYPE
- lOCALE_ITLZERO :: LCTYPE
- lOCALE_RETURN_NUMBER :: LCTYPE
- lOCALE_S1159 :: LCTYPE
- lOCALE_S2359 :: LCTYPE
- lOCALE_SABBREVCTRYNAME :: LCTYPE
- lOCALE_SABBREVDAYNAME1 :: LCTYPE
- lOCALE_SABBREVDAYNAME2 :: LCTYPE
- lOCALE_SABBREVDAYNAME3 :: LCTYPE
- lOCALE_SABBREVDAYNAME4 :: LCTYPE
- lOCALE_SABBREVDAYNAME5 :: LCTYPE
- lOCALE_SABBREVDAYNAME6 :: LCTYPE
- lOCALE_SABBREVDAYNAME7 :: LCTYPE
- lOCALE_SABBREVLANGNAME :: LCTYPE
- lOCALE_SABBREVMONTHNAME1 :: LCTYPE
- lOCALE_SABBREVMONTHNAME2 :: LCTYPE
- lOCALE_SABBREVMONTHNAME3 :: LCTYPE
- lOCALE_SABBREVMONTHNAME4 :: LCTYPE
- lOCALE_SABBREVMONTHNAME5 :: LCTYPE
- lOCALE_SABBREVMONTHNAME6 :: LCTYPE
- lOCALE_SABBREVMONTHNAME7 :: LCTYPE
- lOCALE_SABBREVMONTHNAME8 :: LCTYPE
- lOCALE_SABBREVMONTHNAME9 :: LCTYPE
- lOCALE_SABBREVMONTHNAME10 :: LCTYPE
- lOCALE_SABBREVMONTHNAME11 :: LCTYPE
- lOCALE_SABBREVMONTHNAME12 :: LCTYPE
- lOCALE_SABBREVMONTHNAME13 :: LCTYPE
- lOCALE_SCONSOLEFALLBACKNAME :: LCTYPE
- lOCALE_SCURRENCY :: LCTYPE
- lOCALE_SDATE :: LCTYPE
- lOCALE_SDAYNAME1 :: LCTYPE
- lOCALE_SDAYNAME2 :: LCTYPE
- lOCALE_SDAYNAME3 :: LCTYPE
- lOCALE_SDAYNAME4 :: LCTYPE
- lOCALE_SDAYNAME5 :: LCTYPE
- lOCALE_SDAYNAME6 :: LCTYPE
- lOCALE_SDAYNAME7 :: LCTYPE
- lOCALE_SDECIMAL :: LCTYPE
- lOCALE_SDURATION :: LCTYPE
- lOCALE_SENGCURRNAME :: LCTYPE
- lOCALE_SENGLISHCOUNTRYNAME :: LCTYPE
- lOCALE_SENGLISHLANGUAGENAME :: LCTYPE
- lOCALE_SGROUPING :: LCTYPE
- lOCALE_SINTLSYMBOL :: LCTYPE
- lOCALE_SISO3166CTRYNAME :: LCTYPE
- lOCALE_SISO3166CTRYNAME2 :: LCTYPE
- lOCALE_SISO639LANGNAME :: LCTYPE
- lOCALE_SISO639LANGNAME2 :: LCTYPE
- lOCALE_SKEYBOARDSTOINSTALL :: LCTYPE
- lOCALE_SLIST :: LCTYPE
- lOCALE_SLONGDATE :: LCTYPE
- lOCALE_SMONDECIMALSEP :: LCTYPE
- lOCALE_SMONGROUPING :: LCTYPE
- lOCALE_SMONTHNAME1 :: LCTYPE
- lOCALE_SMONTHNAME2 :: LCTYPE
- lOCALE_SMONTHNAME3 :: LCTYPE
- lOCALE_SMONTHNAME4 :: LCTYPE
- lOCALE_SMONTHNAME5 :: LCTYPE
- lOCALE_SMONTHNAME6 :: LCTYPE
- lOCALE_SMONTHNAME7 :: LCTYPE
- lOCALE_SMONTHNAME8 :: LCTYPE
- lOCALE_SMONTHNAME9 :: LCTYPE
- lOCALE_SMONTHNAME10 :: LCTYPE
- lOCALE_SMONTHNAME11 :: LCTYPE
- lOCALE_SMONTHNAME12 :: LCTYPE
- lOCALE_SMONTHNAME13 :: LCTYPE
- lOCALE_SMONTHOUSANDSEP :: LCTYPE
- lOCALE_SNAME :: LCTYPE
- lOCALE_SNAN :: LCTYPE
- lOCALE_SNATIVECOUNTRYNAME :: LCTYPE
- lOCALE_SNATIVECURRNAME :: LCTYPE
- lOCALE_SNATIVEDIGITS :: LCTYPE
- lOCALE_SNEGATIVESIGN :: LCTYPE
- lOCALE_SNEGINFINITY :: LCTYPE
- lOCALE_SPARENT :: LCTYPE
- lOCALE_SPOSINFINITY :: LCTYPE
- lOCALE_SPOSITIVESIGN :: LCTYPE
- lOCALE_SSCRIPTS :: LCTYPE
- lOCALE_SSHORTDATE :: LCTYPE
- lOCALE_SSHORTESTDAYNAME1 :: LCTYPE
- lOCALE_SSHORTESTDAYNAME2 :: LCTYPE
- lOCALE_SSHORTESTDAYNAME3 :: LCTYPE
- lOCALE_SSHORTESTDAYNAME4 :: LCTYPE
- lOCALE_SSHORTESTDAYNAME5 :: LCTYPE
- lOCALE_SSHORTESTDAYNAME6 :: LCTYPE
- lOCALE_SSHORTESTDAYNAME7 :: LCTYPE
- lOCALE_SSORTNAME :: LCTYPE
- lOCALE_STHOUSAND :: LCTYPE
- lOCALE_STIME :: LCTYPE
- lOCALE_STIMEFORMAT :: LCTYPE
- lOCALE_SYEARMONTH :: LCTYPE
- getLocaleInfoEx :: Maybe String -> LCTYPE -> IO LCData
- c_GetLocaleInfoEx :: LPCWSTR -> LCTYPE -> LPWSTR -> CInt -> IO CInt
- setLocaleInfo :: LCID -> LCTYPE -> String -> IO ()
- c_SetLocaleInfo :: LCID -> LCTYPE -> LPCTSTR -> IO Bool
- lCMAP_BYTEREV :: LCMapFlags
- lCMAP_FULLWIDTH :: LCMapFlags
- lCMAP_HALFWIDTH :: LCMapFlags
- lCMAP_HIRAGANA :: LCMapFlags
- lCMAP_KATAKANA :: LCMapFlags
- lCMAP_LINGUISTIC_CASING :: LCMapFlags
- lCMAP_LOWERCASE :: LCMapFlags
- lCMAP_SIMPLIFIED_CHINESE :: LCMapFlags
- lCMAP_SORTKEY :: LCMapFlags
- lCMAP_TRADITIONAL_CHINESE :: LCMapFlags
- lCMAP_UPPERCASE :: LCMapFlags
- lINGUISTIC_IGNORECASE :: LCMapFlags
- lINGUISTIC_IGNOREDIACRITIC :: LCMapFlags
- nORM_IGNORECASE :: LCMapFlags
- nORM_IGNORENONSPACE :: LCMapFlags
- nORM_IGNOREKANATYPE :: LCMapFlags
- nORM_IGNORESYMBOLS :: LCMapFlags
- nORM_IGNOREWIDTH :: LCMapFlags
- nORM_LINGUISTIC_CASING :: LCMapFlags
- sORT_STRINGSORT :: LCMapFlags
- getNLSVersionEx :: Maybe String -> IO NLSVERSIONINFOEX
- c_GetNLSVersionEx :: NLS_FUNCTION -> LPCWSTR -> Ptr NLSVERSIONINFOEX -> IO Bool
- lCMapStringEx :: Maybe String -> LCMapFlags -> String -> NLSVERSIONINFOEX -> IO String
- c_LCMapStringEx :: LPCWSTR -> LCMapFlags -> LPCWSTR -> CInt -> LPWSTR -> CInt -> Ptr NLSVERSIONINFOEX -> LPVOID -> LPARAM -> IO CInt
- lCMapString :: LCID -> LCMapFlags -> String -> Int -> IO String
- c_LCMapString :: LCID -> LCMapFlags -> LPCTSTR -> Int -> LPCTSTR -> Int -> IO Int
- lCID_INSTALLED :: LocaleTestFlags
- lCID_SUPPORTED :: LocaleTestFlags
- isValidLocaleName :: Maybe String -> IO Bool
- c_IsValidLocaleName :: LPCWSTR -> IO Bool
- isValidLocale :: LCID -> LocaleTestFlags -> IO Bool
- lOCALE_ALL :: EnumLocalesFlag
- lOCALE_ALTERNATE_SORTS :: EnumLocalesFlag
- lOCALE_REPLACEMENT :: EnumLocalesFlag
- lOCALE_SUPPLEMENTAL :: EnumLocalesFlag
- lOCALE_WINDOWS :: EnumLocalesFlag
- mkLOCALE_ENUMPROCEX :: LOCALE_ENUMPROCEX -> IO (FunPtr LOCALE_ENUMPROCEX)
- enumSystemLocalesEx :: LOCALE_ENUMPROCEX -> EnumLocalesFlag -> LPARAM -> IO ()
- c_EnumSystemLocalesEx :: FunPtr LOCALE_ENUMPROCEX -> DWORD -> LPARAM -> LPVOID -> IO Bool
- enumSystemLocalesEx' :: EnumLocalesFlag -> Maybe Bool -> IO [String]
- isValidCodePage :: CodePage -> IO Bool
- getUserDefaultLCID :: LCID
- getUserDefaultLangID :: LANGID
- lOCALE_NAME_INVARIANT :: Maybe String
- lOCALE_NAME_SYSTEM_DEFAULT :: Maybe String
- lOCALE_NAME_USER_DEFAULT :: Maybe String
- getUserDefaultLocaleName :: IO String
- getDefaultLocaleName :: String -> (LPWSTR -> CInt -> IO CInt) -> IO String
- c_GetUserDefaultLocaleName :: LPWSTR -> CInt -> IO CInt
- lOCALE_NAME_MAX_LENGTH :: CInt
- getThreadLocale :: IO LCID
- getSystemDefaultLCID :: LCID
- getSystemDefaultLangID :: LANGID
- getSystemDefaultLocaleName :: IO String
- c_GetSystemDefaultLocaleName :: LPWSTR -> CInt -> IO CInt
- getOEMCP :: CodePage
- lANG_NEUTRAL :: PrimaryLANGID
- lANG_BULGARIAN :: PrimaryLANGID
- lANG_CHINESE :: PrimaryLANGID
- lANG_CZECH :: PrimaryLANGID
- lANG_DANISH :: PrimaryLANGID
- lANG_GERMAN :: PrimaryLANGID
- lANG_GREEK :: PrimaryLANGID
- lANG_ENGLISH :: PrimaryLANGID
- lANG_SPANISH :: PrimaryLANGID
- lANG_FINNISH :: PrimaryLANGID
- lANG_FRENCH :: PrimaryLANGID
- lANG_HUNGARIAN :: PrimaryLANGID
- lANG_ICELANDIC :: PrimaryLANGID
- lANG_ITALIAN :: PrimaryLANGID
- lANG_JAPANESE :: PrimaryLANGID
- lANG_KOREAN :: PrimaryLANGID
- lANG_DUTCH :: PrimaryLANGID
- lANG_NORWEGIAN :: PrimaryLANGID
- lANG_POLISH :: PrimaryLANGID
- lANG_PORTUGUESE :: PrimaryLANGID
- lANG_ROMANIAN :: PrimaryLANGID
- lANG_RUSSIAN :: PrimaryLANGID
- lANG_CROATIAN :: PrimaryLANGID
- lANG_SLOVAK :: PrimaryLANGID
- lANG_SWEDISH :: PrimaryLANGID
- lANG_TURKISH :: PrimaryLANGID
- lANG_SLOVENIAN :: PrimaryLANGID
- lANG_ARABIC :: PrimaryLANGID
- lANG_CATALAN :: PrimaryLANGID
- lANG_HEBREW :: PrimaryLANGID
- lANG_SERBIAN :: PrimaryLANGID
- lANG_ALBANIAN :: PrimaryLANGID
- lANG_THAI :: PrimaryLANGID
- lANG_URDU :: PrimaryLANGID
- lANG_INDONESIAN :: PrimaryLANGID
- lANG_BELARUSIAN :: PrimaryLANGID
- lANG_ESTONIAN :: PrimaryLANGID
- lANG_LATVIAN :: PrimaryLANGID
- lANG_LITHUANIAN :: PrimaryLANGID
- lANG_FARSI :: PrimaryLANGID
- lANG_VIETNAMESE :: PrimaryLANGID
- lANG_ARMENIAN :: PrimaryLANGID
- lANG_AZERI :: PrimaryLANGID
- lANG_BASQUE :: PrimaryLANGID
- lANG_MACEDONIAN :: PrimaryLANGID
- lANG_AFRIKAANS :: PrimaryLANGID
- lANG_GEORGIAN :: PrimaryLANGID
- lANG_FAEROESE :: PrimaryLANGID
- lANG_HINDI :: PrimaryLANGID
- lANG_MALAY :: PrimaryLANGID
- lANG_KAZAK :: PrimaryLANGID
- lANG_SWAHILI :: PrimaryLANGID
- lANG_UZBEK :: PrimaryLANGID
- lANG_TATAR :: PrimaryLANGID
- lANG_BENGALI :: PrimaryLANGID
- lANG_PUNJABI :: PrimaryLANGID
- lANG_GUJARATI :: PrimaryLANGID
- lANG_ORIYA :: PrimaryLANGID
- lANG_TAMIL :: PrimaryLANGID
- lANG_TELUGU :: PrimaryLANGID
- lANG_KANNADA :: PrimaryLANGID
- lANG_MALAYALAM :: PrimaryLANGID
- lANG_ASSAMESE :: PrimaryLANGID
- lANG_MARATHI :: PrimaryLANGID
- lANG_SANSKRIT :: PrimaryLANGID
- lANG_KONKANI :: PrimaryLANGID
- lANG_MANIPURI :: PrimaryLANGID
- lANG_SINDHI :: PrimaryLANGID
- lANG_KASHMIRI :: PrimaryLANGID
- lANG_NEPALI :: PrimaryLANGID
- sORT_DEFAULT :: SortID
- sORT_JAPANESE_XJIS :: SortID
- sORT_JAPANESE_UNICODE :: SortID
- sORT_CHINESE_BIG5 :: SortID
- sORT_CHINESE_UNICODE :: SortID
- sORT_KOREAN_KSC :: SortID
- sORT_KOREAN_UNICODE :: SortID
- sUBLANG_NEUTRAL :: SubLANGID
- sUBLANG_DEFAULT :: SubLANGID
- sUBLANG_SYS_DEFAULT :: SubLANGID
- sUBLANG_CHINESE_TRADITIONAL :: SubLANGID
- sUBLANG_CHINESE_SIMPLIFIED :: SubLANGID
- sUBLANG_CHINESE_HONGKONG :: SubLANGID
- sUBLANG_CHINESE_SINGAPORE :: SubLANGID
- sUBLANG_DUTCH :: SubLANGID
- sUBLANG_DUTCH_BELGIAN :: SubLANGID
- sUBLANG_ENGLISH_US :: SubLANGID
- sUBLANG_ENGLISH_UK :: SubLANGID
- sUBLANG_ENGLISH_AUS :: SubLANGID
- sUBLANG_ENGLISH_CAN :: SubLANGID
- sUBLANG_ENGLISH_NZ :: SubLANGID
- sUBLANG_ENGLISH_EIRE :: SubLANGID
- sUBLANG_FRENCH :: SubLANGID
- sUBLANG_FRENCH_BELGIAN :: SubLANGID
- sUBLANG_FRENCH_CANADIAN :: SubLANGID
- sUBLANG_FRENCH_SWISS :: SubLANGID
- sUBLANG_GERMAN :: SubLANGID
- sUBLANG_GERMAN_SWISS :: SubLANGID
- sUBLANG_GERMAN_AUSTRIAN :: SubLANGID
- sUBLANG_ITALIAN :: SubLANGID
- sUBLANG_ITALIAN_SWISS :: SubLANGID
- sUBLANG_NORWEGIAN_BOKMAL :: SubLANGID
- sUBLANG_NORWEGIAN_NYNORSK :: SubLANGID
- sUBLANG_PORTUGUESE :: SubLANGID
- sUBLANG_PORTUGUESE_BRAZILIAN :: SubLANGID
- sUBLANG_SPANISH :: SubLANGID
- sUBLANG_SPANISH_MEXICAN :: SubLANGID
- sUBLANG_SPANISH_MODERN :: SubLANGID
- sUBLANG_ARABIC_SAUDI_ARABIA :: SubLANGID
- sUBLANG_ARABIC_IRAQ :: SubLANGID
- sUBLANG_ARABIC_EGYPT :: SubLANGID
- sUBLANG_ARABIC_LIBYA :: SubLANGID
- sUBLANG_ARABIC_ALGERIA :: SubLANGID
- sUBLANG_ARABIC_MOROCCO :: SubLANGID
- sUBLANG_ARABIC_TUNISIA :: SubLANGID
- sUBLANG_ARABIC_OMAN :: SubLANGID
- sUBLANG_ARABIC_YEMEN :: SubLANGID
- sUBLANG_ARABIC_SYRIA :: SubLANGID
- sUBLANG_ARABIC_JORDAN :: SubLANGID
- sUBLANG_ARABIC_LEBANON :: SubLANGID
- sUBLANG_ARABIC_KUWAIT :: SubLANGID
- sUBLANG_ARABIC_UAE :: SubLANGID
- sUBLANG_ARABIC_BAHRAIN :: SubLANGID
- sUBLANG_ARABIC_QATAR :: SubLANGID
- sUBLANG_AZERI_CYRILLIC :: SubLANGID
- sUBLANG_AZERI_LATIN :: SubLANGID
- sUBLANG_CHINESE_MACAU :: SubLANGID
- sUBLANG_ENGLISH_SOUTH_AFRICA :: SubLANGID
- sUBLANG_ENGLISH_JAMAICA :: SubLANGID
- sUBLANG_ENGLISH_CARIBBEAN :: SubLANGID
- sUBLANG_ENGLISH_BELIZE :: SubLANGID
- sUBLANG_ENGLISH_TRINIDAD :: SubLANGID
- sUBLANG_ENGLISH_PHILIPPINES :: SubLANGID
- sUBLANG_ENGLISH_ZIMBABWE :: SubLANGID
- sUBLANG_FRENCH_LUXEMBOURG :: SubLANGID
- sUBLANG_FRENCH_MONACO :: SubLANGID
- sUBLANG_GERMAN_LUXEMBOURG :: SubLANGID
- sUBLANG_GERMAN_LIECHTENSTEIN :: SubLANGID
- sUBLANG_KASHMIRI_INDIA :: SubLANGID
- sUBLANG_KOREAN :: SubLANGID
- sUBLANG_LITHUANIAN :: SubLANGID
- sUBLANG_MALAY_MALAYSIA :: SubLANGID
- sUBLANG_MALAY_BRUNEI_DARUSSALAM :: SubLANGID
- sUBLANG_NEPALI_INDIA :: SubLANGID
- sUBLANG_SERBIAN_LATIN :: SubLANGID
- sUBLANG_SERBIAN_CYRILLIC :: SubLANGID
- sUBLANG_SPANISH_GUATEMALA :: SubLANGID
- sUBLANG_SPANISH_COSTA_RICA :: SubLANGID
- sUBLANG_SPANISH_PANAMA :: SubLANGID
- sUBLANG_SPANISH_DOMINICAN_REPUBLIC :: SubLANGID
- sUBLANG_SPANISH_VENEZUELA :: SubLANGID
- sUBLANG_SPANISH_COLOMBIA :: SubLANGID
- sUBLANG_SPANISH_PERU :: SubLANGID
- sUBLANG_SPANISH_ARGENTINA :: SubLANGID
- sUBLANG_SPANISH_ECUADOR :: SubLANGID
- sUBLANG_SPANISH_CHILE :: SubLANGID
- sUBLANG_SPANISH_URUGUAY :: SubLANGID
- sUBLANG_SPANISH_PARAGUAY :: SubLANGID
- sUBLANG_SPANISH_BOLIVIA :: SubLANGID
- sUBLANG_SPANISH_EL_SALVADOR :: SubLANGID
- sUBLANG_SPANISH_HONDURAS :: SubLANGID
- sUBLANG_SPANISH_NICARAGUA :: SubLANGID
- sUBLANG_SPANISH_PUERTO_RICO :: SubLANGID
- sUBLANG_SWEDISH :: SubLANGID
- sUBLANG_SWEDISH_FINLAND :: SubLANGID
- sUBLANG_URDU_PAKISTAN :: SubLANGID
- sUBLANG_URDU_INDIA :: SubLANGID
- sUBLANG_UZBEK_LATIN :: SubLANGID
- sUBLANG_UZBEK_CYRILLIC :: SubLANGID
- type CodePage = DWORD
- type LCID = DWORD
- type LANGID = WORD
- type SortID = WORD
- type SubLANGID = WORD
- type PrimaryLANGID = WORD
- mAKELCID :: LANGID -> SortID -> LCID
- lANGIDFROMLCID :: LCID -> LANGID
- sORTIDFROMLCID :: LCID -> SortID
- mAKELANGID :: PrimaryLANGID -> SubLANGID -> LANGID
- pRIMARYLANGID :: LANGID -> PrimaryLANGID
- sUBLANGID :: LANGID -> SubLANGID

# Documentation

type NLS_FUNCTION = DWORD Source #

type LCTYPE = UINT Source #

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 Methods showsPrec :: Int -> LCData -> ShowS Source # show :: LCData -> String Source # showList :: [LCData] -> ShowS Source #
Eq LCData Source # |
Instance details Defined in System.Win32.NLS Methods (==) :: LCData -> LCData -> Bool # (/=) :: LCData -> LCData -> Bool #

data LOCALESIGNATURE Source #

Constructors

LOCALESIGNATURE |
Fields lsUsb :: !UnicodeSubsetBitfield lsCsbDefault :: !DDWORD lsCsbSupported :: !DDWORD

#### Instances

Instances details

Storable LOCALESIGNATURE Source # |
Instance details Defined in System.Win32.NLS Methods sizeOf :: LOCALESIGNATURE -> Int Source # alignment :: LOCALESIGNATURE -> Int Source # peekElemOff :: Ptr LOCALESIGNATURE -> Int -> IO LOCALESIGNATURE Source # pokeElemOff :: Ptr LOCALESIGNATURE -> Int -> LOCALESIGNATURE -> IO () Source # peekByteOff :: Ptr b -> Int -> IO LOCALESIGNATURE Source # pokeByteOff :: Ptr b -> Int -> LOCALESIGNATURE -> IO () Source # peek :: Ptr LOCALESIGNATURE -> IO LOCALESIGNATURE Source # poke :: Ptr LOCALESIGNATURE -> LOCALESIGNATURE -> IO () Source #
Show LOCALESIGNATURE Source # |
Instance details Defined in System.Win32.NLS Methods showsPrec :: Int -> LOCALESIGNATURE -> ShowS Source # show :: LOCALESIGNATURE -> String Source # showList :: [LOCALESIGNATURE] -> ShowS Source #
Eq LOCALESIGNATURE Source # |
Instance details Defined in System.Win32.NLS Methods (==) :: LOCALESIGNATURE -> LOCALESIGNATURE -> Bool # (/=) :: LOCALESIGNATURE -> LOCALESIGNATURE -> Bool #

data UnicodeSubsetBitfield Source #

Constructors

UnicodeSubsetBitfield |
Fields usbLow :: !DDWORD usbHigh :: !DDWORD

#### Instances

Instances details

Storable UnicodeSubsetBitfield Source # |
Instance details Defined in System.Win32.NLS Methods sizeOf :: UnicodeSubsetBitfield -> Int Source # alignment :: UnicodeSubsetBitfield -> Int Source # peekElemOff :: Ptr UnicodeSubsetBitfield -> Int -> IO UnicodeSubsetBitfield Source # pokeElemOff :: Ptr UnicodeSubsetBitfield -> Int -> UnicodeSubsetBitfield -> IO () Source # peekByteOff :: Ptr b -> Int -> IO UnicodeSubsetBitfield Source # pokeByteOff :: Ptr b -> Int -> UnicodeSubsetBitfield -> IO () Source # peek :: Ptr UnicodeSubsetBitfield -> IO UnicodeSubsetBitfield Source # poke :: Ptr UnicodeSubsetBitfield -> UnicodeSubsetBitfield -> IO () Source #
Show UnicodeSubsetBitfield Source # |
Instance details Defined in System.Win32.NLS Methods showsPrec :: Int -> UnicodeSubsetBitfield -> ShowS Source # show :: UnicodeSubsetBitfield -> String Source # showList :: [UnicodeSubsetBitfield] -> ShowS Source #
Eq UnicodeSubsetBitfield Source # |
Instance details Defined in System.Win32.NLS Methods (==) :: UnicodeSubsetBitfield -> UnicodeSubsetBitfield -> Bool # (/=) :: UnicodeSubsetBitfield -> UnicodeSubsetBitfield -> Bool #

type LCMapFlags = DWORD Source #

data NLSVERSIONINFOEX Source #

Constructors

NLSVERSIONINFOEX |
Fields dwNLSVersionInfoSize :: DWORD dwNLSVersion :: DWORD dwDefinedVersion :: DWORD dwEffectiveId :: DWORD guidCustomVersion :: GUID

#### Instances

Instances details

Storable NLSVERSIONINFOEX Source # |
Instance details Defined in System.Win32.NLS Methods sizeOf :: NLSVERSIONINFOEX -> Int Source # alignment :: NLSVERSIONINFOEX -> Int Source # peekElemOff :: Ptr NLSVERSIONINFOEX -> Int -> IO NLSVERSIONINFOEX Source # pokeElemOff :: Ptr NLSVERSIONINFOEX -> Int -> NLSVERSIONINFOEX -> IO () Source # peekByteOff :: Ptr b -> Int -> IO NLSVERSIONINFOEX Source # pokeByteOff :: Ptr b -> Int -> NLSVERSIONINFOEX -> IO () Source # peek :: Ptr NLSVERSIONINFOEX -> IO NLSVERSIONINFOEX Source # poke :: Ptr NLSVERSIONINFOEX -> NLSVERSIONINFOEX -> IO () Source #
Show NLSVERSIONINFOEX Source # |
Instance details Defined in System.Win32.NLS Methods showsPrec :: Int -> NLSVERSIONINFOEX -> ShowS Source # show :: NLSVERSIONINFOEX -> String Source # showList :: [NLSVERSIONINFOEX] -> ShowS Source #
Eq NLSVERSIONINFOEX Source # |
Instance details Defined in System.Win32.NLS Methods (==) :: NLSVERSIONINFOEX -> NLSVERSIONINFOEX -> Bool # (/=) :: NLSVERSIONINFOEX -> NLSVERSIONINFOEX -> Bool #

data GUID Source #

Constructors

GUID !Word32 !Word16 !Word16 !Word8 !Word8 !Word8 !Word8 !Word8 !Word8 !Word8 !Word8 |

#### Instances

Instances details

Storable GUID Source # |
Instance details Defined in System.Win32.NLS Methods sizeOf :: GUID -> Int Source # alignment :: GUID -> Int Source # peekElemOff :: Ptr GUID -> Int -> IO GUID Source # pokeElemOff :: Ptr GUID -> Int -> GUID -> IO () Source # peekByteOff :: Ptr b -> Int -> IO GUID Source # pokeByteOff :: Ptr b -> Int -> GUID -> IO () Source # peek :: Ptr GUID -> IO GUID Source # poke :: Ptr GUID -> GUID -> IO () Source #
Show GUID Source # |
Instance details Defined in System.Win32.NLS Methods showsPrec :: Int -> GUID -> ShowS Source # show :: GUID -> String Source # showList :: [GUID] -> ShowS Source #
Eq GUID Source # |
Instance details Defined in System.Win32.NLS Methods (==) :: GUID -> GUID -> Bool # (/=) :: GUID -> GUID -> Bool #

type LocaleTestFlags = DWORD Source #

type EnumLocalesFlag = DWORD Source #

type LOCALE_ENUMPROCEX = LPWSTR -> EnumLocalesFlag -> LPARAM -> IO BOOL Source #

multiByteToWideChar :: CodePage -> DWORD -> LPCSTR -> CInt -> LPWSTR -> CInt -> IO CInt Source #

stringToUnicode :: CodePage -> String -> IO String Source #

lOCALE_SYSTEM_DEFAULT :: LCID Source #

lOCALE_USER_DEFAULT :: LCID Source #

lOCALE_NEUTRAL :: LCID Source #

convertDefaultLocale :: LCID -> IO LCID Source #

cP_ACP :: CodePage Source #

cP_MACCP :: CodePage Source #

cP_OEMCP :: CodePage Source #

getACP :: IO CodePage Source #

setThreadLocale :: LCID -> IO () Source #

lOCALE_FONTSIGNATURE :: LCTYPE Source #

lOCALE_ICALENDARTYPE :: LCTYPE Source #

lOCALE_ICENTURY :: LCTYPE Source #

lOCALE_ICOUNTRY :: LCTYPE Source #

lOCALE_ICURRDIGITS :: LCTYPE Source #

lOCALE_ICURRENCY :: LCTYPE Source #

lOCALE_IDATE :: LCTYPE Source #

lOCALE_IDAYLZERO :: LCTYPE Source #

lOCALE_IDEFAULTANSICODEPAGE :: LCTYPE Source #

lOCALE_IDEFAULTCODEPAGE :: LCTYPE Source #

lOCALE_IDEFAULTCOUNTRY :: LCTYPE Source #

lOCALE_IDEFAULTEBCDICCODEPAGE :: LCTYPE Source #

lOCALE_IDEFAULTLANGUAGE :: LCTYPE Source #

lOCALE_IDEFAULTMACCODEPAGE :: LCTYPE Source #

lOCALE_IDIGITS :: LCTYPE Source #

lOCALE_IDIGITSUBSTITUTION :: LCTYPE Source #

lOCALE_IFIRSTDAYOFWEEK :: LCTYPE Source #

lOCALE_IFIRSTWEEKOFYEAR :: LCTYPE Source #

lOCALE_IGEOID :: LCTYPE Source #

lOCALE_IINTLCURRDIGITS :: LCTYPE Source #

lOCALE_ILANGUAGE :: LCTYPE Source #

lOCALE_ILDATE :: LCTYPE Source #

lOCALE_ILZERO :: LCTYPE Source #

lOCALE_IMEASURE :: LCTYPE Source #

lOCALE_IMONLZERO :: LCTYPE Source #

lOCALE_INEGCURR :: LCTYPE Source #

lOCALE_INEGNUMBER :: LCTYPE Source #

lOCALE_INEGSEPBYSPACE :: LCTYPE Source #

lOCALE_INEGSIGNPOSN :: LCTYPE Source #

lOCALE_INEGSYMPRECEDES :: LCTYPE Source #

lOCALE_IOPTIONALCALENDAR :: LCTYPE Source #

lOCALE_PAPERSIZE :: LCTYPE Source #

lOCALE_IPOSSEPBYSPACE :: LCTYPE Source #

lOCALE_IPOSSIGNPOSN :: LCTYPE Source #

lOCALE_IPSSYMPRECEDES :: LCTYPE Source #

lOCALE_ITIME :: LCTYPE Source #

lOCALE_ITIMEMARKPOSN :: LCTYPE Source #

lOCALE_ITLZERO :: LCTYPE Source #

lOCALE_RETURN_NUMBER :: LCTYPE Source #

lOCALE_S1159 :: LCTYPE Source #

lOCALE_S2359 :: LCTYPE Source #

lOCALE_SABBREVCTRYNAME :: LCTYPE Source #

lOCALE_SABBREVDAYNAME1 :: LCTYPE Source #

lOCALE_SABBREVDAYNAME2 :: LCTYPE Source #

lOCALE_SABBREVDAYNAME3 :: LCTYPE Source #

lOCALE_SABBREVDAYNAME4 :: LCTYPE Source #

lOCALE_SABBREVDAYNAME5 :: LCTYPE Source #

lOCALE_SABBREVDAYNAME6 :: LCTYPE Source #

lOCALE_SABBREVDAYNAME7 :: LCTYPE Source #

lOCALE_SABBREVLANGNAME :: LCTYPE Source #

lOCALE_SABBREVMONTHNAME1 :: LCTYPE Source #

lOCALE_SABBREVMONTHNAME2 :: LCTYPE Source #

lOCALE_SABBREVMONTHNAME3 :: LCTYPE Source #

lOCALE_SABBREVMONTHNAME4 :: LCTYPE Source #

lOCALE_SABBREVMONTHNAME5 :: LCTYPE Source #

lOCALE_SABBREVMONTHNAME6 :: LCTYPE Source #

lOCALE_SABBREVMONTHNAME7 :: LCTYPE Source #

lOCALE_SABBREVMONTHNAME8 :: LCTYPE Source #

lOCALE_SABBREVMONTHNAME9 :: LCTYPE Source #

lOCALE_SABBREVMONTHNAME10 :: LCTYPE Source #

lOCALE_SABBREVMONTHNAME11 :: LCTYPE Source #

lOCALE_SABBREVMONTHNAME12 :: LCTYPE Source #

lOCALE_SABBREVMONTHNAME13 :: LCTYPE Source #

lOCALE_SCONSOLEFALLBACKNAME :: LCTYPE Source #

lOCALE_SCURRENCY :: LCTYPE Source #

lOCALE_SDATE :: LCTYPE Source #

Type representing locale data

lOCALE_SDAYNAME1 :: LCTYPE Source #

lOCALE_SDAYNAME2 :: LCTYPE Source #

lOCALE_SDAYNAME3 :: LCTYPE Source #

lOCALE_SDAYNAME4 :: LCTYPE Source #

lOCALE_SDAYNAME5 :: LCTYPE Source #

lOCALE_SDAYNAME6 :: LCTYPE Source #

lOCALE_SDAYNAME7 :: LCTYPE Source #

lOCALE_SDECIMAL :: LCTYPE Source #

lOCALE_SDURATION :: LCTYPE Source #

lOCALE_SENGCURRNAME :: LCTYPE Source #

lOCALE_SENGLISHCOUNTRYNAME :: LCTYPE Source #

lOCALE_SENGLISHLANGUAGENAME :: LCTYPE Source #

lOCALE_SGROUPING :: LCTYPE Source #

lOCALE_SINTLSYMBOL :: LCTYPE Source #

lOCALE_SISO3166CTRYNAME :: LCTYPE Source #

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.

lOCALE_SISO639LANGNAME :: LCTYPE Source #

lOCALE_SISO639LANGNAME2 :: LCTYPE Source #

lOCALE_SKEYBOARDSTOINSTALL :: LCTYPE Source #

lOCALE_SLIST :: LCTYPE Source #

lOCALE_SLONGDATE :: LCTYPE Source #

lOCALE_SMONDECIMALSEP :: LCTYPE Source #

lOCALE_SMONGROUPING :: LCTYPE Source #

lOCALE_SMONTHNAME1 :: LCTYPE Source #

lOCALE_SMONTHNAME2 :: LCTYPE Source #

lOCALE_SMONTHNAME3 :: LCTYPE Source #

lOCALE_SMONTHNAME4 :: LCTYPE Source #

lOCALE_SMONTHNAME5 :: LCTYPE Source #

lOCALE_SMONTHNAME6 :: LCTYPE Source #

lOCALE_SMONTHNAME7 :: LCTYPE Source #

lOCALE_SMONTHNAME8 :: LCTYPE Source #

lOCALE_SMONTHNAME9 :: LCTYPE Source #

lOCALE_SMONTHNAME10 :: LCTYPE Source #

lOCALE_SMONTHNAME11 :: LCTYPE Source #

lOCALE_SMONTHNAME12 :: LCTYPE Source #

lOCALE_SMONTHNAME13 :: LCTYPE Source #

lOCALE_SMONTHOUSANDSEP :: LCTYPE Source #

lOCALE_SNAME :: LCTYPE Source #

lOCALE_SNAN :: LCTYPE Source #

lOCALE_SNATIVECOUNTRYNAME :: LCTYPE Source #

lOCALE_SNATIVECURRNAME :: LCTYPE Source #

lOCALE_SNATIVEDIGITS :: LCTYPE Source #

lOCALE_SNEGATIVESIGN :: LCTYPE Source #

lOCALE_SNEGINFINITY :: LCTYPE Source #

lOCALE_SPARENT :: LCTYPE Source #

lOCALE_SPOSINFINITY :: LCTYPE Source #

lOCALE_SPOSITIVESIGN :: LCTYPE Source #

lOCALE_SSCRIPTS :: LCTYPE Source #

lOCALE_SSHORTDATE :: LCTYPE Source #

lOCALE_SSHORTESTDAYNAME1 :: LCTYPE Source #

lOCALE_SSHORTESTDAYNAME2 :: LCTYPE Source #

lOCALE_SSHORTESTDAYNAME3 :: LCTYPE Source #

lOCALE_SSHORTESTDAYNAME4 :: LCTYPE Source #

lOCALE_SSHORTESTDAYNAME5 :: LCTYPE Source #

lOCALE_SSHORTESTDAYNAME6 :: LCTYPE Source #

lOCALE_SSHORTESTDAYNAME7 :: LCTYPE Source #

lOCALE_SSORTNAME :: LCTYPE Source #

lOCALE_STHOUSAND :: LCTYPE Source #

lOCALE_STIME :: LCTYPE Source #

lOCALE_STIMEFORMAT :: LCTYPE Source #

lOCALE_SYEARMONTH :: LCTYPE Source #

getLocaleInfoEx :: Maybe String -> LCTYPE -> IO LCData Source #

c_GetLocaleInfoEx :: LPCWSTR -> LCTYPE -> LPWSTR -> CInt -> IO CInt Source #

setLocaleInfo :: LCID -> LCTYPE -> String -> IO () Source #

c_SetLocaleInfo :: LCID -> LCTYPE -> LPCTSTR -> IO Bool Source #

lCMAP_BYTEREV :: LCMapFlags Source #

lCMAP_FULLWIDTH :: LCMapFlags Source #

lCMAP_HALFWIDTH :: LCMapFlags Source #

lCMAP_HIRAGANA :: LCMapFlags Source #

lCMAP_KATAKANA :: LCMapFlags Source #

lCMAP_LINGUISTIC_CASING :: LCMapFlags Source #

lCMAP_LOWERCASE :: LCMapFlags Source #

lCMAP_SIMPLIFIED_CHINESE :: LCMapFlags Source #

lCMAP_SORTKEY :: LCMapFlags Source #

lCMAP_TRADITIONAL_CHINESE :: LCMapFlags Source #

lCMAP_UPPERCASE :: LCMapFlags Source #

lINGUISTIC_IGNORECASE :: LCMapFlags Source #

lINGUISTIC_IGNOREDIACRITIC :: LCMapFlags Source #

nORM_IGNORECASE :: LCMapFlags Source #

nORM_IGNORENONSPACE :: LCMapFlags Source #

nORM_IGNOREKANATYPE :: LCMapFlags Source #

nORM_IGNORESYMBOLS :: LCMapFlags Source #

nORM_IGNOREWIDTH :: LCMapFlags Source #

nORM_LINGUISTIC_CASING :: LCMapFlags Source #

sORT_STRINGSORT :: LCMapFlags Source #

getNLSVersionEx :: Maybe String -> IO NLSVERSIONINFOEX Source #

c_GetNLSVersionEx :: NLS_FUNCTION -> LPCWSTR -> Ptr NLSVERSIONINFOEX -> IO Bool Source #

lCMapStringEx :: Maybe String -> LCMapFlags -> String -> NLSVERSIONINFOEX -> IO String Source #

c_LCMapStringEx :: LPCWSTR -> LCMapFlags -> LPCWSTR -> CInt -> LPWSTR -> CInt -> Ptr NLSVERSIONINFOEX -> LPVOID -> LPARAM -> IO CInt Source #

lCMapString :: LCID -> LCMapFlags -> String -> Int -> IO String Source #

c_LCMapString :: LCID -> LCMapFlags -> LPCTSTR -> Int -> LPCTSTR -> Int -> IO Int Source #

lCID_INSTALLED :: LocaleTestFlags Source #

lCID_SUPPORTED :: LocaleTestFlags Source #

isValidLocaleName :: Maybe String -> IO Bool Source #

c_IsValidLocaleName :: LPCWSTR -> IO Bool Source #

isValidLocale :: LCID -> LocaleTestFlags -> IO Bool Source #

lOCALE_ALL :: EnumLocalesFlag Source #

lOCALE_ALTERNATE_SORTS :: EnumLocalesFlag Source #

lOCALE_REPLACEMENT :: EnumLocalesFlag Source #

lOCALE_SUPPLEMENTAL :: EnumLocalesFlag Source #

lOCALE_WINDOWS :: EnumLocalesFlag Source #

mkLOCALE_ENUMPROCEX :: LOCALE_ENUMPROCEX -> IO (FunPtr LOCALE_ENUMPROCEX) Source #

enumSystemLocalesEx :: LOCALE_ENUMPROCEX -> EnumLocalesFlag -> LPARAM -> IO () Source #

c_EnumSystemLocalesEx :: FunPtr LOCALE_ENUMPROCEX -> DWORD -> LPARAM -> LPVOID -> IO Bool Source #

enumSystemLocalesEx' Source #

Arguments

:: EnumLocalesFlag |
-> Maybe Bool | Maybe include (or exclude) replacement locales?
-> IO [String] |

isValidCodePage :: CodePage -> IO Bool Source #

getUserDefaultLCID :: LCID Source #

getUserDefaultLangID :: LANGID Source #

lOCALE_NAME_INVARIANT :: Maybe String Source #

lOCALE_NAME_SYSTEM_DEFAULT :: Maybe String Source #

lOCALE_NAME_USER_DEFAULT :: Maybe String Source #

getUserDefaultLocaleName :: IO String Source #

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

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

c_GetUserDefaultLocaleName :: LPWSTR -> CInt -> IO CInt Source #

lOCALE_NAME_MAX_LENGTH :: CInt Source #

getThreadLocale :: IO LCID Source #

getSystemDefaultLCID :: LCID Source #

getSystemDefaultLangID :: LANGID Source #

getSystemDefaultLocaleName :: IO String Source #

c_GetSystemDefaultLocaleName :: LPWSTR -> CInt -> IO CInt Source #

getOEMCP :: CodePage Source #

lANG_NEUTRAL :: PrimaryLANGID Source #

lANG_BULGARIAN :: PrimaryLANGID Source #

lANG_CHINESE :: PrimaryLANGID Source #

lANG_CZECH :: PrimaryLANGID Source #

lANG_DANISH :: PrimaryLANGID Source #

lANG_GERMAN :: PrimaryLANGID Source #

lANG_GREEK :: PrimaryLANGID Source #

lANG_ENGLISH :: PrimaryLANGID Source #

lANG_SPANISH :: PrimaryLANGID Source #

lANG_FINNISH :: PrimaryLANGID Source #

lANG_FRENCH :: PrimaryLANGID Source #

lANG_HUNGARIAN :: PrimaryLANGID Source #

lANG_ICELANDIC :: PrimaryLANGID Source #

lANG_ITALIAN :: PrimaryLANGID Source #

lANG_JAPANESE :: PrimaryLANGID Source #

lANG_KOREAN :: PrimaryLANGID Source #

lANG_DUTCH :: PrimaryLANGID Source #

lANG_NORWEGIAN :: PrimaryLANGID Source #

lANG_POLISH :: PrimaryLANGID Source #

lANG_PORTUGUESE :: PrimaryLANGID Source #

lANG_ROMANIAN :: PrimaryLANGID Source #

lANG_RUSSIAN :: PrimaryLANGID Source #

lANG_CROATIAN :: PrimaryLANGID Source #

lANG_SLOVAK :: PrimaryLANGID Source #

lANG_SWEDISH :: PrimaryLANGID Source #

lANG_TURKISH :: PrimaryLANGID Source #

lANG_SLOVENIAN :: PrimaryLANGID Source #

lANG_ARABIC :: PrimaryLANGID Source #

lANG_CATALAN :: PrimaryLANGID Source #

lANG_HEBREW :: PrimaryLANGID Source #

lANG_SERBIAN :: PrimaryLANGID Source #

lANG_ALBANIAN :: PrimaryLANGID Source #

lANG_THAI :: PrimaryLANGID Source #

lANG_URDU :: PrimaryLANGID Source #

lANG_INDONESIAN :: PrimaryLANGID Source #

lANG_BELARUSIAN :: PrimaryLANGID Source #

lANG_ESTONIAN :: PrimaryLANGID Source #

lANG_LATVIAN :: PrimaryLANGID Source #

lANG_LITHUANIAN :: PrimaryLANGID Source #

lANG_FARSI :: PrimaryLANGID Source #

lANG_VIETNAMESE :: PrimaryLANGID Source #

lANG_ARMENIAN :: PrimaryLANGID Source #

lANG_AZERI :: PrimaryLANGID Source #

lANG_BASQUE :: PrimaryLANGID Source #

lANG_MACEDONIAN :: PrimaryLANGID Source #

lANG_AFRIKAANS :: PrimaryLANGID Source #

lANG_GEORGIAN :: PrimaryLANGID Source #

lANG_FAEROESE :: PrimaryLANGID Source #

lANG_HINDI :: PrimaryLANGID Source #

lANG_MALAY :: PrimaryLANGID Source #

lANG_KAZAK :: PrimaryLANGID Source #

lANG_SWAHILI :: PrimaryLANGID Source #

lANG_UZBEK :: PrimaryLANGID Source #

lANG_TATAR :: PrimaryLANGID Source #

lANG_BENGALI :: PrimaryLANGID Source #

lANG_PUNJABI :: PrimaryLANGID Source #

lANG_GUJARATI :: PrimaryLANGID Source #

lANG_ORIYA :: PrimaryLANGID Source #

lANG_TAMIL :: PrimaryLANGID Source #

lANG_TELUGU :: PrimaryLANGID Source #

lANG_KANNADA :: PrimaryLANGID Source #

lANG_MALAYALAM :: PrimaryLANGID Source #

lANG_ASSAMESE :: PrimaryLANGID Source #

lANG_MARATHI :: PrimaryLANGID Source #

lANG_SANSKRIT :: PrimaryLANGID Source #

lANG_KONKANI :: PrimaryLANGID Source #

lANG_MANIPURI :: PrimaryLANGID Source #

lANG_SINDHI :: PrimaryLANGID Source #

lANG_KASHMIRI :: PrimaryLANGID Source #

lANG_NEPALI :: PrimaryLANGID Source #

sORT_DEFAULT :: SortID Source #

sORT_JAPANESE_XJIS :: SortID Source #

sORT_JAPANESE_UNICODE :: SortID Source #

sORT_CHINESE_BIG5 :: SortID Source #

sORT_CHINESE_UNICODE :: SortID Source #

sORT_KOREAN_KSC :: SortID Source #

sORT_KOREAN_UNICODE :: SortID Source #

sUBLANG_NEUTRAL :: SubLANGID Source #

sUBLANG_DEFAULT :: SubLANGID Source #

sUBLANG_SYS_DEFAULT :: SubLANGID Source #

sUBLANG_CHINESE_TRADITIONAL :: SubLANGID Source #

sUBLANG_CHINESE_SIMPLIFIED :: SubLANGID Source #

sUBLANG_CHINESE_HONGKONG :: SubLANGID Source #

sUBLANG_CHINESE_SINGAPORE :: SubLANGID Source #

sUBLANG_DUTCH :: SubLANGID Source #

sUBLANG_DUTCH_BELGIAN :: SubLANGID Source #

sUBLANG_ENGLISH_US :: SubLANGID Source #

sUBLANG_ENGLISH_UK :: SubLANGID Source #

sUBLANG_ENGLISH_AUS :: SubLANGID Source #

sUBLANG_ENGLISH_CAN :: SubLANGID Source #

sUBLANG_ENGLISH_NZ :: SubLANGID Source #

sUBLANG_ENGLISH_EIRE :: SubLANGID Source #

sUBLANG_FRENCH :: SubLANGID Source #

sUBLANG_FRENCH_BELGIAN :: SubLANGID Source #

sUBLANG_FRENCH_CANADIAN :: SubLANGID Source #

sUBLANG_FRENCH_SWISS :: SubLANGID Source #

sUBLANG_GERMAN :: SubLANGID Source #

sUBLANG_GERMAN_SWISS :: SubLANGID Source #

sUBLANG_GERMAN_AUSTRIAN :: SubLANGID Source #

sUBLANG_ITALIAN :: SubLANGID Source #

sUBLANG_ITALIAN_SWISS :: SubLANGID Source #

sUBLANG_NORWEGIAN_BOKMAL :: SubLANGID Source #

sUBLANG_NORWEGIAN_NYNORSK :: SubLANGID Source #

sUBLANG_PORTUGUESE :: SubLANGID Source #

sUBLANG_PORTUGUESE_BRAZILIAN :: SubLANGID Source #

sUBLANG_SPANISH :: SubLANGID Source #

sUBLANG_SPANISH_MEXICAN :: SubLANGID Source #

sUBLANG_SPANISH_MODERN :: SubLANGID Source #

sUBLANG_ARABIC_SAUDI_ARABIA :: SubLANGID Source #

sUBLANG_ARABIC_IRAQ :: SubLANGID Source #

sUBLANG_ARABIC_EGYPT :: SubLANGID Source #

sUBLANG_ARABIC_LIBYA :: SubLANGID Source #

sUBLANG_ARABIC_ALGERIA :: SubLANGID Source #

sUBLANG_ARABIC_MOROCCO :: SubLANGID Source #

sUBLANG_ARABIC_TUNISIA :: SubLANGID Source #

sUBLANG_ARABIC_OMAN :: SubLANGID Source #

sUBLANG_ARABIC_YEMEN :: SubLANGID Source #

sUBLANG_ARABIC_SYRIA :: SubLANGID Source #

sUBLANG_ARABIC_JORDAN :: SubLANGID Source #

sUBLANG_ARABIC_LEBANON :: SubLANGID Source #

sUBLANG_ARABIC_KUWAIT :: SubLANGID Source #

sUBLANG_ARABIC_UAE :: SubLANGID Source #

sUBLANG_ARABIC_BAHRAIN :: SubLANGID Source #

sUBLANG_ARABIC_QATAR :: SubLANGID Source #

sUBLANG_AZERI_CYRILLIC :: SubLANGID Source #

sUBLANG_AZERI_LATIN :: SubLANGID Source #

sUBLANG_CHINESE_MACAU :: SubLANGID Source #

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`.

sUBLANG_ENGLISH_JAMAICA :: SubLANGID Source #

sUBLANG_ENGLISH_CARIBBEAN :: SubLANGID Source #

sUBLANG_ENGLISH_BELIZE :: SubLANGID Source #

sUBLANG_ENGLISH_TRINIDAD :: SubLANGID Source #

sUBLANG_ENGLISH_PHILIPPINES :: SubLANGID Source #

sUBLANG_ENGLISH_ZIMBABWE :: SubLANGID Source #

sUBLANG_FRENCH_LUXEMBOURG :: SubLANGID Source #

sUBLANG_FRENCH_MONACO :: SubLANGID Source #

sUBLANG_GERMAN_LUXEMBOURG :: SubLANGID Source #

sUBLANG_GERMAN_LIECHTENSTEIN :: SubLANGID Source #

sUBLANG_KASHMIRI_INDIA :: SubLANGID Source #

sUBLANG_KOREAN :: SubLANGID Source #

sUBLANG_LITHUANIAN :: SubLANGID Source #

sUBLANG_MALAY_MALAYSIA :: SubLANGID Source #

sUBLANG_MALAY_BRUNEI_DARUSSALAM :: SubLANGID Source #

sUBLANG_NEPALI_INDIA :: SubLANGID Source #

sUBLANG_SERBIAN_LATIN :: SubLANGID Source #

sUBLANG_SERBIAN_CYRILLIC :: SubLANGID Source #

sUBLANG_SPANISH_GUATEMALA :: SubLANGID Source #

sUBLANG_SPANISH_COSTA_RICA :: SubLANGID Source #

sUBLANG_SPANISH_PANAMA :: SubLANGID Source #

sUBLANG_SPANISH_DOMINICAN_REPUBLIC :: SubLANGID Source #

sUBLANG_SPANISH_VENEZUELA :: SubLANGID Source #

sUBLANG_SPANISH_COLOMBIA :: SubLANGID Source #

sUBLANG_SPANISH_PERU :: SubLANGID Source #

sUBLANG_SPANISH_ARGENTINA :: SubLANGID Source #

sUBLANG_SPANISH_ECUADOR :: SubLANGID Source #

sUBLANG_SPANISH_CHILE :: SubLANGID Source #

sUBLANG_SPANISH_URUGUAY :: SubLANGID Source #

sUBLANG_SPANISH_PARAGUAY :: SubLANGID Source #

sUBLANG_SPANISH_BOLIVIA :: SubLANGID Source #

sUBLANG_SPANISH_EL_SALVADOR :: SubLANGID Source #

sUBLANG_SPANISH_HONDURAS :: SubLANGID Source #

sUBLANG_SPANISH_NICARAGUA :: SubLANGID Source #

sUBLANG_SPANISH_PUERTO_RICO :: SubLANGID Source #

sUBLANG_SWEDISH :: SubLANGID Source #

sUBLANG_SWEDISH_FINLAND :: SubLANGID Source #

sUBLANG_URDU_PAKISTAN :: SubLANGID Source #

sUBLANG_URDU_INDIA :: SubLANGID Source #

sUBLANG_UZBEK_LATIN :: SubLANGID Source #

sUBLANG_UZBEK_CYRILLIC :: SubLANGID Source #

type CodePage = DWORD Source #

type LCID = DWORD Source #

type LANGID = WORD Source #

type SortID = WORD Source #

type SubLANGID = WORD Source #

type PrimaryLANGID = WORD Source #

mAKELCID :: LANGID -> SortID -> LCID Source #

lANGIDFROMLCID :: LCID -> LANGID Source #

sORTIDFROMLCID :: LCID -> SortID Source #

mAKELANGID :: PrimaryLANGID -> SubLANGID -> LANGID Source #

pRIMARYLANGID :: LANGID -> PrimaryLANGID Source #

sUBLANGID :: LANGID -> SubLANGID Source #