Store the handle of the process exe file in the server.
Removed PROCESS_Initial().
diff --git a/include/server.h b/include/server.h
index c7b5e8f..6eb99c3 100644
--- a/include/server.h
+++ b/include/server.h
@@ -114,6 +114,7 @@
IN int inherit_all; /* inherit all handles from parent */
IN int create_flags; /* creation flags */
IN int start_flags; /* flags from startup info */
+ IN int exe_file; /* file handle for main exe */
IN int hstdin; /* handle for stdin */
IN int hstdout; /* handle for stdout */
IN int hstderr; /* handle for stderr */
@@ -151,6 +152,7 @@
IN void* ldt_copy; /* addr of LDT copy */
IN void* ldt_flags; /* addr of LDT flags */
OUT int start_flags; /* flags from startup info */
+ OUT int exe_file; /* file handle for main exe */
OUT int hstdin; /* handle for stdin */
OUT int hstdout; /* handle for stdout */
OUT int hstderr; /* handle for stderr */