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 | Haskell98 |
A collection of FFI declarations for interfacing with Win32.
Documentation
zeroMemory :: Ptr a -> DWORD -> IO () Source
type GlobalAllocFlags = UINT Source
globalAlloc :: GlobalAllocFlags -> DWORD -> IO HGLOBAL Source
c_GlobalAlloc :: GlobalAllocFlags -> DWORD -> IO HGLOBAL Source
globalFree :: HGLOBAL -> IO HGLOBAL Source
c_GlobalFree :: HGLOBAL -> IO HGLOBAL Source
globalHandle :: Addr -> IO HGLOBAL Source
c_GlobalHandle :: Addr -> IO HGLOBAL Source
globalLock :: HGLOBAL -> IO Addr Source
c_GlobalLock :: HGLOBAL -> IO Addr Source
globalReAlloc :: HGLOBAL -> DWORD -> GlobalAllocFlags -> IO HGLOBAL Source
c_GlobalReAlloc :: HGLOBAL -> DWORD -> GlobalAllocFlags -> IO HGLOBAL Source
globalSize :: HGLOBAL -> IO DWORD Source
c_GlobalSize :: HGLOBAL -> IO DWORD Source
globalUnlock :: HGLOBAL -> IO () Source
c_GlobalUnlock :: HGLOBAL -> IO Bool Source
type HeapAllocFlags = DWORD Source
c_HeapAlloc :: HANDLE -> HeapAllocFlags -> DWORD -> IO Addr Source
heapCompact :: HANDLE -> HeapAllocFlags -> IO UINT Source
c_HeapCompact :: HANDLE -> HeapAllocFlags -> IO UINT Source
heapCreate :: HeapAllocFlags -> DWORD -> DWORD -> IO HANDLE Source
c_HeapCreate :: HeapAllocFlags -> DWORD -> DWORD -> IO HANDLE Source
heapDestroy :: HANDLE -> IO () Source
c_HeapDestroy :: HANDLE -> IO Bool Source
c_HeapFree :: HANDLE -> HeapAllocFlags -> Addr -> IO Bool Source
c_HeapLock :: HANDLE -> IO Bool Source
heapReAlloc :: HANDLE -> HeapAllocFlags -> Addr -> DWORD -> IO Addr Source
c_HeapReAlloc :: HANDLE -> HeapAllocFlags -> Addr -> DWORD -> IO Addr Source
c_HeapSize :: HANDLE -> HeapAllocFlags -> Addr -> IO DWORD Source
heapUnlock :: HANDLE -> IO () Source
c_HeapUnlock :: HANDLE -> IO Bool Source
heapValidate :: HANDLE -> HeapAllocFlags -> Addr -> IO Bool Source
type VirtualAllocFlags = DWORD Source
type ProtectFlags = DWORD Source
virtualAlloc :: Addr -> DWORD -> VirtualAllocFlags -> ProtectFlags -> IO Addr Source
virtualLock :: Addr -> DWORD -> IO () Source
virtualProtect :: Addr -> DWORD -> ProtectFlags -> IO ProtectFlags Source
virtualProtectEx :: HANDLE -> Addr -> DWORD -> ProtectFlags -> IO ProtectFlags Source
virtualQueryEx :: HANDLE -> LPVOID -> Ptr MEMORY_BASIC_INFORMATION -> SIZE_T -> IO DWORD Source
c_VirtualQueryEx :: HANDLE -> LPVOID -> Ptr MEMORY_BASIC_INFORMATION -> SIZE_T -> IO DWORD Source
virtualUnlock :: Addr -> DWORD -> IO () Source