Copyright | (c) Alastair Reid 1997-2003 |
---|---|
License | BSD-style (see the file libraries/base/LICENSE) |
Maintainer | Esa Ilari Vuokko <[email protected]> |
Stability | provisional |
Portability | portable |
Safe Haskell | Safe |
Language | Haskell98 |
A collection of FFI declarations for interfacing with Win32.
Documentation
type GlobalAllocFlags = UINT Source #
globalAlloc :: GlobalAllocFlags -> DWORD -> IO HGLOBAL Source #
c_GlobalAlloc :: GlobalAllocFlags -> DWORD -> IO HGLOBAL Source #
globalFlags :: HGLOBAL -> IO GlobalAllocFlags Source #
globalReAlloc :: HGLOBAL -> DWORD -> GlobalAllocFlags -> IO HGLOBAL Source #
c_GlobalReAlloc :: HGLOBAL -> DWORD -> GlobalAllocFlags -> IO HGLOBAL Source #
globalUnlock :: HGLOBAL -> IO () 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_HeapFree :: HANDLE -> HeapAllocFlags -> Addr -> 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 #
heapValidate :: HANDLE -> HeapAllocFlags -> Addr -> IO Bool Source #
type VirtualAllocFlags = DWORD Source #
type ProtectFlags = DWORD Source #
virtualAlloc :: Addr -> DWORD -> VirtualAllocFlags -> ProtectFlags -> IO Addr 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 #