x64: fixed memory-related functionality

git-svn-id: svn://svn.code.sf.net/p/processhacker/code@1688 21ef857c-d57f-4fe0-8362-d861dc6d29cd
This commit is contained in:
wj32
2009-08-10 09:31:34 +00:00
parent 345bc8ec14
commit 79e13cbb7b
20 changed files with 132 additions and 113 deletions
+2 -2
View File
@@ -910,7 +910,7 @@ namespace ProcessHacker
/// <param name="PID">The PID of the process to edit</param>
/// <param name="address">The address to start editing at</param>
/// <param name="length">The length to edit</param>
public static MemoryEditor GetMemoryEditor(int PID, IntPtr address, int length)
public static MemoryEditor GetMemoryEditor(int PID, IntPtr address, long length)
{
return GetMemoryEditor(PID, address, length, new MemoryEditorInvokeAction(delegate {}));
}
@@ -923,7 +923,7 @@ namespace ProcessHacker
/// <param name="length">The length to edit</param>
/// <param name="action">The action to be invoked on the memory editor's thread</param>
/// <returns>Memory editor form</returns>
public static MemoryEditor GetMemoryEditor(int PID, IntPtr address, int length, MemoryEditorInvokeAction action)
public static MemoryEditor GetMemoryEditor(int PID, IntPtr address, long length, MemoryEditorInvokeAction action)
{
MemoryEditor ed = null;
string id = PID.ToString() + "-" + address.ToString() + "-" + length.ToString();