예제 #1
0
파일: Loader.cs 프로젝트: ZeroLP/Goodwitch
 private IntPtr VirtualAllocEx(int size)
 {
     return(NativeImport.VirtualAllocEx(LoadedProcess.Handle, IntPtr.Zero, (IntPtr)size,
                                        Enums.AllocationType.Commit | Enums.AllocationType.Reserve,
                                        Enums.MemoryProtection.ExecuteReadWrite));
 }