29 Oct
2025
29 Oct
'25
5:06 p.m.
On Wed Oct 29 21:52:54 2025 +0000, Marc-Aurel Zent wrote:
what happens with std handles (especially because the MR changes behaviour for those); I am not sure I can see how it is changing behaviour here for std handles... Well, in the last patch:
- return WaitForMultipleObjectsEx( 1, &handle, FALSE, timeout, alertable );
+ NTSTATUS status;
+ LARGE_INTEGER time;
+
+ status = NtWaitForSingleObject( normalize_std_handle( handle ), alertable,
+ get_nt_timeout( &time, timeout ) );
Previously there wasn't normalize_std_handle call, now there is (which replaces special values like STD_INPUT_HANDLE with the handles fetched from TEB), so looks it changes the behaviour? Am I missing something? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/9305#note_120046