Win32-2.14.1.0: A binding to Windows Win32 API.
Copyright(c) Alastair Reid 1997-2003
LicenseBSD-style (see the file libraries/base/LICENSE)
MaintainerEsa Ilari Vuokko <ei@vuokko.info>
Stabilityprovisional
Portabilityportable
Safe HaskellTrustworthy
LanguageHaskell2010

Graphics.Win32.GDI.Types

Description

A collection of FFI declarations for interfacing with Win32.

Documentation

type POINT = (LONG, LONG) Source #

allocaPOINT :: (Ptr POINT -> IO a) -> IO a Source #

pokePOINT :: Ptr POINT -> POINT -> IO () Source #

withPOINT :: POINT -> (Ptr POINT -> IO a) -> IO a Source #

type RECT = (LONG, LONG, LONG, LONG) Source #

allocaRECT :: (Ptr RECT -> IO a) -> IO a Source #

peekRECT :: Ptr RECT -> IO RECT Source #

pokeRECT :: Ptr RECT -> RECT -> IO () Source #

type SIZE = (LONG, LONG) Source #

allocaSIZE :: (Ptr SIZE -> IO a) -> IO a Source #

peekSIZE :: Ptr SIZE -> IO SIZE Source #

pokeSIZE :: Ptr SIZE -> SIZE -> IO () Source #

withPOINTArray :: [POINT] -> (Ptr POINT -> Int -> IO a) -> IO a Source #

pokePOINTArray :: Ptr POINT -> [POINT] -> IO () Source #

setPOINT :: Ptr POINT -> Int -> POINT -> IO () Source #

type LPRECT = Ptr RECT Source #

type MbLPRECT = Maybe LPRECT Source #

withRECT :: RECT -> (Ptr RECT -> IO a) -> IO a Source #

type MbHBITMAP = Maybe HBITMAP Source #

type MbHFONT = Maybe HFONT Source #

type MbHCURSOR = Maybe HCURSOR Source #

type MbHICON = Maybe HICON Source #

type MbHRGN = Maybe HRGN Source #

type MbHBRUSH = Maybe HBRUSH Source #

type MbHPEN = Maybe HPEN Source #

type MbHDC = Maybe HDC Source #

type MbHDWP = Maybe HDWP Source #

type MbHWND = Maybe HWND Source #

type MbHMENU = Maybe HMENU Source #

type COLORREF = Word32 Source #

type RasterOp3 = Word32 Source #

type RasterOp4 = Word32 Source #

gDI_ERROR :: Num a => a Source #