UniQueryKeyboard: Difference between revisions
Appearance
No edit summary |
mNo edit summary |
||
(5 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
== | Get the header information from the keyboard table. | ||
==Syntax== | |||
UniQueryKeyboard(keyboardHndl, keyboardInfo) ; | |||
=== Parameters === | === Parameters === | ||
; keyboardHndl - [[ | ;keyboardHndl - [[KHAND]] - input : The key board handle received from [[UniCreateKeyboard]]. | ||
; keyboardInfo - [[ | ;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 | |||
[[Cdecl32]] | [[Cdecl32]] | ||
=== Example Code === | === Example Code === | ||
KHAND keyboardHndl; | |||
KEYBOARDINFO keyboardInfo; | |||
integer rc; | integer rc; | ||
... | ... | ||
Line 32: | Line 28: | ||
=== Related Functions === | === Related Functions === | ||
[[ | *[[UniCreateKeyboard]] | ||
[[ | *[[UniDestroyKeyboard]] | ||
=== OS Version Introduced === | === OS Version Introduced === | ||
OS/2 Warp | *OS/2 Warp | ||
[[Category: | [[Category:Uni]] |
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