Allows the keyboard layout to be changed. This change affects only the current session.
#define INCL_KBD #include <os2.h> USHORT *name; /* Keyboard layout name. */ HKBD hkbd; /* Reserved. Must be 0. */ APIRET rc; /* Return code. */ rc = KbdSetLayoutUni(name, hkbd);