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 DTemplateMem = Ptr Stub_DTM #
newtype DIA_TEMPLATE #
type DialogStyle = WindowStyle #
mkDialogTemplate :: String -> IO DTemplate #
type ResourceID = Int #
mkResource :: ResourceID -> IO (Ptr a) #
type DialogProc = HWND -> WindowMessage -> WPARAM -> LPARAM -> IO Int #
marshall_dialogProc_ :: DialogProc -> IO (FunPtr DialogProc) #
mkDialogClosure :: DialogProc -> IO (FunPtr DialogProc) #
dialogBoxParam :: HINSTANCE -> DTemplate -> Maybe HWND -> DialogProc -> LPARAM -> IO Int #
c_DialogBoxParam :: HINSTANCE -> DTemplate -> HWND -> FunPtr DialogProc -> LPARAM -> IO Int #
dialogBoxIndirect :: HINSTANCE -> DTemplateMem -> Maybe HWND -> DialogProc -> IO Int #
dialogBoxIndirectParam :: HINSTANCE -> DTemplateMem -> Maybe HWND -> DialogProc -> LPARAM -> IO Int #
c_DialogBoxIndirectParam :: HINSTANCE -> DTemplateMem -> HWND -> FunPtr DialogProc -> LPARAM -> IO Int #
data DialogTemplate #
data DialogControl #
getFinalDialog :: Ptr DIA_TEMPLATE -> IO DTemplateMem #
mkDiaTemplate :: Int -> Int -> Int -> Int -> Int -> WindowStyle -> DWORD -> LPCWSTR -> LPCWSTR -> LPCWSTR -> LPCWSTR -> Int -> IO (Ptr DIA_TEMPLATE) #
addControl :: Ptr DIA_TEMPLATE -> DialogControl -> IO () #
addDiaControl :: Ptr DIA_TEMPLATE -> LPCWSTR -> Int -> LPCWSTR -> DWORD -> Int -> Int -> Int -> Int -> DWORD -> IO (Ptr DIA_TEMPLATE) #
marshall_res :: Either ResourceID String -> IO LPCWSTR #
createDialog :: HINSTANCE -> DTemplate -> Maybe HWND -> DialogProc -> IO HWND #
createDialogParam :: HINSTANCE -> DTemplate -> Maybe HWND -> DialogProc -> LPARAM -> IO HWND #
c_CreateDialogParam :: HINSTANCE -> DTemplate -> HWND -> FunPtr DialogProc -> LPARAM -> IO HWND #
createDialogIndirect :: HINSTANCE -> DTemplateMem -> Maybe HWND -> DialogProc -> IO HWND #
createDialogIndirectParam :: HINSTANCE -> DTemplateMem -> Maybe HWND -> DialogProc -> LPARAM -> IO HWND #
c_CreateDialogIndirectParam :: HINSTANCE -> DTemplateMem -> HWND -> FunPtr DialogProc -> LPARAM -> IO HWND #
defDlgProc :: HWND -> WindowMessage -> WPARAM -> LPARAM -> IO LRESULT #
getDlgCtrlID :: HWND -> IO Int #
c_GetDlgCtrlID :: HWND -> IO Int #
mapDialogRect :: HWND -> LPRECT -> IO () #
sendDlgItemMessage :: HWND -> Int -> WindowMessage -> WPARAM -> LPARAM -> IO LONG #