Jump to content

UniDestroyKeyboard: Difference between revisions

From EDM2
Ak120 (talk | contribs)
No edit summary
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
== UniDestroyKeyboard ==
Close the keyboard reference.
;UniDestroyKeyboard(keyboardHndl) : Close the keyboard reference.
 
=== Syntax ===
UniDestroyKeyboard(keyboardHndl);


=== Parameters ===
=== Parameters ===
Line 10: Line 12:
=== Returns ===
=== Returns ===
An integer with values of:
An integer with values of:
* [[OS2 API:Unicode:error#ULS_BADHANDLE|ULS_BADHANDLE]]
* [[Unicode Errors#ULS_BADHANDLE|ULS_BADHANDLE]]
* [[OS2 API:Unicode:error#ULS_NOOP|ULS_NOOP]]
* [[Unicode Errors#ULS_NOOP|ULS_NOOP]]
* [[OS2 API:Unicode:error#ULS_SUCCESS|ULS_SUCCESS]]
* [[Unicode Errors#ULS_SUCCESS|ULS_SUCCESS]]


=== Calling conversion ===
=== Calling Convention ===
[[Cdecl32]]
[[Cdecl32]]



Latest revision as of 18:54, 26 July 2017

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