29 Oct
2025
29 Oct
'25
4:32 p.m.
On Wed Oct 29 17:30:20 2025 +0000, Paul Gofman wrote:
There is set_ntstatus() for this, does it not work here for some reason? But I think it can use more tests besides the case for GetCurrentProcess() handle. We can't use `set_ntstatus()` since we are returning non-truthy values, which are not errors, but just need to be passed through, but as @dmitry noted `NT_ERROR()` could be used here and is probably more elegant.
I think the `WaitForMultipleObjectsEx` implementation should stay in sync with whatever is done though. -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9305#note_120042