Alexandre Julliard pushed to branch master at wine / wine
Commits: 96ddbcc0 by Elizabeth Figura at 2025-10-24T16:40:55+02:00 include: Pass a PROCESS_INFORMATION to winetest_wait_child_process().
And close the handles in that function.
Most callers are simplified. Some callers need helpers to return the whole PROCESS_INFORMATION instead of just the process handle but are still simplified overall. In two cases the process handle is used after joining and so a WaitForSingleObject() is added. In one case, test_Toolhelp(), there is no PROCESS_INFORMATION and so the function is replaced.
This also avoids GetProcessId(), which does not exist on Windows 98.
- - - - -
41 changed files:
- dlls/advapi32/tests/security.c - dlls/dbgeng/tests/dbgeng.c - dlls/gdi32/tests/font.c - dlls/kernel32/tests/actctx.c - dlls/kernel32/tests/console.c - dlls/kernel32/tests/heap.c - dlls/kernel32/tests/pipe.c - dlls/kernel32/tests/process.c - dlls/kernel32/tests/toolhelp.c - dlls/mfplat/tests/mfplat.c - dlls/mscoree/tests/comtest.c - dlls/mscoree/tests/mscoree.c - dlls/msvcrt/tests/data.c - dlls/msvcrt/tests/environ.c - dlls/msvcrt/tests/file.c - dlls/ntdll/tests/exception.c - dlls/ntdll/tests/info.c - dlls/ole32/tests/marshal.c - dlls/oleacc/tests/main.c - dlls/qmgr/tests/qmgr.c - dlls/rpcrt4/tests/server.c - dlls/shell32/tests/shellpath.c - dlls/shlwapi/tests/ordinal.c - dlls/sxs/tests/sxs.c - dlls/ucrtbase/tests/environ.c - dlls/ucrtbase/tests/misc.c - dlls/uiautomationcore/tests/uiautomation.c - dlls/urlmon/tests/misc.c - dlls/urlmon/tests/sec_mgr.c - dlls/user32/tests/class.c - dlls/user32/tests/clipboard.c - dlls/user32/tests/cursoricon.c - dlls/user32/tests/input.c - dlls/user32/tests/msg.c - dlls/user32/tests/scroll.c - dlls/user32/tests/win.c - dlls/user32/tests/winstation.c - dlls/vulkan-1/tests/vulkan.c - dlls/win32u/tests/win32u.c - include/wine/test.h - programs/conhost/tests/tty.c
View it on GitLab: https://gitlab.winehq.org/wine/wine/-/commit/96ddbcc0536731e24e7244ed770096a...