UniCreateKeyboard

Load the keyboard layout from disk and get the keyboard handle.

Syntax
UniCreateKeyboard(keyboardHndl, keyboardName, mode);

Parameters

 * keyboardHndl - KHAND - output : The key board handle. All Unicode keyboard functions use this handle reference.
 * keyboardName - KBDNAME - input : The name of the keyboard translation file name (for example au). The name is not to include the path name.
 * mode - ULONG - input : Reserved. Must be zero

Constants
None

Returns
An integer with values of:
 * ULS_KBDNOTFOUND
 * ULS_NOMEMORY
 * ULS_SUCCESS
 * ULS_TOOMANYKBD

Calling Convention
Cdecl32

Example Code
KHAND  keyboardHndl; KBDNAME keyboardName; ULONG  mode; integer rc; ... rc = UniCreateKeyboard(keyboardHndl, keyboardName, mode); ...

Related Functions

 * UniDestroyKeyboard
 * UniQueryKeyboard

OS Version Introduced
OS/2 Warp