Win32-2.2.0.0: A binding to part of the Win32 library
Source code
Contents
Index
Graphics.Win32.Misc
Portability
portable
Stability
provisional
Maintainer
Esa Ilari Vuokko <ei@vuokko.info>
Description
A collection of FFI declarations for interfacing with Win32.
Documentation
type
Accelerator
=
LPCTSTR
Source
type
Cursor
=
LPTSTR
Source
type
Icon
=
LPTSTR
Source
loadAccelerators
::
Maybe
HINSTANCE
->
Accelerator
->
IO
HACCEL
Source
c_LoadAccelerators
::
HINSTANCE
->
Accelerator
->
IO
HACCEL
Source
loadCursor
::
Maybe
HINSTANCE
->
Cursor
->
IO
HCURSOR
Source
c_LoadCursor
::
HINSTANCE
->
Cursor
->
IO
HCURSOR
Source
loadIcon
::
Maybe
HINSTANCE
->
Icon
->
IO
HICON
Source
c_LoadIcon
::
HINSTANCE
->
Icon
->
IO
HICON
Source
iDC_ARROW
::
Cursor
Source
iDC_IBEAM
::
Cursor
Source
iDC_WAIT
::
Cursor
Source
iDC_CROSS
::
Cursor
Source
iDC_UPARROW
::
Cursor
Source
iDC_SIZENWSE
::
Cursor
Source
iDI_APPLICATION
::
Icon
Source
iDC_SIZENESW
::
Cursor
Source
iDI_HAND
::
Icon
Source
iDC_SIZEWE
::
Cursor
Source
iDI_QUESTION
::
Icon
Source
iDC_SIZENS
::
Cursor
Source
iDI_EXCLAMATION
::
Icon
Source
iDI_ASTERISK
::
Icon
Source
type
MBStyle
=
UINT
Source
mB_OK
::
MBStyle
Source
mB_OKCANCEL
::
MBStyle
Source
mB_ABORTRETRYIGNORE
::
MBStyle
Source
mB_YESNOCANCEL
::
MBStyle
Source
mB_YESNO
::
MBStyle
Source
mB_RETRYCANCEL
::
MBStyle
Source
mB_ICONHAND
::
MBStyle
Source
mB_ICONQUESTION
::
MBStyle
Source
mB_ICONEXCLAMATION
::
MBStyle
Source
mB_ICONASTERISK
::
MBStyle
Source
mB_ICONINFORMATION
::
MBStyle
Source
type
MBStatus
=
UINT
Source
mB_ICONSTOP
::
MBStyle
Source
iDABORT
::
MBStatus
Source
mB_DEFBUTTON1
::
MBStyle
Source
iDCANCEL
::
MBStatus
Source
mB_DEFBUTTON2
::
MBStyle
Source
iDIGNORE
::
MBStatus
Source
mB_DEFBUTTON3
::
MBStyle
Source
iDNO
::
MBStatus
Source
mB_APPLMODAL
::
MBStyle
Source
iDOK
::
MBStatus
Source
mB_SYSTEMMODAL
::
MBStyle
Source
iDRETRY
::
MBStatus
Source
mB_TASKMODAL
::
MBStyle
Source
iDYES
::
MBStatus
Source
mB_SETFOREGROUND
::
MBStyle
Source
messageBox
::
HWND
->
String
->
String
->
MBStyle
->
IO
MBStatus
Source
c_MessageBox
::
HWND
->
LPCTSTR
->
LPCTSTR
->
MBStyle
->
IO
MBStatus
Source
type
StdHandleId
=
DWORD
Source
sTD_INPUT_HANDLE
::
StdHandleId
Source
sTD_OUTPUT_HANDLE
::
StdHandleId
Source
sTD_ERROR_HANDLE
::
StdHandleId
Source
getStdHandle
::
StdHandleId
->
IO
HANDLE
Source
c_GetStdHandle
::
StdHandleId
->
IO
HANDLE
Source
transformedEllipse
::
HDC
->
POINT
->
POINT
->
POINT
->
IO
()
Source
c_transformedEllipse
::
HDC
->
LONG
->
LONG
->
LONG
->
LONG
->
LONG
->
LONG
->
IO
Bool
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
eWX_FORCE
::
ExitOption
Source
eWX_LOGOFF
::
ExitOption
Source
eWX_POWEROFF
::
ExitOption
Source
eWX_REBOOT
::
ExitOption
Source
eWX_SHUTDOWN
::
ExitOption
Source
exitWindowsEx
::
ExitOption
->
IO
()
Source
c_ExitWindowsEx
::
ExitOption
->
DWORD
->
IO
Bool
Source
exitWindows
::
IO
()
Source
type
Beep
=
UINT
Source
type
MbBeep
=
Maybe
Beep
Source
maybeBeep
::
Maybe
Beep
->
Beep
Source
type
Duration
=
Int
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_Beep
::
WORD
->
Duration
->
IO
Bool
Source
type
TimerId
=
UINT
Source
type
TIMERPROC
=
FunPtr
(
HWND
->
UINT
->
TimerId
->
DWORD
->
IO
())
Source
setWinTimer
::
HWND
->
TimerId
->
UINT
->
IO
TimerId
Source
c_SetTimer
::
HWND
->
TimerId
->
UINT
->
TIMERPROC
->
IO
TimerId
Source
killTimer
::
Maybe
HWND
->
TimerId
->
IO
()
Source
c_KillTimer
::
HWND
->
TimerId
->
IO
Bool
Source
type
MilliSeconds
=
DWORD
Source
timeGetTime
::
IO
MilliSeconds
Source
Produced by
Haddock
version 2.3.0