http://bugs.winehq.org/show_bug.cgi?id=28670
--- Comment #2 from Sebastian Riemer Sebastian.Riemer@gmx.de 2011-10-12 15:31:40 CDT --- (In reply to comment #1)
That's because support for keyboard layouts in Wine is completely missing.
(UINT)main_key_tab[kbd_layout].lcid << 16 | (UINT)langid could be returned. There is a FIXME in the code regarding this.
So, for now I can't determine for sure in tests which keyboard layout is currently set. That's bad.