Generate CREATE_PROCESS/THREAD debug events internally in the server.
diff --git a/server/process.h b/server/process.h
index 873aad7..e8e7cc6 100644
--- a/server/process.h
+++ b/server/process.h
@@ -37,6 +37,7 @@
struct event *init_event; /* event for init done */
void *ldt_copy; /* pointer to LDT copy in client addr space */
void *ldt_flags; /* pointer to LDT flags in client addr space */
+ void *module; /* main module base address */
struct new_process_request *info; /* startup info (freed after startup) */
};
@@ -66,4 +67,6 @@
extern void kill_debugged_processes( struct thread *debugger, int exit_code );
extern struct process_snapshot *process_snap( int *count );
+static inline void *get_process_id( struct process *process ) { return process; }
+
#endif /* __WINE_SERVER_PROCESS_H */