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
nOTSRCCOPY :: RasterOp3 #
mERGEPAINT :: RasterOp3 #
deleteBitmap :: HBITMAP -> IO () #
createBitmapIndirect :: LPBITMAP -> IO HBITMAP #
createDIBPatternBrushPt :: LPVOID -> ColorFormat -> IO HBRUSH #
getBitmapDimensionEx :: HBITMAP -> IO SIZE #
getBitmapInfo :: HBITMAP -> IO BITMAP #
type BitmapCompression = DWORD #
type ColorFormat = DWORD #
type LPBITMAPINFO = Ptr () #
type BITMAPINFOHEADER = (DWORD, LONG, LONG, WORD, WORD, BitmapCompression, DWORD, LONG, LONG, Maybe DWORD, Maybe DWORD) #
type LPBITMAPINFOHEADER = Ptr BITMAPINFOHEADER #
type LPBITMAPFILEHEADER = Ptr BITMAPFILEHEADER #
sizeofBITMAP :: Word32 #
getDIBits :: HDC -> HBITMAP -> INT -> INT -> Maybe LPVOID -> LPBITMAPINFO -> ColorFormat -> IO INT #
createDIBitmap :: HDC -> LPBITMAPINFOHEADER -> DWORD -> LPVOID -> LPBITMAPINFO -> ColorFormat -> IO HBITMAP #