https://bugs.winehq.org/show_bug.cgi?id=55630
--- Comment #8 from Alexandre Julliard julliard@winehq.org --- (In reply to DvLangg from comment #7)
The commit where this bug was introduced is: https://gitlab.winehq.org/wine/wine/-/commit/ 165f552c34a0dbbd1a47a4409f43ceb80468937e#c6b7ab75d10e8c3dbab044047be78014eb61 6f68
It seems the value was simply forgotten in a rewrite of the function, but I'm not familiar with this Windows API, so I don't know if it was left out on purpose. The developer responsible for user32.dll should be able to decide this very quickly and fix this in a few minutes, especially since a working fix is proposed in the first comment in this bug report.
It was left out because the added tests demonstrate that it shouldn't be there. So no, it's not as simple as adding it back. Someone will need to write more tests to determine the expected behavior.