ViewVC Help
View File | Revision Log | Show Annotations | Download File | View Changeset | Root Listing
root/RomCheater/trunk/Win32/Sojaner.MemoryScanner/MemoryProviers/IMemoryReader.cs
Revision: 600
Committed: Fri Jun 7 10:27:53 2013 UTC (9 years, 6 months ago) by william
File size: 922 byte(s)
Log Message:

File Contents

# Content
1 using System;
2 using System.Collections.Generic;
3 using System.Linq;
4 using System.Text;
5 using ManagedWinapi;
6
7 namespace Sojaner.MemoryScanner.MemoryProviers
8 {
9 public interface IMemoryReader
10 {
11 bool ReadFirstNonZeroByte(ulong MemoryAddress, ulong bytesToRead, out ulong address);
12 //bool ReadFirstNonZeroByte(uint MemoryAddress, uint bytesToRead, out uint address);
13 void ReadProcessMemory(long MemoryAddress, long bytesToRead, out ulong bytesRead, out byte[] data);
14 //void ReadProcessMemory(uint MemoryAddress, uint bytesToRead, out uint bytesRead, out byte[] data);
15 void ReadProcessMemoryAtOnce(ulong MemoryAddress, ulong bytesToRead, out ulong bytesRead, out byte[] data);
16
17 void UpdateAddressArray(ulong[] addresses, ulong size, out byte[][] values);
18
19 List<MEMORY_REGION_INFORMATION> QueryMemoryRegions(ulong start, ulong size);
20 }
21 }