Ken Thomases : user32: Rename GetKeyboardLayout param; it's a thread ID, not a layout.