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 | Trustworthy |
Language | Haskell98 |
A collection of FFI declarations for interfacing with Win32.
Documentation
type ResourceImageType = UINTSource
c_CopyImage :: HANDLE -> ResourceImageType -> Int -> Int -> UINT -> IO HANDLESource
endUpdateResource :: HANDLE -> BOOL -> IO ()Source
type ResourceType = LPCTSTRSource
findResource :: HMODULE -> String -> ResourceType -> IO HRSRCSource
findResourceEx :: HMODULE -> String -> ResourceType -> WORD -> IO HRSRCSource
type ResourceSize = IntSource
type LoadImageFlags = UINTSource
loadImage :: HINSTANCE -> String -> ResourceImageType -> ResourceSize -> ResourceSize -> LoadImageFlags -> IO HANDLESource
c_LoadImage :: HINSTANCE -> LPCTSTR -> ResourceImageType -> ResourceSize -> ResourceSize -> LoadImageFlags -> IO HANDLESource
lockResource :: HGLOBAL -> IO AddrSource
c_LockResource :: HGLOBAL -> IO AddrSource
updateResource :: HANDLE -> ResourceType -> String -> WORD -> Addr -> DWORD -> IO ()Source