Exemplo n.º 1
0
 private IntPtr VirtualAllocEx(int size)
 {
     return(NativeImport.VirtualAllocEx(LoadedProcess.Handle, IntPtr.Zero, (IntPtr)size,
                                        Enums.AllocationType.Commit | Enums.AllocationType.Reserve,
                                        Enums.MemoryProtection.ExecuteReadWrite));
 }