Jump to content

UniCreateKeyboard: Difference between revisions

From EDM2
UniCreateKeyboard
 
No edit summary
Line 44: Line 44:
=== OS Version Introduced ===
=== OS Version Introduced ===
OS/2 Warp
OS/2 Warp
[[OS2_API | Back to OS/2 API]]
[[Category:The OS/2 API Project]]

Revision as of 21:32, 1 November 2011

UniCreateKeyboard

UniCreateKeyboard(keyboardHndl, keyboardName, mode)
Load the keyboard layout from disk and get the keyboard handle.

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

Constants

None

Returns

An integer with values of:

Module

Define (C/C++)

Export name/Ordinal

Calling conversion

Cdecl32

Example Code

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

Related Functions

UniDestroyKeyboard UniQueryKeyboard

Notes

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

OS Version Introduced

OS/2 Warp


Back to OS/2 API