OS2 API:UniCreateKeyboard
From EDM2
Contents |
[edit] UniCreateKeyboard
- UniCreateKeyboard(keyboardHndl, keyboardName, mode)
- Load the keyboard layout from disk and get the keyboard handle.
[edit] Parameters
- keyboardHndl - KHAND - output
- The key board handle. All Unicode keyboard functions use this handle reference.
- keyboardName - KBNAME - 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
[edit] Constants
None
[edit] Returns
An integer with values of:
[edit] Module
[edit] Define (C/C++)
[edit] Export name/Ordinal
[edit] Calling conversion
[edit] Example Code
KHAND keyboardHndl; KBDNAME keyboardName; ULONG mode; integer rc; ... rc = UniCreateKeyboard(keyboardHndl, keyboardName, mode); ...
[edit] Related Functions
UniDestroyKeyboard UniQueryKeyboard
[edit] Notes
If the keyboard layout is already in use the use count is incremented.
[edit] OS Version Introduced
OS/2 Warp

