"Norbert Feulner" feulner.norbert@web.de writes:
WINPROC_MapMsg16To32A is used to restore some of the original values. It is called by __wine_call_wndproc_32W (line 4).
Here I added for the case of message msg16 equals SBM_GETRANGE to extend pwparam32 to its 32-Bit value. This is done by using the upper word from plparam.
This is wrong, wParam and lParam don't necessarily have the same high word. This problem has been discussed already, what needs to be done is to investigate how SBM_GETRANGE works on 16-bit Windows and then implement the proper translation based on that.