Only print 4 hexdigits for tid.

This commit is contained in:
Eric Pouech 2003-02-26 04:36:54 +00:00 committed by Alexandre Julliard
parent ea957415b0
commit 12b7c26e0d
2 changed files with 3 additions and 3 deletions

View File

@ -554,7 +554,7 @@ static void start_process(void)
if (console_app) PROCESS_CallUserSignalProc( USIG_PROCESS_RUNNING, 0 ); if (console_app) PROCESS_CallUserSignalProc( USIG_PROCESS_RUNNING, 0 );
if (TRACE_ON(relay)) if (TRACE_ON(relay))
DPRINTF( "%08lx:Starting process %s (entryproc=%p)\n", DPRINTF( "%04lx:Starting process %s (entryproc=%p)\n",
GetCurrentThreadId(), main_exe_name, entry ); GetCurrentThreadId(), main_exe_name, entry );
if (debugged) DbgBreakPoint(); if (debugged) DbgBreakPoint();
/* FIXME: should use _PEB as parameter for NT 3.5 programs ! /* FIXME: should use _PEB as parameter for NT 3.5 programs !

View File

@ -176,7 +176,7 @@ static LRESULT WINPROC_CallWndProc( WNDPROC proc, HWND hwnd, UINT msg,
hwnd = WIN_GetFullHandle( hwnd ); hwnd = WIN_GetFullHandle( hwnd );
if (TRACE_ON(relay)) if (TRACE_ON(relay))
DPRINTF( "%08lx:Call window proc %p (hwnd=%p,msg=%s,wp=%08x,lp=%08lx)\n", DPRINTF( "%04lx:Call window proc %p (hwnd=%p,msg=%s,wp=%08x,lp=%08lx)\n",
GetCurrentThreadId(), proc, hwnd, SPY_GetMsgName(msg, hwnd), wParam, lParam ); GetCurrentThreadId(), proc, hwnd, SPY_GetMsgName(msg, hwnd), wParam, lParam );
/* To avoid any deadlocks, all the locks on the windows structures /* To avoid any deadlocks, all the locks on the windows structures
must be suspended before the control is passed to the application */ must be suspended before the control is passed to the application */
@ -185,7 +185,7 @@ static LRESULT WINPROC_CallWndProc( WNDPROC proc, HWND hwnd, UINT msg,
WIN_RestoreWndsLock(iWndsLocks); WIN_RestoreWndsLock(iWndsLocks);
if (TRACE_ON(relay)) if (TRACE_ON(relay))
DPRINTF( "%08lx:Ret window proc %p (hwnd=%p,msg=%s,wp=%08x,lp=%08lx) retval=%08lx\n", DPRINTF( "%04lx:Ret window proc %p (hwnd=%p,msg=%s,wp=%08x,lp=%08lx) retval=%08lx\n",
GetCurrentThreadId(), proc, hwnd, SPY_GetMsgName(msg, hwnd), wParam, lParam, retvalue ); GetCurrentThreadId(), proc, hwnd, SPY_GetMsgName(msg, hwnd), wParam, lParam, retvalue );
return retvalue; return retvalue;
} }