Windows API reference

GetKeyboardLayout

Returns the active keyboard layout for a thread.

Library
User32.dll
Suspicion
low

Detection summary

GetKeyboardLayout has no direct Sysmon or kernel ETW event; only imports, user-mode hooks and surrounding behavior expose it.

Sources and documentation

Not yet human-reviewed. Page metadata generated .

Legitimate use

Sandboxes, licensing checks, DRM and application hardening.

Open GetKeyboardLayout in the interactive atlas