kernel32: Print in the trace pid and tid of the created process

Dmitry Timoshkov dmitry at codeweavers.com
Tue May 6 03:25:32 CDT 2008


Hello,

Changelog:
    kernel32: Print in the trace pid and tid of the created process.
---
 dlls/kernel32/process.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/dlls/kernel32/process.c b/dlls/kernel32/process.c
index 59fd1f5..aeec13d 100644
--- a/dlls/kernel32/process.c
+++ b/dlls/kernel32/process.c
@@ -1785,6 +1785,8 @@ BOOL WINAPI CreateProcessW( LPCWSTR app_name, LPWSTR cmd_line, LPSECURITY_ATTRIB
     if (tidy_cmdline != cmd_line) HeapFree( GetProcessHeap(), 0, tidy_cmdline );
     if (envW != env) HeapFree( GetProcessHeap(), 0, envW );
     HeapFree( GetProcessHeap(), 0, unixdir );
+    if (retv)
+        TRACE( "started process pid %04x tid %04x\n", info->dwProcessId, info->dwThreadId );
     return retv;
 }
 
-- 
1.5.5.1






More information about the wine-patches mailing list