Jump to content

UniQueryKeyboard: Difference between revisions

From EDM2
UniQueryKeyboard created
 
Ak120 (talk | contribs)
mNo edit summary
 
(6 intermediate revisions by 2 users not shown)
Line 1: Line 1:
== UniQueryKeyboard ==
Get the header information from the keyboard table.
; UniQueryKeyboard(keyboardHndl, keyboardInfo) : Get the header information from the keyboard table.
 
==Syntax==
UniQueryKeyboard(keyboardHndl, keyboardInfo) ;


=== 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]].
; keyboardInfo - [[OS2 API:DataType:KEYBOARDINFO|KEYBOARDINFO]] - output : The keyboard infomation.
;keyboardInfo - [[KEYBOARDINFO]] - output : The keyboard information.


=== Constants ===
=== Constants ===
Line 11: Line 13:
=== Returns ===
=== Returns ===
An integer with values of:
An integer with values of:
* [[OS2 API:Unicode:error#ULS_BADHANDLE|ULS_BADHANDLE]]
* [[Unicode_Errors|ULS_BADHANDLE]]
* [[OS2 API:Unicode:error#ULS_SUCCESS|ULS_SUCCESS]]
* ULS_SUCCESS
 
=== Module ===
 
=== Define (C/C++) ===


=== Export name/Ordinal ===
=== Calling Convention ===
 
=== Calling conversion ===
[[Cdecl32]]
[[Cdecl32]]


=== Example Code ===
=== Example Code ===
  [[OS2 API:DataType:KHAND|KHAND]]       keyboardHndl;
  KHAND        keyboardHndl;
  [[OS2 API:DataType:KEYBOARDINFO|KEYBOARDINFO]] keyboardInfo;
  KEYBOARDINFO keyboardInfo;
  integer      rc;
  integer      rc;
  ...
  ...
Line 32: Line 28:


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


=== Notes ===
=== OS Version Introduced ===
*OS/2 Warp


 
[[Category:Uni]]
=== OS Version Introduced ===
OS/2 Warp

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:

Calling Convention

Cdecl32

Example Code

KHAND        keyboardHndl;
KEYBOARDINFO keyboardInfo;
integer      rc;
...
rc = UniQueryKeyboard(keyboardHndl, keyboardInfo);
...

Related Functions

OS Version Introduced

  • OS/2 Warp