[PATCH v3 1/5] dlls/kernel32/tests: add some console tests about creating cui vs gui processes

Jacek Caban jacek at codeweavers.com
Sun Feb 20 05:49:02 CST 2022


Hi Eric,

On 2/17/22 10:10, Eric Pouech wrote:
> +    sprintf(buf, "\"%s\" console check_console", exec);
> +    res = CreateProcessA(NULL, buf, NULL, NULL, FALSE, flags, NULL, NULL, &si, &info);
> +    ok(res, "CreateProcess failed: %u %s\n", GetLastError(), buf);
> +    CloseHandle(info.hThread);
> +    ret = WaitForSingleObject(info.hProcess, 30000);
> +    ok(ret == WAIT_OBJECT_0, "Could not wait for the child process: %d le=%u\n",
> +        (UINT)ret, (UINT)GetLastError());


Those casts are not needed.


Thanks,

Jacek




More information about the wine-devel mailing list