/[RomCheater]/trunk/Win32/Sojaner.MemoryScanner/MemoryScanner.cs
ViewVC logotype

Diff of /trunk/Win32/Sojaner.MemoryScanner/MemoryScanner.cs

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 598 by william, Fri Jun 7 09:40:01 2013 UTC revision 599 by william, Fri Jun 7 09:55:01 2013 UTC
# Line 169  namespace Sojaner.MemoryScanner Line 169  namespace Sojaner.MemoryScanner
169          ///// ProcessMemoryReader is a class that enables direct reading a process memory          ///// ProcessMemoryReader is a class that enables direct reading a process memory
170          ///// </summary>          ///// </summary>
171          //private class ProcessMemoryReaderApi          //private class ProcessMemoryReaderApi
172          //{          ////{
173          //    [DllImport("kernel32.dll")]          //[DllImport("kernel32.dll")]
174          //    public static extern int VirtualQueryEx(IntPtr hProcess, IntPtr lpAddress, out MEMORY_BASIC_INFORMATION lpBuffer, uint dwLength);          //public static extern int VirtualQueryEx(IntPtr hProcess, IntPtr lpAddress, out MEMORY_BASIC_INFORMATION lpBuffer, uint dwLength);
175    
176          //    // function declarations are found in the MSDN and in <winbase.h>          //    // function declarations are found in the MSDN and in <winbase.h>
177    
# Line 309  namespace Sojaner.MemoryScanner Line 309  namespace Sojaner.MemoryScanner
309          #endregion          #endregion
310    
311    
312            public void QueryMemoryRegions()
313            {
314                ulong location = 0;
315                int size = 0;
316                using (ProcessMemoryChunk mem = new ProcessMemoryChunk(m_ReadProcess, (IntPtr)location, size))
317                {
318                }
319            }
320    
321          public void UpdateAddressArray(ulong[] addresses, ulong size, out byte[][] values)          public void UpdateAddressArray(ulong[] addresses, ulong size, out byte[][] values)
322          {          {
323              // size = size of data to read at each address              // size = size of data to read at each address

Legend:
Removed from v.598  
changed lines
  Added in v.599

  ViewVC Help
Powered by ViewVC 1.1.22