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

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

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

revision 353 by william, Sat Jun 9 21:11:02 2012 UTC revision 354 by william, Sat Jun 9 21:46:37 2012 UTC
# Line 416  namespace Sojaner.MemoryScanner.MemoryPr Line 416  namespace Sojaner.MemoryScanner.MemoryPr
416              catch { address = 0x00; return false; }              catch { address = 0x00; return false; }
417          }          }
418          #endregion          #endregion
419            public void ReadProcessMemoryAtOnce(int MemoryAddress, uint bytesToRead, out int bytesRead, out byte[] data)
420            {
421                bytesRead = 0x00;
422                data = new byte[bytesToRead];
423                if (!EnsureProviderIsOpen()) { return; }
424                try { provider.ReadProcessMemoryAtOnce(MemoryAddress, bytesToRead, out bytesRead, out data); }
425                catch { bytesRead = 0x00; data = new byte[] { }; }
426            }
427          #region public virtual void ReadProcessMemory(int MemoryAddress, int bytesToRead, out int bytesRead, out byte[] data)          #region public virtual void ReadProcessMemory(int MemoryAddress, int bytesToRead, out int bytesRead, out byte[] data)
428          public virtual void ReadProcessMemory(int MemoryAddress, uint bytesToRead, out int bytesRead, out byte[] data)          public virtual void ReadProcessMemory(int MemoryAddress, uint bytesToRead, out int bytesRead, out byte[] data)
429          {          {

Legend:
Removed from v.353  
changed lines
  Added in v.354

  ViewVC Help
Powered by ViewVC 1.1.22