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 | Trustworthy |
Language | Haskell98 |
A collection of FFI declarations for interfacing with Win32.
Documentation
type Accelerator = LPCTSTR
loadAccelerators :: Maybe HINSTANCE -> Accelerator -> IO HACCEL
c_LoadAccelerators :: HINSTANCE -> Accelerator -> IO HACCEL
c_LoadCursor :: HINSTANCE -> Cursor -> IO HCURSOR
c_LoadIcon :: HINSTANCE -> Icon -> IO HICON
iDC_SIZEWE :: Cursor
iDI_QUESTION :: Icon
iDC_SIZENS :: Cursor
iDI_ASTERISK :: Icon
type StdHandleId = DWORD
getStdHandle :: StdHandleId -> IO HANDLE
c_GetStdHandle :: StdHandleId -> IO HANDLE
getCursorPos :: IO POINT
c_GetCursorPos :: Ptr POINT -> IO Bool
setCursorPos :: POINT -> IO ()
c_SetCursorPos :: LONG -> LONG -> IO Bool
clipCursor :: RECT -> IO ()
c_ClipCursor :: Ptr RECT -> IO Bool
getClipCursor :: IO RECT
c_GetClipCursor :: Ptr RECT -> IO Bool
type ExitOption = UINT
exitWindowsEx :: ExitOption -> IO ()
c_ExitWindowsEx :: ExitOption -> DWORD -> IO Bool
exitWindows :: IO ()
type MbDuration = Maybe Duration
maybeDuration :: Maybe Duration -> Duration
messageBeep :: Maybe Beep -> IO ()
c_MessageBeep :: Beep -> IO ()
beep :: WORD -> MbDuration -> IO ()
c_KillTimer :: HWND -> TimerId -> IO Bool
type MilliSeconds = DWORD