"Phil Krylov" phil@newstar.rinet.ru wrote:
Translate Unicode<->ANSI message wParams only when window type (ANSI/Unicode) does not match message handling function postfix (PeekMessageA/W etc.).
This patch is not correct. All messages which potentially go through wineserver should be posted/sent via unicode. Perhaps map_wparam_AtoW and map_wparam_WtoA should translate the whole wparam, i.e. both high and low bytes. What does Windows do if the current locale is DBCS (Chinese/Japanese/Korean), does it translate the whole wparam in that case?