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