Files
mirror-processhacker/trunk/ProcessHacker.Native/Memory/VirtualMemoryAlloc.cs
T
wj32 4e4036570b * added Ss logger code
* refactored memory classes
* added Kernel Transaction Manager (KTM) types

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1643 21ef857c-d57f-4fe0-8362-d861dc6d29cd
2009-07-30 11:25:07 +00:00

28 lines
659 B
C#

using System;
using System.Collections.Generic;
using System.Text;
using ProcessHacker.Native.Api;
using ProcessHacker.Native.Objects;
namespace ProcessHacker.Native
{
public class VirtualMemoryAlloc : MemoryAlloc
{
public VirtualMemoryAlloc(int size)
{
this.Memory = ProcessHandle.Current.AllocateMemory(size, MemoryProtection.ReadWrite);
this.Size = size;
}
protected override void Free()
{
base.Free();
}
public override void Resize(int newSize)
{
throw new NotImplementedException();
}
}
}