Francois Gouget : kernel32/tests: Add a couple of process helper functions.

Alexandre Julliard julliard at winehq.org
Tue Mar 24 15:28:17 CDT 2020


Module: wine
Branch: master
Commit: 7e1b131a85f92721a6cc367a63266eed177fd328
URL:    https://source.winehq.org/git/wine.git/?a=commit;h=7e1b131a85f92721a6cc367a63266eed177fd328

Author: Francois Gouget <fgouget at codeweavers.com>
Date:   Tue Mar 24 13:50:37 2020 +0100

kernel32/tests: Add a couple of process helper functions.

wait_and_close_child_process() simplifies waiting for the child process
and closing its handles. And because it uses wait_child_process() this
ensures that any error happening in the child process is detected.
reload_child_dump() wraps a cryptic WritePrivateProfileStringA() call
and avoids having to add a comment every time.

Signed-off-by: Francois Gouget <fgouget at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 dlls/kernel32/tests/process.c | 284 +++++++++++++++---------------------------
 1 file changed, 99 insertions(+), 185 deletions(-)

Diff:   https://source.winehq.org/git/wine.git/?a=commitdiff;h=7e1b131a85f92721a6cc367a63266eed177fd328



More information about the wine-cvs mailing list