# Function Reference

# _WinAPI_GetKeyboardLayoutLocale

Retrieves the string name of the input locale identifier for the specified window

#include <WinAPISys.au3>
_WinAPI_GetKeyboardLayoutLocale ( [$hWnd = 0] )

## Parameters

$hWnd | [optional] The input locale identifier (Default: running process).

## Return Value

Success: | String name of the input locale identifier.
Failure: | 0.

## Related

_WinAPI_GetKeyboardLayout

## Example

    #include <WinAPISys.au3>

    Local $sName = _WinAPI_GetKeyboardLayoutLocale()

    MsgBox(0, "GetKeyboardLayoutLocale - v(" & @AutoItVersion & ")", $sName)