这是可能需要的函数:
System.AllocMem; System.AllocMemCount; System.AllocMemSize; System.Dispose; System.Finalize; System.FreeMem; System.FreeMemory; System.GetHeapStatus; System.GetMem; System.GetMemory; System.GetMemoryManager; System.GetMemoryManagerState; System.GetMemoryMap; System.IsMemoryManagerSet; System.Move; System.New; System.ReallocMem; System.ReallocMemory; System.SetMemoryManager; System.SysAllocMem; System.SysFreeMem; System.SysGetMem; System.SysReallocMem; SysUtils.DisposeStr; SysUtils.NewStr; TlHelp32.Heap32First; TlHelp32.Heap32ListFirst; TlHelp32.Heap32ListNext; TlHelp32.Heap32Next; Windows.CopyMemory; Windows.FillMemory; Windows.GetProcessHeap; Windows.GetProcessHeaps; Windows.GlobalAlloc; Windows.GlobalAllocPtr; Windows.GlobalCompact; Windows.GlobalDiscard; Windows.GlobalFix; Windows.GlobalFlags; Windows.GlobalFree; Windows.GlobalFreePtr; Windows.GlobalHandle; Windows.GlobalLock; Windows.GlobalMemoryStatus; Windows.GlobalReAlloc; Windows.GlobalReAllocPtr; Windows.GlobalSize; Windows.GlobalUnfix; Windows.GlobalUnlock; Windows.GlobalUnWire; Windows.GlobalWire; Windows.HeapAlloc; Windows.HeapCompact; Windows.HeapCreate; Windows.HeapDestroy; Windows.HeapFree; Windows.HeapLock; Windows.HeapReAlloc; Windows.HeapSize; Windows.HeapUnlock; Windows.HeapValidate; Windows.HeapWalk; Windows.IsBadCodePtr; Windows.IsBadReadPtr; Windows.IsBadStringPtr; Windows.IsBadWritePtr; Windows.MoveMemory; Windows.VirtualAlloc; Windows.VirtualAllocEx; Windows.VirtualFree; Windows.VirtualFreeEx; Windows.VirtualLock; Windows.VirtualProtect; Windows.VirtualProtectEx; Windows.VirtualQuery; Windows.VirtualQueryEx; Windows.ZeroMemory; Windows.LocalAlloc; Windows.LocalCompact; Windows.LocalDiscard; Windows.LocalFlags; Windows.LocalFree; Windows.LocalLock; Windows.LocalReAlloc; Windows.LocalShrink; Windows.LocalSize; Windows.LocalUnlock;