Some refactoring + implementation of `_StructuredTaskCollection::_Cancel` and `_StructuredTaskCollection::_IsCanceling`.
--
v2: msvcr100: Implement _StructuredTaskCollection::_IsCanceling.
msvcr100: Implement _StructuredTaskCollection canceling.
msvcr100: Use enum for _StructuredTaskCollection status bits.
msvcr100: Use enum for _StructuredTaskCollection return value.
msvcr100: Only wake task collection waiters when finished >= count.
https://gitlab.winehq.org/wine/wine/-/merge_requests/2524
Needed for Epic Online Services updater which invokes taskkill with /T flag and fails to replace a file if that didn't actually killed the processes.
There is apparently a bit of refactoring on the way, with most notably using toolhelp snapshot instead of EnumProcesses(). That is more convenient for finding child processes (instead of performing a separate query for parent pid), but I also think that is more consistent in general and gets rid of existing separate query for process name.
--
https://gitlab.winehq.org/wine/wine/-/merge_requests/2528