Win32-2.1.1.0: A binding to part of the Win32 librarySource codeContentsIndex
Graphics.Win32.Resource
Portabilityportable
Stabilityprovisional
MaintainerEsa Ilari Vuokko <ei@vuokko.info>
Description
A collection of FFI declarations for interfacing with Win32.
Documentation
beginUpdateResource :: String -> Bool -> IO HANDLESource
c_BeginUpdateResource :: LPCTSTR -> Bool -> IO HANDLESource
type ResourceImageType = UINTSource
type HRSRC = Ptr ()Source
type HGLOBAL = Ptr ()Source
iMAGE_BITMAP :: ResourceImageTypeSource
iMAGE_ICON :: ResourceImageTypeSource
iMAGE_CURSOR :: ResourceImageTypeSource
copyImage :: HANDLE -> ResourceImageType -> Int -> Int -> UINT -> IO HANDLESource
c_CopyImage :: HANDLE -> ResourceImageType -> Int -> Int -> UINT -> IO HANDLESource
endUpdateResource :: HANDLE -> BOOL -> IO ()Source
c_EndUpdateResource :: HANDLE -> BOOL -> IO BoolSource
type ResourceType = LPCTSTRSource
rT_ACCELERATOR :: ResourceTypeSource
rT_ANICURSOR :: ResourceTypeSource
rT_ANIICON :: ResourceTypeSource
rT_BITMAP :: ResourceTypeSource
rT_CURSOR :: ResourceTypeSource
rT_DIALOG :: ResourceTypeSource
rT_FONT :: ResourceTypeSource
rT_FONTDIR :: ResourceTypeSource
rT_GROUP_CURSOR :: ResourceTypeSource
rT_GROUP_ICON :: ResourceTypeSource
rT_HTML :: ResourceTypeSource
rT_ICON :: ResourceTypeSource
rT_MENU :: ResourceTypeSource
rT_MESSAGETABLE :: ResourceTypeSource
rT_RCDATA :: ResourceTypeSource
rT_STRING :: ResourceTypeSource
rT_VERSION :: ResourceTypeSource
findResource :: HMODULE -> String -> ResourceType -> IO HRSRCSource
c_FindResource :: HMODULE -> LPCTSTR -> LPCTSTR -> IO HRSRCSource
findResourceEx :: HMODULE -> String -> ResourceType -> WORD -> IO HRSRCSource
c_FindResourceEx :: HMODULE -> LPCTSTR -> LPCTSTR -> WORD -> IO HRSRCSource
type ResourceSize = IntSource
lR_DEFAULTSIZE :: ResourceSizeSource
type LoadImageFlags = UINTSource
lR_DEFAULTCOLOR :: LoadImageFlagsSource
lR_CREATEDIBSECTION :: LoadImageFlagsSource
lR_LOADFROMFILE :: LoadImageFlagsSource
lR_LOADMAP3DCOLORS :: LoadImageFlagsSource
lR_LOADTRANSPARENT :: LoadImageFlagsSource
lR_MONOCHROME :: LoadImageFlagsSource
lR_SHARED :: LoadImageFlagsSource
loadImage :: HINSTANCE -> String -> ResourceImageType -> ResourceSize -> ResourceSize -> LoadImageFlags -> IO HANDLESource
c_LoadImage :: HINSTANCE -> LPCTSTR -> ResourceImageType -> ResourceSize -> ResourceSize -> LoadImageFlags -> IO HANDLESource
loadResource :: HMODULE -> HRSRC -> IO HGLOBALSource
c_LoadResource :: HMODULE -> HRSRC -> IO HGLOBALSource
lockResource :: HGLOBAL -> IO AddrSource
c_LockResource :: HGLOBAL -> IO AddrSource
sizeofResource :: HMODULE -> HRSRC -> IO DWORDSource
c_SizeofResource :: HMODULE -> HRSRC -> IO DWORDSource
updateResource :: HANDLE -> ResourceType -> String -> WORD -> Addr -> DWORD -> IO ()Source
c_UpdateResource :: HANDLE -> LPCTSTR -> LPCTSTR -> WORD -> Addr -> DWORD -> IO BoolSource
Produced by Haddock version 0.8