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 | Trustworthy |
Language | Haskell98 |
A collection of FFI declarations for interfacing with Win32.
Documentation
deleteBitmap :: HBITMAP -> IO () 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
getDIBits :: HDC -> HBITMAP -> INT -> INT -> Maybe LPVOID -> LPBITMAPINFO -> ColorFormat -> IO INT Source
createDIBitmap :: HDC -> LPBITMAPINFOHEADER -> DWORD -> LPVOID -> LPBITMAPINFO -> ColorFormat -> IO HBITMAP Source