UniDestroyKeyboard

From EDM2
Jump to: navigation, search

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