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 #
loadAccelerators :: Maybe HINSTANCE -> Accelerator -> IO HACCEL #
c_LoadAccelerators :: HINSTANCE -> Accelerator -> IO HACCEL #
iDC_UPARROW :: Cursor #
iDC_SIZENWSE :: Cursor #
iDC_SIZENESW :: Cursor #
iDC_SIZEWE :: Cursor #
iDC_SIZENS :: Cursor #
iDI_APPLICATION :: Icon #
iDI_QUESTION :: Icon #
iDI_EXCLAMATION :: Icon #
iDI_ASTERISK :: Icon #
mB_OKCANCEL :: MBStyle #
mB_ICONHAND :: MBStyle #
mB_ICONSTOP :: MBStyle #
mB_APPLMODAL :: MBStyle #
mB_TASKMODAL :: MBStyle #
type StdHandleId = DWORD #
getStdHandle :: StdHandleId -> IO HANDLE #
c_GetStdHandle :: StdHandleId -> IO HANDLE #
getCursorPos :: IO POINT #
setCursorPos :: POINT -> IO () #
clipCursor :: RECT -> IO () #
getClipCursor :: IO RECT #
type ExitOption = UINT #
eWX_FORCE :: ExitOption #
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 () #
type MilliSeconds = DWORD #