System.Win32.Info

Win32-2.3.1.0: A binding to part of the Win32 library

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 | Safe
Language | Haskell98

System.Win32.Info

Description

A collection of FFI declarations for interfacing with Win32.

# Documentation

type SystemColor = UINT Source #

cOLOR_SCROLLBAR :: SystemColor Source #

cOLOR_BACKGROUND :: SystemColor Source #

cOLOR_ACTIVECAPTION :: SystemColor Source #

cOLOR_INACTIVECAPTION :: SystemColor Source #

cOLOR_MENU :: SystemColor Source #

cOLOR_WINDOW :: SystemColor Source #

cOLOR_WINDOWFRAME :: SystemColor Source #

cOLOR_MENUTEXT :: SystemColor Source #

cOLOR_WINDOWTEXT :: SystemColor Source #

cOLOR_CAPTIONTEXT :: SystemColor Source #

cOLOR_ACTIVEBORDER :: SystemColor Source #

cOLOR_INACTIVEBORDER :: SystemColor Source #

cOLOR_APPWORKSPACE :: SystemColor Source #

cOLOR_HIGHLIGHT :: SystemColor Source #

cOLOR_HIGHLIGHTTEXT :: SystemColor Source #

cOLOR_BTNFACE :: SystemColor Source #

getSystemDirectory :: IO String Source #

cOLOR_BTNSHADOW :: SystemColor Source #

getWindowsDirectory :: IO String Source #

cOLOR_GRAYTEXT :: SystemColor Source #

cOLOR_BTNTEXT :: SystemColor Source #

getCurrentDirectory :: IO String Source #

cOLOR_INACTIVECAPTIONTEXT :: SystemColor Source #

getTemporaryDirectory :: IO String Source #

cOLOR_BTNHIGHLIGHT :: SystemColor Source #

getFullPathName :: FilePath -> IO FilePath Source #

searchPath :: Maybe String -> FilePath -> String -> IO (Maybe FilePath) Source #

try :: String -> (LPTSTR -> UINT -> IO UINT) -> UINT -> IO String Source #

c_getWindowsDirectory :: LPTSTR -> UINT -> IO UINT Source #

c_getSystemDirectory :: LPTSTR -> UINT -> IO UINT Source #

c_getCurrentDirectory :: DWORD -> LPTSTR -> IO UINT Source #

c_getTempPath :: DWORD -> LPTSTR -> IO UINT Source #

c_GetFullPathName :: LPCTSTR -> DWORD -> LPTSTR -> Ptr LPTSTR -> IO DWORD Source #

c_SearchPath :: LPCTSTR -> LPCTSTR -> LPCTSTR -> DWORD -> LPTSTR -> Ptr LPTSTR -> IO DWORD Source #

data ProcessorArchitecture Source #

Constructors

PaUnknown WORD |
PaIntel |
PaMips |
PaAlpha |
PaPpc |
PaIa64 |
PaIa32OnIa64 |
PaAmd64 |

Instances

Eq ProcessorArchitecture # |
Methods (==) :: ProcessorArchitecture -> ProcessorArchitecture -> Bool # (/=) :: ProcessorArchitecture -> ProcessorArchitecture -> Bool #
Show ProcessorArchitecture # |
Methods showsPrec :: Int -> ProcessorArchitecture -> ShowS Source # show :: ProcessorArchitecture -> String Source # showList :: [ProcessorArchitecture] -> ShowS Source #
Storable ProcessorArchitecture # |
Methods sizeOf :: ProcessorArchitecture -> Int Source # alignment :: ProcessorArchitecture -> Int Source # peekElemOff :: Ptr ProcessorArchitecture -> Int -> IO ProcessorArchitecture Source # pokeElemOff :: Ptr ProcessorArchitecture -> Int -> ProcessorArchitecture -> IO () Source # peekByteOff :: Ptr b -> Int -> IO ProcessorArchitecture Source # pokeByteOff :: Ptr b -> Int -> ProcessorArchitecture -> IO () Source # peek :: Ptr ProcessorArchitecture -> IO ProcessorArchitecture Source # poke :: Ptr ProcessorArchitecture -> ProcessorArchitecture -> IO () Source #

data SYSTEM_INFO Source #

Constructors

SYSTEM_INFO |
Fields siProcessorArchitecture :: ProcessorArchitecture siPageSize :: DWORD siMinimumApplicationAddress, siMaximumApplicationAddress :: LPVOID siActiveProcessorMask :: DWORD siNumberOfProcessors :: DWORD siProcessorType :: DWORD siAllocationGranularity :: DWORD siProcessorLevel :: WORD siProcessorRevision :: WORD

Instances

Show SYSTEM_INFO # |
Methods showsPrec :: Int -> SYSTEM_INFO -> ShowS Source # show :: SYSTEM_INFO -> String Source # showList :: [SYSTEM_INFO] -> ShowS Source #
Storable SYSTEM_INFO # |
Methods sizeOf :: SYSTEM_INFO -> Int Source # alignment :: SYSTEM_INFO -> Int Source # peekElemOff :: Ptr SYSTEM_INFO -> Int -> IO SYSTEM_INFO Source # pokeElemOff :: Ptr SYSTEM_INFO -> Int -> SYSTEM_INFO -> IO () Source # peekByteOff :: Ptr b -> Int -> IO SYSTEM_INFO Source # pokeByteOff :: Ptr b -> Int -> SYSTEM_INFO -> IO () Source # peek :: Ptr SYSTEM_INFO -> IO SYSTEM_INFO Source # poke :: Ptr SYSTEM_INFO -> SYSTEM_INFO -> IO () Source #

c_GetSystemInfo :: Ptr SYSTEM_INFO -> IO () Source #

getSystemInfo :: IO SYSTEM_INFO Source #

type SMSetting = UINT Source #

sM_ARRANGE :: SMSetting Source #

sM_CLEANBOOT :: SMSetting Source #

sM_CMETRICS :: SMSetting Source #

sM_CMOUSEBUTTONS :: SMSetting Source #

sM_CXBORDER :: SMSetting Source #

sM_CYBORDER :: SMSetting Source #

sM_CXCURSOR :: SMSetting Source #

sM_CYCURSOR :: SMSetting Source #

sM_CXDLGFRAME :: SMSetting Source #

sM_CYDLGFRAME :: SMSetting Source #

sM_CXDOUBLECLK :: SMSetting Source #

sM_CYDOUBLECLK :: SMSetting Source #

sM_CXDRAG :: SMSetting Source #

sM_CYDRAG :: SMSetting Source #

sM_CXEDGE :: SMSetting Source #

sM_CYEDGE :: SMSetting Source #

sM_CXFRAME :: SMSetting Source #

sM_CYFRAME :: SMSetting Source #

sM_CXFULLSCREEN :: SMSetting Source #

sM_CYFULLSCREEN :: SMSetting Source #

sM_CXHSCROLL :: SMSetting Source #

sM_CYVSCROLL :: SMSetting Source #

sM_CXICON :: SMSetting Source #

sM_CYICON :: SMSetting Source #

sM_CXICONSPACING :: SMSetting Source #

sM_CYICONSPACING :: SMSetting Source #

sM_CXMAXIMIZED :: SMSetting Source #

sM_CYMAXIMIZED :: SMSetting Source #

sM_CXMENUCHECK :: SMSetting Source #

sM_CYMENUCHECK :: SMSetting Source #

sM_CXMENUSIZE :: SMSetting Source #

sM_CYMENUSIZE :: SMSetting Source #

sM_CXMIN :: SMSetting Source #

sM_CYMIN :: SMSetting Source #

sM_CXMINIMIZED :: SMSetting Source #

sM_CYMINIMIZED :: SMSetting Source #

sM_CXMINTRACK :: SMSetting Source #

sM_CYMINTRACK :: SMSetting Source #

sM_CXSCREEN :: SMSetting Source #

sM_CYSCREEN :: SMSetting Source #

sM_CXSIZE :: SMSetting Source #

sM_CYSIZE :: SMSetting Source #

sM_CXSIZEFRAME :: SMSetting Source #

sM_CYSIZEFRAME :: SMSetting Source #

sM_CXSMICON :: SMSetting Source #

sM_CYSMICON :: SMSetting Source #

sM_CXSMSIZE :: SMSetting Source #

sM_CYSMSIZE :: SMSetting Source #

sM_CXVSCROLL :: SMSetting Source #

sM_CYHSCROLL :: SMSetting Source #

sM_CYVTHUMB :: SMSetting Source #

sM_CYCAPTION :: SMSetting Source #

sM_CYKANJIWINDOW :: SMSetting Source #

sM_CYMENU :: SMSetting Source #

sM_CYSMCAPTION :: SMSetting Source #

sM_DBCSENABLED :: SMSetting Source #

sM_DEBUG :: SMSetting Source #

sM_MENUDROPALIGNMENT :: SMSetting Source #

sM_MIDEASTENABLED :: SMSetting Source #

sM_MOUSEPRESENT :: SMSetting Source #

sM_NETWORK :: SMSetting Source #

sM_PENWINDOWS :: SMSetting Source #

sM_SECURE :: SMSetting Source #

sM_SHOWSOUNDS :: SMSetting Source #

sM_SLOWMACHINE :: SMSetting Source #

sM_SWAPBUTTON :: SMSetting Source #