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 ResourceImageType = UINT #
c_CopyImage :: HANDLE -> ResourceImageType -> Int -> Int -> UINT -> IO HANDLE #
endUpdateResource :: HANDLE -> BOOL -> IO () #
type ResourceType = LPCTSTR #
rT_FONT :: ResourceType #
rT_HTML :: ResourceType #
findResource :: HMODULE -> String -> ResourceType -> IO HRSRC #
rT_ICON :: ResourceType #
rT_MENU :: ResourceType #
findResourceEx :: HMODULE -> String -> ResourceType -> WORD -> IO HRSRC #
type ResourceSize = Int #
type LoadImageFlags = UINT #
loadImage :: HINSTANCE -> String -> ResourceImageType -> ResourceSize -> ResourceSize -> LoadImageFlags -> IO HANDLE #
c_LoadImage :: HINSTANCE -> LPCTSTR -> ResourceImageType -> ResourceSize -> ResourceSize -> LoadImageFlags -> IO HANDLE #
lockResource :: HGLOBAL -> IO Addr #
c_LockResource :: HGLOBAL -> IO Addr #
updateResource :: HANDLE -> ResourceType -> String -> WORD -> Addr -> DWORD -> IO () #