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