Jump to content

UniCreateKeyboard: Difference between revisions

From EDM2
Ak120 (talk | contribs)
mNo edit summary
No edit summary
 
Line 1: Line 1:
Load the keyboard layout from disk and get the keyboard handle.
Load the keyboard layout from disk and get the keyboard handle.


==Syntax==
===Syntax===
  UniCreateKeyboard(keyboardHndl, keyboardName, mode)
  UniCreateKeyboard(keyboardHndl, keyboardName, mode);


=== Parameters ===
=== Parameters ===

Latest revision as of 18:54, 26 July 2017

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:

Calling Convention

Cdecl32

Example Code

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

Related Functions

Notes

If the keyboard layout is already in use the use count is incremented.

OS Version Introduced

OS/2 Warp