Esempio n. 1
0
 public MemoryRegion(MEMORY_BASIC_INFORMATION_32 basicInformation)
 {
     BaseAddress = basicInformation.BaseAddress;
     RegionSize  = basicInformation.RegionSize;
     State       = basicInformation.State;
     Protect     = basicInformation.Protect;
     Type        = basicInformation.Type;
 }
Esempio n. 2
0
 public static extern int VirtualQueryEx(IntPtr hProcess, UIntPtr lpAddress, out MEMORY_BASIC_INFORMATION_32 lpBuffer, uint dwLength);
Esempio n. 3
0
 [DllImport("kernel32.dll", SetLastError = true)] public static extern BOOL VirtualQueryEx(HANDLE hProcess, IntPtr lpAddress, out MEMORY_BASIC_INFORMATION_32 lpBuffer, DWORD dwLength);