On Mon Nov 6 12:42:40 2023 +0000, Rémi Bernon wrote:
Sorry, I got it the other way, edited to swap low / high word. If you meant the `layout_id` part, this is the mechanism used by Windows to support multiple layouts for the same input language. The first, or single, layout for a given input language uses the keyboard language in its HKL. Additional layouts have an additional indirection, through the "Layout Id" property which is, both available in the HKL with the highest nibble set (0xf000 prefix), and in the registry where one can use this unique id to lookup the layout and find its input language / name back.
Thanks, this was very helpful (I referenced this while reviewing the final MR).