Portability | portable |
---|---|
Stability | provisional |
Maintainer | Esa Ilari Vuokko <ei@vuokko.info> |
Safe Haskell | Trustworthy |
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