Modify ↓
Opened 3 weeks ago
Closed 2 weeks ago
#4074 closed Bug (Fixed)
Error in _WinAPI_GetKeyboardLayout example
| Reported by: | Nine | Owned by: | J-Paul Mesnage |
|---|---|---|---|
| Milestone: | 3.3.19.0 | Component: | AutoIt |
| Version: | 3.3.18.0 | Severity: | None |
| Keywords: | Cc: |
Description
It should be _WinAPI_LoWord instead of _WinAPI_HiWord.
#include <WinAPIConv.au3>
#include <WinAPILocale.au3>
#include <WinAPISys.au3>
Local $hKeyboardLayout = _WinAPI_GetKeyboardLayout()
Local $sStr = $hKeyboardLayout & ' (' & _WinAPI_GetLocaleInfo(_WinAPI_LoWord($hKeyboardLayout), $LOCALE_SENGLANGUAGE) & ')'
MsgBox(0, "GetKeyboardLayout - v(" & @AutoItVersion & ")", $sStr)
Attachments (0)
Change History (1)
comment:1 by , 2 weeks ago
| Milestone: | → 3.3.19.0 |
|---|---|
| Owner: | set to |
| Resolution: | → Fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

Fixed by revision [13294] in version: 3.3.19.0