internal IntPtr AllocateMemory(int size, Imports.AllocationType type, Imports.MemoryProtection protect) { return(Imports.VirtualAllocEx(this.ProcessHandle, 0, size, type, protect)); }
public static extern IntPtr VirtualAlloc(IntPtr lpAddress, UIntPtr dwSize, Imports.AllocationType flAllocationType, Imports.MemoryProtection flProtect);