Win32-2.3.1.0: A binding to part of the Win32 library

Copyright(c) Alastair Reid, 1997-2003
LicenseBSD-style (see the file libraries/base/LICENSE)
MaintainerEsa Ilari Vuokko <ei@vuokko.info>
Stabilityprovisional
Portabilityportable
Safe HaskellTrustworthy
LanguageHaskell98

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

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

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

type SIZE = (LONG, LONG) Source

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

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

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

gDI_ERROR :: Num a => a Source