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