UniQueryKeyboard: Difference between revisions
Appearance
mNo edit summary |
|||
(One intermediate revision by one other user not shown) | |||
Line 1: | Line 1: | ||
== | Get the header information from the keyboard table. | ||
==Syntax== | |||
UniQueryKeyboard(keyboardHndl, keyboardInfo) ; | |||
=== Parameters === | === Parameters === | ||
; keyboardHndl - [[KHAND]] - input : The key board handle received from [[UniCreateKeyboard]]. | ;keyboardHndl - [[KHAND]] - input : The key board handle received from [[UniCreateKeyboard]]. | ||
; keyboardInfo - [[KEYBOARDINFO]] - output : The keyboard | ;keyboardInfo - [[KEYBOARDINFO]] - output : The keyboard information. | ||
=== Constants === | === Constants === | ||
Line 11: | Line 13: | ||
=== Returns === | === Returns === | ||
An integer with values of: | An integer with values of: | ||
* [[ | * [[Unicode_Errors|ULS_BADHANDLE]] | ||
* | * ULS_SUCCESS | ||
=== Calling Convention === | === Calling Convention === | ||
Line 18: | Line 20: | ||
=== Example Code === | === Example Code === | ||
KHAND keyboardHndl; | |||
KEYBOARDINFO keyboardInfo; | |||
integer rc; | integer rc; | ||
... | ... |
Latest revision as of 18:53, 16 January 2019
Get the header information from the keyboard table.
Syntax
UniQueryKeyboard(keyboardHndl, keyboardInfo) ;
Parameters
- keyboardHndl - KHAND - input
- The key board handle received from UniCreateKeyboard.
- keyboardInfo - KEYBOARDINFO - output
- The keyboard information.
Constants
None
Returns
An integer with values of:
- ULS_BADHANDLE
- ULS_SUCCESS
Calling Convention
Example Code
KHAND keyboardHndl; KEYBOARDINFO keyboardInfo; integer rc; ... rc = UniQueryKeyboard(keyboardHndl, keyboardInfo); ...
Related Functions
OS Version Introduced
- OS/2 Warp