Copyright | (c) Alastair Reid 1999-2003 |
---|---|
License | BSD-style (see the file libraries/base/LICENSE) |
Maintainer | Esa Ilari Vuokko <ei@vuokko.info> |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell2010 |
An FFI binding to the system part of the Win32 API.
Synopsis
- module System.Win32.DLL
- module System.Win32.File
- module System.Win32.FileMapping
- module System.Win32.Info
- module System.Win32.Mem
- module System.Win32.MinTTY
- type LOCALE_ENUMPROCEX = LPWSTR -> EnumLocalesFlag -> LPARAM -> IO BOOL
- type EnumLocalesFlag = DWORD
- type LocaleTestFlags = DWORD
- data GUID = GUID !Word32 !Word16 !Word16 !Word8 !Word8 !Word8 !Word8 !Word8 !Word8 !Word8 !Word8
- data NLSVERSIONINFOEX = NLSVERSIONINFOEX {}
- type LCMapFlags = DWORD
- data UnicodeSubsetBitfield = UnicodeSubsetBitfield {}
- data LOCALESIGNATURE = LOCALESIGNATURE {}
- data LCData
- type LCTYPE = UINT
- type CodePage = UINT
- type NLS_FUNCTION = DWORD
- multiByteToWideChar :: CodePage -> DWORD -> LPCSTR -> CInt -> LPWSTR -> CInt -> IO CInt
- getOEMCP :: CodePage
- c_GetSystemDefaultLocaleName :: LPWSTR -> CInt -> IO CInt
- getSystemDefaultLangID :: LANGID
- getSystemDefaultLCID :: LCID
- getThreadLocale :: IO LCID
- c_GetUserDefaultLocaleName :: LPWSTR -> CInt -> IO CInt
- getUserDefaultLangID :: LANGID
- getUserDefaultLCID :: LCID
- isValidCodePage :: CodePage -> IO Bool
- c_EnumSystemLocalesEx :: FunPtr LOCALE_ENUMPROCEX -> DWORD -> LPARAM -> LPVOID -> IO Bool
- mkLOCALE_ENUMPROCEX :: LOCALE_ENUMPROCEX -> IO (FunPtr LOCALE_ENUMPROCEX)
- isValidLocale :: LCID -> LocaleTestFlags -> IO Bool
- c_IsValidLocaleName :: LPCWSTR -> IO Bool
- c_LCMapString :: LCID -> LCMapFlags -> LPCTSTR -> Int -> LPCTSTR -> Int -> IO Int
- c_LCMapStringEx :: LPCWSTR -> LCMapFlags -> LPCWSTR -> CInt -> LPWSTR -> CInt -> Ptr NLSVERSIONINFOEX -> LPVOID -> LPARAM -> IO CInt
- c_GetNLSVersionEx :: NLS_FUNCTION -> LPCWSTR -> Ptr NLSVERSIONINFOEX -> IO Bool
- c_SetLocaleInfo :: LCID -> LCTYPE -> LPCTSTR -> IO Bool
- c_GetLocaleInfoEx :: LPCWSTR -> LCTYPE -> LPWSTR -> CInt -> IO CInt
- setThreadLocale :: LCID -> IO ()
- getACP :: IO CodePage
- convertDefaultLocale :: LCID -> IO LCID
- lOCALE_SYSTEM_DEFAULT :: LCID
- lOCALE_USER_DEFAULT :: LCID
- lOCALE_NEUTRAL :: LCID
- cP_ACP :: CodePage
- cP_MACCP :: CodePage
- cP_OEMCP :: CodePage
- 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
- setLocaleInfo :: LCID -> LCTYPE -> String -> IO ()
- 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
- lCMapStringEx :: Maybe String -> LCMapFlags -> String -> NLSVERSIONINFOEX -> IO String
- lCMapString :: LCID -> LCMapFlags -> String -> Int -> IO String
- lCID_INSTALLED :: LocaleTestFlags
- lCID_SUPPORTED :: LocaleTestFlags
- isValidLocaleName :: Maybe String -> IO Bool
- lOCALE_ALL :: EnumLocalesFlag
- lOCALE_ALTERNATE_SORTS :: EnumLocalesFlag
- lOCALE_REPLACEMENT :: EnumLocalesFlag
- lOCALE_SUPPLEMENTAL :: EnumLocalesFlag
- lOCALE_WINDOWS :: EnumLocalesFlag
- enumSystemLocalesEx :: LOCALE_ENUMPROCEX -> EnumLocalesFlag -> LPARAM -> IO ()
- enumSystemLocalesEx' :: EnumLocalesFlag -> Maybe Bool -> IO [String]
- lOCALE_NAME_INVARIANT :: Maybe String
- lOCALE_NAME_SYSTEM_DEFAULT :: Maybe String
- lOCALE_NAME_USER_DEFAULT :: Maybe String
- getUserDefaultLocaleName :: IO String
- lOCALE_NAME_MAX_LENGTH :: CInt
- getDefaultLocaleName :: String -> (LPWSTR -> CInt -> IO CInt) -> IO String
- getSystemDefaultLocaleName :: IO String
- 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
- stringToUnicode :: CodePage -> String -> IO String
- module System.Win32.Process
- module System.Win32.Registry
- module System.Win32.Time
- module System.Win32.Console
- module System.Win32.Security
- module System.Win32.Types
- module System.Win32.Shell
- module System.Win32.Automation
- module System.Win32.HardLink
- module System.Win32.SymbolicLink
- module System.Win32.Thread
- maybePtr :: Maybe (Ptr a) -> Ptr a
- ptrToMaybe :: Ptr a -> Maybe (Ptr a)
- maybeNum :: Num a => Maybe a -> a
- numToMaybe :: (Eq a, Num a) => a -> Maybe a
- tryWithoutNull :: String -> (LPTSTR -> UINT -> IO UINT) -> UINT -> IO String
- try' :: Storable a => String -> (Ptr a -> PDWORD -> IO BOOL) -> DWORD -> IO [a]
- trySized :: String -> (LPTSTR -> CInt -> IO CInt) -> IO String
- peekMaybe :: Storable a => Ptr a -> IO (Maybe a)
- withMaybe :: Storable a => Maybe a -> (Ptr a -> IO b) -> IO b
- fromDateFormatPicture :: String -> Maybe String
- fromTimeFormatPicture :: String -> Maybe String
Documentation
module System.Win32.DLL
module System.Win32.File
module System.Win32.FileMapping
module System.Win32.Info
module System.Win32.Mem
module System.Win32.MinTTY
type LOCALE_ENUMPROCEX = LPWSTR -> EnumLocalesFlag -> LPARAM -> IO BOOL Source #
type EnumLocalesFlag = DWORD Source #
type LocaleTestFlags = DWORD Source #
Instances
Eq GUID Source # | |
Show GUID Source # | |
Storable GUID Source # | |
Defined in System.Win32.NLS 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 # |
data NLSVERSIONINFOEX Source #
Instances
Eq NLSVERSIONINFOEX Source # | |
Defined in System.Win32.NLS (==) :: NLSVERSIONINFOEX -> NLSVERSIONINFOEX -> Bool # (/=) :: NLSVERSIONINFOEX -> NLSVERSIONINFOEX -> Bool # | |
Show NLSVERSIONINFOEX Source # | |
Defined in System.Win32.NLS | |
Storable NLSVERSIONINFOEX Source # | |
Defined in System.Win32.NLS 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 # |
type LCMapFlags = DWORD Source #
data UnicodeSubsetBitfield Source #
Instances
Eq UnicodeSubsetBitfield Source # | |
Defined in System.Win32.NLS (==) :: UnicodeSubsetBitfield -> UnicodeSubsetBitfield -> Bool # (/=) :: UnicodeSubsetBitfield -> UnicodeSubsetBitfield -> Bool # | |
Show UnicodeSubsetBitfield Source # | |
Defined in System.Win32.NLS | |
Storable UnicodeSubsetBitfield Source # | |
Defined in System.Win32.NLS 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 # |
data LOCALESIGNATURE Source #
Instances
Eq LOCALESIGNATURE Source # | |
Defined in System.Win32.NLS (==) :: LOCALESIGNATURE -> LOCALESIGNATURE -> Bool # (/=) :: LOCALESIGNATURE -> LOCALESIGNATURE -> Bool # | |
Show LOCALESIGNATURE Source # | |
Defined in System.Win32.NLS | |
Storable LOCALESIGNATURE Source # | |
Defined in System.Win32.NLS 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 # |
LCTextualData !String | Data in the form of a Unicode string. |
LCNumericData !DWORD | Data in the form of a number. See |
LCSignatureData !LOCALESIGNATURE | Data in the fomr of a |
type NLS_FUNCTION = DWORD Source #
getThreadLocale :: IO LCID Source #
c_EnumSystemLocalesEx :: FunPtr LOCALE_ENUMPROCEX -> DWORD -> LPARAM -> LPVOID -> IO Bool Source #
isValidLocale :: LCID -> LocaleTestFlags -> IO Bool Source #
c_LCMapStringEx :: LPCWSTR -> LCMapFlags -> LPCWSTR -> CInt -> LPWSTR -> CInt -> Ptr NLSVERSIONINFOEX -> LPVOID -> LPARAM -> IO CInt Source #
c_GetNLSVersionEx :: NLS_FUNCTION -> LPCWSTR -> Ptr NLSVERSIONINFOEX -> IO Bool Source #
setThreadLocale :: LCID -> IO () Source #
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.
lOCALE_SNAN :: LCTYPE Source #
lCMapStringEx :: Maybe String -> LCMapFlags -> String -> NLSVERSIONINFOEX -> IO String Source #
lCMapString :: LCID -> LCMapFlags -> String -> Int -> IO String Source #
enumSystemLocalesEx :: LOCALE_ENUMPROCEX -> EnumLocalesFlag -> LPARAM -> IO () Source #
:: 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
.
module System.Win32.Process
module System.Win32.Registry
module System.Win32.Time
module System.Win32.Console
module System.Win32.Security
module System.Win32.Types
module System.Win32.Shell
module System.Win32.Automation
module System.Win32.HardLink
module System.Win32.SymbolicLink
module System.Win32.Thread
trySized :: String -> (LPTSTR -> CInt -> IO CInt) -> IO String Source #
Support for API calls that return the required size, in characters including a null character, of the buffer when passed a buffer size of zero.
fromDateFormatPicture :: String -> Maybe String Source #
Translate from a Windows API day, month, year, and era format picture to
the closest corresponding format string used by
formatTime
.
fromTimeFormatPicture :: String -> Maybe String Source #
Translate from a Windows API hours, minute, and second format picture to
the closest corresponding format string used by
formatTime
.