Win32-2.5.4.1: 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 (signature[?])

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 #

type RECT = (LONG, LONG, LONG, LONG) 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 #

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

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

gDI_ERROR :: Num a => a Source #