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.Event
- module System.Win32.File
- module System.Win32.FileMapping
- module System.Win32.Info
- module System.Win32.Mem
- module System.Win32.MinTTY
- type CodePage = DWORD
- cP_ACP :: CodePage
- cP_MACCP :: CodePage
- cP_OEMCP :: CodePage
- c_EnumSystemLocalesEx :: FunPtr LOCALE_ENUMPROCEX -> DWORD -> LPARAM -> LPVOID -> IO Bool
- c_GetLocaleInfoEx :: LPCWSTR -> LCTYPE -> LPWSTR -> CInt -> IO CInt
- c_GetNLSVersionEx :: NLS_FUNCTION -> LPCWSTR -> Ptr NLSVERSIONINFOEX -> IO Bool
- c_GetSystemDefaultLocaleName :: LPWSTR -> CInt -> IO CInt
- c_GetUserDefaultLocaleName :: LPWSTR -> CInt -> IO CInt
- 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_SetLocaleInfo :: LCID -> LCTYPE -> LPCTSTR -> IO Bool
- convertDefaultLocale :: LCID -> IO LCID
- enumSystemLocalesEx :: LOCALE_ENUMPROCEX -> EnumLocalesFlag -> LPARAM -> IO ()
- enumSystemLocalesEx' :: EnumLocalesFlag -> Maybe Bool -> IO [String]
- getACP :: IO CodePage
- getDefaultLocaleName :: String -> (LPWSTR -> CInt -> IO CInt) -> IO String
- getLocaleInfoEx :: Maybe String -> LCTYPE -> IO LCData
- getNLSVersionEx :: Maybe String -> IO NLSVERSIONINFOEX
- getOEMCP :: CodePage
- getSystemDefaultLCID :: LCID
- getSystemDefaultLangID :: LANGID
- getSystemDefaultLocaleName :: IO String
- getThreadLocale :: IO LCID
- getUserDefaultLCID :: LCID
- getUserDefaultLangID :: LANGID
- getUserDefaultLocaleName :: IO String
- isValidCodePage :: CodePage -> IO Bool
- isValidLocale :: LCID -> LocaleTestFlags -> IO Bool
- isValidLocaleName :: Maybe String -> IO Bool
- lANG_AFRIKAANS :: PrimaryLANGID
- lANG_ALBANIAN :: PrimaryLANGID
- lANG_ARABIC :: PrimaryLANGID
- lANG_ARMENIAN :: PrimaryLANGID
- lANG_ASSAMESE :: PrimaryLANGID
- lANG_AZERI :: PrimaryLANGID
- lANG_BASQUE :: PrimaryLANGID
- lANG_BELARUSIAN :: PrimaryLANGID
- lANG_BENGALI :: PrimaryLANGID
- lANG_BULGARIAN :: PrimaryLANGID
- lANG_CATALAN :: PrimaryLANGID
- lANG_CHINESE :: PrimaryLANGID
- lANG_CROATIAN :: PrimaryLANGID
- lANG_CZECH :: PrimaryLANGID
- lANG_DANISH :: PrimaryLANGID
- lANG_DUTCH :: PrimaryLANGID
- lANG_ENGLISH :: PrimaryLANGID
- lANG_ESTONIAN :: PrimaryLANGID
- lANG_FAEROESE :: PrimaryLANGID
- lANG_FARSI :: PrimaryLANGID
- lANG_FINNISH :: PrimaryLANGID
- lANG_FRENCH :: PrimaryLANGID
- lANG_GEORGIAN :: PrimaryLANGID
- lANG_GERMAN :: PrimaryLANGID
- lANG_GREEK :: PrimaryLANGID
- lANG_GUJARATI :: PrimaryLANGID
- lANG_HEBREW :: PrimaryLANGID
- lANG_HINDI :: PrimaryLANGID
- lANG_HUNGARIAN :: PrimaryLANGID
- lANG_ICELANDIC :: PrimaryLANGID
- lANG_INDONESIAN :: PrimaryLANGID
- lANG_ITALIAN :: PrimaryLANGID
- lANG_JAPANESE :: PrimaryLANGID
- lANG_KANNADA :: PrimaryLANGID
- lANG_KASHMIRI :: PrimaryLANGID
- lANG_KAZAK :: PrimaryLANGID
- lANG_KONKANI :: PrimaryLANGID
- lANG_KOREAN :: PrimaryLANGID
- lANG_LATVIAN :: PrimaryLANGID
- lANG_LITHUANIAN :: PrimaryLANGID
- lANG_MACEDONIAN :: PrimaryLANGID
- lANG_MALAY :: PrimaryLANGID
- lANG_MALAYALAM :: PrimaryLANGID
- lANG_MANIPURI :: PrimaryLANGID
- lANG_MARATHI :: PrimaryLANGID
- lANG_NEPALI :: PrimaryLANGID
- lANG_NEUTRAL :: PrimaryLANGID
- lANG_NORWEGIAN :: PrimaryLANGID
- lANG_ORIYA :: PrimaryLANGID
- lANG_POLISH :: PrimaryLANGID
- lANG_PORTUGUESE :: PrimaryLANGID
- lANG_PUNJABI :: PrimaryLANGID
- lANG_ROMANIAN :: PrimaryLANGID
- lANG_RUSSIAN :: PrimaryLANGID
- lANG_SANSKRIT :: PrimaryLANGID
- lANG_SERBIAN :: PrimaryLANGID
- lANG_SINDHI :: PrimaryLANGID
- lANG_SLOVAK :: PrimaryLANGID
- lANG_SLOVENIAN :: PrimaryLANGID
- lANG_SPANISH :: PrimaryLANGID
- lANG_SWAHILI :: PrimaryLANGID
- lANG_SWEDISH :: PrimaryLANGID
- lANG_TAMIL :: PrimaryLANGID
- lANG_TATAR :: PrimaryLANGID
- lANG_TELUGU :: PrimaryLANGID
- lANG_THAI :: PrimaryLANGID
- lANG_TURKISH :: PrimaryLANGID
- lANG_URDU :: PrimaryLANGID
- lANG_UZBEK :: PrimaryLANGID
- lANG_VIETNAMESE :: PrimaryLANGID
- lCID_INSTALLED :: LocaleTestFlags
- lCID_SUPPORTED :: LocaleTestFlags
- 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
- lCMapString :: LCID -> LCMapFlags -> String -> Int -> IO String
- lCMapStringEx :: Maybe String -> LCMapFlags -> String -> NLSVERSIONINFOEX -> IO String
- lINGUISTIC_IGNORECASE :: LCMapFlags
- lINGUISTIC_IGNOREDIACRITIC :: LCMapFlags
- lOCALE_ALL :: EnumLocalesFlag
- lOCALE_ALTERNATE_SORTS :: EnumLocalesFlag
- 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_IPOSSEPBYSPACE :: LCTYPE
- lOCALE_IPOSSIGNPOSN :: LCTYPE
- lOCALE_IPSSYMPRECEDES :: LCTYPE
- lOCALE_ITIME :: LCTYPE
- lOCALE_ITIMEMARKPOSN :: LCTYPE
- lOCALE_ITLZERO :: LCTYPE
- lOCALE_NAME_INVARIANT :: Maybe String
- lOCALE_NAME_MAX_LENGTH :: CInt
- lOCALE_NAME_SYSTEM_DEFAULT :: Maybe String
- lOCALE_NAME_USER_DEFAULT :: Maybe String
- lOCALE_NEUTRAL :: LCID
- lOCALE_PAPERSIZE :: LCTYPE
- lOCALE_REPLACEMENT :: EnumLocalesFlag
- 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_SABBREVMONTHNAME10 :: LCTYPE
- lOCALE_SABBREVMONTHNAME11 :: LCTYPE
- lOCALE_SABBREVMONTHNAME12 :: LCTYPE
- lOCALE_SABBREVMONTHNAME13 :: 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_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_SMONTHNAME10 :: LCTYPE
- lOCALE_SMONTHNAME11 :: LCTYPE
- lOCALE_SMONTHNAME12 :: LCTYPE
- lOCALE_SMONTHNAME13 :: 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_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_SUPPLEMENTAL :: EnumLocalesFlag
- lOCALE_SYEARMONTH :: LCTYPE
- lOCALE_SYSTEM_DEFAULT :: LCID
- lOCALE_USER_DEFAULT :: LCID
- lOCALE_WINDOWS :: EnumLocalesFlag
- mkLOCALE_ENUMPROCEX :: LOCALE_ENUMPROCEX -> IO (FunPtr LOCALE_ENUMPROCEX)
- multiByteToWideChar :: CodePage -> DWORD -> LPCSTR -> CInt -> LPWSTR -> CInt -> IO CInt
- nORM_IGNORECASE :: LCMapFlags
- nORM_IGNOREKANATYPE :: LCMapFlags
- nORM_IGNORENONSPACE :: LCMapFlags
- nORM_IGNORESYMBOLS :: LCMapFlags
- nORM_IGNOREWIDTH :: LCMapFlags
- nORM_LINGUISTIC_CASING :: LCMapFlags
- sORT_CHINESE_BIG5 :: SortID
- sORT_CHINESE_UNICODE :: SortID
- sORT_DEFAULT :: SortID
- sORT_JAPANESE_UNICODE :: SortID
- sORT_JAPANESE_XJIS :: SortID
- sORT_KOREAN_KSC :: SortID
- sORT_KOREAN_UNICODE :: SortID
- sORT_STRINGSORT :: LCMapFlags
- sUBLANG_ARABIC_ALGERIA :: SubLANGID
- sUBLANG_ARABIC_BAHRAIN :: SubLANGID
- sUBLANG_ARABIC_EGYPT :: SubLANGID
- sUBLANG_ARABIC_IRAQ :: SubLANGID
- sUBLANG_ARABIC_JORDAN :: SubLANGID
- sUBLANG_ARABIC_KUWAIT :: SubLANGID
- sUBLANG_ARABIC_LEBANON :: SubLANGID
- sUBLANG_ARABIC_LIBYA :: SubLANGID
- sUBLANG_ARABIC_MOROCCO :: SubLANGID
- sUBLANG_ARABIC_OMAN :: SubLANGID
- sUBLANG_ARABIC_QATAR :: SubLANGID
- sUBLANG_ARABIC_SAUDI_ARABIA :: SubLANGID
- sUBLANG_ARABIC_SYRIA :: SubLANGID
- sUBLANG_ARABIC_TUNISIA :: SubLANGID
- sUBLANG_ARABIC_UAE :: SubLANGID
- sUBLANG_ARABIC_YEMEN :: SubLANGID
- sUBLANG_AZERI_CYRILLIC :: SubLANGID
- sUBLANG_AZERI_LATIN :: SubLANGID
- sUBLANG_CHINESE_HONGKONG :: SubLANGID
- sUBLANG_CHINESE_MACAU :: SubLANGID
- sUBLANG_CHINESE_SIMPLIFIED :: SubLANGID
- sUBLANG_CHINESE_SINGAPORE :: SubLANGID
- sUBLANG_CHINESE_TRADITIONAL :: SubLANGID
- sUBLANG_DEFAULT :: SubLANGID
- sUBLANG_DUTCH :: SubLANGID
- sUBLANG_DUTCH_BELGIAN :: SubLANGID
- sUBLANG_ENGLISH_AUS :: SubLANGID
- sUBLANG_ENGLISH_BELIZE :: SubLANGID
- sUBLANG_ENGLISH_CAN :: SubLANGID
- sUBLANG_ENGLISH_CARIBBEAN :: SubLANGID
- sUBLANG_ENGLISH_EIRE :: SubLANGID
- sUBLANG_ENGLISH_JAMAICA :: SubLANGID
- sUBLANG_ENGLISH_NZ :: SubLANGID
- sUBLANG_ENGLISH_PHILIPPINES :: SubLANGID
- sUBLANG_ENGLISH_SOUTH_AFRICA :: SubLANGID
- sUBLANG_ENGLISH_TRINIDAD :: SubLANGID
- sUBLANG_ENGLISH_UK :: SubLANGID
- sUBLANG_ENGLISH_US :: SubLANGID
- sUBLANG_ENGLISH_ZIMBABWE :: SubLANGID
- sUBLANG_FRENCH :: SubLANGID
- sUBLANG_FRENCH_BELGIAN :: SubLANGID
- sUBLANG_FRENCH_CANADIAN :: SubLANGID
- sUBLANG_FRENCH_LUXEMBOURG :: SubLANGID
- sUBLANG_FRENCH_MONACO :: SubLANGID
- sUBLANG_FRENCH_SWISS :: SubLANGID
- sUBLANG_GERMAN :: SubLANGID
- sUBLANG_GERMAN_AUSTRIAN :: SubLANGID
- sUBLANG_GERMAN_LIECHTENSTEIN :: SubLANGID
- sUBLANG_GERMAN_LUXEMBOURG :: SubLANGID
- sUBLANG_GERMAN_SWISS :: SubLANGID
- sUBLANG_ITALIAN :: SubLANGID
- sUBLANG_ITALIAN_SWISS :: SubLANGID
- sUBLANG_KASHMIRI_INDIA :: SubLANGID
- sUBLANG_KOREAN :: SubLANGID
- sUBLANG_LITHUANIAN :: SubLANGID
- sUBLANG_MALAY_BRUNEI_DARUSSALAM :: SubLANGID
- sUBLANG_MALAY_MALAYSIA :: SubLANGID
- sUBLANG_NEPALI_INDIA :: SubLANGID
- sUBLANG_NEUTRAL :: SubLANGID
- sUBLANG_NORWEGIAN_BOKMAL :: SubLANGID
- sUBLANG_NORWEGIAN_NYNORSK :: SubLANGID
- sUBLANG_PORTUGUESE :: SubLANGID
- sUBLANG_PORTUGUESE_BRAZILIAN :: SubLANGID
- sUBLANG_SERBIAN_CYRILLIC :: SubLANGID
- sUBLANG_SERBIAN_LATIN :: SubLANGID
- sUBLANG_SPANISH :: SubLANGID
- sUBLANG_SPANISH_ARGENTINA :: SubLANGID
- sUBLANG_SPANISH_BOLIVIA :: SubLANGID
- sUBLANG_SPANISH_CHILE :: SubLANGID
- sUBLANG_SPANISH_COLOMBIA :: SubLANGID
- sUBLANG_SPANISH_COSTA_RICA :: SubLANGID
- sUBLANG_SPANISH_DOMINICAN_REPUBLIC :: SubLANGID
- sUBLANG_SPANISH_ECUADOR :: SubLANGID
- sUBLANG_SPANISH_EL_SALVADOR :: SubLANGID
- sUBLANG_SPANISH_GUATEMALA :: SubLANGID
- sUBLANG_SPANISH_HONDURAS :: SubLANGID
- sUBLANG_SPANISH_MEXICAN :: SubLANGID
- sUBLANG_SPANISH_MODERN :: SubLANGID
- sUBLANG_SPANISH_NICARAGUA :: SubLANGID
- sUBLANG_SPANISH_PANAMA :: SubLANGID
- sUBLANG_SPANISH_PARAGUAY :: SubLANGID
- sUBLANG_SPANISH_PERU :: SubLANGID
- sUBLANG_SPANISH_PUERTO_RICO :: SubLANGID
- sUBLANG_SPANISH_URUGUAY :: SubLANGID
- sUBLANG_SPANISH_VENEZUELA :: SubLANGID
- sUBLANG_SWEDISH :: SubLANGID
- sUBLANG_SWEDISH_FINLAND :: SubLANGID
- sUBLANG_SYS_DEFAULT :: SubLANGID
- sUBLANG_URDU_INDIA :: SubLANGID
- sUBLANG_URDU_PAKISTAN :: SubLANGID
- sUBLANG_UZBEK_CYRILLIC :: SubLANGID
- sUBLANG_UZBEK_LATIN :: SubLANGID
- setLocaleInfo :: LCID -> LCTYPE -> String -> IO ()
- setThreadLocale :: LCID -> IO ()
- stringToUnicode :: CodePage -> String -> IO String
- type EnumLocalesFlag = DWORD
- data GUID = GUID !Word32 !Word16 !Word16 !Word8 !Word8 !Word8 !Word8 !Word8 !Word8 !Word8 !Word8
- data LCData
- type LCMapFlags = DWORD
- type LCTYPE = UINT
- data LOCALESIGNATURE = LOCALESIGNATURE {}
- type LOCALE_ENUMPROCEX = LPWSTR -> EnumLocalesFlag -> LPARAM -> IO BOOL
- type LocaleTestFlags = DWORD
- data NLSVERSIONINFOEX = NLSVERSIONINFOEX {}
- type NLS_FUNCTION = DWORD
- data UnicodeSubsetBitfield = UnicodeSubsetBitfield {}
- 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
- maybeNum :: Num a => Maybe a -> a
- maybePtr :: Maybe (Ptr a) -> Ptr a
- numToMaybe :: (Eq a, Num a) => a -> Maybe a
- ptrToMaybe :: Ptr a -> Maybe (Ptr a)
- fromDateFormatPicture :: String -> Maybe String
- fromTimeFormatPicture :: String -> Maybe String
- peekMaybe :: Storable a => Ptr a -> IO (Maybe a)
- try' :: Storable a => String -> (Ptr a -> PDWORD -> IO BOOL) -> DWORD -> IO [a]
- trySized :: String -> (LPTSTR -> CInt -> IO CInt) -> IO String
- tryWithoutNull :: String -> (LPTSTR -> UINT -> IO UINT) -> UINT -> IO String
- withMaybe :: Storable a => Maybe a -> (Ptr a -> IO b) -> IO b
Documentation
module System.Win32.DLL
module System.Win32.Event
module System.Win32.File
module System.Win32.FileMapping
module System.Win32.Info
module System.Win32.Mem
module System.Win32.MinTTY
c_EnumSystemLocalesEx :: FunPtr LOCALE_ENUMPROCEX -> DWORD -> LPARAM -> LPVOID -> IO Bool Source #
c_GetNLSVersionEx :: NLS_FUNCTION -> LPCWSTR -> Ptr NLSVERSIONINFOEX -> IO Bool Source #
c_LCMapStringEx :: LPCWSTR -> LCMapFlags -> LPCWSTR -> CInt -> LPWSTR -> CInt -> Ptr NLSVERSIONINFOEX -> LPVOID -> LPARAM -> IO CInt 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
.
getThreadLocale :: IO LCID Source #
isValidLocale :: LCID -> LocaleTestFlags -> IO Bool Source #
lCMapString :: LCID -> LCMapFlags -> String -> Int -> IO String Source #
lCMapStringEx :: Maybe String -> LCMapFlags -> String -> NLSVERSIONINFOEX -> IO String 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 #
setThreadLocale :: LCID -> IO () Source #
type EnumLocalesFlag = DWORD Source #
Instances
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 # | |
Show GUID Source # | |
Eq GUID 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 LCMapFlags = DWORD Source #
data LOCALESIGNATURE Source #
Instances
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 # | |
Show LOCALESIGNATURE Source # | |
Defined in System.Win32.NLS | |
Eq LOCALESIGNATURE Source # | |
Defined in System.Win32.NLS (==) :: LOCALESIGNATURE -> LOCALESIGNATURE -> Bool # (/=) :: LOCALESIGNATURE -> LOCALESIGNATURE -> Bool # |
type LOCALE_ENUMPROCEX = LPWSTR -> EnumLocalesFlag -> LPARAM -> IO BOOL Source #
type LocaleTestFlags = DWORD Source #
data NLSVERSIONINFOEX Source #
Instances
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 # | |
Show NLSVERSIONINFOEX Source # | |
Defined in System.Win32.NLS | |
Eq NLSVERSIONINFOEX Source # | |
Defined in System.Win32.NLS (==) :: NLSVERSIONINFOEX -> NLSVERSIONINFOEX -> Bool # (/=) :: NLSVERSIONINFOEX -> NLSVERSIONINFOEX -> Bool # |
type NLS_FUNCTION = DWORD Source #
data UnicodeSubsetBitfield Source #
Instances
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 # | |
Show UnicodeSubsetBitfield Source # | |
Defined in System.Win32.NLS | |
Eq UnicodeSubsetBitfield Source # | |
Defined in System.Win32.NLS (==) :: UnicodeSubsetBitfield -> UnicodeSubsetBitfield -> Bool # (/=) :: UnicodeSubsetBitfield -> UnicodeSubsetBitfield -> Bool # |
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
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
.