Generate CREATE_PROCESS/THREAD debug events internally in the server.

diff --git a/include/process.h b/include/process.h
index 249d16f..045bd78 100644
--- a/include/process.h
+++ b/include/process.h
@@ -170,8 +170,6 @@
 
 /* scheduler/debugger.c */
 extern DWORD DEBUG_SendExceptionEvent( EXCEPTION_RECORD *rec, BOOL first_chance, CONTEXT *ctx );
-extern DWORD DEBUG_SendCreateProcessEvent( HFILE file, HMODULE module, void *entry );
-extern DWORD DEBUG_SendCreateThreadEvent( void *entry );
 extern DWORD DEBUG_SendLoadDLLEvent( HFILE file, HMODULE module, LPSTR *name );
 extern DWORD DEBUG_SendUnloadDLLEvent( HMODULE module );
 
diff --git a/include/server.h b/include/server.h
index 6eb99c3..2c5f91c 100644
--- a/include/server.h
+++ b/include/server.h
@@ -165,7 +165,8 @@
 /* Signal the end of the process initialization */
 struct init_process_done_request
 {
-    IN  int          dummy;
+    IN  void*        module;       /* main module base address */
+    IN  void*        entry;        /* process entry point */
 };
 
 
@@ -174,9 +175,7 @@
 {
     IN  int          unix_pid;     /* Unix pid of new thread */
     IN  void*        teb;          /* TEB of new thread (in thread address space) */
-    OUT void*        pid;          /* process id of the new thread's process */
-    OUT void*        tid;          /* thread id of the new thread */
-    OUT int          boot;         /* is this the boot thread? */
+    IN  void*        entry;        /* thread entry point (in thread address space) */
 };
 
 
@@ -185,7 +184,9 @@
 /* created thread gets (without having to request it) */
 struct get_thread_buffer_request
 {
-    IN  int          dummy;
+    OUT void*        pid;          /* process id of the new thread's process */
+    OUT void*        tid;          /* thread id of the new thread */
+    OUT int          boot;         /* is this the boot thread? */
 };