Copyright | (c) Alastair Reid 1997-2003 |
---|---|
License | BSD-style (see the file libraries/base/LICENSE) |
Maintainer | Esa Ilari Vuokko <ei@vuokko.info> |
Stability | provisional |
Portability | portable |
Safe Haskell | None |
Language | Haskell2010 |
System.Win32.WindowsString.Info
Description
A collection of FFI declarations for interfacing with Win32.
Documentation
getFullPathName :: WindowsPath -> IO WindowsPath Source #
getLongPathName :: WindowsPath -> IO WindowsPath Source #
getShortPathName :: WindowsPath -> IO WindowsPath Source #
searchPath :: Maybe WindowsString -> WindowsPath -> Maybe WindowsString -> IO (Maybe WindowsPath) Source #
getUserName :: IO WindowsString Source #
data SYSTEM_INFO Source #
Constructors
Fields
- siProcessorArchitecture :: ProcessorArchitecture
- siPageSize :: DWORD
- siMinimumApplicationAddress, siMaximumApplicationAddress :: LPVOID
- siActiveProcessorMask :: DWORD
- siNumberOfProcessors :: DWORD
- siProcessorType :: DWORD
- siAllocationGranularity :: DWORD
- siProcessorLevel :: WORD
- siProcessorRevision :: WORD
Instances
Instances details
Instance details
Defined in System.Win32.Info.Internal
Methods
showsPrec :: Int -> SYSTEM_INFO -> ShowS
show :: SYSTEM_INFO -> String
showList :: [SYSTEM_INFO] -> ShowS
Instance details
Defined in System.Win32.Info.Internal
Methods
sizeOf :: SYSTEM_INFO -> Int
alignment :: SYSTEM_INFO -> Int
peekElemOff :: Ptr SYSTEM_INFO -> Int -> IO SYSTEM_INFO
pokeElemOff :: Ptr SYSTEM_INFO -> Int -> SYSTEM_INFO -> IO ()
peekByteOff :: Ptr b -> Int -> IO SYSTEM_INFO
pokeByteOff :: Ptr b -> Int -> SYSTEM_INFO -> IO ()
peek :: Ptr SYSTEM_INFO -> IO SYSTEM_INFO
poke :: Ptr SYSTEM_INFO -> SYSTEM_INFO -> IO ()
data ProcessorArchitecture Source #
Instances
Instances details
Instance details
Defined in System.Win32.Info.Internal
Methods
(==) :: ProcessorArchitecture -> ProcessorArchitecture -> Bool
(/=) :: ProcessorArchitecture -> ProcessorArchitecture -> Bool
Instance details
Defined in System.Win32.Info.Internal
Methods
showsPrec :: Int -> ProcessorArchitecture -> ShowS
show :: ProcessorArchitecture -> String
showList :: [ProcessorArchitecture] -> ShowS
Instance details
Defined in System.Win32.Info.Internal
Methods
sizeOf :: ProcessorArchitecture -> Int
alignment :: ProcessorArchitecture -> Int
peekElemOff :: Ptr ProcessorArchitecture -> Int -> IO ProcessorArchitecture
pokeElemOff :: Ptr ProcessorArchitecture -> Int -> ProcessorArchitecture -> IO ()
peekByteOff :: Ptr b -> Int -> IO ProcessorArchitecture
pokeByteOff :: Ptr b -> Int -> ProcessorArchitecture -> IO ()
peek :: Ptr ProcessorArchitecture -> IO ProcessorArchitecture
poke :: Ptr ProcessorArchitecture -> ProcessorArchitecture -> IO ()
type SystemColor = UINT Source #
getSystemInfo :: IO SYSTEM_INFO Source #