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

cOLOR_SCROLLBAR :: SystemColor

cOLOR_BACKGROUND :: SystemColor

cOLOR_ACTIVECAPTION :: SystemColor

cOLOR_INACTIVECAPTION :: SystemColor

cOLOR_MENU :: SystemColor

cOLOR_WINDOW :: SystemColor

cOLOR_WINDOWFRAME :: SystemColor

cOLOR_MENUTEXT :: SystemColor

cOLOR_WINDOWTEXT :: SystemColor

cOLOR_CAPTIONTEXT :: SystemColor

cOLOR_ACTIVEBORDER :: SystemColor

cOLOR_INACTIVEBORDER :: SystemColor

cOLOR_APPWORKSPACE :: SystemColor

cOLOR_HIGHLIGHT :: SystemColor

cOLOR_HIGHLIGHTTEXT :: SystemColor

cOLOR_BTNFACE :: SystemColor

getSystemDirectory :: IO String

cOLOR_BTNSHADOW :: SystemColor

getWindowsDirectory :: IO String

cOLOR_GRAYTEXT :: SystemColor

cOLOR_BTNTEXT :: SystemColor

getCurrentDirectory :: IO String

cOLOR_INACTIVECAPTIONTEXT :: SystemColor

getTemporaryDirectory :: IO String

cOLOR_BTNHIGHLIGHT :: SystemColor

getFullPathName :: FilePath -> IO FilePath

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

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

c_getWindowsDirectory :: LPTSTR -> UINT -> IO UINT

c_getSystemDirectory :: LPTSTR -> UINT -> IO UINT

c_getCurrentDirectory :: DWORD -> LPTSTR -> IO UINT

c_getTempPath :: DWORD -> LPTSTR -> IO UINT

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

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

data ProcessorArchitecture

Constructors

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

Instances

Eq ProcessorArchitecture |
Show ProcessorArchitecture |
Storable ProcessorArchitecture |

data SYSTEM_INFO

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 |
Storable SYSTEM_INFO |

c_GetSystemInfo :: Ptr SYSTEM_INFO -> IO ()

getSystemInfo :: IO SYSTEM_INFO

type SMSetting = UINT

sM_ARRANGE :: SMSetting

sM_CLEANBOOT :: SMSetting

sM_CMETRICS :: SMSetting

sM_CMOUSEBUTTONS :: SMSetting

sM_CXBORDER :: SMSetting

sM_CYBORDER :: SMSetting

sM_CXCURSOR :: SMSetting

sM_CYCURSOR :: SMSetting

sM_CXDLGFRAME :: SMSetting

sM_CYDLGFRAME :: SMSetting

sM_CXDOUBLECLK :: SMSetting

sM_CYDOUBLECLK :: SMSetting

sM_CXDRAG :: SMSetting

sM_CYDRAG :: SMSetting

sM_CXEDGE :: SMSetting

sM_CYEDGE :: SMSetting

sM_CXFRAME :: SMSetting

sM_CYFRAME :: SMSetting

sM_CXFULLSCREEN :: SMSetting

sM_CYFULLSCREEN :: SMSetting

sM_CXHSCROLL :: SMSetting

sM_CYVSCROLL :: SMSetting

sM_CXICON :: SMSetting

sM_CYICON :: SMSetting

sM_CXICONSPACING :: SMSetting

sM_CYICONSPACING :: SMSetting

sM_CXMAXIMIZED :: SMSetting

sM_CYMAXIMIZED :: SMSetting

sM_CXMENUCHECK :: SMSetting

sM_CYMENUCHECK :: SMSetting

sM_CXMENUSIZE :: SMSetting

sM_CYMENUSIZE :: SMSetting

sM_CXMIN :: SMSetting

sM_CYMIN :: SMSetting

sM_CXMINIMIZED :: SMSetting

sM_CYMINIMIZED :: SMSetting

sM_CXMINTRACK :: SMSetting

sM_CYMINTRACK :: SMSetting

sM_CXSCREEN :: SMSetting

sM_CYSCREEN :: SMSetting

sM_CXSIZE :: SMSetting

sM_CYSIZE :: SMSetting

sM_CXSIZEFRAME :: SMSetting

sM_CYSIZEFRAME :: SMSetting

sM_CXSMICON :: SMSetting

sM_CYSMICON :: SMSetting

sM_CXSMSIZE :: SMSetting

sM_CYSMSIZE :: SMSetting

sM_CXVSCROLL :: SMSetting

sM_CYHSCROLL :: SMSetting

sM_CYVTHUMB :: SMSetting

sM_CYCAPTION :: SMSetting

sM_CYKANJIWINDOW :: SMSetting

sM_CYMENU :: SMSetting

sM_CYSMCAPTION :: SMSetting

sM_DBCSENABLED :: SMSetting

sM_DEBUG :: SMSetting

sM_MENUDROPALIGNMENT :: SMSetting

sM_MIDEASTENABLED :: SMSetting

sM_MOUSEPRESENT :: SMSetting

sM_NETWORK :: SMSetting

sM_PENWINDOWS :: SMSetting

sM_SECURE :: SMSetting

sM_SHOWSOUNDS :: SMSetting

sM_SLOWMACHINE :: SMSetting

sM_SWAPBUTTON :: SMSetting