UniDestroyKeyboard: Difference between revisions
Appearance
No edit summary |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== | Close the keyboard reference. | ||
=== Syntax === | |||
UniDestroyKeyboard(keyboardHndl); | |||
=== Parameters === | === Parameters === | ||
; keyboardHndl - [[ | ;keyboardHndl - [[KHAND]] - input : The key board handle received from [[UniCreateKeyboard]]. | ||
=== Constants === | === Constants === | ||
Line 10: | Line 12: | ||
=== Returns === | === Returns === | ||
An integer with values of: | An integer with values of: | ||
* [[ | * [[Unicode Errors#ULS_BADHANDLE|ULS_BADHANDLE]] | ||
* [[ | * [[Unicode Errors#ULS_NOOP|ULS_NOOP]] | ||
* [[ | * [[Unicode Errors#ULS_SUCCESS|ULS_SUCCESS]] | ||
=== Calling Convention === | |||
=== Calling | |||
[[Cdecl32]] | [[Cdecl32]] | ||
=== Example Code === | === Example Code === | ||
KHAND keyboardHndl; | |||
integer rc; | integer rc; | ||
... | ... | ||
Line 31: | Line 27: | ||
=== Related Functions === | === Related Functions === | ||
[[ | *[[UniCreateKeyboard]] | ||
[[ | *[[UniQueryKeyboard]] | ||
=== Notes === | === 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 Version Introduced === | ||
OS/2 Warp | OS/2 Warp | ||
[[Category:Uni]] | |||
[[Category: |
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
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