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 Source #
MEMORY_BASIC_INFORMATION | |
|
Instances
Show MEMORY_BASIC_INFORMATION Source # | |
Defined in System.Win32.Mem | |
Storable MEMORY_BASIC_INFORMATION Source # | |
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 # |
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 #
virtualAllocEx :: HANDLE -> 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 #