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 HaskellSafe
LanguageHaskell2010

System.Win32.Mem

Description

A collection of FFI declarations for interfacing with Win32.

Synopsis

Documentation

copyMemory :: Ptr a -> Ptr a -> DWORD -> IO () Source #

moveMemory :: Ptr a -> Ptr a -> DWORD -> IO () Source #

fillMemory :: Ptr a -> DWORD -> BYTE -> IO () Source #

zeroMemory :: Ptr a -> DWORD -> IO () Source #

memset :: Ptr a -> CInt -> CSize -> IO () Source #

Global allocation

Heap allocation

heapLock :: HANDLE -> IO () Source #

Virtual allocation

Allocation

Locking

virtualLock :: Addr -> DWORD -> IO () Source #

Protection

Freeing