System.Win32.NLS

Copyright (c) Alastair Reid, 1997-2003
License BSD-style (see the file libraries/base/LICENSE)
Maintainer Esa Ilari Vuokko <[email protected]>
Stability provisional
Portability portable
Safe Haskell Trustworthy
Language Haskell98

Description

A collection of FFI declarations for interfacing with Win32.

lOCALE_SYSTEM_DEFAULT :: LCID Source

lOCALE_USER_DEFAULT :: LCID Source

lOCALE_NEUTRAL :: LCID Source

convertDefaultLocale :: LCID -> IO LCID Source

type CodePage = UINT Source

cP_ACP :: CodePage Source

cP_MACCP :: CodePage Source

cP_OEMCP :: CodePage Source

getACP :: IO CodePage Source

setThreadLocale :: LCID -> IO () Source

type LCTYPE = UINT Source

lOCALE_ICALENDARTYPE :: LCTYPE Source

lOCALE_SDATE :: LCTYPE Source

lOCALE_ICURRDIGITS :: LCTYPE Source

lOCALE_SDECIMAL :: LCTYPE Source

lOCALE_ICURRENCY :: LCTYPE Source

lOCALE_SGROUPING :: LCTYPE Source

lOCALE_IDIGITS :: LCTYPE Source

lOCALE_SLIST :: LCTYPE Source

lOCALE_IFIRSTDAYOFWEEK :: LCTYPE Source

lOCALE_SLONGDATE :: LCTYPE Source

lOCALE_IFIRSTWEEKOFYEAR :: LCTYPE Source

lOCALE_SMONDECIMALSEP :: LCTYPE Source

lOCALE_ILZERO :: LCTYPE Source

lOCALE_SMONGROUPING :: LCTYPE Source

lOCALE_IMEASURE :: LCTYPE Source

lOCALE_SMONTHOUSANDSEP :: LCTYPE Source

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

lOCALE_INEGCURR :: LCTYPE Source

lOCALE_SNEGATIVESIGN :: LCTYPE Source

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

lOCALE_INEGNUMBER :: LCTYPE Source

type LCMapFlags = DWORD Source

lOCALE_SPOSITIVESIGN :: LCTYPE Source

lOCALE_SSHORTDATE :: LCTYPE Source

lCMAP_BYTEREV :: LCMapFlags Source

lOCALE_ITIME :: LCTYPE Source

lCMAP_FULLWIDTH :: LCMapFlags Source

lOCALE_STHOUSAND :: LCTYPE Source

lCMAP_HALFWIDTH :: LCMapFlags Source

lOCALE_S1159 :: LCTYPE Source

lCMAP_HIRAGANA :: LCMapFlags Source

lOCALE_STIME :: LCTYPE Source

lCMAP_KATAKANA :: LCMapFlags Source

lOCALE_S2359 :: LCTYPE Source

lCMAP_LOWERCASE :: LCMapFlags Source

lOCALE_STIMEFORMAT :: LCTYPE Source

lCMAP_SORTKEY :: LCMapFlags Source

lOCALE_SCURRENCY :: LCTYPE Source

lCMAP_UPPERCASE :: LCMapFlags Source

nORM_IGNORECASE :: LCMapFlags Source

nORM_IGNORENONSPACE :: LCMapFlags Source

nORM_IGNOREKANATYPE :: LCMapFlags Source

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

nORM_IGNORESYMBOLS :: LCMapFlags Source

nORM_IGNOREWIDTH :: LCMapFlags Source

sORT_STRINGSORT :: LCMapFlags Source

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

lCMAP_LINGUISTIC_CASING :: LCMapFlags Source

type LocaleTestFlags = DWORD Source

lCMAP_SIMPLIFIED_CHINESE :: LCMapFlags Source

lCID_INSTALLED :: LocaleTestFlags Source

lCMAP_TRADITIONAL_CHINESE :: LCMapFlags Source

lCID_SUPPORTED :: LocaleTestFlags Source

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

isValidCodePage :: CodePage -> IO Bool Source

getUserDefaultLCID :: LCID Source

getUserDefaultLangID :: LANGID Source

getThreadLocale :: IO LCID Source

getSystemDefaultLCID :: LCID Source

getSystemDefaultLangID :: LANGID 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

sORT_DEFAULT :: SortID Source

lANG_LATVIAN :: PrimaryLANGID Source

sORT_JAPANESE_XJIS :: SortID Source

lANG_LITHUANIAN :: PrimaryLANGID Source

sORT_JAPANESE_UNICODE :: SortID Source

lANG_FARSI :: PrimaryLANGID Source

sORT_CHINESE_BIG5 :: SortID Source

lANG_VIETNAMESE :: PrimaryLANGID Source

sORT_CHINESE_UNICODE :: SortID Source

lANG_ARMENIAN :: PrimaryLANGID Source

sORT_KOREAN_KSC :: SortID Source

sUBLANG_NEUTRAL :: SubLANGID Source

lANG_AZERI :: PrimaryLANGID Source

sORT_KOREAN_UNICODE :: SortID Source

sUBLANG_DEFAULT :: SubLANGID Source

lANG_BASQUE :: PrimaryLANGID Source

sUBLANG_SYS_DEFAULT :: SubLANGID Source

lANG_MACEDONIAN :: PrimaryLANGID Source

sUBLANG_CHINESE_TRADITIONAL :: SubLANGID Source

lANG_AFRIKAANS :: PrimaryLANGID Source

sUBLANG_CHINESE_SIMPLIFIED :: SubLANGID Source

lANG_GEORGIAN :: PrimaryLANGID Source

sUBLANG_CHINESE_HONGKONG :: SubLANGID Source

lANG_FAEROESE :: PrimaryLANGID Source

sUBLANG_CHINESE_SINGAPORE :: SubLANGID Source

lANG_HINDI :: PrimaryLANGID Source

sUBLANG_DUTCH :: SubLANGID Source

lANG_MALAY :: PrimaryLANGID Source

sUBLANG_DUTCH_BELGIAN :: SubLANGID Source

lANG_KAZAK :: PrimaryLANGID Source

sUBLANG_ENGLISH_US :: SubLANGID Source

lANG_SWAHILI :: PrimaryLANGID Source

sUBLANG_ENGLISH_UK :: SubLANGID Source

lANG_UZBEK :: PrimaryLANGID Source

sUBLANG_ENGLISH_AUS :: SubLANGID Source

lANG_TATAR :: PrimaryLANGID Source

sUBLANG_ENGLISH_CAN :: SubLANGID Source

lANG_BENGALI :: PrimaryLANGID Source

sUBLANG_ENGLISH_NZ :: SubLANGID Source

lANG_PUNJABI :: PrimaryLANGID Source

sUBLANG_ENGLISH_EIRE :: SubLANGID Source

lANG_GUJARATI :: PrimaryLANGID Source

sUBLANG_FRENCH :: SubLANGID Source

lANG_ORIYA :: PrimaryLANGID Source

sUBLANG_FRENCH_BELGIAN :: SubLANGID Source

lANG_TAMIL :: PrimaryLANGID Source

sUBLANG_FRENCH_CANADIAN :: SubLANGID Source

lANG_TELUGU :: PrimaryLANGID Source

sUBLANG_FRENCH_SWISS :: SubLANGID Source

lANG_KANNADA :: PrimaryLANGID Source

sUBLANG_GERMAN :: SubLANGID Source

lANG_MALAYALAM :: PrimaryLANGID Source

sUBLANG_GERMAN_SWISS :: SubLANGID Source

lANG_ASSAMESE :: PrimaryLANGID Source

sUBLANG_GERMAN_AUSTRIAN :: SubLANGID Source

lANG_MARATHI :: PrimaryLANGID Source

sUBLANG_ITALIAN :: SubLANGID Source

lANG_SANSKRIT :: PrimaryLANGID Source

sUBLANG_ITALIAN_SWISS :: SubLANGID Source

lANG_KONKANI :: PrimaryLANGID Source

sUBLANG_NORWEGIAN_BOKMAL :: SubLANGID Source

lANG_MANIPURI :: PrimaryLANGID Source

sUBLANG_NORWEGIAN_NYNORSK :: SubLANGID Source

lANG_SINDHI :: PrimaryLANGID Source

sUBLANG_PORTUGUESE :: SubLANGID Source

lANG_KASHMIRI :: PrimaryLANGID Source

sUBLANG_PORTUGUESE_BRAZILIAN :: SubLANGID Source

lANG_NEPALI :: PrimaryLANGID 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

stringToUnicode :: CodePage -> String -> IO String 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

multiByteToWideChar :: CodePage -> DWORD -> LPCSTR -> CInt -> LPWSTR -> CInt -> IO CInt 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 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

© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/7.10.3/docs/html/libraries/Win32-2.3.1.0/System-Win32-NLS.html