Win32-2.1.1.1: A binding to part of the Win32 librarySource codeContentsIndex
Graphics.Win32.Misc
Portabilityportable
Stabilityprovisional
MaintainerEsa Ilari Vuokko <ei@vuokko.info>
Description
A collection of FFI declarations for interfacing with Win32.
Documentation
type Accelerator = LPCTSTRSource
type Cursor = LPTSTRSource
type Icon = LPTSTRSource
loadAccelerators :: Maybe HINSTANCE -> Accelerator -> IO HACCELSource
c_LoadAccelerators :: HINSTANCE -> Accelerator -> IO HACCELSource
loadCursor :: Maybe HINSTANCE -> Cursor -> IO HCURSORSource
c_LoadCursor :: HINSTANCE -> Cursor -> IO HCURSORSource
loadIcon :: Maybe HINSTANCE -> Icon -> IO HICONSource
c_LoadIcon :: HINSTANCE -> Icon -> IO HICONSource
iDC_ARROW :: CursorSource
iDC_IBEAM :: CursorSource
iDC_WAIT :: CursorSource
iDC_CROSS :: CursorSource
iDC_UPARROW :: CursorSource
iDC_SIZENWSE :: CursorSource
iDC_SIZENESW :: CursorSource
iDC_SIZEWE :: CursorSource
iDC_SIZENS :: CursorSource
iDI_APPLICATION :: IconSource
iDI_HAND :: IconSource
iDI_QUESTION :: IconSource
iDI_EXCLAMATION :: IconSource
iDI_ASTERISK :: IconSource
type MBStyle = UINTSource
mB_OK :: MBStyleSource
mB_OKCANCEL :: MBStyleSource
mB_ABORTRETRYIGNORE :: MBStyleSource
mB_YESNOCANCEL :: MBStyleSource
mB_YESNO :: MBStyleSource
mB_RETRYCANCEL :: MBStyleSource
mB_ICONHAND :: MBStyleSource
mB_ICONQUESTION :: MBStyleSource
mB_ICONEXCLAMATION :: MBStyleSource
mB_ICONASTERISK :: MBStyleSource
mB_ICONINFORMATION :: MBStyleSource
mB_ICONSTOP :: MBStyleSource
mB_DEFBUTTON1 :: MBStyleSource
mB_DEFBUTTON2 :: MBStyleSource
mB_DEFBUTTON3 :: MBStyleSource
mB_APPLMODAL :: MBStyleSource
mB_SYSTEMMODAL :: MBStyleSource
mB_TASKMODAL :: MBStyleSource
mB_SETFOREGROUND :: MBStyleSource
type MBStatus = UINTSource
iDABORT :: MBStatusSource
iDCANCEL :: MBStatusSource
iDIGNORE :: MBStatusSource
iDNO :: MBStatusSource
iDOK :: MBStatusSource
iDRETRY :: MBStatusSource
iDYES :: MBStatusSource
messageBox :: HWND -> String -> String -> MBStyle -> IO MBStatusSource
c_MessageBox :: HWND -> LPCTSTR -> LPCTSTR -> MBStyle -> IO MBStatusSource
type StdHandleId = DWORDSource
sTD_INPUT_HANDLE :: StdHandleIdSource
sTD_OUTPUT_HANDLE :: StdHandleIdSource
sTD_ERROR_HANDLE :: StdHandleIdSource
getStdHandle :: StdHandleId -> IO HANDLESource
c_GetStdHandle :: StdHandleId -> IO HANDLESource
transformedEllipse :: HDC -> POINT -> POINT -> POINT -> IO ()Source
c_transformedEllipse :: HDC -> LONG -> LONG -> LONG -> LONG -> LONG -> LONG -> IO BoolSource
getCursorPos :: IO POINTSource
c_GetCursorPos :: Ptr POINT -> IO BoolSource
setCursorPos :: POINT -> IO ()Source
c_SetCursorPos :: LONG -> LONG -> IO BoolSource
clipCursor :: RECT -> IO ()Source
c_ClipCursor :: Ptr RECT -> IO BoolSource
getClipCursor :: IO RECTSource
c_GetClipCursor :: Ptr RECT -> IO BoolSource
type ExitOption = UINTSource
eWX_FORCE :: ExitOptionSource
eWX_LOGOFF :: ExitOptionSource
eWX_POWEROFF :: ExitOptionSource
eWX_REBOOT :: ExitOptionSource
eWX_SHUTDOWN :: ExitOptionSource
exitWindowsEx :: ExitOption -> IO ()Source
c_ExitWindowsEx :: ExitOption -> DWORD -> IO BoolSource
exitWindows :: IO ()Source
type Beep = UINTSource
type MbBeep = Maybe BeepSource
maybeBeep :: Maybe Beep -> BeepSource
type Duration = IntSource
type MbDuration = Maybe DurationSource
maybeDuration :: Maybe Duration -> DurationSource
messageBeep :: Maybe Beep -> IO ()Source
c_MessageBeep :: Beep -> IO ()Source
beep :: WORD -> MbDuration -> IO ()Source
c_Beep :: WORD -> Duration -> IO BoolSource
type TimerId = UINTSource
type TIMERPROC = FunPtr (HWND -> UINT -> TimerId -> DWORD -> IO ())Source
setWinTimer :: HWND -> TimerId -> UINT -> IO TimerIdSource
c_SetTimer :: HWND -> TimerId -> UINT -> TIMERPROC -> IO TimerIdSource
killTimer :: Maybe HWND -> TimerId -> IO ()Source
c_KillTimer :: HWND -> TimerId -> IO BoolSource
type MilliSeconds = DWORDSource
timeGetTime :: IO MilliSecondsSource
Produced by Haddock version 0.8