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 |
A collection of FFI declarations for interfacing with Win32.
- lOCALE_SYSTEM_DEFAULT :: LCID
- lOCALE_USER_DEFAULT :: LCID
- lOCALE_NEUTRAL :: LCID
- convertDefaultLocale :: LCID -> IO LCID
- type CodePage = UINT
- cP_ACP :: CodePage
- cP_MACCP :: CodePage
- cP_OEMCP :: CodePage
- getACP :: IO CodePage
- setThreadLocale :: LCID -> IO ()
- type LCTYPE = UINT
- lOCALE_ICALENDARTYPE :: LCTYPE
- lOCALE_SDATE :: LCTYPE
- lOCALE_ICURRDIGITS :: LCTYPE
- lOCALE_SDECIMAL :: LCTYPE
- lOCALE_ICURRENCY :: LCTYPE
- lOCALE_SGROUPING :: LCTYPE
- lOCALE_IDIGITS :: LCTYPE
- lOCALE_SLIST :: LCTYPE
- lOCALE_IFIRSTDAYOFWEEK :: LCTYPE
- lOCALE_SLONGDATE :: LCTYPE
- lOCALE_IFIRSTWEEKOFYEAR :: LCTYPE
- lOCALE_SMONDECIMALSEP :: LCTYPE
- lOCALE_ILZERO :: LCTYPE
- lOCALE_SMONGROUPING :: LCTYPE
- lOCALE_IMEASURE :: LCTYPE
- lOCALE_SMONTHOUSANDSEP :: LCTYPE
- setLocaleInfo :: LCID -> LCTYPE -> String -> IO ()
- lOCALE_INEGCURR :: LCTYPE
- lOCALE_SNEGATIVESIGN :: LCTYPE
- c_SetLocaleInfo :: LCID -> LCTYPE -> LPCTSTR -> IO Bool
- lOCALE_INEGNUMBER :: LCTYPE
- type LCMapFlags = DWORD
- lOCALE_SPOSITIVESIGN :: LCTYPE
- lOCALE_SSHORTDATE :: LCTYPE
- lCMAP_BYTEREV :: LCMapFlags
- lOCALE_ITIME :: LCTYPE
- lCMAP_FULLWIDTH :: LCMapFlags
- lOCALE_STHOUSAND :: LCTYPE
- lCMAP_HALFWIDTH :: LCMapFlags
- lOCALE_S1159 :: LCTYPE
- lCMAP_HIRAGANA :: LCMapFlags
- lOCALE_STIME :: LCTYPE
- lCMAP_KATAKANA :: LCMapFlags
- lOCALE_S2359 :: LCTYPE
- lCMAP_LOWERCASE :: LCMapFlags
- lOCALE_STIMEFORMAT :: LCTYPE
- lCMAP_SORTKEY :: LCMapFlags
- lOCALE_SCURRENCY :: LCTYPE
- lCMAP_UPPERCASE :: LCMapFlags
- nORM_IGNORECASE :: LCMapFlags
- nORM_IGNORENONSPACE :: LCMapFlags
- nORM_IGNOREKANATYPE :: LCMapFlags
- lCMapString :: LCID -> LCMapFlags -> String -> Int -> IO String
- nORM_IGNORESYMBOLS :: LCMapFlags
- nORM_IGNOREWIDTH :: LCMapFlags
- sORT_STRINGSORT :: LCMapFlags
- c_LCMapString :: LCID -> LCMapFlags -> LPCTSTR -> Int -> LPCTSTR -> Int -> IO Int
- lCMAP_LINGUISTIC_CASING :: LCMapFlags
- type LocaleTestFlags = DWORD
- lCMAP_SIMPLIFIED_CHINESE :: LCMapFlags
- lCID_INSTALLED :: LocaleTestFlags
- lCMAP_TRADITIONAL_CHINESE :: LCMapFlags
- lCID_SUPPORTED :: LocaleTestFlags
- isValidLocale :: LCID -> LocaleTestFlags -> IO Bool
- isValidCodePage :: CodePage -> IO Bool
- getUserDefaultLCID :: LCID
- getUserDefaultLangID :: LANGID
- getThreadLocale :: IO LCID
- getSystemDefaultLCID :: LCID
- getSystemDefaultLangID :: LANGID
- 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
- sORT_DEFAULT :: SortID
- lANG_LATVIAN :: PrimaryLANGID
- sORT_JAPANESE_XJIS :: SortID
- lANG_LITHUANIAN :: PrimaryLANGID
- sORT_JAPANESE_UNICODE :: SortID
- lANG_FARSI :: PrimaryLANGID
- sORT_CHINESE_BIG5 :: SortID
- lANG_VIETNAMESE :: PrimaryLANGID
- sORT_CHINESE_UNICODE :: SortID
- lANG_ARMENIAN :: PrimaryLANGID
- sORT_KOREAN_KSC :: SortID
- sUBLANG_NEUTRAL :: SubLANGID
- lANG_AZERI :: PrimaryLANGID
- sORT_KOREAN_UNICODE :: SortID
- sUBLANG_DEFAULT :: SubLANGID
- lANG_BASQUE :: PrimaryLANGID
- sUBLANG_SYS_DEFAULT :: SubLANGID
- lANG_MACEDONIAN :: PrimaryLANGID
- sUBLANG_CHINESE_TRADITIONAL :: SubLANGID
- lANG_AFRIKAANS :: PrimaryLANGID
- sUBLANG_CHINESE_SIMPLIFIED :: SubLANGID
- lANG_GEORGIAN :: PrimaryLANGID
- sUBLANG_CHINESE_HONGKONG :: SubLANGID
- lANG_FAEROESE :: PrimaryLANGID
- sUBLANG_CHINESE_SINGAPORE :: SubLANGID
- lANG_HINDI :: PrimaryLANGID
- sUBLANG_DUTCH :: SubLANGID
- lANG_MALAY :: PrimaryLANGID
- sUBLANG_DUTCH_BELGIAN :: SubLANGID
- lANG_KAZAK :: PrimaryLANGID
- sUBLANG_ENGLISH_US :: SubLANGID
- lANG_SWAHILI :: PrimaryLANGID
- sUBLANG_ENGLISH_UK :: SubLANGID
- lANG_UZBEK :: PrimaryLANGID
- sUBLANG_ENGLISH_AUS :: SubLANGID
- lANG_TATAR :: PrimaryLANGID
- sUBLANG_ENGLISH_CAN :: SubLANGID
- lANG_BENGALI :: PrimaryLANGID
- sUBLANG_ENGLISH_NZ :: SubLANGID
- lANG_PUNJABI :: PrimaryLANGID
- sUBLANG_ENGLISH_EIRE :: SubLANGID
- lANG_GUJARATI :: PrimaryLANGID
- sUBLANG_FRENCH :: SubLANGID
- lANG_ORIYA :: PrimaryLANGID
- sUBLANG_FRENCH_BELGIAN :: SubLANGID
- lANG_TAMIL :: PrimaryLANGID
- sUBLANG_FRENCH_CANADIAN :: SubLANGID
- lANG_TELUGU :: PrimaryLANGID
- sUBLANG_FRENCH_SWISS :: SubLANGID
- lANG_KANNADA :: PrimaryLANGID
- sUBLANG_GERMAN :: SubLANGID
- lANG_MALAYALAM :: PrimaryLANGID
- sUBLANG_GERMAN_SWISS :: SubLANGID
- lANG_ASSAMESE :: PrimaryLANGID
- sUBLANG_GERMAN_AUSTRIAN :: SubLANGID
- lANG_MARATHI :: PrimaryLANGID
- sUBLANG_ITALIAN :: SubLANGID
- lANG_SANSKRIT :: PrimaryLANGID
- sUBLANG_ITALIAN_SWISS :: SubLANGID
- lANG_KONKANI :: PrimaryLANGID
- sUBLANG_NORWEGIAN_BOKMAL :: SubLANGID
- lANG_MANIPURI :: PrimaryLANGID
- sUBLANG_NORWEGIAN_NYNORSK :: SubLANGID
- lANG_SINDHI :: PrimaryLANGID
- sUBLANG_PORTUGUESE :: SubLANGID
- lANG_KASHMIRI :: PrimaryLANGID
- sUBLANG_PORTUGUESE_BRAZILIAN :: SubLANGID
- lANG_NEPALI :: PrimaryLANGID
- 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
- stringToUnicode :: CodePage -> String -> IO String
- 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
- multiByteToWideChar :: CodePage -> DWORD -> LPCSTR -> CInt -> LPWSTR -> CInt -> IO CInt
- 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 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
setThreadLocale :: LCID -> IO () Source #
type LCMapFlags = DWORD Source #
lCMapString :: LCID -> LCMapFlags -> String -> Int -> IO String Source #
type LocaleTestFlags = DWORD Source #
isValidLocale :: LCID -> LocaleTestFlags -> IO Bool Source #
getThreadLocale :: IO LCID Source #
type PrimaryLANGID = WORD Source #
lANGIDFROMLCID :: LCID -> LANGID Source #
sORTIDFROMLCID :: LCID -> SortID Source #
mAKELANGID :: PrimaryLANGID -> SubLANGID -> LANGID Source #
pRIMARYLANGID :: LANGID -> PrimaryLANGID Source #