Win32-2.2.0.0: 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
iDI_APPLICATION :: IconSource
iDC_SIZENESW :: CursorSource
iDI_HAND :: IconSource
iDC_SIZEWE :: CursorSource
iDI_QUESTION :: IconSource
iDC_SIZENS :: CursorSource
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
type MBStatus = UINTSource
mB_ICONSTOP :: MBStyleSource
iDABORT :: MBStatusSource
mB_DEFBUTTON1 :: MBStyleSource
iDCANCEL :: MBStatusSource
mB_DEFBUTTON2 :: MBStyleSource
iDIGNORE :: MBStatusSource
mB_DEFBUTTON3 :: MBStyleSource
iDNO :: MBStatusSource
mB_APPLMODAL :: MBStyleSource
iDOK :: MBStatusSource
mB_SYSTEMMODAL :: MBStyleSource
iDRETRY :: MBStatusSource
mB_TASKMODAL :: MBStyleSource
iDYES :: MBStatusSource
mB_SETFOREGROUND :: MBStyleSource
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 2.4.2