Jump to content

UniDestroyKeyboard

From EDM2
Revision as of 18:54, 26 July 2017 by Martini (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Close the keyboard reference.

Syntax

UniDestroyKeyboard(keyboardHndl);

Parameters

keyboardHndl - KHAND - input
The key board handle received from UniCreateKeyboard.

Constants

None

Returns

An integer with values of:

Calling Convention

Cdecl32

Example Code

KHAND   keyboardHndl;
integer rc;
...
rc = UniDestroyKeyboard(keyboardHndl);
...

Related Functions

Notes

UniDestroyKeyboard closes the keyboard handle and decrements the use count. When the use count is zero, the keyboard handle is closed.

OS Version Introduced

OS/2 Warp