List handles WaitForMultipleObjects is waiting for when running with

-debugmsg +win32.
This commit is contained in:
Juergen Schmied 1999-01-31 09:22:14 +00:00 committed by Alexandre Julliard
parent bf635b66a2
commit ab9ac83e97
1 changed files with 1 additions and 0 deletions

View File

@ -31,6 +31,7 @@ static BOOL32 SYNC_BuildWaitStruct( DWORD count, const HANDLE32 *handles,
wait->wait_all = wait_all; wait->wait_all = wait_all;
for (i = 0, ptr = wait->objs; i < count; i++, ptr++) for (i = 0, ptr = wait->objs; i < count; i++, ptr++)
{ {
TRACE(win32,"handle %i is %08x\n",i,handles[i]);
if (!(*ptr = HANDLE_GetObjPtr( PROCESS_Current(), handles[i], if (!(*ptr = HANDLE_GetObjPtr( PROCESS_Current(), handles[i],
K32OBJ_UNKNOWN, SYNCHRONIZE, K32OBJ_UNKNOWN, SYNCHRONIZE,
&wait->server[i] ))) &wait->server[i] )))