#include <Constants.au3>
#include <WinAPI.au3>

$iLangID = _WinAPI_MAKELCID(_WinAPI_MAKELANGID($LANG_RUSSIAN, $SUBLANG_DEFAULT), $SORT_DEFAULT)
$iPrimLangID = _WinAPI_PrimaryLangId($iLangID)
MsgBox(0, $iLangID, Hex($iPrimLangID, 4) & @CRLF & $iPrimLangID)