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 | Haskell2010 |
A collection of FFI declarations for interfacing with Win32.
Documentation
data MEMORY_BASIC_INFORMATION #
MEMORY_BASIC_INFORMATION | |
|
Instances
Show MEMORY_BASIC_INFORMATION # | |
Defined in System.Win32.Mem | |
Storable MEMORY_BASIC_INFORMATION # | |
Defined in System.Win32.Mem sizeOf :: MEMORY_BASIC_INFORMATION -> Int Source # alignment :: MEMORY_BASIC_INFORMATION -> Int Source # peekElemOff :: Ptr MEMORY_BASIC_INFORMATION -> Int -> IO MEMORY_BASIC_INFORMATION Source # pokeElemOff :: Ptr MEMORY_BASIC_INFORMATION -> Int -> MEMORY_BASIC_INFORMATION -> IO () Source # peekByteOff :: Ptr b -> Int -> IO MEMORY_BASIC_INFORMATION Source # pokeByteOff :: Ptr b -> Int -> MEMORY_BASIC_INFORMATION -> IO () Source # peek :: Ptr MEMORY_BASIC_INFORMATION -> IO MEMORY_BASIC_INFORMATION Source # poke :: Ptr MEMORY_BASIC_INFORMATION -> MEMORY_BASIC_INFORMATION -> IO () Source # |
zeroMemory :: Ptr a -> DWORD -> IO () #
getProcessHeap :: IO HANDLE #
type GlobalAllocFlags = UINT #
globalAlloc :: GlobalAllocFlags -> DWORD -> IO HGLOBAL #
c_GlobalAlloc :: GlobalAllocFlags -> DWORD -> IO HGLOBAL #
globalFlags :: HGLOBAL -> IO GlobalAllocFlags #
c_GlobalFlags :: HGLOBAL -> IO GlobalAllocFlags #
globalFree :: HGLOBAL -> IO HGLOBAL #
c_GlobalFree :: HGLOBAL -> IO HGLOBAL #
globalHandle :: Addr -> IO HGLOBAL #
c_GlobalHandle :: Addr -> IO HGLOBAL #
globalLock :: HGLOBAL -> IO Addr #
c_GlobalLock :: HGLOBAL -> IO Addr #
globalReAlloc :: HGLOBAL -> DWORD -> GlobalAllocFlags -> IO HGLOBAL #
c_GlobalReAlloc :: HGLOBAL -> DWORD -> GlobalAllocFlags -> IO HGLOBAL #
globalSize :: HGLOBAL -> IO DWORD #
c_GlobalSize :: HGLOBAL -> IO DWORD #
globalUnlock :: HGLOBAL -> IO () #
c_GlobalUnlock :: HGLOBAL -> IO Bool #
type HeapAllocFlags = DWORD #
c_HeapAlloc :: HANDLE -> HeapAllocFlags -> DWORD -> IO Addr #
heapCompact :: HANDLE -> HeapAllocFlags -> IO UINT #
c_HeapCompact :: HANDLE -> HeapAllocFlags -> IO UINT #
heapCreate :: HeapAllocFlags -> DWORD -> DWORD -> IO HANDLE #
c_HeapCreate :: HeapAllocFlags -> DWORD -> DWORD -> IO HANDLE #
heapDestroy :: HANDLE -> IO () #
c_HeapDestroy :: HANDLE -> IO Bool #
c_HeapFree :: HANDLE -> HeapAllocFlags -> Addr -> IO Bool #
c_HeapLock :: HANDLE -> IO Bool #
heapReAlloc :: HANDLE -> HeapAllocFlags -> Addr -> DWORD -> IO Addr #
c_HeapReAlloc :: HANDLE -> HeapAllocFlags -> Addr -> DWORD -> IO Addr #
c_HeapSize :: HANDLE -> HeapAllocFlags -> Addr -> IO DWORD #
heapUnlock :: HANDLE -> IO () #
c_HeapUnlock :: HANDLE -> IO Bool #
heapValidate :: HANDLE -> HeapAllocFlags -> Addr -> IO Bool #
type VirtualAllocFlags = DWORD #
type ProtectFlags = DWORD #
virtualAlloc :: Addr -> DWORD -> VirtualAllocFlags -> ProtectFlags -> IO Addr #
virtualLock :: Addr -> DWORD -> IO () #
virtualProtect :: Addr -> DWORD -> ProtectFlags -> IO ProtectFlags #
virtualProtectEx :: HANDLE -> Addr -> DWORD -> ProtectFlags -> IO ProtectFlags #
virtualQueryEx :: HANDLE -> LPVOID -> Ptr MEMORY_BASIC_INFORMATION -> SIZE_T -> IO DWORD #
c_VirtualQueryEx :: HANDLE -> LPVOID -> Ptr MEMORY_BASIC_INFORMATION -> SIZE_T -> IO DWORD #
virtualUnlock :: Addr -> DWORD -> IO () #