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
deleteBitmap :: HBITMAP -> IO () Source #
createCompatibleBitmap :: HDC -> Int32 -> Int32 -> IO HBITMAP Source #
createBitmapIndirect :: LPBITMAP -> IO HBITMAP Source #
createDIBPatternBrushPt :: LPVOID -> ColorFormat -> IO HBRUSH Source #
getBitmapDimensionEx :: HBITMAP -> IO SIZE Source #
getBitmapInfo :: HBITMAP -> IO BITMAP Source #
type BitmapCompression = DWORD Source #
type ColorFormat = DWORD Source #
type LPBITMAPINFO = Ptr () Source #
type BITMAPINFOHEADER = (DWORD, LONG, LONG, WORD, WORD, BitmapCompression, DWORD, LONG, LONG, Maybe DWORD, Maybe DWORD) Source #
type LPBITMAPINFOHEADER = Ptr BITMAPINFOHEADER Source #
type LPBITMAPFILEHEADER = Ptr BITMAPFILEHEADER Source #
sizeofBITMAP :: Word32 Source #
sizeofBITMAPINFO :: Word32 Source #
sizeofBITMAPINFOHEADER :: Word32 Source #
sizeofBITMAPFILEHEADER :: Word32 Source #
sizeofLPBITMAPFILEHEADER :: Word32 Source #
createBMPFile :: String -> HBITMAP -> HDC -> IO () Source #
getDIBits :: HDC -> HBITMAP -> INT -> INT -> Maybe LPVOID -> LPBITMAPINFO -> ColorFormat -> IO INT Source #
setDIBits :: HDC -> HBITMAP -> INT -> INT -> LPVOID -> LPBITMAPINFO -> ColorFormat -> IO INT Source #
createDIBitmap :: HDC -> LPBITMAPINFOHEADER -> DWORD -> LPVOID -> LPBITMAPINFO -> ColorFormat -> IO HBITMAP Source #