In native Windows, the COPY command will display the names of the files as they are copied. Wine should do the same. This change enables that.
--
v4: cmd/tests: Add tests for unexpected COPY filename output.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8200
Windows allows closure of a waitable timer handle while a work item is
waiting on it. Also, the current Wine ntdll implementation calls
NtWaitForMultipleObjects() on multiple handles if multiple items are
pending, and if one handle is not valid, no items will execute.
Btw there are occurrences of `INVALID_HANDLE_VALUE` elsewhere, e.g. in `RtlDeleteTimer()`, which I think are incorrect, unless Windows internals are inconsistent with its use.
--
v2: ntdll: Duplicate handles for thread pool waits.
ntdll: Initialise waitable handles with NULL.
ntdll/tests: Test early closure of handles used for threadpool waits.
https://gitlab.winehq.org/wine/wine/-/merge_requests/8191