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 #
createDIBPatternBrushPt :: LPVOID -> ColorFormat -> IO HBRUSH 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 #
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 #