Win32-2.14.1.0: A binding to Windows Win32 API.
Copyright(c) Alastair Reid 1997-2003
LicenseBSD-style (see the file libraries/base/LICENSE)
MaintainerEsa Ilari Vuokko <ei@vuokko.info>
Stabilityprovisional
Portabilityportable
Safe HaskellSafe
LanguageHaskell2010

Graphics.Win32.Misc

Description

A collection of FFI declarations for interfacing with Win32.

Documentation

loadIcon :: Maybe HINSTANCE -> Icon -> IO HICON Source #

messageBox :: Maybe HWND -> String -> String -> MBStyle -> IO MBStatus Source #

c_transformedEllipse :: HDC -> LONG -> LONG -> LONG -> LONG -> LONG -> LONG -> IO Bool Source #

c_GetCursorPos :: Ptr POINT -> IO Bool Source #

c_SetCursorPos :: LONG -> LONG -> IO Bool Source #

clipCursor :: RECT -> IO () Source #

c_ClipCursor :: Ptr RECT -> IO Bool Source #

c_GetClipCursor :: Ptr RECT -> IO Bool Source #

type Beep = UINT Source #

type MbBeep = Maybe Beep Source #

maybeBeep :: Maybe Beep -> Beep Source #

type Duration = Int Source #

messageBeep :: Maybe Beep -> IO () Source #

beep :: WORD -> MbDuration -> IO () Source #

c_Beep :: WORD -> Duration -> IO Bool Source #

type TIMERPROC = FunPtr (HWND -> UINT -> TimerId -> DWORD -> IO ()) Source #

killTimer :: Maybe HWND -> TimerId -> IO () Source #

c_KillTimer :: HWND -> TimerId -> IO Bool Source #