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