Exemple #1
0
 public static extern uint VirtualProtectEx(IntPtr hProcess, IntPtr lpAddress, IntPtr dwSize, MEMORY_PROTECTION_FLAG flNewProtect, ref MEMORY_PROTECTION_FLAG lpflOldProtect);
Exemple #2
0
 public static extern IntPtr VirtualAllocEx(IntPtr hProcess, IntPtr lpAddress, IntPtr dwSize, ALLOCATION_TYPE flAllocationType, MEMORY_PROTECTION_FLAG flProtect);