UniQueryKeyboard: Difference between revisions
Appearance
No edit summary |
mNo edit summary |
||
Line 3: | Line 3: | ||
=== Parameters === | === Parameters === | ||
; keyboardHndl - [[ | ; keyboardHndl - [[KHAND]] - input : The key board handle received from [[UniCreateKeyboard]]. | ||
; keyboardInfo - [[ | ; keyboardInfo - [[KEYBOARDINFO]] - output : The keyboard infomation. | ||
=== Constants === | === Constants === | ||
Line 13: | Line 13: | ||
* [[OS2 API:Unicode:error#ULS_BADHANDLE|ULS_BADHANDLE]] | * [[OS2 API:Unicode:error#ULS_BADHANDLE|ULS_BADHANDLE]] | ||
* [[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; | ||
[[ | [[KEYBOARDINFO]] keyboardInfo; | ||
integer rc; | integer rc; | ||
... | ... | ||
Line 32: | Line 26: | ||
=== Related Functions === | === Related Functions === | ||
[[ | *[[UniCreateKeyboard]] | ||
[[ | *[[UniDestroyKeyboard]] | ||
=== OS Version Introduced === | === OS Version Introduced === | ||
OS/2 Warp | *OS/2 Warp | ||
[[Category: | [[Category:Data type]] |
Revision as of 20:06, 2 November 2016
UniQueryKeyboard
- UniQueryKeyboard(keyboardHndl, keyboardInfo)
- Get the header information from the keyboard table.
Parameters
- keyboardHndl - KHAND - input
- The key board handle received from UniCreateKeyboard.
- keyboardInfo - KEYBOARDINFO - output
- The keyboard infomation.
Constants
None
Returns
An integer with values of:
Calling conversion
Example Code
KHAND keyboardHndl; KEYBOARDINFO keyboardInfo; integer rc; ... rc = UniQueryKeyboard(keyboardHndl, keyboardInfo); ...
Related Functions
OS Version Introduced
- OS/2 Warp