KbdSetLayoutUni: Difference between revisions
Appearance
Created page with "==Description== Allows the keyboard layout to be changed. This change affects only the current session. ==Syntax== <PRE> #define INCL_KBD #include <os2.h> USHORT *name; ..." |
mNo edit summary |
||
(2 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
Allows the keyboard layout to be changed. This change affects only the current session. | Allows the keyboard layout to be changed. This change affects only the current session. | ||
==Syntax== | ==Syntax== | ||
KbdSetLayoutUni(name, hkbd) | |||
==Parameters== | ==Parameters== | ||
; | ;name (USHORT *) - input: Keyboard layout name. | ||
Address of the unicode name of the keyboard layout. The name cannot exceed 8 UniChars in length. | :Address of the unicode name of the keyboard layout. The name cannot exceed 8 UniChars in length. | ||
; hkbd (HKBD) - input: Reserved. Must be 0. | |||
==Return Code== | ==Return Code== | ||
;rc (APIRET) - returns | |||
* 0 NO_ERROR | |||
* 0 | *373 ERROR_KBD_PARAMETER | ||
* 373 | *439 ERROR_KBD_INVALID_HANDLE | ||
* 439 | |||
==Related Functions== | ==Related Functions== | ||
* | *[[KbdGetLayoutUni]] | ||
[[Category: | [[Category:Kbd]] |
Latest revision as of 20:17, 29 November 2019
Allows the keyboard layout to be changed. This change affects only the current session.
Syntax
KbdSetLayoutUni(name, hkbd)
Parameters
- name (USHORT *) - input
- Keyboard layout name.
- Address of the unicode name of the keyboard layout. The name cannot exceed 8 UniChars in length.
- hkbd (HKBD) - input
- Reserved. Must be 0.
Return Code
- rc (APIRET) - returns
- 0 NO_ERROR
- 373 ERROR_KBD_PARAMETER
- 439 ERROR_KBD_INVALID_HANDLE