Portability | portable |
---|---|
Stability | provisional |
Maintainer | Esa Ilari Vuokko <ei@vuokko.info> |
Safe Haskell | Trustworthy |
A collection of FFI declarations for interfacing with Win32.
Documentation
drawMenuBar :: HWND -> IO ()Source
c_DrawMenuBar :: HWND -> IO BoolSource
type TrackMenuFlag = UINTSource
type SystemMenuCommand = UINTSource
getMenuItemCount :: HMENU -> IO IntSource
c_GetMenuItemCount :: HMENU -> IO IntSource
data MenuItemInfo Source
allocaMenuItemInfo :: (Ptr MenuItemInfo -> IO a) -> IO aSource
withMenuItemInfo :: MenuItemInfo -> (Ptr MenuItemInfo -> IO a) -> IO aSource
type MenuItemMask = UINTSource
pokeFMask :: Ptr MenuItemInfo -> MenuItemMask -> IO ()Source
getMenuItemInfo :: HMENU -> MenuItem -> Bool -> MenuItemMask -> IO MenuItemInfoSource
c_GetMenuItemInfo :: HMENU -> UINT -> Bool -> Ptr MenuItemInfo -> IO BoolSource
insertMenuItem :: HMENU -> MenuItem -> Bool -> MenuItemInfo -> IO ()Source
c_InsertMenuItem :: HMENU -> UINT -> Bool -> Ptr MenuItemInfo -> IO BoolSource
destroyMenu :: HMENU -> IO ()Source
c_DestroyMenu :: HMENU -> IO BoolSource
setMenuItemInfo :: HMENU -> MenuItem -> Bool -> MenuItemMask -> MenuItemInfo -> IO ()Source
c_SetMenuItemInfo :: HMENU -> UINT -> Bool -> Ptr MenuItemInfo -> IO BoolSource
trackPopupMenu :: HMENU -> TrackMenuFlag -> Int -> Int -> HWND -> RECT -> IO ()Source