KbdGetLayoutUni: Difference between revisions
Appearance
m Ak120 moved page OS2 API:CPI:KbdGetLayoutUni to KbdGetLayoutUni |
mNo edit summary |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
==Syntax== | ==Syntax== | ||
KbdGetLayoutUni(name, hkbd); | |||
==Parameters== | ==Parameters== | ||
Line 19: | Line 10: | ||
==Return Code== | ==Return Code== | ||
;rc (APIRET) - returns:KbdGetHWID returns one of the following values: | |||
KbdGetHWID returns one of the following values: | |||
* 0 NO_ERROR | * 0 NO_ERROR | ||
* 373 ERROR_KBD_PARAMETER | * 373 ERROR_KBD_PARAMETER | ||
* 439 ERROR_KBD_INVALID_HANDLE | * 439 ERROR_KBD_INVALID_HANDLE | ||
Line 28: | Line 18: | ||
*[[KbdSetLayoutUni]] | *[[KbdSetLayoutUni]] | ||
[[Category: | [[Category:Kbd]] |
Latest revision as of 20:22, 29 November 2019
Returns the name of the keyboard layout in use.
Syntax
KbdGetLayoutUni(name, hkbd);
Parameters
- name (USHORT *) - output
- Keyboard layout name.
- A pointer to the location to return the keyboard layout name in unicode. This must be at least 9 UniChars long.
- hkbd (HKBD) - input
- Reserved. Must be 0.
Return Code
- rc (APIRET) - returns
- KbdGetHWID returns one of the following values:
- 0 NO_ERROR
- 373 ERROR_KBD_PARAMETER
- 439 ERROR_KBD_INVALID_HANDLE