コード例 #1
0
ファイル: MemoryRegion.cs プロジェクト: riimuru/osu-rx
 public MemoryRegion(MEMORY_BASIC_INFORMATION_32 basicInformation)
 {
     BaseAddress = basicInformation.BaseAddress;
     RegionSize  = basicInformation.RegionSize;
     State       = basicInformation.State;
     Protect     = basicInformation.Protect;
     Type        = basicInformation.Type;
 }
コード例 #2
0
ファイル: OsuProcess.cs プロジェクト: riimuru/osu-rx
 public static extern int VirtualQueryEx(IntPtr hProcess, UIntPtr lpAddress, out MEMORY_BASIC_INFORMATION_32 lpBuffer, uint dwLength);
コード例 #3
0
 [DllImport("kernel32.dll", SetLastError = true)] public static extern BOOL VirtualQueryEx(HANDLE hProcess, IntPtr lpAddress, out MEMORY_BASIC_INFORMATION_32 lpBuffer, DWORD dwLength);