| Copyright | 2012-2013 shelarcy |
|---|---|
| License | BSD-style |
| Maintainer | [email protected] |
| Stability | Provisional |
| Portability | Non-portable (Win32 API) |
| Safe Haskell | Safe |
| Language | Haskell2010 |
Information about your computer.
expandEnvironmentStrings :: String -> IO String
c_ExpandEnvironmentStrings :: LPCTSTR -> LPTSTR -> DWORD -> IO DWORD
setComputerName :: String -> IO ()
c_GetComputerName :: LPTSTR -> LPDWORD -> IO Bool
c_SetComputerName :: LPTSTR -> IO Bool
getSystemMetrics :: SMSetting -> IO Int
sM_MOUSEWHEELPRESENT :: SMSetting
sM_SAMEDISPLAYFORMAT :: SMSetting
sM_XVIRTUALSCREEN :: SMSetting
sM_YVIRTUALSCREEN :: SMSetting
getUserName :: IO String
Get user name. See: https://github.com/haskell/win32/issues/8, http://lpaste.net/41521
c_GetUserName :: LPTSTR -> LPDWORD -> IO Bool
data OSVERSIONINFOEX
| OSVERSIONINFOEX | |
Fields
| |
| Show OSVERSIONINFOEX | |
Defined in System.Win32.Info.Version MethodsshowsPrec :: Int -> OSVERSIONINFOEX -> ShowS Source show :: OSVERSIONINFOEX -> String Source showList :: [OSVERSIONINFOEX] -> ShowS Source | |
| Storable OSVERSIONINFOEX | |
Defined in System.Win32.Info.Version MethodssizeOf :: OSVERSIONINFOEX -> Int Source alignment :: OSVERSIONINFOEX -> Int Source peekElemOff :: Ptr OSVERSIONINFOEX -> Int -> IO OSVERSIONINFOEX Source pokeElemOff :: Ptr OSVERSIONINFOEX -> Int -> OSVERSIONINFOEX -> IO () Source peekByteOff :: Ptr b -> Int -> IO OSVERSIONINFOEX Source pokeByteOff :: Ptr b -> Int -> OSVERSIONINFOEX -> IO () Source peek :: Ptr OSVERSIONINFOEX -> IO OSVERSIONINFOEX Source poke :: Ptr OSVERSIONINFOEX -> OSVERSIONINFOEX -> IO () Source | |
type POSVERSIONINFOEX = Ptr OSVERSIONINFOEX
type LPOSVERSIONINFOEX = Ptr OSVERSIONINFOEX
data ProductType
| VerUnknow BYTE | |
| VerNTWorkStation | |
| VerNTDomainControler | |
| VerNTServer |
| Eq ProductType | |
Defined in System.Win32.Info.Version | |
| Show ProductType | |
Defined in System.Win32.Info.Version MethodsshowsPrec :: Int -> ProductType -> ShowS Source show :: ProductType -> String Source showList :: [ProductType] -> ShowS Source | |
| Storable ProductType | |
Defined in System.Win32.Info.Version MethodssizeOf :: ProductType -> Int Source alignment :: ProductType -> Int Source peekElemOff :: Ptr ProductType -> Int -> IO ProductType Source pokeElemOff :: Ptr ProductType -> Int -> ProductType -> IO () Source peekByteOff :: Ptr b -> Int -> IO ProductType Source pokeByteOff :: Ptr b -> Int -> ProductType -> IO () Source peek :: Ptr ProductType -> IO ProductType Source poke :: Ptr ProductType -> ProductType -> IO () Source | |
getVersionEx :: IO OSVERSIONINFOEX
c_GetVersionEx :: LPOSVERSIONINFOEX -> IO BOOL
type ProcessorFeature = DWORD
isProcessorFeaturePresent :: ProcessorFeature -> IO BOOL
pF_3DNOW_INSTRUCTIONS_AVAILABLE :: ProcessorFeature
pF_COMPARE_EXCHANGE_DOUBLE :: ProcessorFeature
pF_FLOATING_POINT_EMULATED :: ProcessorFeature
pF_FLOATING_POINT_PRECISION_ERRATA :: ProcessorFeature
pF_MMX_INSTRUCTIONS_AVAILABLE :: ProcessorFeature
pF_PAE_ENABLED :: ProcessorFeature
pF_RDTSC_INSTRUCTION_AVAILABLE :: ProcessorFeature
© The University of Glasgow and others
Licensed under a BSD-style license (see top of the page).
https://downloads.haskell.org/~ghc/8.8.3/docs/html/libraries/Win32-2.6.1.0/System-Win32-Info-Computer.html