| Win32-2.1.1.1: A binding to part of the Win32 library | Source code | Contents | Index

Graphics.Win32.Resource

Portability | portable
Stability | provisional
Maintainer | Esa Ilari Vuokko <ei@vuokko.info>

Description
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

type HRSRC = Ptr () | Source

type HGLOBAL = Ptr () | Source

iMAGE_BITMAP :: ResourceImageType | Source

iMAGE_ICON :: ResourceImageType | Source

iMAGE_CURSOR :: ResourceImageType | Source

copyImage :: HANDLE -> ResourceImageType -> Int -> Int -> UINT -> IO HANDLE | 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

rT_ACCELERATOR :: ResourceType | Source

rT_ANICURSOR :: ResourceType | Source

rT_ANIICON :: ResourceType | Source

rT_BITMAP :: ResourceType | Source

rT_CURSOR :: ResourceType | Source

rT_DIALOG :: ResourceType | Source

rT_FONT :: ResourceType | Source

rT_FONTDIR :: ResourceType | Source

rT_GROUP_CURSOR :: ResourceType | Source

rT_GROUP_ICON :: ResourceType | Source

rT_HTML :: ResourceType | Source

rT_ICON :: ResourceType | Source

rT_MENU :: ResourceType | Source

rT_MESSAGETABLE :: ResourceType | Source

rT_RCDATA :: ResourceType | Source

rT_STRING :: ResourceType | Source

rT_VERSION :: ResourceType | Source

findResource :: HMODULE -> String -> ResourceType -> IO HRSRC | Source

c_FindResource :: HMODULE -> LPCTSTR -> LPCTSTR -> IO HRSRC | Source

findResourceEx :: HMODULE -> String -> ResourceType -> WORD -> IO HRSRC | Source

c_FindResourceEx :: HMODULE -> LPCTSTR -> LPCTSTR -> WORD -> IO HRSRC | Source

type ResourceSize = Int | Source

lR_DEFAULTSIZE :: ResourceSize | Source

type LoadImageFlags = UINT | Source

lR_DEFAULTCOLOR :: LoadImageFlags | Source

lR_CREATEDIBSECTION :: LoadImageFlags | Source

lR_LOADFROMFILE :: LoadImageFlags | Source

lR_LOADMAP3DCOLORS :: LoadImageFlags | Source

lR_LOADTRANSPARENT :: LoadImageFlags | Source

lR_MONOCHROME :: LoadImageFlags | Source

lR_SHARED :: LoadImageFlags | Source

loadImage :: HINSTANCE -> String -> ResourceImageType -> ResourceSize -> ResourceSize -> LoadImageFlags -> IO HANDLE | Source

c_LoadImage :: HINSTANCE -> LPCTSTR -> ResourceImageType -> ResourceSize -> ResourceSize -> LoadImageFlags -> IO HANDLE | Source

loadResource :: HMODULE -> HRSRC -> IO HGLOBAL | Source

c_LoadResource :: HMODULE -> HRSRC -> IO HGLOBAL | Source

lockResource :: HGLOBAL -> IO Addr | Source

c_LockResource :: HGLOBAL -> IO Addr | Source

sizeofResource :: HMODULE -> HRSRC -> IO DWORD | Source

c_SizeofResource :: HMODULE -> HRSRC -> IO DWORD | Source

updateResource :: HANDLE -> ResourceType -> String -> WORD -> Addr -> DWORD -> IO () | Source

c_UpdateResource :: HANDLE -> LPCTSTR -> LPCTSTR -> WORD -> Addr -> DWORD -> IO Bool | Source

Produced by Haddock version 0.8