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

Alexandre Julliard julliard at winehq.org
Tue May 6 09:32:16 CDT 2008


Module: wine
Branch: master
Commit: fab78cdc8d978b296430d5ce98c3ef7010caacd2
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=fab78cdc8d978b296430d5ce98c3ef7010caacd2

Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date:   Tue May  6 17:25:32 2008 +0900

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;
 }
 




More information about the wine-cvs mailing list