# GetKeyboardLayout

```csharp
[DllImport("user32.dll")]
public static extern IntPtr GetKeyboardLayout(
   uint idThread
);
```

Microsoft documentation: [Link](https://docs.microsoft.com/en-us/windows/win32/api/winuser/nf-winuser-getkeyboardlayout)
