UniDestroyKeyboard: Difference between revisions
Appearance
No edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
== UniDestroyKeyboard == | == UniDestroyKeyboard == | ||
; UniDestroyKeyboard(keyboardHndl) : Close the keyboard reference. | ;UniDestroyKeyboard(keyboardHndl) : Close the keyboard reference. | ||
=== Parameters === | === Parameters === | ||
; keyboardHndl - [[ | ;keyboardHndl - [[KHAND]] - input : The key board handle received from [[UniCreateKeyboard]]. | ||
=== Constants === | === Constants === | ||
Line 13: | Line 13: | ||
* [[OS2 API:Unicode:error#ULS_NOOP|ULS_NOOP]] | * [[OS2 API:Unicode:error#ULS_NOOP|ULS_NOOP]] | ||
* [[OS2 API:Unicode:error#ULS_SUCCESS|ULS_SUCCESS]] | * [[OS2 API:Unicode:error#ULS_SUCCESS|ULS_SUCCESS]] | ||
=== Calling conversion === | === Calling conversion === | ||
Line 24: | Line 18: | ||
=== Example Code === | === Example Code === | ||
KHAND keyboardHndl; | |||
integer rc; | integer rc; | ||
... | ... | ||
Line 31: | Line 25: | ||
=== 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: |
Revision as of 04:14, 5 December 2016
UniDestroyKeyboard
- UniDestroyKeyboard(keyboardHndl)
- Close the keyboard reference.
Parameters
- keyboardHndl - KHAND - input
- The key board handle received from UniCreateKeyboard.
Constants
None
Returns
An integer with values of:
Calling conversion
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