Jump to content

UniDestroyKeyboard: Difference between revisions

From EDM2
No edit summary
Ak120 (talk | contribs)
mNo edit summary
Line 1: Line 1:
== UniDestroyKeyboard ==
== UniDestroyKeyboard ==
; UniDestroyKeyboard(keyboardHndl) : Close the keyboard reference.
;UniDestroyKeyboard(keyboardHndl) : Close the keyboard reference.


=== Parameters ===
=== Parameters ===
; keyboardHndl - [[OS2 API:DataType:KHAND|KHAND]] - input : The key board handle received from [[OS2_API:UniCreateKeyboard|UniCreateKeyboard]].
;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]]
=== Module ===
=== Define (C/C++) ===
=== Export name/Ordinal ===


=== Calling conversion ===
=== Calling conversion ===
Line 24: Line 18:


=== Example Code ===
=== Example Code ===
  [[OS2 API:DataType:KHAND|KHAND]]   keyboardHndl;
  KHAND  keyboardHndl;
  integer rc;
  integer rc;
  ...
  ...
Line 31: Line 25:


=== Related Functions ===
=== Related Functions ===
[[OS2 API:UniCreateKeyboard|UniCreateKeyboard]]
*[[UniCreateKeyboard]]
[[OS2 API:UniQueryKeyboard|UniQueryKeyboard]]
*[[UniQueryKeyboard]]


=== Notes ===
=== Notes ===
[[OS2_API:UniDestroyKeyboard|UniDestroyKeyboard]] closes the keyboard handle and decrements the use count. When the use count is zero, the keyboard handle is closed.
'''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]]
[[OS2_API | Back to OS/2 API]]
 
 
[[Category:The OS/2 API Project]]

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

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