April 30, 2026
1:40 p.m.
The KLID, returned by `GetKeyboardLayoutName` is the name of the registry key itself, which is the same as the HKL high word for base layouts, or something different for variants.
Exactly. The idea of this change is to short-circuit the base layout case, avoiding the pointless registry access entirely. It doesn't do that though, while it probably should (the next revision will). -- https://gitlab.winehq.org/wine/wine/-/merge_requests/10779#note_138379