Win32-2.14.1.0: A binding to Windows Win32 API.
Copyright2012-2013 shelarcy
LicenseBSD-style
Maintainershelarcy@gmail.com
StabilityProvisional
PortabilityNon-portable (Win32 API)
Safe HaskellSafe-Inferred
LanguageHaskell2010

System.Win32.Info.Computer

Description

Information about your computer.

Synopsis

Environment Strings

expandEnvironmentStrings :: String -> IO String Source #

Computer Name

getComputerName :: IO String Source #

setComputerName :: String -> IO () Source #

System metrics

User name

Version Info

data OSVERSIONINFOEX Source #

Instances

Instances details
Show OSVERSIONINFOEX Source # 
Instance details

Defined in System.Win32.Info.Version

Methods

showsPrec :: Int -> OSVERSIONINFOEX -> ShowS

show :: OSVERSIONINFOEX -> String

showList :: [OSVERSIONINFOEX] -> ShowS

Storable OSVERSIONINFOEX Source # 
Instance details

Defined in System.Win32.Info.Version

Methods

sizeOf :: 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 ()

data ProductType Source #

Instances

Instances details
Eq ProductType Source # 
Instance details

Defined in System.Win32.Info.Version

Methods

(==) :: ProductType -> ProductType -> Bool

(/=) :: ProductType -> ProductType -> Bool

Show ProductType Source # 
Instance details

Defined in System.Win32.Info.Version

Methods

showsPrec :: Int -> ProductType -> ShowS

show :: ProductType -> String

showList :: [ProductType] -> ShowS

Storable ProductType Source # 
Instance details

Defined in System.Win32.Info.Version

Methods

sizeOf :: 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 ()

Processor features