Some applications rely on this behavior.
--
v4: kernel32/tests: Add more tests for waits on pseudo-handles.
include: Add more NT pseudo-handle definitions.
ntdll: Reject pseudo-handles in NtWaitForMultipleObjects.
ntdll: Reimplement NtWaitForSingleObject without NtWaitForMultipleObjects.
ntdll: Add is_pseudo_handle() helper.
kernelbase: Reimplement WaitForSingleObject[Ex] on top of NtWaitForSingleObject.
kernelbase: Use NT_ERROR() to check for errors in WaitForMultipleObjectsEx.
https://gitlab.winehq.org/wine/wine/-/merge_requests/9305